joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4508b0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc8
mov eax, dword [0x484db8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push 0x9e
push eax
mov word [ebp - 0xa4], ax
lea eax, [ebp - 0xa2]
push eax
mov dword [ebp - 0xbc], esi
mov dword [ebp - 0xb8], ebx
call fcn.0043e0c0
add esp, 0xc
lea eax, [ebp - 0xb4]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [ebp - 0xb4]
push eax
push dword [ebx]
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
add dword [ebp - 0xb4], 0xa
sub dword [ebp - 0xac], 0xa
push 0x50
lea eax, [ebp - 0xa4]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp word [ebp - 0xa4], 0
je 0x450aa7
push edi
push 0x475ec0
push esi
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0xfffffffffffffff0
push esi
mov esi, dword [sym.imp.USER32.dll_GetWindowLongW]
call esi
push 0xffffffffffffffec
push dword [ebp - 0xbc]
mov edi, eax
call esi
push 0
push 0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edx, dword [ebp - 0xb0]
mov ecx, dword [ebp - 0xa8]
push eax
mov eax, dword [ebp - 0xac]
push 0xffffffffffffffff
push dword [ebx]
sub ecx, edx
push ecx
mov ecx, dword [ebp - 0xb4]
sub eax, ecx
push eax
push edx
shr edi, 0x10
push ecx
and edi, 0xff7faffc
or edi, 0x50000000
push edi
lea eax, [ebp - 0xa4]
push eax
push str.STATIC
push esi
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ebx, eax
test ebx, ebx
je 0x450aa6
mov eax, dword [ebp - 0xb8]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x31
push dword [eax]
call esi
push 1
push eax
push 0x30
push ebx
mov dword [ebp - 0xc8], eax
call esi
push 0x452af0
push 0xfffffffffffffffc
push ebx
call dword [sym.imp.USER32.dll_SetWindowLongW]
push dword [ebp - 0xb8]
mov esi, dword [sym.imp.USER32.dll_SetPropW]
push str.PROP_STAT_PSKIN
push ebx
mov edi, eax
call esi
push edi
push str.PROP_STAT_OLDPROC
push ebx
call esi
push ebx
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
xor eax, eax
xor ecx, ecx
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0xc0], ecx
test esi, esi
je 0x450a76
push dword [ebp - 0xc8]
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
lea eax, [ebp - 0xc4]
push eax
lea eax, [ebp - 0xa4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
lea eax, [ebp - 0xa4]
push eax
push esi
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
push esi
push ebx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [ebp - 0xc0]
mov eax, dword [ebp - 0xc4]
push 2
push ecx
push eax
push dword [ebp - 0xb0]
push dword [ebp - 0xb4]
push dword [ebp - 0xbc]
push ebx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [ebp - 0xb8]
push eax
mov ecx, dword [eax + 0x14c]
push ebx
call fcn.00450510
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0043e056
mov esp, ebp
pop ebp
ret
Function at 0x458a80
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x468afe
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x484db8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov edi, dword [ebp + 8]
mov dword [ebx + 0x7c], edi
mov dword [ebx + 0x80], 0
push 0x4c
push 0
push ebx
mov dword [ebp - 4], 0
call fcn.0043e0c0
push 0x30
lea esi, [ebx + 0x4c]
push 0
push esi
call fcn.0043e0c0
mov eax, dword [ebp + 0xc]
mov dword [esi], eax
mov eax, dword [ebx + 0x7c]
mov dword [ebx + 0x50], eax
mov eax, dword [ebp + 0x10]
mov dword [ebx + 0x5c], eax
mov dword [ebx + 0x30], eax
mov eax, dword [ebp + 0x14]
push edi
mov dword [ebx + 0x54], 1
mov dword [ebx + 0x6c], 0
mov dword [ebx + 0x64], 0x64
mov dword [ebx + 0x68], 0x64
mov dword [ebx + 0x60], 0
mov dword [ebx + 0x34], 0x4000
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 1
mov dword [ebx + 0x48], eax
call fcn.0045cf60
mov dword [ebx + 0x58], eax
add esp, 0x1c
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x45a030
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test eax, eax
jne 0x45a03c
pop ebp
ret
mov dword [ebp + 8], eax
pop ebp
jmp fcn.00458ea0

Function at 0x45b1f0
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x468e48
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x484db8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
or esi, 0xffffffff
mov dword [ebp - 4], 0
xor edi, edi
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocStringLen
push dword [ebp + 8]
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, esi
je 0x45b2a9
push edi
push edi
push edi
push 2
push edi
mov esi, ebx
push ebx
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
test eax, eax
je 0x45b2a9
push 0
push 0
push 0
push 4
mov edi, eax
push eax
mov dword [ebp - 0x18], edi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp + 8], eax
test eax, eax
je 0x45b2a9
push dword [ebp + 0xc]
mov dword [ebp - 0x1c], eax
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
push eax
push ebx
call fcn.0045af90
mov eax, dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov byte [ebp + 0xb], 1
test eax, eax
je 0x45b2ad
push ebx
call eax
jmp 0x45b2ad
mov byte [ebp + 0xb], 0
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x45b2be
test ebx, ebx
je 0x45b2be
push edi
call ebx
cmp esi, 0xffffffff
je 0x45b2ca
test ebx, ebx
je 0x45b2ca
push esi
call ebx
mov al, byte [ebp + 0xb]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x45cc90
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov dword [esi + 0x20], ecx
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 1
mov eax, dword [ebx + 0x10]
mov dword [esi + 0x30], eax
movzx eax, cx
push 2
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
jne 0x45ccd1
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x45ccca
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
push esi
push ebx
call fcn.0045b490
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret

