joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4033d2
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
test eax, eax
js 0x403400
add eax, dword [0x424cf0]
push 0
push 0
push eax
push dword [0x409014]
mov dword [0x414c80], eax
call sub.KERNEL32.dll_SetFilePointer
mov eax, 4
call fcn.0040321d
test eax, eax
mov ebx, eax
js 0x40350f
sub esp, 0xc
push 0
lea esi, [ebp - 0x10]
push esi
push 4
lea eax, [ebp - 0x14]
push eax
push dword [0x409014]
call sub.KERNEL32.dll_ReadFile
add esp, 0xc
test eax, eax
je 0x403503
cmp dword [ebp - 0x10], 4
jne 0x403503
mov eax, dword [ebp - 0x14]
add dword [0x414c80], 4
call fcn.0040321d
test eax, eax
mov ebx, eax
js 0x40350f
test edi, edi
je 0x4034c6
jmp 0x4034d2
cmp eax, 0x4000
mov esi, eax
jle 0x403470
mov esi, 0x4000
sub esp, 0xc
push 0
lea eax, [ebp - 0x10]
push eax
push esi
push 0x414d60
push dword [0x409014]
call sub.KERNEL32.dll_ReadFile
add esp, 0xc
test eax, eax
je 0x403503
cmp esi, dword [ebp - 0x10]
jne 0x403503
sub esp, 0xc
push 0
push edi
push esi
push 0x414d60
push dword [ebp + 0xc]
call sub.KERNEL32.dll_WriteFile
add esp, 0xc
test eax, eax
je 0x40350a
cmp dword [ebp - 0x18], esi
jne 0x40350a
mov eax, dword [ebp - 0x10]
sub dword [ebp - 0x14], eax
add dword [0x414c80], eax
add ebx, eax
jmp 0x4034c9
lea edi, [ebp - 0x18]
mov eax, dword [ebp - 0x14]
test eax, eax
jg 0x403462
jmp 0x40350f
mov edx, dword [ebp - 0x14]
sub esp, 0xc
mov eax, dword [ebp + 0x14]
push 0
push esi
cmp eax, edx
jle 0x4034e4
mov eax, edx
push eax
push edi
push dword [0x409014]
call sub.KERNEL32.dll_ReadFile
add esp, 0xc
test eax, eax
je 0x403503
mov ebx, dword [ebp - 0x10]
add dword [0x414c80], ebx
jmp 0x40350f
mov ebx, 0xfffffffd
jmp 0x40350f
mov ebx, 0xfffffffe
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
Function at 0x403955
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0x42e400
call fcn.004063a5
push 0x42e400
call fcn.00406158
xor edx, edx
add esp, 0xc
test eax, eax
je 0x4039a8
sub esp, 0xc
push 0x42e400
call fcn.004064c0
sub esp, 0xc
push 0
push 0x42e400
call sub.KERNEL32.dll_CreateDirectoryA
push 0x42e400
push 0x42e000
call fcn.00406882
mov edx, eax
add esp, 0x18
mov eax, edx
leave
ret
Function at 0x406534
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x20
mov ebx, dword [ebp + 0x14]
lea edx, [ebp - 8]
mov byte [ebx], 0
cmp dword [ebp + 0x18], 1
push edx
sbb eax, eax
xor al, al
add eax, 0x20119
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call sub.ADVAPI32.DLL_RegOpenKeyExA
add esp, 0xc
test eax, eax
jne 0x4065ad
push eax
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
lea eax, [ebp - 0x10]
push eax
push 0
push dword [ebp + 0x10]
push dword [ebp - 8]
mov dword [ebp - 0xc], 0x400
call sub.ADVAPI32.DLL_RegQueryValueExA
pop edx
pop ecx
test eax, eax
jne 0x406595
mov eax, dword [ebp - 0x10]
dec eax
cmp eax, 1
jbe 0x406598
mov byte [ebx], 0
mov byte [ebx + 0x3ff], 0
sub esp, 0xc
push dword [ebp - 8]
call sub.ADVAPI32.DLL_RegCloseKey
add esp, 0xc
mov ebx, dword [ebp - 4]
leave
ret 0x14
Function at 0x406882
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, 0x64
push esi
push ebx
sub esp, 0x1c
mov esi, dword [ebp + 8]
jmp 0x4068c5
mov dword [ebp - 0x10], 0x61736e
mov bl, byte [ebp - 0xe]
call sub.KERNEL32.dll_GetTickCount
mov ecx, 0x1a
xor edx, edx
push esi
push 0
div ecx
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 0xc]
add ebx, edx
mov byte [ebp - 0xe], bl
call sub.KERNEL32.dll_GetTempFileNameA
test eax, eax
jne 0x4068d0
dec edi
cmp edi, 0xffffffff
jne 0x406895
mov byte [esi], 0
xor esi, esi
lea esp, [ebp - 0xc]
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret 8

