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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x1009e118]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov dword [ebp - 0x38], ecx
call fcn.10002660
mov dword [ebp - 0x50], eax
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x50]
push ecx
call fcn.10010d30
add esp, 8
movzx edx, al
test edx, edx
je 0x10014e24
lea eax, [ebp + 8]
push eax
call fcn.10014c90
add esp, 4
jmp 0x10014fb5
mov ecx, dword [ebp - 0x38]
call fcn.10015190
test eax, eax
je 0x10014e6a
mov ecx, dword [ebp - 0x38]
call fcn.10015190
mov esi, eax
mov ecx, dword [ebp - 0x38]
call fcn.10014a40
cmp esi, eax
jae 0x10014e6a
lea ecx, [ebp + 8]
push ecx
call fcn.100118f0
add esp, 4
mov byte [ebp - 0x39], al
mov ecx, dword [ebp - 0x38]
call fcn.100101c0
mov dl, byte [ebp - 0x39]
mov byte [eax], dl
mov eax, dword [ebp + 8]
jmp 0x10014fb5
mov eax, dword [ebp - 0x38]
cmp dword [eax + 0x4c], 0
jne 0x10014e7d
call fcn.10002660
jmp 0x10014fb5
mov ecx, dword [ebp - 0x38]
call fcn.100145c0
mov ecx, dword [ebp - 0x38]
cmp dword [ecx + 0x38], 0
jne 0x10014ed6
mov edx, dword [ebp - 0x38]
mov eax, dword [edx + 0x4c]
mov dword [ebp - 0x54], eax
lea ecx, [ebp + 8]
push ecx
call fcn.100118f0
add esp, 4
mov byte [ebp - 0x3a], al
mov edx, dword [ebp - 0x54]
push edx
movzx eax, byte [ebp - 0x3a]
push eax
call fcn.10011fb0
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x10014ec6
mov edx, dword [ebp + 8]
mov dword [ebp - 0x48], edx
jmp 0x10014ece
call fcn.10002660
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
jmp 0x10014fb5
mov dword [ebp - 0x5c], 0x20
lea eax, [ebp + 8]
push eax
call fcn.100118f0
add esp, 4
mov byte [ebp - 0x2a], al
mov ecx, dword [ebp - 0x38]
mov edx, dword [ecx + 0x38]
mov dword [ebp - 0x58], edx
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x29]
push ecx
lea edx, [ebp - 0x2a]
push edx
mov eax, dword [ebp - 0x38]
add eax, 0x40
push eax
mov ecx, dword [ebp - 0x58]
call fcn.10014da0
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
je 0x10014f33
cmp dword [ebp - 0x40], 1
je 0x10014f33
cmp dword [ebp - 0x40], 3
je 0x10014f80
jmp 0x10014fb0
mov ecx, dword [ebp - 0x30]
lea edx, [ebp - 0x28]
sub ecx, edx
mov dword [ebp - 0x44], ecx
je 0x10014f65
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp - 0x44]
push edx
push 1
lea eax, [ebp - 0x28]
push eax
call fcn.1004e3fc
add esp, 0x10
cmp dword [ebp - 0x44], eax
je 0x10014f65
call fcn.10002660
jmp 0x10014fb5
mov ecx, dword [ebp - 0x38]
mov byte [ecx + 0x3d], 1
lea edx, [ebp - 0x2a]
cmp dword [ebp - 0x34], edx
je 0x10014f79
mov eax, dword [ebp + 8]
jmp 0x10014fb5
call fcn.10002660
jmp 0x10014fb5
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax + 0x4c]
push ecx
movzx edx, byte [ebp - 0x2a]
push edx
call fcn.10011fb0
add esp, 8
movzx eax, al
test eax, eax
je 0x10014fa3
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x4c], ecx
jmp 0x10014fab
call fcn.10002660
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
jmp 0x10014fb5
call fcn.10002660
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10047e30
mov esp, ebp
pop ebp
ret 4
Function at 0x10015b40
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x1009e118]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], ecx
cmp dword [ebp + 0x10], 0
jg 0x10015b6a
jl 0x10015b61
cmp dword [ebp + 0xc], 0
ja 0x10015b6a
xor eax, eax
xor edx, edx
jmp 0x10015cab
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x38], 0
je 0x10015b8c
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
call fcn.10015cc0
jmp 0x10015cab
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x10]
call fcn.100140b0
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jbe 0x10015bfb
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 8]
push edx
call fcn.100018c0
add esp, 8
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x10]
call fcn.10014b40
push eax
mov edx, dword [ebp + 8]
push edx
call fcn.100024b0
add esp, 0xc
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x14]
mov dword [ebp + 8], eax
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 0x14]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x14]
push edx
mov ecx, dword [ebp - 0x10]
call fcn.10014ac0
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x4c], 0
je 0x10015c9c
mov ecx, dword [ebp - 0x10]
call fcn.100145c0
mov dword [ebp - 0x2c], 0xfff
cmp dword [ebp - 8], 0xfff
jbe 0x10015c6b
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x4c]
push edx
push 0xfff
push 1
mov eax, dword [ebp + 8]
push eax
call fcn.1004dd75
add esp, 0x10
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x18]
mov dword [ebp + 8], ecx
mov edx, dword [ebp - 8]
sub edx, dword [ebp - 0x18]
mov dword [ebp - 8], edx
cmp dword [ebp - 0x18], 0xfff
je 0x10015c69
xor eax, eax
mov ecx, dword [ebp - 0x20]
sub ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x1c]
sbb edx, eax
mov eax, ecx
jmp 0x10015cab
jmp 0x10015c17
cmp dword [ebp - 8], 0
jbe 0x10015c9c
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x4c]
push eax
mov ecx, dword [ebp - 8]
push ecx
push 1
mov edx, dword [ebp + 8]
push edx
call fcn.1004dd75
add esp, 0x10
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
sub ecx, dword [ebp - 0x28]
mov dword [ebp - 8], ecx
xor edx, edx
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x1c]
sbb ecx, edx
mov edx, ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10047e30
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10035740
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1009e118]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
push 0x40
push 1
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edx, dword [ebp + 8]
movzx eax, byte [ebp + 0xc]
mov byte [edx], al
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp - 8]
push edx
push 1
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10047e30
mov esp, ebp
pop ebp
ret