Function at 0x45cd10
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, dword [ebp + 0x10]
test edi, edi
jne 0x45cd23
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
push ebx
push esi
call fcn.0045cf10
movzx ebx, word [ebp + 0xc]
mov esi, dword [ebp + 8]
push 0x475c80
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp + 0x10], eax
test eax, eax
jne 0x45cd72
push 2
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
jne 0x45cd5a
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
push ebx
push esi
call fcn.0045ce60
add esp, 8
mov dword [edi], eax
pop esi
pop ebx
mov eax, 1
pop edi
mov esp, ebp
pop ebp
ret
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp + 0x10]
mov ebx, eax
push esi
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp + 0x10], eax
test eax, eax
je 0x45cdff
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x45cdff
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebx, eax
test ebx, ebx
je 0x45cdf8
push dword [ebp - 4]
push dword [ebp + 0x10]
push ebx
call fcn.0043e410
add esp, 0xc
lea eax, [ebp + 0x10]
push eax
push 0
push esi
mov dword [ebp + 0x10], 0
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x45cdf1
push eax
push dword [ebp + 0x10]
call fcn.0045ceb0
mov dword [edi], eax
mov eax, dword [ebp + 0x10]
add esp, 8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop esi
pop ebx
mov eax, 1
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x45eaf4
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push 4
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 0x10]
xor esi, esi
push dword [ebp + 0xc]
mov dword [ebp - 0x18], 0x7863513
call fcn.0045ec8e
add esp, 0x10
mov dword [ebp - 8], eax
push esi
push 0x80
push 3
push esi
push 1
push 0xc0000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
mov dword [ebp - 0x20], ebx
cmp ebx, 0xffffffff
je 0x45ec50
push edi
mov edi, dword [ebp + 0x18]
push edi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 4], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], esi
call fcn.0045ec5f
add esp, 0xc
lea eax, [ebp - 4]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push esi
push eax
push dword [ebp - 4]
mov dword [ebp - 0x18], eax
push dword [ebp - 0xc]
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x45ec48
push esi
push esi
push esi
push dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ebx, eax
test ebx, ebx
je 0x45ec3c
mov ecx, dword [ebp - 4]
or ecx, dword [ebp - 0x18]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x18], ecx
cmp esi, esi
jl 0x45ec19
jg 0x45ebb7
cmp ecx, esi
jbe 0x45ec19
mov eax, dword [ebp + 0x10]
cdq
mov ecx, eax
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x14], edx
mov edi, esi
mov eax, esi
jmp 0x45ebcc
mov ecx, dword [ebp - 0xc]
push edx
push ecx
push eax
push edi
call fcn.0045eec0
mov ecx, dword [ebp - 8]
movzx eax, byte [eax + ecx]
push eax
movzx eax, byte [edi + ebx]
push eax
cmp dword [ebp + 0x14], esi
je 0x45ebee
call fcn.0045ead7
jmp 0x45ebf3
call fcn.0045eac4
mov edx, dword [ebp - 0x14]
mov byte [edi + ebx], al
mov eax, dword [ebp - 0x10]
add edi, 1
adc eax, esi
pop ecx
pop ecx
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
cmp eax, esi
jl 0x45ebcc
mov ecx, dword [ebp - 0x18]
jg 0x45ec16
cmp edi, ecx
jb 0x45ebc9
mov edi, dword [ebp + 0x18]
test edi, edi
je 0x45ec32
mov eax, dword [edi + 4]
test eax, eax
je 0x45ec32
push dword [edi + 8]
push esi
push ecx
push ebx
call eax
add esp, 0x10
mov dword [edi + 0xc], eax
xor esi, esi
push ebx
inc esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [ebp - 0x20]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
push dword [ebp - 8]
call fcn.0043e335
pop ecx
mov eax, esi
pop esi
pop ebx
leave
ret