Function at 0x4068dc
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 8
push 0x400
push dword [ebp + 8]
push 0x423fb8
call sub.KERNEL32.dll_lstrcpynA
push ebx
push ebx
push 0x423fb8
call fcn.0040633c
add esp, 0xc
test eax, eax
mov ebx, eax
je 0x406997
sub esp, 0xc
push eax
call fcn.004063a5
add esp, 0xc
cmp byte [0x424d08], 0
jns 0x40695a
mov al, byte [ebx]
test al, al
je 0x406997
cmp al, 0x5c
jne 0x40695a
jmp 0x406997
sub esp, 0xc
push 0x423fb8
call fcn.004062dd
add esp, 0xc
test eax, eax
je 0x406948
test byte [eax], 0x10
je 0x406997
sub esp, 0xc
push 0x423fb8
call fcn.0040648b
add esp, 0xc
jmp 0x406960
sub ebx, 0x423fb8
sub esp, 0xc
push 0x423fb8
call sub.KERNEL32.dll_lstrlenA
add esp, 0xc
cmp eax, ebx
jg 0x40692f
sub esp, 0xc
push 0x423fb8
call fcn.004064c0
push 0x423fb8
call sub.KERNEL32.dll_GetFileAttributesA
add esp, 0xc
inc eax
setne al
movzx eax, al
jmp 0x406999
xor eax, eax
mov ebx, dword [ebp - 4]
leave
ret 4

Function at 0x4069a0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x10
mov ebx, dword [ebp + 8]
push ebx
call sub.KERNEL32.dll_GetFileAttributesA
pop edx
xor edx, edx
pop ecx
cmp eax, 0xffffffff
setne dl
neg edx
push 0
and edx, eax
push edx
push dword [ebp + 0x10]
push 0
push 1
push dword [ebp + 0xc]
push ebx
call sub.KERNEL32.dll_CreateFileA
mov ebx, dword [ebp - 4]
leave
ret 0xc

