joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5167d0
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x6bd4d8]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov dword [0x7057b4], eax
cmp dword [0x7074dc], eax
je 0x51691c
push 8
lea ecx, [ebp - 0x18]
mov dword [0x7074dc], eax
push ecx
push 0x1004
movzx eax, ax
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push 0
lea eax, [ebp - 0x18]
push 0
push eax
call fcn.00519600
add esp, 0xc
mov dword [0x7074ac], eax
cmp dword [0x6ad874], eax
je 0x51691c
push 0x7057b8
mov dword [0x6ad874], eax
call dword [sym.imp.USER32.dll_GetKeyboardLayoutNameA]
movzx ecx, word [0x7057b4]
mov eax, ecx
and eax, 0x3ff
sub eax, 4
je 0x516888
sub eax, 0xd
je 0x516875
sub eax, 1
jne case.default.0x51689a
mov byte [0x7057c2], al
mov dword [0x706c8c], 0x6ad856
jmp 0x516901
mov byte [0x7057c2], 1
mov dword [0x706c8c], 0x6ad85c
jmp 0x516901
mov eax, ecx
mov byte [0x7057c2], 1
shr eax, 0xa
dec eax
cmp eax, 4
ja case.default.0x51689a
jmp dword [eax*4 + 0x51692c]
mov byte [0x7057c2], 0
mov dword [0x706c8c], 0x6ad84a
jmp 0x516901
mov dword [0x706c8c], 0x6ad850
jmp 0x516901
push 0xa
lea eax, [ebp - 0x10]
mov dword [0x706c8c], 0x6ad844
push eax
push 3
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov eax, dword [0x706c8c]
movsx cx, byte [ebp - 0x10]
mov word [eax], cx
movsx ax, byte [ebp - 0xf]
movzx eax, ax
push eax
call fcn.005f9cd4
mov ecx, dword [0x706c8c]
add esp, 4
mov word [ecx + 2], ax
cmp dword [0x7074a8], 0x4e8
je 0x51691c
mov eax, dword [0x7074ac]
mov dword [0x7074a8], eax
call fcn.00516a10
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005a489b
mov esp, ebp
pop ebp
ret
Function at 0x517110
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x6bd4d8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
cmp edi, 2
jae 0x51735d
mov ecx, dword [0x7057b4]
cmp dword [0x7074d8], ecx
je 0x5173ab
cmp byte [0x7057aa], 0
mov eax, 0x404
mov dword [0x7074d8], ecx
je 0x51717b
cmp cx, ax
jne 0x51717b
mov dword [0x705864], 0x7000404
mov eax, 0x7000404
mov dword [0x705868], 0
jmp 0x51735f
cmp ecx, 0xe0080404
je 0x5171a7
cmp ecx, 0xe0090404
je 0x5171a7
cmp ecx, 0xe00a0404
je 0x5171a7
cmp ecx, 0xe00b0404
je 0x5171a7
cmp ecx, 0xe00e0804
jne 0x517349
push 0x3ff
lea eax, [ebp - 0x404]
push eax
push ecx
call sub.IMM32.dll_ImmGetIMEFileNameA
test eax, eax
je 0x517349
cmp dword [0x7057a0], 0
jne 0x51726e
mov esi, dword [sym.imp.KERNEL32.dll_CompareStringA]
lea eax, [ebp - 0x404]
push 0xffffffffffffffff
push str.TINTLGNT.IME
push 0xffffffffffffffff
push eax
push 1
push 0x409
call esi
cmp eax, 2
je 0x51726e
push 0xffffffffffffffff
push str.CINTLGNT.IME
push 0xffffffffffffffff
lea eax, [ebp - 0x404]
push eax
push 1
push 0x409
call esi
cmp eax, 2
je 0x51726e
push 0xffffffffffffffff
push str.MSTCIPHA.IME
push 0xffffffffffffffff
lea eax, [ebp - 0x404]
push eax
push 1
push 0x409
call esi
cmp eax, 2
je 0x51726e
push 0xffffffffffffffff
push str.PINTLGNT.IME
push 0xffffffffffffffff
lea eax, [ebp - 0x404]
push eax
push 1
push 0x409
call esi
cmp eax, 2
je 0x51726e
push 0xffffffffffffffff
push str.MSSCIPYA.IME
push 0xffffffffffffffff
lea eax, [ebp - 0x404]
push eax
push 1
push 0x409
call esi
cmp eax, 2
jne 0x517349
lea eax, [ebp - 0x408]
push eax
lea eax, [ebp - 0x404]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
movzx esi, word [0x7057b4]
mov ebx, eax
test ebx, ebx
je 0x517349
call fcn.005a5650
mov eax, esp
push eax
push ebx
push dword [ebp - 0x408]
mov dword [ebp - 0x40c], eax
lea eax, [ebp - 0x404]
push eax
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x517349
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x410]
push eax
push 0x67e1f0
push dword [ebp - 0x40c]
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x517349
mov edx, dword [ebp - 0x410]
mov eax, dword [edx + 8]
movzx ecx, al
and eax, 0xffff0000
shl ecx, 8
or ecx, eax
shl ecx, 8
cmp dword [0x7057a0], 0
jne 0x51739a
mov eax, 0x404
cmp si, ax
jne 0x517378
cmp ecx, 0x4020000
je 0x51739a
cmp ecx, 0x4030000
je 0x51739a
cmp ecx, 0x4040000
je 0x51739a
cmp ecx, 0x5000000
je 0x51739a
cmp ecx, 0x5010000
je 0x51739a
cmp ecx, 0x5020000
je 0x51739a
cmp ecx, 0x6000000
je 0x51739a
mov dword [0x705868], 0
mov dword [0x705864], 0
xor eax, eax
lea esp, [ebp - 0x420]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005a489b
mov esp, ebp
pop ebp
ret 4
mov eax, 0x804
cmp si, ax
jne 0x517349
cmp ecx, 0x4010000
je 0x51739a
cmp ecx, 0x4020000
je 0x51739a
cmp ecx, 0x5030000
jne 0x517349
mov eax, esi
or eax, ecx
mov dword [0x705864], eax
mov eax, dword [edx + 0xc]
mov dword [0x705868], eax
mov eax, dword [edi*4 + 0x705864]
jmp 0x51735f
Function at 0x5174c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x6bd4d8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x7057b4]
push ebx
cmp eax, 0xe00e0804
je 0x51768e
cmp eax, 0xe0090404
je 0x51768e
mov ebx, dword [0x705864]
test ebx, ebx
je 0x51768e
xor cl, cl
mov edx, 0x404
mov byte [ebp - 0x109], cl
cmp ax, dx
jne 0x51767d
movups xmm0, xmmword [str.softwaremicrosoftwindowscurrentversion_]
mov ax, word [0x63eb18]
and ebx, 0xffff0000
mov word [ebp - 0xe0], ax
cmp ebx, 0x5010000
mov al, byte [0x63eb1a]
mov edx, str.MSTCIPH
movups xmmword [ebp - 0x108], xmm0
mov byte [ebp - 0xde], al
mov eax, str.TINTLGNT
movups xmm0, xmmword [0x63eb00]
push esi
cmovb edx, eax
movups xmmword [ebp - 0xf8], xmm0
mov esi, edx
movq xmm0, qword [0x63eb10]
push edi
movq qword [ebp - 0xe8], xmm0
mov al, byte [edx]
inc edx
test al, al
jne 0x517574
lea edi, [ebp - 0x108]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x517584
mov ecx, edx
lea eax, [ebp - 0x110]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push eax
push 0x20019
push 0
mov ecx, edx
lea eax, [ebp - 0x108]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
pop edi
pop esi
test eax, eax
jne 0x517668
lea eax, [ebp - 0x114]
mov dword [ebp - 0x114], 4
push eax
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x11c]
push eax
push 0
push str.Keyboard_Mapping
push dword [ebp - 0x110]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x517645
mov eax, dword [ebp - 0x118]
cmp ebx, 0x5000000
ja 0x517610
cmp al, 0x22
je 0x517626
cmp al, 0x23
je 0x517626
cmp ebx, 0x5010000
je 0x517620
cmp ebx, 0x5020000
jne 0x517645
sub al, 0x22
cmp al, 2
ja 0x517645
push dword [ebp - 0x110]
mov bl, 1
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005a489b
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x110]
mov bl, byte [ebp - 0x109]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005a489b
mov esp, ebp
pop ebp
ret
mov al, byte [ebp - 0x109]
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005a489b
mov esp, ebp
pop ebp
ret
mov al, cl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005a489b
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop ebx
call fcn.005a489b
mov esp, ebp
pop ebp
ret
Function at 0x5178b0
Capabilities:
Get common file path
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x6bd4d8]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x7057a8], 0
mov eax, dword [ebp + 8]
push edi
mov edi, ecx
jne 0x517a78
cmp byte [0x7074c0], 0
mov dword [0x7057b0], eax
jne 0x517912
push 2
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x517912
push 0x7074bc
push 0x63ea20
push 1
push 0
push 0x665810
mov byte [0x7074c0], 1
call dword [sym.imp.ole32.dll_CoCreateInstance]
push 0x7057c8
mov dword [0x7057c8], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
push 0x105
lea eax, [ebp - 0x10c]
mov byte [0x7057a9], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x5179fa
lea ecx, [ebp - 0x10c]
dec ecx
nop
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x517950
mov eax, dword [0x63ea30]
mov dword [ecx], eax
mov eax, dword [0x63ea34]
mov dword [ecx + 4], eax
mov ax, word [0x63ea38]
mov word [ecx + 8], ax
mov al, byte [0x63ea3a]
mov byte [ecx + 0xa], al
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x7057c4], eax
test eax, eax
je 0x5179f3
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.ImmLockIMC
push eax
call esi
push str.ImmUnlockIMC
push dword [0x7057c4]
mov dword [0x705790], eax
call esi
push str.ImmLockIMCC
push dword [0x7057c4]
mov dword [0x705794], eax
call esi
push str.ImmUnlockIMCC
push dword [0x7057c4]
mov dword [0x705798], eax
call esi
push str.ImmDisableTextFrameService
push dword [0x7057c4]
mov dword [0x70579c], eax
call esi
pop esi
test eax, eax
je 0x5179fa
push 0xffffffffffffffff
call eax
jmp 0x5179fa
mov byte [0x7057a9], 1
push dword [0x7057b0]
mov byte [0x7057a8], 1
call sub.IMM32.dll_ImmGetContext
push eax
mov dword [edi + 4], eax
push dword [0x7057b0]
call sub.IMM32.dll_ImmReleaseContext
call fcn.005167d0
call fcn.005167a0
push 2
call fcn.00518a00
add esp, 4
call fcn.00518dc0
test eax, eax
setne byte [0x7057aa]
call fcn.00516940
cmp byte [0x7057aa], 0
je 0x517a78
mov eax, dword [0x7057b4]
and eax, 0x3ff
cmp eax, 4
jne 0x517a67
call fcn.00516b80
test eax, eax
je 0x517a67
mov al, 1
jmp 0x517a69
xor al, al
push 0
mov byte [0x7057ad], al
call fcn.00518f80
add esp, 4
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop edi
call fcn.005a489b
mov esp, ebp
pop ebp
ret 4
Function at 0x518110
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62ecb0
mov eax, dword fs:[0]
push eax
sub esp, 0x828
mov eax, dword [0x6bd4d8]
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, ecx
mov dword [ebp - 0x830], edi
cmp byte [edi + 0x20], 0
je 0x518321
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x518321
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov dword [ebp - 0x834], eax
test eax, eax
je 0x518321
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebx, eax
mov dword [ebp - 0x82c], ebx
test ebx, ebx
je 0x518321
mov esi, ebx
mov dword [ebp - 0x828], 0
mov dword [ebp - 0x818], 0
mov dword [ebp - 0x814], 0xf
mov byte [ebp - 0x828], 0
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x5181b7
sub esi, ecx
cmp esi, 0xf
ja 0x5181e6
push esi
lea eax, [ebp - 0x828]
mov dword [ebp - 0x818], esi
push ebx
push eax
call fcn.005e01a0
mov byte [ebp + esi - 0x828], 0
jmp 0x518273
cmp esi, 0x7fffffff
ja 0x51833d
mov edi, esi
or edi, 0xf
cmp edi, 0x7fffffff
jbe 0x518216
mov eax, connect
mov edi, closesocket
push eax
call fcn.0043e350
add esp, 4
mov ebx, eax
jmp 0x51824a
mov eax, 0x16
cmp edi, eax
cmovb edi, eax
lea eax, [edi + 1]
cmp eax, 0x1000
jb 0x518237
push eax
call fcn.0043e350
add esp, 4
mov ebx, eax
jmp 0x51824a
test eax, eax
je 0x518248
push eax
call fcn.005a48da
add esp, 4
mov ebx, eax
jmp 0x51824a
xor ebx, ebx
push esi
push dword [ebp - 0x82c]
mov dword [ebp - 0x818], esi
push ebx
mov dword [ebp - 0x814], edi
call fcn.005e01a0
mov edi, dword [ebp - 0x830]
mov byte [ebx + esi], 0
mov dword [ebp - 0x828], ebx
add esp, 0xc
push dword [ebp - 0x834]
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [ebp - 0x818]
test eax, eax
je 0x5182eb
cmp dword [ebp - 0x814], 0x10
lea edx, [ebp - 0x828]
push 0x400
cmovae edx, dword [ebp - 0x828]
lea ecx, [ebp - 0x810]
push ecx
add eax, edx
sub eax, edx
push eax
push edx
push 0
push dword [0x7074ac]
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push eax
lea eax, [ebp - 0x810]
mov ecx, edi
push eax
call fcn.00517a90
mov ecx, dword [0x706c90]
test ecx, ecx
je 0x5182eb
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x814]
cmp edx, 0x10
jb 0x518321
mov ecx, dword [ebp - 0x828]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x518317
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x518342
push edx
push ecx
call fcn.005a48cc
add esp, 8
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.005a489b
mov esp, ebp
pop ebp
ret
call fcn.0043e200
call fcn.005e9e92
int3
Function at 0x51e0c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62ee60
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x6bd4d8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi + 4], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0xf
mov byte [edi + 4], 0
lea esi, [edi + 0x1c]
mov dword [ebp - 4], 0
push 0x20
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.005a48da
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov eax, edi
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.004f54e0