Function at 0x45ec8e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push dword [ebp + 0xc]
call fcn.0043dd7c
mov esi, eax
xor eax, eax
pop ecx
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], eax
jle 0x45eccd
push ebx
mov ebx, dword [ebp + 8]
sub ebx, esi
lea ecx, [eax + esi]
cdq
idiv dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
mov al, byte [edx + eax]
xor al, byte [ebx + ecx]
mov byte [ecx], al
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp eax, dword [ebp + 0xc]
jl 0x45ecae
pop ebx
mov eax, esi
pop esi
leave
ret
Function at 0x412950
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4129a9
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4129a9
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x41299a
cmp esi, edx
jae 0x4129a9
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x412988
cmp esi, edx
jae 0x4129a9
cmp word [esi], 0
je 0x4129a9
mov eax, esi
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret

Function at 0x412d70
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x224
mov eax, dword [0x5953ec]
xor eax, esp
mov dword [esp + 0x220], eax
push ebx
mov ebx, ecx
mov dword [esp + 8], 0
mov ecx, dword [ebp + 8]
push esi
push edi
mov eax, dword [ebx + 4]
or eax, 0x2001f
mov dword [esp + 0xc], ecx
push eax
push ecx
push dword [ebx]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
call fcn.00412c80
mov esi, eax
test esi, esi
je 0x412df1
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x412dd8
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x220]
xor ecx, esp
call fcn.004e059c
mov esp, ebp
pop ebp
ret 4
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [esp + 0x20]
push eax
push 0
push 0
push 0
lea eax, [esp + 0x2c]
mov dword [esp + 0x2c], 0x100
push eax
lea eax, [esp + 0x3c]
push eax
push 0
push dword [esp + 0x2c]
call edi
test eax, eax
jne 0x412e59
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x14]
call fcn.00412d70
mov esi, eax
test esi, esi
jne 0x412eab
lea eax, [esp + 0x20]
mov dword [esp + 0x1c], 0x100
push eax
push esi
push esi
push esi
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x3c]
push eax
push esi
push dword [esp + 0x2c]
call edi
test eax, eax
je 0x412e20
mov eax, dword [esp + 0x10]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x412e72
push eax
call esi
mov dword [esp + 0x10], 0
push dword [esp + 0xc]
mov ecx, ebx
mov dword [esp + 0x18], 0
call fcn.00412a50
mov ecx, dword [esp + 0x10]
mov edi, eax
test ecx, ecx
je 0x412e92
push ecx
call esi
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x220]
xor ecx, esp
call fcn.004e059c
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esp + 0x10]
test eax, eax
je 0x412dd8
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x22c]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004e059c
mov esp, ebp
pop ebp
ret 4
Function at 0x4159c0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x544c8b
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x5953ec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov byte [ebp - 0x231], cl
mov dword [ebp - 4], 0
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
nop word [eax + eax]
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00519fc0
add esp, 0xc
mov dword [ebp - 0x228], 0x104
lea eax, [ebp - 0x230]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x218]
push eax
push esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x415b64
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x415a66
sub eax, edx
mov ecx, edi
mov edx, dword [edi + 0x10]
sar eax, 1
cmp dword [edi + 0x14], 8
jb 0x415a82
mov ecx, dword [edi]
cmp edx, eax
jne 0x415b1b
push edx
lea edx, [ebp - 0x218]
call fcn.00428ac0
add esp, 4
test eax, eax
jne 0x415b1b
xorps xmm0, xmm0
mov dword [ebp - 0x21c], eax
movq qword [ebp - 0x224], xmm0
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], eax
cmp byte [ebp - 0x231], 0
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x224]
mov edx, dword [ebp + 8]
je 0x415ae3
push 0x20119
jmp 0x415ae8
push 0x20219
push eax
call fcn.0044e190
add esp, 8
test al, al
jne 0x415b21
mov eax, dword [ebp - 0x224]
test eax, eax
je 0x415b0c
push eax
call ebx
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0
jmp 0x415a10
inc esi
jmp 0x415a10
sub esp, 8
mov ecx, esp
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x415b3e
lock inc dword [eax + 4]
mov eax, dword [ebp + 0x14]
mov dword [ecx], eax
mov eax, dword [ebp + 0x18]
mov dword [ecx + 4], eax
lea ecx, [ebp - 0x224]
call fcn.004153d0
mov eax, dword [ebp - 0x224]
add esp, 8
test eax, eax
je 0x415b64
push eax
call ebx
mov eax, dword [ebp + 8]
test eax, eax
je 0x415b75
push eax
call ebx
mov dword [ebp + 8], 0
mov dword [ebp + 0xc], 0
mov dword [ebp - 4], 4
mov esi, dword [ebp + 0x18]
test esi, esi
je 0x415bab
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x415bab
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x415bab
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e059c
mov esp, ebp
pop ebp
ret
Function at 0x41df30
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5459b5
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x5953ec]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], edi
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov dword [ebp - 4], 0
xor eax, eax
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 7
mov word [edi + 0x18], ax
mov dword [edi + 0x40], eax
mov dword [edi + 0x44], 7
mov word [edi + 0x30], ax
mov dword [edi + 0x58], eax
mov dword [edi + 0x5c], 7
mov word [edi + 0x48], ax
mov dword [edi + 0x70], eax
mov dword [edi + 0x74], 7
mov word [edi + 0x60], ax
mov dword [edi + 0x88], eax
mov dword [edi + 0x8c], 7
mov word [edi + 0x78], ax
mov byte [ebp - 4], 5
lea esi, [edi + 0x90]
mov dword [ebp - 0x10], esi
push eax
mov dword [esi], eax
push eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
call fcn.00432a90
mov dword [esi + 4], eax
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov byte [ebp - 4], 7
mov ecx, esi
push 8
mov dword [esi], 0x3f800000
call fcn.00428b20
mov byte [edi + 0xb4], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x425130
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, edi
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], ecx
cmp dword [edi + 0x14], 8
mov eax, dword [edi + 0x10]
mov dword [ebp - 8], eax
jb 0x425155
mov esi, dword [edi]
lea ebx, [eax + eax]
xor ecx, ecx
mov edx, 0x811c9dc5
test ebx, ebx
je 0x425174
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x425163
mov ebx, dword [ebp - 4]
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0xc]
and eax, edx
mov ebx, dword [ebx + 4]
mov edx, dword [ecx + eax*8]
lea eax, [eax*8 + 4]
add eax, ecx
mov dword [ebp - 0x10], edx
mov esi, edx
mov dword [ebp - 0x14], eax
cmp edx, ebx
jne 0x42519e
mov eax, ebx
jmp 0x4251a2
mov eax, dword [eax]
mov eax, dword [eax]
cmp esi, eax
je 0x42521f
cmp dword [edi + 0x14], 8
lea ecx, [esi + 8]
mov edx, edi
jb 0x4251b3
mov edx, dword [edi]
mov eax, dword [ecx + 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ecx + 0x14]
cmp eax, 8
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
jb 0x4251c9
mov ecx, dword [ecx]
cmp eax, dword [ebp - 8]
jne 0x4251db
push eax
call fcn.00428ac0
add esp, 4
test eax, eax
je 0x4251e5
mov esi, dword [esi]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
jmp 0x425196
cmp dword [ebp - 0x18], 8
lea edx, [esi + 8]
jb 0x4251f0
mov edx, dword [edx]
cmp dword [edi + 0x14], 8
jb 0x4251f8
mov edi, dword [edi]
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 4]
jne 0x42520f
push eax
mov ecx, edi
call fcn.00428ac0
add esp, 4
test eax, eax
je 0x425211
mov esi, ebx
mov eax, dword [ebp - 0xc]
pop edi
mov dword [eax], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 0xc]
pop edi
pop esi
mov dword [eax], ebx
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x425730
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
mov edx, dword [esi + 0xc]
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor ecx, eax
movzx eax, byte [edi + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edi + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [esi + 0x18]
mov esi, dword [esi + 4]
and ecx, eax
lea eax, [ecx*8]
mov ecx, dword [eax + edx]
add edx, 4
add eax, edx
mov edx, ecx
mov dword [ebp - 8], eax
cmp edx, esi
jne 0x42579a
mov eax, esi
jmp 0x42579e
mov eax, dword [eax]
mov eax, dword [eax]
cmp ecx, eax
je 0x4257bd
mov eax, dword [ecx + 8]
cmp eax, dword [edi]
je 0x4257b0
mov ecx, dword [ecx]
mov eax, dword [ebp - 8]
jmp 0x425792
pop edi
pop esi
mov dword [ebx], ecx
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 8
pop edi
mov dword [ebx], esi
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x42a1c0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov edx, ecx
mov ebx, dword [ebp + 8]
movzx eax, byte [edi + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edi + 9]
xor ecx, eax
movzx eax, byte [edi + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edi + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [edx + 0x18]
and ecx, eax
lea esi, [ecx*8]
mov ecx, dword [edx + 0xc]
add ecx, esi
mov eax, dword [ecx]
cmp dword [ecx + 4], edi
jne 0x42a236
cmp eax, edi
jne 0x42a22e
mov eax, dword [edx + 4]
mov dword [ecx], eax
mov ecx, dword [edx + 0xc]
mov eax, dword [edx + 4]
mov dword [esi + ecx + 4], eax
jmp 0x42a23e
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0x42a23e
cmp eax, edi
jne 0x42a23e
mov eax, dword [edi]
mov dword [ecx], eax
mov eax, dword [edi + 4]
mov esi, dword [edi]
mov dword [eax], esi
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
lea ecx, [edi + 0xc]
dec dword [edx + 8]
call fcn.00427da0
push 0x18
push edi
call fcn.004e0b61
add esp, 8
mov dword [ebx], esi
mov eax, ebx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x42a270
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
cmp dword [edi + 0x1c], 8
lea esi, [edi + 8]
mov ebx, dword [edi + 0x18]
jb 0x42a294
mov esi, dword [edi + 8]
xor ecx, ecx
mov edx, 0x811c9dc5
add ebx, ebx
je 0x42a2b1
nop
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x42a2a0
mov ebx, dword [ebp - 4]
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0xc]
and eax, edx
lea edx, [eax*8]
mov eax, dword [ecx + edx]
add ecx, edx
cmp dword [ecx + 4], edi
jne 0x42a2ea
cmp eax, edi
jne 0x42a2e2
mov eax, dword [ebx + 4]
mov dword [ecx], eax
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 4]
mov dword [edx + ecx + 4], eax
jmp 0x42a2f2
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0x42a2f2
cmp eax, edi
jne 0x42a2f2
mov eax, dword [edi]
mov dword [ecx], eax
mov eax, dword [edi + 4]
lea ecx, [edi + 8]
mov esi, dword [edi]
mov dword [eax], esi
mov edx, dword [edi]
mov eax, dword [edi + 4]
mov dword [edx + 4], eax
dec dword [ebx + 8]
call fcn.0042c760
push 0x2c
push edi
call fcn.004e0b61
mov eax, dword [ebp - 8]
add esp, 8
pop edi
mov dword [eax], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8