Function at 0x4069d8
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x10
mov ebx, dword [ebp + 8]
push ebx
call sub.KERNEL32.dll_GetFileAttributesA
add esp, 0xc
cmp eax, 0xffffffff
je 0x4069fe
push edx
and eax, 0xfffffffe
push edx
push eax
push ebx
call sub.KERNEL32.dll_SetFileAttributesA
pop ebx
pop eax
mov ebx, dword [ebp - 4]
leave
ret 4
Function at 0x406a6b
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x28
mov esi, dword [ebp + 8]
push 1
mov ebx, dword [ebp + 0xc]
call fcn.0040628e
add esp, 0xc
test eax, eax
je 0x406a98
push edx
push 5
push ebx
push esi
call eax
pop edi
test eax, eax
jne 0x406c6a
test ebx, ebx
mov dword [0x4233b8], 0x4c554e
je 0x406ae1
push ecx
push 1
push 0
push ebx
call fcn.004069a0
push edx
push edx
push eax
call sub.KERNEL32.dll_CloseHandle
push eax
push eax
push 0x400
push 0x4233b8
push ebx
call sub.KERNEL32.dll_GetShortPathNameA
add esp, 0x14
test eax, eax
je 0x406c70
cmp eax, 0x400
jg 0x406c70
push eax
push 0x400
push 0x4237b8
push esi
call sub.KERNEL32.dll_GetShortPathNameA
pop edi
test eax, eax
je 0x406c70
cmp eax, 0x400
jg 0x406c70
push 0x4237b8
push 0x4233b8
push str._s_s_r_n
push 0x423bb8
call sub.USER32.dll_wsprintfA
pop ebx
pop esi
mov dword [ebp - 0x24], eax
mov eax, dword [0x424ca8]
push dword [eax + 0x128]
push 0x4237b8
call fcn.004065b4
sub esp, 0xc
push 4
push 0xc0000000
push 0x4237b8
call fcn.004069a0
add esp, 0x14
cmp eax, 0xffffffff
mov dword [ebp - 0x20], eax
je 0x406c6a
push ecx
push ecx
push 0
push eax
call sub.KERNEL32.dll_GetFileSize
mov edx, dword [ebp - 0x24]
mov ebx, eax
lea eax, [eax + edx + 0xa]
push eax
push 0x40
call sub.KERNEL32.dll_GlobalAlloc
mov esi, eax
test esi, esi
pop eax
pop edx
je 0x406c5c
sub esp, 0xc
push 0
lea eax, [ebp - 0x10]
push eax
push ebx
push esi
push dword [ebp - 0x20]
call sub.KERNEL32.dll_ReadFile
add esp, 0xc
test eax, eax
je 0x406c5c
cmp ebx, dword [ebp - 0x10]
jne 0x406c5c
push edi
push edi
push str._Rename__r_n
push esi
call fcn.00406a05
pop edx
pop ecx
test eax, eax
jne 0x406bd9
push eax
push 0x400
lea eax, [esi + ebx]
add ebx, 0xa
push str._Rename__r_n
push eax
call sub.KERNEL32.dll_lstrcpynA
mov edx, ebx
pop edi
jmp 0x406c13
push ecx
add eax, 0xa
push ecx
push 0x40a3ef
push eax
call fcn.00406a05
pop edi
pop edx
mov edx, ebx
test eax, eax
je 0x406c13
mov edx, dword [ebp - 0x24]
lea edi, [eax + 1]
lea ecx, [eax + edx]
mov edx, edi
lea eax, [esi + ebx]
mov dword [ebp - 0x28], eax
jmp 0x406c09
mov al, byte [edx]
inc edx
mov byte [ecx], al
inc ecx
cmp edx, dword [ebp - 0x28]
jb 0x406c04
mov edx, edi
sub edx, esi
lea edi, [esi + edx]
mov ecx, dword [ebp - 0x24]
xor edx, edx
jmp 0x406c28
mov al, byte [edx + 0x423bb8]
dec ecx
mov byte [edi + edx], al
inc edx
test ecx, ecx
jg 0x406c1d
push 0
push 0
push 0
push dword [ebp - 0x20]
call sub.KERNEL32.dll_SetFilePointer
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 0x10]
sub esp, 0xc
push 0
push eax
lea eax, [ebx + edx]
push eax
push esi
push dword [ebp - 0x20]
call sub.KERNEL32.dll_WriteFile
push esi
call sub.KERNEL32.dll_GlobalFree
add esp, 0xc
sub esp, 0xc
push dword [ebp - 0x20]
call sub.KERNEL32.dll_CloseHandle
add esp, 0xc
inc dword [0x424c58]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 8
Function at 0x406f74
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
lea eax, [ebp - 0x10]
push eax
push 0x4247b8
push 0
push 0
push 0
push 0
push 0
push 0
push dword [ebp + 8]
mov dword [0x4247b8], 0x44
push 0
call sub.KERNEL32.dll_CreateProcessA
pop edx
xor edx, edx
pop ecx
test eax, eax
je 0x406fbc
sub esp, 0xc
push dword [ebp - 0xc]
call sub.KERNEL32.dll_CloseHandle
mov edx, dword [ebp - 0x10]
add esp, 0xc
mov eax, edx
leave
ret 4