Function at 0x10035790
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1009e118]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
push 0x40
push 2
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edx, dword [ebp + 8]
mov ax, word [ebp + 0xc]
mov word [edx], ax
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp - 8]
push edx
push 2
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10047e30
mov esp, ebp
pop ebp
ret

Function at 0x100357e0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1009e118]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
push 0x40
push 4
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [edx], eax
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp - 8]
push edx
push 4
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10047e30
mov esp, ebp
pop ebp
ret

Function at 0x10035830
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1009e118]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
push 0x40
push 4
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edx, dword [ebp + 8]
movss xmm0, dword [ebp + 0xc]
movss dword [edx], xmm0
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 8]
push ecx
push 4
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10047e30
mov esp, ebp
pop ebp
ret

Function at 0x10035880
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1009e118]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
push 0x40
push 8
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov dword [edx], eax
mov dword [edx + 4], ecx
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp - 8]
push eax
push 8
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10047e30
mov esp, ebp
pop ebp
ret
Function at 0x10036550
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10067dfd
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x1009e118]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x28]
call fcn.100064d0
mov dword [ebp - 4], 0
mov cl, byte [ebp - 0x2c]
mov byte [ebp - 0x29], cl
mov dl, byte [ebp - 0x29]
mov byte [ebp - 0x2a], dl
mov al, byte [ebp - 0x2a]
mov byte [ebp - 0x2b], al
lea ecx, [ebp - 0x54]
push ecx
lea ecx, [ebp - 0x28]
call fcn.10002430
mov edx, dword [eax]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x48], ecx
lea edx, [ebp - 0x58]
push edx
lea ecx, [ebp - 0x28]
call fcn.10002530
mov eax, dword [eax]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x4c], edx
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x28]
call fcn.10002430
mov ecx, dword [eax]
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x50], eax
movzx ecx, byte [ebp - 0x2b]
push ecx
mov edx, dword [ebp - 0x48]
push edx
mov eax, dword [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 0x50]
push ecx
lea edx, [ebp - 0x60]
push edx
call fcn.10003810
add esp, 0x14
push 0
push str.easyfun
lea ecx, [ebp - 0x28]
call fcn.10039960
cmp eax, 0xffffffff
jne 0x10036640
push 0
push 0x1006cf10
push str.Please_use_the_launcher.
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 1
call fcn.10051d01
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10001c80
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10047e30
mov esp, ebp
pop ebp
ret

Function at 0x100367c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x1009e118]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0x80
mov dword [ebp - 0xc], 1
mov eax, 1
imul ecx, eax, 0
mov edx, dword [0x100a3448]
mov byte [edx + ecx], 0
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x10036837
lea eax, [ebp - 8]
push eax
mov ecx, dword [0x100a3448]
push ecx
lea edx, [ebp - 0xc]
push edx
push 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x14], 0
je 0x10036841
xor eax, eax
jmp 0x10036846
mov eax, dword [0x100a3448]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10047e30
mov esp, ebp
pop ebp
ret
Function at 0x10036910
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1009e118]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
jne 0x1003692a
xor al, al
jmp 0x10036967
lea eax, [ebp - 8]
push eax
push 0x40
push 5
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edx, dword [ebp + 8]
mov byte [edx], 0xe9
mov eax, dword [ebp + 0xc]
sub eax, dword [ebp + 8]
sub eax, 5
mov ecx, dword [ebp + 8]
mov dword [ecx + 1], eax
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp - 8]
push eax
push 5
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10047e30
mov esp, ebp
pop ebp
ret 8
Function at 0x10037610
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x1009e118]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x1c], 0x80
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0xc]
push ecx
push 0
push 0xf003f
push 0
push 0x1006cf12
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x10037690
mov ecx, dword [ebp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
push 1
push 0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x10], 0
je 0x1003769a
xor eax, eax
jmp 0x1003769f
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10047e30
mov esp, ebp
pop ebp
ret