Function at 0x524cf0
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 8]
mov esi, ecx
call sub.WS2_32.dll_gethostbyname
test eax, eax
jne 0x524d09
xor al, al
pop esi
pop ebp
ret 4
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [esi + 4], eax
mov al, 1
pop esi
pop ebp
ret 4
Function at 0x52cb70
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
movzx eax, byte [ecx]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
lea edi, [ecx + 1]
mov dword [ebp - 4], ecx
add edi, eax
mov ecx, ebx
lea eax, [edi + 1]
neg edi
sbb edi, edi
and edi, eax
cmp dword [ebx + 0x14], 0x10
jb 0x52cb98
mov ecx, dword [ebx]
mov esi, dword [ebx + 0x10]
xor edx, edx
add esi, ecx
cmp ecx, esi
jae 0x52cbb3
movzx eax, byte [ecx]
inc ecx
imul edx, edx, 0x1000193
xor edx, eax
cmp ecx, esi
jb 0x52cba3
mov esi, dword [ebp + 8]
mov ecx, dword [ebp - 4]
push edi
push ebx
push edx
push esi
call fcn.0052b250
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x530cd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 0x13e4], 0x20
je 0x530ce6
xor al, al
pop esi
pop ebp
ret 4
cmp byte [esi + 0x365], 0
jne 0x530d25
cmp dword [esi + 0x13e8], 0x10
push edi
lea edi, [esi + 0x13d4]
jb 0x530d01
mov edi, dword [edi]
mov edx, dword [ebp + 8]
xor ecx, ecx
xor dword [edi + ecx*4], edx
inc ecx
mov eax, dword [esi + 0x13e4]
add edx, 0x1000193
shr eax, 2
cmp ecx, eax
jne 0x530d06
mov byte [esi + 0x365], 1
pop edi
mov al, 1
pop esi
pop ebp
ret 4
Function at 0x536b70
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6306f5
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x6bd4d8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x4c], ecx
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x50], ecx
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x54], ecx
lea ecx, [ebp - 0x40]
push eax
call fcn.0044e3c0
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 0
push eax
call fcn.004f8960
lea eax, [ebp - 0x40]
push eax
call fcn.004f8960
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.005369d0
add esp, 0x10
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
mov esi, dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
xor edx, edx
add esi, eax
mov byte [ebp - 4], 1
cmp eax, esi
jae 0x536c10
nop dword [eax]
movzx ecx, byte [eax]
inc eax
imul edx, edx, 0x1000193
xor edx, ecx
cmp eax, esi
jb 0x536c00
lea eax, [ebp - 0x48]
mov dword [ebp - 0x48], edx
push eax
lea eax, [ebp - 0x58]
mov ecx, edi
push eax
call fcn.00537510
mov esi, dword [eax]
test esi, esi
jne 0x536c2e
mov byte [ebp - 0x41], 0
jmp 0x536c92
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
push dword [ebp - 0x30]
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.004f54e0
mov edi, eax
mov byte [ebp - 0x41], 1
mov eax, 0xaaaaaaab
add esp, 8
mul edi
movd xmm0, edi
pshufd xmm2, xmm0, 0
movaps xmm1, xmm2
mov eax, dword [ebp - 0x4c]
shr edx, 1
lea ecx, [edx + edx*2]
sub edi, ecx
mov ecx, dword [ebp - 0x54]
mov dword [eax], edi
movups xmm0, xmmword [esi + 4]
mov eax, dword [ebp - 0x50]
movups xmmword [eax], xmm0
movups xmm0, xmmword [esi + 0x14]
movups xmmword [ecx], xmm0
movups xmm0, xmmword [eax]
pxor xmm1, xmm0
movups xmmword [eax], xmm1
movups xmm0, xmmword [ecx]
pxor xmm2, xmm0
movups xmmword [ecx], xmm2
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x536cc2
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x536cb8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x536d24
push edx
push ecx
call fcn.005a48cc
add esp, 8
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp edx, 0x10
jb 0x536d04
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x536cfa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x536d24
push edx
push ecx
call fcn.005a48cc
add esp, 8
mov al, byte [ebp - 0x41]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005a489b
mov esp, ebp
pop ebp
ret 0x10
call fcn.005e9e92
int3
Function at 0x536d30
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x63072d
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x6bd4d8]
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 dword [ebp - 0x30], ecx
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x28]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
push eax
call fcn.0044e3c0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
call fcn.004f8960
mov esi, dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
add esp, 4
cmp dword [ebp - 0x14], 0x10
cmovae ecx, dword [ebp - 0x28]
xor edx, edx
add esi, ecx
cmp ecx, esi
jae 0x536db0
nop dword [eax]
movzx eax, byte [ecx]
inc ecx
imul edx, edx, 0x1000193
xor edx, eax
cmp ecx, esi
jb 0x536da0
mov ecx, dword [ebp - 0x30]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x34]
mov dword [ebp - 0x2c], edx
push eax
add ecx, 0x18
call fcn.00537550
mov eax, dword [eax]
test eax, eax
je 0x536dde
mov ecx, dword [eax + 0x20]
sub ecx, dword [eax + 0x1c]
mov dword [ebx], ecx
test ecx, ecx
jg 0x536e08
mov dword [edi], 0
xor bl, bl
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x536e1b
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x536e11
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x536e3b
jmp 0x536e11
mov eax, dword [eax + 0x1c]
mov bl, 1
mov dword [edi], eax
jmp 0x536de0
push edx
push ecx
call fcn.005a48cc
add esp, 8
mov al, bl
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.005a489b
mov esp, ebp
pop ebp
ret 0xc
call fcn.005e9e92
int3
Function at 0x5586f0
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
mov ecx, ebx
push esi
push edi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x558700
mov edi, 0x1505
mov esi, 0
sub ecx, edx
je 0x558727
movsx edx, byte [esi + ebx]
mov eax, edi
shl eax, 5
inc esi
add edi, eax
add edi, edx
cmp esi, ecx
jb 0x558715
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x55f540
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x631ce3
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x6bd4d8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [0x74c610], edi
lea esi, [edi + 4]
mov dword [edi], vtable.CRaceManager.0
push 0x18
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.005a48da
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
lea esi, [edi + 0xc]
mov byte [ebp - 4], 1
push 0x40
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.005a48da
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
lea esi, [edi + 0x14]
mov byte [ebp - 4], 2
push 0x2c
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.005a48da
add esp, 0xc
mov ecx, edi
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov dword [edi + 0x1c], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0xf
mov byte [edi + 0x1c], 0
call fcn.00560db0
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 0x55f660
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x628a40
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x6bd4d8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [edi], vtable.CRaceManager.0
call fcn.0055f840
mov ecx, dword [edi + 0x30]
cmp ecx, 0x10
jb 0x55f6c5
mov eax, dword [edi + 0x1c]
inc ecx
cmp ecx, 0x1000
jb 0x55f6bb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x55f739
mov eax, edx
push ecx
push eax
call fcn.005a48cc
add esp, 8
lea esi, [edi + 0x14]
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0xf
mov ecx, esi
mov byte [edi + 0x1c], 0
mov eax, dword [esi]
push dword [eax + 4]
push esi
call fcn.0044dff0
push 0x2c
push dword [esi]
call fcn.005a48cc
mov eax, dword [edi + 0xc]
lea esi, [edi + 0xc]
add esp, 8
mov ecx, esi
push dword [eax + 4]
push esi
call fcn.00494cd0
push 0x40
push dword [esi]
call fcn.005a48cc
add esp, 8
lea ecx, [edi + 4]
call fcn.004e11e0
mov dword [edi], vtable.CSingleton_class_CRaceManager_.0
mov dword [0x74c610], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.005e9e92
int3