Function at 0x406fc4
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
cmp dword [0x42480c], 0
mov ebp, esp
push edi
mov edi, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
push ebx
jne 0x407005
xor ebx, ebx
mov edx, ebx
xor ecx, ecx
mov eax, edx
inc ecx
and eax, 1
neg eax
and eax, 0xedb88320
shr edx, 1
xor edx, eax
cmp ecx, 8
jne 0x406fdf
mov dword [ebx*4 + 0x424808], edx
inc ebx
cmp ebx, 0x100
jne 0x406fdb
mov edx, dword [ebp + 8]
not edx
jmp 0x40701f
mov al, byte [edi]
dec esi
inc edi
xor eax, edx
movzx eax, al
shr edx, 8
xor edx, dword [eax*4 + 0x424808]
test esi, esi
jne 0x40700c
not edx
mov eax, edx
pop ebx
pop esi
pop edi
pop ebp
ret 0xc
Function at 0x402e90
Capabilities:
Create mailslot

Disassembly:
push ecx
cmp dword [0x2b9d1c4], 3
jne 0x402eb6
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMailslotA]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov dword [esp], 0
mov eax, dword [esp + 0x10]
mov dword [esp], eax
mov eax, dword [esp + 0xc]
xor dword [esp], eax
mov eax, dword [esp]
mov ecx, dword [esp + 8]
mov dword [ecx], eax
pop ecx
ret 0xc

Function at 0x4030e0
Capabilities:
Enumerate gui resources
Get disk information

Disassembly:
mov eax, dword [0x2b9d1c4]
mov ecx, dword [0x2b9d138]
shr eax, 3
sub esp, 0xc08
test eax, eax
jbe 0x4031f6
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextVolumeW]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_WriteProfileSectionA]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
cmp dword [0x2b9d1c4], 0x959
jne 0x4031d8
call edi
push 0
lea eax, [esp + 0x41c]
push eax
push 0
call ebx
push 0
push 0
call esi
push 0
call ebp
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoExA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumSystemLocalesA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasW]
push 0
push 0
call esi
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetThreadPriorityBoost]
push 0
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetConsoleTitleA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceW]
push 0
push 0
push 0
push 0
push 0
push 0
push 0x402b00
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push 0
push 0x402b10
push 0x402b18
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceExA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenEventW]
mov edx, dword [esp + 0x10]
push edx
call fcn.00402f00
add dword [esp + 0x10], 8
sub dword [esp + 0x14], 1
jne 0x403120
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc08
ret
Function at 0x408790
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43fa30]
jne 0x40879a
repz ret
jmp fcn.00409c8c