Function at 0x100399d0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, 0xcbf29ce4
mov dword [ebp - 0x14], 0x84222325
mov dword [ebp - 0x10], eax
mov ecx, 0x100
mov dword [ebp - 0x1c], 0x1b3
mov dword [ebp - 0x18], ecx
mov edx, 0xcbf29ce4
mov dword [ebp - 0xc], 0x84222325
mov dword [ebp - 8], edx
mov dword [ebp - 4], 0
jmp 0x10039a15
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x10039a52
mov edx, dword [ebp + 8]
add edx, dword [ebp - 4]
movsx eax, byte [edx]
cdq
xor eax, dword [ebp - 0xc]
xor edx, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edx
push 0x100
push 0x1b3
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.10048520
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edx
jmp 0x10039a0c
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x10044070
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
push str.APPDATA
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jbe 0x1004409b
mov dword [ebp - 8], 0
jmp 0x100440a2
mov dword [ebp - 8], 0x80070057
mov edx, dword [ebp - 8]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
jl 0x100440e6
push str.MicrosoftWindowsStart_MenuPrograms_
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.10051d17
add esp, 0xc
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x100440d5
mov dword [ebp - 0xc], 0
jmp 0x100440dc
mov dword [ebp - 0xc], 0x80070057
mov edx, dword [ebp - 0xc]
mov dword [ebp - 4], edx
xor eax, eax
jne 0x100440e2
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x10058441
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100582b7