Function at 0x409163
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0040575a
and dword [ebp - 4], 0
cmp dword [0x44639c], 0
mov ebx, eax
jne 0x409214
push 0x402a54
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4092c5
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x402a48
push edi
call esi
test eax, eax
je 0x4092c5
push eax
call fcn.004056e8
mov dword [esp], 0x402a38
push edi
mov dword [0x44639c], eax
call esi
push eax
call fcn.004056e8
mov dword [esp], 0x402a24
push edi
mov dword [0x4463a0], eax
call esi
push eax
call fcn.004056e8
mov dword [esp], 0x402a08
push edi
mov dword [0x4463a4], eax
call esi
push eax
call fcn.004056e8
pop ecx
mov dword [0x4463ac], eax
test eax, eax
je 0x409214
push 0x4029f0
push edi
call esi
push eax
call fcn.004056e8
pop ecx
mov dword [0x4463a8], eax
mov eax, dword [0x4463a8]
cmp eax, ebx
je 0x40926c
cmp dword [0x4463ac], ebx
je 0x40926c
push eax
call fcn.00405763
push dword [0x4463ac]
mov esi, eax
call fcn.00405763
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40926c
test edi, edi
je 0x40926c
call esi
test eax, eax
je 0x409263
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x409263
test byte [ebp - 0xc], 1
jne 0x40926c
or dword [ebp + 0x10], 0x200000
jmp 0x4092a5
mov eax, dword [0x4463a0]
cmp eax, ebx
je 0x4092a5
push eax
call fcn.00405763
pop ecx
test eax, eax
je 0x4092a5
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4092a5
mov eax, dword [0x4463a4]
cmp eax, ebx
je 0x4092a5
push eax
call fcn.00405763
pop ecx
test eax, eax
je 0x4092a5
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x44639c]
call fcn.00405763
pop ecx
test eax, eax
je 0x4092c5
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4092c7
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x403e6a
sub eax, 0x403e10
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x431030
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43101e
nop
nop
nop
nop
nop
nop
nop
popal
jmp loc.00401219
Function at 0x40aff0
Capabilities:
Decompress data using quicklz

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x40b1be
sub esp, 0x38
mov eax, dword [esp + 0x3c]
cmp eax, 0x7000000
jle 0x40b01b
mov eax, 0x7000000
jmp 0x40b023
test eax, eax
je 0x40b199
mov dword [esp + 0x14], eax
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x18]
mov edx, dword [ecx + 0x94]
mov ebx, dword [ecx + 0x98]
mov dword [ecx + 0x94], ebx
mov ebp, edx
shl edx, 0x11
xor edx, ebp
mov ebp, ebx
xor ebx, edx
shr edx, 7
xor edx, ebx
mov ebx, ebp
shr ebp, 0x10
xor ebp, edx
mov dword [ecx + 0x98], ebp
lea ecx, [ebp + ebx]
shr ecx, 6
inc ecx
mov dword [esp], ecx
call fcn.00452af0
movsd xmm0, qword [esp + 4]
movsd qword [esp + 0x28], xmm0
mov eax, dword [esp + 0x2c]
mov ecx, eax
shr eax, 0x14
and eax, 0x7ff
mov edx, eax
add eax, 0xfffffc01
mov ebx, ecx
shr ecx, 0xf
and ecx, 0x1f
mov ebp, ecx
add ecx, 1
mov esi, 0
adc esi, 0
shl ebx, 5
mov edi, dword [esp + 0x28]
shr edi, 0x1b
or edi, ebx
lea ebx, [0x4c0640]
movsd xmm0, qword [ebx + ebp*8]
test esi, esi
jne 0x40b1b1
cmp ecx, 0x21
jae 0x40b1a5
movsd qword [esp + 0x18], xmm0
mov dword [esp + 0x10], edi
add edx, 0xfffffc01
mov edx, 0xffffffff
adc edx, 0
movsd xmm0, qword [ebx + ecx*8]
movsd qword [esp + 0x20], xmm0
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044d900
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0x30], xmm0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x10]
and eax, 0xfffff
mov dword [esp], eax
call fcn.0044d9d0
movsd xmm0, qword [esp + 0x30]
movsd xmm1, qword [esp + 0x18]
addsd xmm0, xmm1
movsd xmm2, qword [esp + 0x20]
subsd xmm2, xmm1
movsd xmm1, qword [esp + 8]
mulsd xmm1, xmm2
movsd xmm2, qword [0x51dd88]
mulsd xmm2, xmm1
addsd xmm0, xmm2
movsd xmm1, qword [0x51dde0]
subsd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm0, xmm1
jbe 0x40b174
xorps xmm0, xmm0
mov eax, dword [esp + 0x14]
cvtsi2sd xmm1, eax
movsd xmm2, qword [0x51de28]
mulsd xmm1, xmm2
mulsd xmm0, xmm1
cvttsd2si eax, xmm0
inc eax
mov dword [esp + 0x40], eax
add esp, 0x38
ret
mov dword [esp + 0x40], 0
add esp, 0x38
ret
mov eax, ecx
mov ecx, 0x21
call fcn.00452bd0
mov eax, ecx
mov ecx, 0x21
call fcn.00452cb0
nop
call fcn.00451710
jmp fcn.0040aff0
Function at 0x412560
Capabilities:
Check for software breakpoints

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x412784
sub esp, 0x18
mov eax, dword [0x5af7e8]
test eax, eax
jne 0x41276d
nop
lea eax, [0x5af7d4]
mov dword [esp], eax
call fcn.00409100
mov eax, dword [0x5af7d8]
test eax, eax
je 0x4125a9
cmp dword [eax + 8], 0xcc
jne 0x41261f
mov edx, dword [0x5af7cc]
test edx, edx
jne 0x412601
mov dword [esp], 0x1000
mov dword [esp + 4], 0
lea eax, [0x5b2050]
mov dword [esp + 8], eax
call fcn.0040b1d0
mov eax, dword [esp + 0xc]
mov dword [0x5af7cc], eax
mov ecx, dword [0x5af790]
mov dword [eax], ecx
mov eax, dword [0x5af7cc]
mov dword [0x5af790], eax
movzx eax, byte [0x5afcc0]
test al, al
jne 0x412601
xor eax, eax
jmp 0x412719
mov edx, dword [0x5af7cc]
mov ebx, dword [edx + 4]
mov dword [0x5af7cc], ebx
mov ebx, dword [0x5af7d8]
mov dword [edx + 4], ebx
mov dword [0x5af7d8], edx
mov edx, dword [0x5af7d8]
mov eax, dword [edx + 8]
cmp eax, 0xcc
jae 0x412701
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
lea eax, [edx + 8]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00402870
mov eax, dword [esp + 0x10]
lea eax, [eax + eax*4]
mov ecx, dword [esp + 0x14]
lea edi, [ecx + eax*4 + 0x10]
mov edx, dword [0x5af9b0]
lea ebx, [ecx + eax*4 + 0x1c]
lea ebp, [ecx + eax*4 + 0x20]
lea esi, [ecx + eax*4 + 0x14]
test edx, edx
jne 0x41267d
mov edx, dword [esp + 0x20]
mov dword [ecx + eax*4 + 0x10], edx
jmp 0x41268a
mov edx, eax
mov eax, dword [esp + 0x20]
call fcn.00452b40
mov eax, edx
mov edx, dword [esp + 0x24]
mov dword [ecx + eax*4 + 0x18], edx
mov edx, dword [0x5af9b0]
test edx, edx
jne 0x4126b6
mov edx, dword [esp + 0x28]
mov dword [ecx + eax*4 + 0x1c], edx
mov edx, dword [esp + 0x2c]
mov dword [ecx + eax*4 + 0x20], edx
mov edx, dword [esp + 0x1c]
mov dword [ecx + eax*4 + 0x14], edx
jmp 0x4126d7
mov edi, ebx
mov eax, dword [esp + 0x28]
call fcn.00452b40
mov edi, ebp
mov eax, dword [esp + 0x2c]
call fcn.00452b40
mov edi, esi
mov eax, dword [esp + 0x1c]
call fcn.00452b40
nop
lea eax, [0x5af7d4]
mov dword [esp], eax
call fcn.00409300
nop
lea eax, [0x5af7d0]
mov dword [esp], eax
mov dword [esp + 4], 8
call fcn.004029f0
add esp, 0x18
ret
mov ecx, 0xcc
call fcn.00452bd0
lea esi, [0x5afcc0]
xchg ebp, eax
mov byte [esi + ebx], al
xchg ebp, eax
lea eax, [ebx + 1]
cmp eax, 0x80
jge 0x412601
mov ecx, eax
mov eax, 0xcccccccd
imul ecx
add edx, ecx
sar edx, 2
mov eax, ecx
sar ecx, 0x1f
sub edx, ecx
lea edx, [edx + edx*4]
mov ebx, eax
sub eax, edx
cmp eax, 5
jae 0x412763
lea edx, [0x4bc0b8]
movzx ebp, byte [edx + eax]
cmp ebx, 0x80
jb 0x41270b
mov eax, ebx
mov ecx, pe_nt_image_headers32
call fcn.00452bc0
mov ecx, 5
call fcn.00452bc0
lea eax, [0x4ff190]
mov dword [esp], eax
mov dword [esp + 4], 0x18
call fcn.0042f840
nop
call fcn.00451710
jmp fcn.00412560
Function at 0x41a320
Capabilities:
Hash data using murmur3

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x41a54e
sub esp, 0x20
mov eax, dword [esp + 0x24]
test eax, 3
jne 0x41a537
mov edx, dword [esp + 0x30]
mov ebx, dword [edx + 0x2c]
test byte [ebx], al
nop
movzx ebp, byte [0x5af74c]
mov ecx, dword [esp + 0x38]
mov esi, ecx
shr ecx, 3
mov dword [esp + 0x1c], ecx
mov edi, esi
and esi, 7
mov ecx, esi
mov eax, 1
shl eax, cl
mov esi, dword [esp + 0x1c]
mov ecx, eax
lea eax, [ebx + esi]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x41a448
mov ebp, dword [0x5afb2c]
test ebp, ebp
jle 0x41a3ac
cmp dword [edx + 0x58], edi
ja 0x41a3ac
mov ebp, dword [edx + 0x28]
test byte [ebp], al
movzx ebp, byte [ebp + esi]
nop
xchg ebp, eax
test cl, al
xchg ebp, eax
je 0x41a4be
movzx ebx, byte [esi + ebx]
test cl, bl
jne 0x41a444
nop
mov dword [esp], eax
mov byte [esp + 4], cl
call fcn.004029c0
mov eax, dword [0x58f87c]
test byte [eax], al
nop
nop
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx + 0xc]
nop
mov ebx, edx
shr edx, 0x16
mov edx, dword [eax + edx*4]
test byte [edx], al
mov ebp, ebx
shr ebx, 0x10
and ebx, 0x3f
movzx esi, byte [edx + ebx + 0x21840]
lea edx, [edx + ebx + 0x21840]
shr ebp, 0xd
and ebp, 7
mov eax, ecx
mov ecx, ebp
mov ebx, 1
shl ebx, cl
xchg esi, eax
test bl, al
xchg esi, eax
jne 0x41a41f
mov dword [esp], edx
mov byte [esp + 4], bl
call fcn.004029c0
mov eax, dword [esp + 0x30]
movzx edx, byte [eax + 0x3a]
test dl, 1
je 0x41a479
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx + 8]
mov ebx, dword [ecx + 0xc]
mov eax, dword [eax + 0x40]
add edx, eax
adc ebx, 0
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], ebx
add esp, 0x20
ret
add esp, 0x20
ret
mov edx, dword [esp + 0x24]
mov dword [esp], edx
mov ebx, dword [esp + 0x28]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x2c]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov byte [esp + 0x10], cl
mov dword [esp + 0x14], edi
call fcn.00411ef0
movzx eax, byte [esp + 0x18]
test al, al
jne 0x41a4b0
mov edx, dword [esp + 0x34]
mov ebx, dword [edx]
test ebx, ebx
je 0x41a49c
mov eax, dword [ebx + 0xc]
cmp eax, 0x1fc
je 0x41a49c
jae 0x41a4b4
mov ecx, dword [esp + 0x24]
mov dword [ebx + eax*4 + 0x10], ecx
inc dword [ebx + 0xc]
jmp 0x41a4ac
mov dword [esp], edx
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
call fcn.00420730
add esp, 0x20
ret
add esp, 0x20
ret
mov ecx, 0x1fc
call fcn.00452bc0
lea eax, [0x4fa575]
mov dword [esp], eax
mov dword [esp + 4], 4
mov eax, dword [esp + 0x28]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xc], eax
call fcn.0041a560
lea eax, [0x4fa4d6]
mov dword [esp], eax
mov dword [esp + 4], 3
mov eax, dword [esp + 0x24]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0xffffffff
call fcn.0041a560
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov byte [eax + 0x9d], 2
lea eax, [0x4fd3b4]
mov dword [esp], eax
mov dword [esp + 4], 0x13
call fcn.0042f840
lea eax, [0x50201a]
mov dword [esp], eax
mov dword [esp + 4], 0x23
call fcn.0042f840
nop
call fcn.00451710
jmp fcn.0041a320