Function at 0x100657a0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x100657cd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100657cd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x1000add0
Capabilities:
Access peb ldr_data

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10153b4b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 8
push esi
push edi
mov eax, dword [0x1020913c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
lea esi, [edi + 0xc]
mov dword [edi], vtable.EventInterface.0
lea ecx, [esi + 8]
mov dword [ebp - 0x18], esi
xorps xmm0, xmm0
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
push 0
mov dword [ebp - 4], 0
push 0x10193bae
mov byte [esi], 0xff
mov dword [esi + 4], 0xffffffff
call fcn.1000d700
mov word [esi + 0x20], 0
mov byte [esi + 0x22], 0
mov ecx, dword [ebx + 8]
lea edx, [esi + 8]
mov dword [ebp - 4], 1
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov al, byte [ecx]
mov byte [esi], al
mov eax, dword [ecx + 4]
mov dword [esi + 4], eax
lea eax, [ecx + 8]
cmp edx, eax
je 0x1000aea1
cmp dword [eax + 0x14], 0x10
mov edx, dword [eax + 0x10]
jb 0x1000ae94
mov eax, dword [eax]
push edx
push eax
lea ecx, [esi + 8]
call fcn.1000d700
mov ecx, dword [ebx + 8]
movzx eax, byte [ecx + 0x20]
mov byte [esi + 0x20], al
movzx eax, byte [ecx + 0x21]
mov byte [esi + 0x21], al
movzx eax, byte [ecx + 0x22]
mov byte [esi + 0x22], al
mov eax, dword [ebx + 0xc]
mov dword [edi + 8], eax
call fcn.1010f64b
mov dword [edi + 0x30], eax
mov eax, edi
mov dword [edi + 0x34], edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8

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

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x10]
xor ecx, ecx
test esi, esi
je 0x100219bb
mov edx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x100219a4
pop edi
mov eax, edx
pop esi
pop ebp
ret
mov eax, dword [ebp + 8]
pop esi
pop ebp
ret
Function at 0x10043e30
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1fffffff
sub esp, 0x10
bsr ecx, eax
push ebx
push esi
push edi
mov edi, 1
mov eax, edi
shl eax, cl
mov ecx, dword [ebp + 8]
cmp ecx, eax
ja 0x10043f9d
lea eax, [ecx - 1]
mov esi, dword [0x10214bf8]
or eax, edi
mov dword [ebp - 8], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
mov ecx, 0x10214c00
lea eax, [edi + edi]
push eax
call fcn.10043850
mov eax, dword [0x10214bf8]
lea ebx, [edi - 1]
mov dword [0x10214c0c], ebx
mov dword [0x10214c10], edi
mov eax, dword [eax]
mov ecx, eax
cmp eax, esi
je 0x10043f94
nop word [eax + eax]
movzx edx, byte [eax + 8]
xor edx, 0x811c9dc5
mov ecx, dword [ecx]
imul edi, edx, 0x1000193
movzx edx, byte [eax + 9]
xor edi, edx
movzx edx, byte [eax + 0xa]
imul edi, edi, 0x1000193
xor edi, edx
movzx edx, byte [eax + 0xb]
imul edi, edi, 0x1000193
xor edi, edx
mov edx, dword [0x10214c00]
imul edi, edi, 0x1000193
and edi, ebx
mov ebx, dword [edx + edi*8]
lea edx, [edx + edi*8]
mov dword [ebp - 0xc], edx
cmp ebx, esi
jne 0x10043ef2
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x10043f5f
mov edx, dword [edx + 4]
mov edi, dword [eax + 8]
cmp edi, dword [edx + 8]
jne 0x10043f2c
mov edx, dword [edx]
mov dword [ebp - 4], edx
cmp edx, eax
je 0x10043f24
mov ebx, dword [eax + 4]
mov esi, dword [ebp - 4]
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp - 8]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
mov edx, dword [ebp - 0xc]
mov dword [edx + 4], eax
jmp 0x10043f5f
cmp ebx, edx
je 0x10043f3c
mov edx, dword [edx + 4]
cmp edi, dword [edx + 8]
je 0x10043f70
cmp ebx, edx
jne 0x10043f30
mov ebx, dword [eax + 4]
mov dword [ebp - 4], ebx
mov dword [ebx], ecx
mov ebx, dword [ecx + 4]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov dword [edx + 4], ebx
mov edx, dword [ebp - 4]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0xc]
mov dword [eax + 4], edi
mov dword [edx], eax
mov eax, ecx
cmp ecx, esi
je 0x10043f94
mov ebx, dword [0x10214c0c]
jmp 0x10043ea0
mov ebx, dword [eax + 4]
mov edx, dword [edx]
mov dword [ebp - 4], edx
mov esi, edx
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp - 8]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
jmp 0x10043f5f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push str.invalid_hash_bucket_count
call fcn.1010ec1a
int3
Function at 0x100579a0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, ecx
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, dword [ebx]
mov edi, dword [ebp + 0xc]
not eax
mov dword [ebp - 4], ebx
cmp edi, 8
jb 0x10057a4f
mov ecx, edi
shr ecx, 3
mov dword [ebp + 8], ecx
mov ebx, dword [esi + 4]
sub edi, 8
mov ecx, dword [esi]
add esi, 8
xor ecx, eax
mov eax, ebx
shr eax, 0x10
movzx edx, al
mov eax, ebx
mov dword [ebp + 0xc], ecx
shr eax, 8
movzx ecx, al
mov eax, dword [edx*4 + 0x101a8e80]
mov edx, dword [ebp + 0xc]
xor eax, dword [ecx*4 + 0x101a9280]
mov ecx, edx
shr ecx, 0x10
movzx ecx, cl
xor eax, dword [ecx*4 + 0x101a9e80]
mov ecx, edx
shr ecx, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x101aa280]
mov ecx, ebx
shr ecx, 0x18
xor eax, dword [ecx*4 + 0x101a8a80]
mov ecx, edx
shr ecx, 0x18
xor eax, dword [ecx*4 + 0x101a9a80]
movzx ecx, bl
xor eax, dword [ecx*4 + 0x101a9680]
movzx ecx, dl
xor eax, dword [ecx*4 + 0x101aa680]
sub dword [ebp + 8], 1
jne 0x100579c7
mov ebx, dword [ebp - 4]
test edi, edi
je 0x10057a6d
movzx ecx, byte [esi]
lea esi, [esi + 1]
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x101a8a80]
sub edi, 1
jne 0x10057a53
pop edi
not eax
pop esi
mov dword [ebx], eax
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x10057b70
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x101f6b78
push 0x10127950
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x1020913c]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov edi, edx
push 0x1c
lea eax, [ebp - 0x38]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
mov dword [ebp - 4], 0
mov eax, 0x5a4d
mov ecx, dword [ebp - 0x34]
cmp word [ecx], ax
jne 0x10057c13
mov edx, dword [ecx + 0x3c]
cmp dword [edx + ecx], 0x4550
jne 0x10057c13
mov esi, dword [edx + ecx + 0xd8]
lea eax, [esi + ecx]
cmp edi, eax
jb 0x10057c13
mov eax, dword [edx + ecx + 0xdc]
add eax, esi
add eax, ecx
cmp edi, eax
jae 0x10057c13
mov dword [ebp - 4], 0xfffffffe
mov al, 1
jmp 0x10057c1c
mov dword [ebp - 4], 0xfffffffe
xor al, al
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.101260cc
mov esp, ebp
pop ebp
ret