joyce8/EMBER2024-capa huggingface dataset:
Function at 0x421fd0
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ffd7a
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x54c154]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 4], 0
mov dword [esi + 4], vtable.icrash_controller.0
mov dword [esi], vtable.crash_controller.1.0
mov dword [esi + 4], vtable.crash_controller.0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
lea edi, [esi + 0x14]
xor eax, eax
mov dword [ebp - 0x1c], edi
mov dword [edi], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
mov dword [edi + 0x18], eax
mov dword [edi + 0x28], eax
mov dword [edi + 0x2c], 7
mov word [edi + 0x18], ax
mov dword [edi + 0x30], eax
lea ecx, [edi + 0x34]
mov byte [ebp - 4], 6
call fcn.0041eb70
mov dword [esi + 0x68], 0
mov dword [esi + 0x6c], 0
mov dword [esi + 0x70], 0
mov dword [esi + 0x74], 0
push str.89223539_4011_4E16_8CF4_ADEC5C2935B8
mov byte [ebp - 4], 8
call dword [sym.imp.USER32.dll_RegisterWindowMessageW]
mov dword [esi + 0x10], eax
lea eax, [ebp - 0x18]
push eax
push ecx
push str.GlobalFF1EEC21_A47E_406E_83F2_916D80DC858E
lea ecx, [ebp - 0x1c]
call fcn.00408e80
mov ecx, eax
add esp, 0xc
mov eax, dword [esi + 8]
mov dword [ebp - 0x14], ecx
test eax, eax
je 0x4220ca
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x14]
mov dword [esi + 8], 0
mov eax, dword [ecx]
mov dword [ecx], 0
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4220e3
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x1c], esp
call fcn.004219d0
sub esp, 0x18
mov byte [ebp - 4], 9
mov ecx, esp
call fcn.00421810
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 8
call fcn.00419a40
add esp, 0x30
mov ecx, edi
push eax
call fcn.0041c6f0
lea ecx, [ebp - 0x44]
call fcn.00418320
mov ecx, dword [ebp - 0x48]
test ecx, ecx
je 0x422132
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 0x48], 0
lea ecx, [ebp - 0x60]
call fcn.004161c0
lea ecx, [ebp - 0x78]
call fcn.004161c0
mov eax, esi
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.004a44cd
mov esp, ebp
pop ebp
ret
Function at 0x422b70
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fff2b
mov eax, dword fs:[0]
push eax
sub esp, 0x82c
mov eax, dword [0x54c154]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
cmp eax, 0x4c8
jne 0x422bf0
push str.crash_controller::process_message
push str.WM_END_DIALOG
lea ecx, [ebp - 0x424]
call fcn.0040a4d0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], 0
mov ecx, dword [esi + 8]
push 0
push 0
push 0x10
mov dword [ecx + 0x250], eax
add ecx, 0x14
mov eax, dword [ecx]
call dword [eax + 0x14]
lea ecx, [ebp - 0x424]
call fcn.0040a5f0
xor eax, eax
jmp 0x422c96
cmp eax, 0x11
jne 0x422c12
push str.crash_controller::process_message
push str.WM_QUERYENDSESSION
lea ecx, [ebp - 0x424]
call fcn.0040a4d0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_ExitProcess]
cmp eax, 0x16
jne 0x422c3e
push str.crash_controller::process_message
push str.WM_ENDSESSION
lea ecx, [ebp - 0x424]
call fcn.0040a4d0
lea ecx, [ebp - 0x424]
call fcn.0040a5f0
mov eax, 1
jmp 0x422c96
cmp eax, dword [esi + 0xc]
jne 0x422c89
push str.crash_controller::process_message
push str.global_close_msg
lea ecx, [ebp - 0x838]
call fcn.0040a4d0
mov dword [ebp - 4], 1
mov eax, dword [esi + 8]
push 0
push 0
push 0x10
lea ecx, [eax + 0x14]
mov dword [eax + 0x250], 0xffffffff
mov eax, dword [ecx]
call dword [eax + 0x14]
lea ecx, [ebp - 0x838]
call fcn.0040a5f0
xor eax, eax
jmp 0x422c96
push ecx
push dword [ebp + 0xc]
mov ecx, dword [esi + 8]
push eax
call fcn.00424be0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a44cd
mov esp, ebp
pop ebp
ret 0xc
Function at 0x422d60
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fffec
mov eax, dword fs:[0]
push eax
sub esp, 0x4d8
mov eax, dword [0x54c154]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.crash_controller::request_restart_device
lea ecx, [ebp - 0x434]
call fcn.0040a3c0
lea eax, [ebp - 0x438]
mov dword [ebp - 4], 0
push eax
xorps xmm0, xmm0
mov dword [ebp - 0x438], 0
push 0x28
movups xmmword [ebp - 0x20], xmm0
mov byte [ebp - 0x439], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x422e29
push str.crash_controller::request_restart_device
lea edx, [eax + 4]
lea ecx, [ebp - 0x4e4]
call fcn.0040a850
add esp, 4
mov esi, eax
mov byte [ebp - 4], 1
cmp byte [esi + 0x48], 0
je 0x422e05
push str.OpenProcessToken_err
push esi
call fcn.004110a0
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [esi + 0x48], 0
je 0x422e19
push eax
mov ecx, esi
call fcn.00412fb0
lea ecx, [ebp - 0x4e4]
call fcn.0040a6f0
jmp 0x422f06
lea eax, [ebp - 0x1c]
push eax
push str.SeShutdownPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x422e67
push str.crash_controller::request_restart_device
lea edx, [eax + 4]
lea ecx, [ebp - 0x4e4]
call fcn.0040a850
add esp, 4
mov esi, eax
mov byte [ebp - 4], 2
cmp byte [esi + 0x48], 0
je 0x422e05
push str.LookupPrivilegeValue_err
jmp 0x422dfc
push 0
push 0
push 0
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 1
push eax
push 0
push dword [ebp - 0x438]
mov dword [ebp - 0x14], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
jne 0x422ec1
push str.crash_controller::request_restart_device
lea edx, [eax + 4]
lea ecx, [ebp - 0x4e4]
call fcn.0040a850
add esp, 4
mov esi, eax
mov byte [ebp - 4], 3
cmp byte [esi + 0x48], 0
je 0x422e05
push str.AdjustTokenPrivileges_err
jmp 0x422dfc
push 0
push 2
call dword [sym.imp.USER32.dll_ExitWindowsEx]
test eax, eax
jne 0x422eff
push str.crash_controller::request_restart_device
lea edx, [eax + 4]
lea ecx, [ebp - 0x4e4]
call fcn.0040a850
add esp, 4
mov esi, eax
mov byte [ebp - 4], 4
cmp byte [esi + 0x48], 0
je 0x422e05
push str.ExitWindowsEx_err
jmp 0x422dfc
mov byte [ebp - 0x439], 1
lea ecx, [ebp - 0x434]
call fcn.0040a5f0
mov al, byte [ebp - 0x439]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a44cd
mov esp, ebp
pop ebp
ret
Function at 0x422f40
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x500038
mov eax, dword fs:[0]
push eax
sub esp, 0x430
mov eax, dword [0x54c154]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push str.crash_controller::request_constact_support
lea ecx, [ebp - 0x43c]
call fcn.0040a3c0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
call fcn.004230e0
mov byte [ebp - 4], 1
cmp dword [ebp - 0x18], 0
jne 0x422f9d
xor bl, bl
jmp 0x422fe6
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 5
cmovae eax, dword [ebp - 0x28]
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [esi + 8]
add ecx, 0x14
push 0
mov eax, dword [ecx]
call dword [eax + 0x10]
mov eax, dword [esi + 8]
push 0
push 0
push 0x10
lea ecx, [eax + 0x14]
mov dword [eax + 0x250], 0
mov eax, dword [ecx]
call dword [eax + 0x14]
mov bl, 1
lea ecx, [ebp - 0x28]
call fcn.004161c0
lea ecx, [ebp - 0x43c]
call fcn.0040a5f0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a44cd
mov esp, ebp
pop ebp
ret

Function at 0x4243d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x42442c
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x42442c
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 8]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x424418
cmp esi, edx
jae 0x42442c
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x424406
cmp esi, edx
jae 0x42442c
cmp word [esi], 0
je 0x42442c
pop edi
mov eax, esi
pop esi
lfence
pop ebx
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x424d70
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50026d
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x54c154]
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 ebx, ecx
call fcn.00477460
mov edx, dword [ebx + 0x4ac]
lea ecx, [ebp - 0x2c]
push str.IDS_PRODUCT_NAME
call fcn.0041ade0
add esp, 4
mov dword [ebp - 4], 0
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
cmovae eax, dword [ebp - 0x2c]
push eax
push dword [ebx + 0x18]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 1
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
test eax, eax
je 0x424df5
push eax
push 0xfffffffffffffff2
push dword [ebx + 0x18]
call dword [sym.imp.USER32.dll_SetClassLongW]
mov esi, dword [ebx + 0x4ac]
cmp dword [esi + 0x2c], 8
lea eax, [esi + 0x18]
mov ecx, dword [eax + 0x10]
jb 0x424e09
mov eax, dword [eax]
cmp ecx, 3
jne 0x424e8d
push ecx
push 0x522510
push eax
call fcn.004104a0
add esp, 0xc
test eax, eax
jne 0x424e8d
mov esi, dword [ebx + 0x18]
mov dword [ebp - 0x30], eax
call fcn.004164c0
lea ecx, [ebp - 0x30]
push ecx
push esi
mov eax, dword [eax + 0x84]
call eax
mov edi, dword [ebp - 0x30]
call fcn.004164c0
push edi
mov eax, dword [eax + 0x7c]
call eax
xor esi, esi
test eax, eax
cmove esi, edi
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 1
call fcn.004164c0
push 0x522510
push 0x522fb8
push esi
mov eax, dword [eax + 0xb8]
call eax
mov byte [ebp - 4], 2
test esi, esi
je 0x424e83
call fcn.004164c0
push esi
mov eax, dword [eax + 0x80]
call eax
mov byte [ebp - 4], 0
mov esi, dword [ebx + 0x4ac]
cmp dword [esi + 0x14], 8
mov eax, dword [esi + 0x10]
jb 0x424e98
mov esi, dword [esi]
cmp eax, 5
jne 0x424f27
push eax
push 0x522fbc
push esi
call fcn.004104a0
add esp, 0xc
test eax, eax
jne 0x424f27
mov eax, dword [ebx + 0x14]
lea ecx, [ebx + 0x14]
call dword [eax]
mov esi, eax
mov dword [ebp - 0x30], 0
call fcn.004164c0
mov ecx, dword [eax + 0x84]
lea eax, [ebp - 0x30]
push eax
push esi
call ecx
mov edi, dword [ebp - 0x30]
call fcn.004164c0
push edi
mov eax, dword [eax + 0x7c]
call eax
xor esi, esi
test eax, eax
cmove esi, edi
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 3
test esi, esi
je 0x424f23
call fcn.004164c0
push 0x522fc8
push str.lang
push esi
mov eax, dword [eax + 0xb8]
call eax
mov byte [ebp - 4], 4
call fcn.004164c0
push esi
mov eax, dword [eax + 0x80]
call eax
jmp 0x424f23
mov byte [ebp - 4], 0
mov ecx, ebx
call fcn.00425150
cmp byte [ebx + 0x4c8], 0
je 0x424f52
push 0
push 0x222e0
push 0x11645
push dword [ebx + 0x18]
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [ebx + 0x4cc], eax
lea ecx, [ebp - 0x2c]
call fcn.004161c0
mov eax, 1
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.004a44cd
mov esp, ebp
pop ebp
ret
Function at 0x42d810
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x500e70
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x54c154]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 8]
mov dword [esi], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 8], eax
lea eax, [esi + 0x10]
mov dword [esi + 0xc], 0
mov dword [eax], 0
mov byte [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x18], 0
mov byte [eax + 0x1c], 0
mov dword [eax + 0x20], 0
mov dword [eax + 0x24], 0
mov byte [eax + 0x28], 0
mov dword [eax + 0x2c], 0
mov dword [eax + 0x30], 0
mov byte [eax + 0x34], 0
mov dword [ebp - 4], 0
mov ecx, dword [esi]
mov edx, dword [esi + 4]
push ecx
push dword [esi + 0xc]
push dword [esi + 8]
push eax
call fcn.0042eff0
add esp, 0x10
test al, al
mov eax, esi
jne 0x42d8d2
mov dword [esi + 8], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x42ed70
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, ecx
movzx eax, byte [esi]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [esi + 1]
xor edx, eax
movzx eax, byte [esi + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [esi + 3]
imul ecx, edx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 4]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 5]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 6]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 7]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edi
push eax
push esi
lea eax, [ebp - 8]
push eax
call fcn.0042f4b0
mov ecx, dword [eax + 4]
mov eax, dword [ebp + 8]
test ecx, ecx
jne 0x42edf9
mov ecx, dword [edi + 4]
pop edi
mov dword [eax], ecx
pop esi
mov esp, ebp
pop ebp
ret 8

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

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov ecx, 0
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x811c9dc5
sub edx, edi
sar edx, 1
add edx, edx
je 0x42f7e1
lfence
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x42f7d0
pop edi
mov eax, esi
pop esi
pop ebp
ret 8
Function at 0x42faf0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
mov eax, 0x1fffffff
bsr ecx, eax
push esi
push edi
mov edi, 1
mov dword [ebp - 0x10], ebx
mov eax, edi
shl eax, cl
mov ecx, dword [ebp + 8]
cmp ecx, eax
ja 0x42fc9d
lea eax, [ecx - 1]
mov esi, dword [ebx + 4]
or eax, edi
mov dword [ebp - 0xc], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
lea ecx, [ebx + 0xc]
lea eax, [edi + edi]
push eax
call fcn.0042e2d0
lea eax, [edi - 1]
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x18], eax
mov ecx, dword [ebx + 4]
mov ecx, dword [ecx]
mov edx, ecx
cmp ecx, esi
je 0x42fc70
movzx eax, byte [ecx + 8]
xor eax, 0x811c9dc5
mov edx, dword [edx]
imul edi, eax, 0x1000193
movzx eax, byte [ecx + 9]
xor edi, eax
movzx eax, byte [ecx + 0xa]
imul edi, edi, 0x1000193
xor edi, eax
movzx eax, byte [ecx + 0xb]
imul edi, edi, 0x1000193
xor edi, eax
movzx eax, byte [ecx + 0xc]
imul edi, edi, 0x1000193
xor edi, eax
movzx eax, byte [ecx + 0xd]
imul edi, edi, 0x1000193
xor edi, eax
movzx eax, byte [ecx + 0xe]
imul edi, edi, 0x1000193
xor edi, eax
movzx eax, byte [ecx + 0xf]
imul edi, edi, 0x1000193
xor edi, eax
imul eax, edi, 0x1000193
mov edi, dword [ebx + 0x18]
and edi, eax
mov eax, dword [ebx + 0xc]
mov ebx, dword [eax + edi*8]
mov dword [ebp - 4], ebx
lea eax, [eax + edi*8]
mov dword [ebp - 8], eax
cmp ebx, esi
jne 0x42fbd9
mov dword [eax], ecx
mov dword [eax + 4], ecx
jmp 0x42fc5f
mov eax, dword [eax + 4]
mov edi, dword [ecx + 8]
mov ebx, dword [ecx + 0xc]
cmp edi, dword [eax + 8]
jne 0x42fc1b
cmp ebx, dword [eax + 0xc]
jne 0x42fc1b
mov eax, dword [eax]
mov dword [ebp - 4], eax
cmp eax, ecx
je 0x42fc13
mov ebx, dword [ecx + 4]
mov esi, dword [ebp - 4]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov eax, dword [eax + 4]
mov dword [eax], ecx
mov dword [esi + 4], edi
mov esi, dword [ebp - 0xc]
mov dword [edx + 4], ebx
mov dword [ecx + 4], eax
mov eax, dword [ebp - 8]
mov dword [eax + 4], ecx
jmp 0x42fc5f
mov edi, eax
cmp dword [ebp - 4], eax
je 0x42fc3c
mov eax, dword [eax + 4]
mov edi, eax
mov esi, dword [ecx + 8]
cmp esi, dword [eax + 8]
mov esi, dword [ebp - 0xc]
jne 0x42fc37
cmp ebx, dword [eax + 0xc]
je 0x42fc79
cmp dword [ebp - 4], eax
jne 0x42fc22
mov eax, dword [ecx + 4]
mov dword [ebp - 4], eax
mov dword [eax], edx
mov ebx, dword [edx + 4]
mov dword [ebx], edi
mov eax, dword [edi + 4]
mov dword [eax], ecx
mov dword [edi + 4], ebx
mov edi, dword [ebp - 4]
mov dword [edx + 4], edi
mov dword [ecx + 4], eax
mov eax, dword [ebp - 8]
mov dword [eax], ecx
mov ebx, dword [ebp - 0x10]
mov ecx, edx
cmp edx, esi
jne 0x42fb52
nop dword [eax]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ebp - 8], eax
mov esi, eax
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov eax, dword [eax + 4]
mov dword [eax], ecx
mov dword [esi + 4], edi
mov esi, dword [ebp - 0xc]
mov dword [edx + 4], ebx
mov dword [ecx + 4], eax
jmp 0x42fc5f
push str.invalid_hash_bucket_count
call fcn.0048fb76
int3
Function at 0x43a810
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
cmp dword [ecx + 0x38], 0
push ebx
push esi
push edi
mov dword [esp + 0xc], ecx
je 0x43a8f8
mov esi, dword [ebp + 0x10]
mov ebx, esi
mov edx, dword [ebp + 0xc]
mov edi, edx
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], eax
test esi, esi
jl 0x43a8e7
jg 0x43a850
test edx, edx
je 0x43a8e7
nop dword [eax]
call fcn.0040fa10
mov esi, eax
mov eax, edx
mov dword [esp + 0x14], eax
test eax, eax
jl 0x43a8a4
jg 0x43a867
test esi, esi
je 0x43a8a4
cmp ebx, eax
jg 0x43a877
jl 0x43a871
cmp edi, esi
jae 0x43a877
mov esi, edi
mov dword [esp + 0x14], ebx
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
push esi
push eax
mov eax, dword [ecx + 0x20]
push dword [eax]
call fcn.004d7a30
mov ecx, dword [esp + 0x18]
add esp, 0xc
sub edi, esi
sbb ebx, dword [esp + 0x14]
mov eax, dword [ecx + 0x30]
sub dword [eax], esi
mov eax, dword [ecx + 0x20]
add dword [eax], esi
jmp 0x43a8cb
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x10]
movzx eax, byte [eax]
push eax
call edx
cmp eax, 0xffffffff
je 0x43a8e1
mov ecx, dword [esp + 0xc]
add edi, 0xffffffff
mov esi, 1
adc ebx, 0xffffffff
add dword [esp + 0x10], esi
test ebx, ebx
jg 0x43a850
jl 0x43a8e1
test edi, edi
jne 0x43a850
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
sub edx, edi
mov eax, edx
sbb esi, ebx
mov edx, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ecx + 0x20]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x18], esi
mov eax, dword [eax]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x10], eax
test eax, eax
je 0x43a91a
mov eax, dword [ecx + 0x30]
mov eax, dword [eax]
jmp 0x43a91c
xor eax, eax
cdq
mov ebx, eax
mov eax, edx
mov dword [esp + 0x14], eax
test edi, edi
jl 0x43a99a
jg 0x43a92f
test esi, esi
je 0x43a99a
test eax, eax
jl 0x43a97e
jg 0x43a939
test ebx, ebx
je 0x43a97e
cmp edi, eax
jg 0x43a949
jl 0x43a943
cmp esi, ebx
jae 0x43a949
mov ebx, esi
mov dword [esp + 0x14], edi
push ebx
push dword [ebp + 8]
push dword [esp + 0x18]
call fcn.004d7a30
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov edx, dword [ebp + 8]
sub esi, ebx
sbb edi, dword [esp + 0x14]
add edx, ebx
mov eax, dword [ecx + 0x30]
sub dword [eax], ebx
mov eax, dword [ecx + 0x20]
add dword [eax], ebx
test edi, edi
jl 0x43a99a
jg 0x43a981
test esi, esi
je 0x43a99a
jmp 0x43a981
mov edx, dword [ebp + 8]
mov eax, dword [ecx + 0x4c]
test eax, eax
je 0x43a99a
push eax
push esi
push 1
push edx
call fcn.004e49e8
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x43a9b0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0xc], edi
test eax, eax
jg 0x43a9e2
jl 0x43a9d5
test ecx, ecx
jne 0x43a9e2
xor eax, eax
xor edx, edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebx + 0x38], 0
je 0x43aaa2
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], eax
mov ecx, ebx
call fcn.0040fa30
mov esi, eax
mov eax, edx
mov dword [esp + 0x14], eax
test eax, eax
jl 0x43aa4e
jg 0x43aa0d
test esi, esi
je 0x43aa4e
mov ecx, dword [esp + 0xc]
cmp ecx, eax
jg 0x43aa25
mov eax, dword [esp + 0x10]
jl 0x43aa1f
cmp eax, esi
jae 0x43aa25
mov esi, eax
mov dword [esp + 0x14], ecx
mov eax, dword [ebx + 0x1c]
push esi
push dword [eax]
push edi
call fcn.004d7a30
mov eax, dword [ebx + 0x2c]
add esp, 0xc
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
sub ecx, esi
sbb edx, dword [esp + 0x14]
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
jmp 0x43aa6f
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
mov edx, dword [esp + 0xc]
cmp eax, 0xffffffff
je 0x43aa8b
mov ecx, dword [esp + 0x10]
mov esi, 1
add ecx, 0xffffffff
mov byte [edi], al
adc edx, 0xffffffff
add edi, esi
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
test edx, edx
jg 0x43a9f4
jl 0x43aa8b
test ecx, ecx
jne 0x43a9f4
mov eax, dword [ebp + 0xc]
sub eax, dword [esp + 0x10]
mov ecx, dword [ebp + 0x10]
sbb ecx, edx
mov edx, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x1c]
mov edi, ecx
mov edx, dword [eax]
test edx, edx
je 0x43aae1
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
test eax, eax
je 0x43aae1
mov edi, dword [esp + 0xc]
cmp eax, ecx
mov esi, ecx
cmovb esi, eax
push esi
push edx
push edi
call fcn.004d7a30
mov eax, dword [ebx + 0x2c]
add edi, esi
mov dword [esp + 0x18], edi
add esp, 0xc
mov edi, dword [ebp + 0xc]
sub edi, esi
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
cmp dword [ebx + 0x4c], 0
mov ecx, edi
je 0x43ab50
mov esi, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [esi], eax
jne 0x43ab07
mov edx, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x50]
sub edx, ecx
mov dword [esi], ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [ebx + 0x2c]
mov dword [eax], edx
mov esi, dword [esp + 0xc]
mov ecx, edi
cmp edi, 0xfff
jbe 0x43ab39
push dword [ebx + 0x4c]
push 0xfff
push 1
push esi
call fcn.004e4c31
sub edi, eax
add esp, 0x10
add esi, eax
mov ecx, edi
cmp eax, 0xfff
jne 0x43ab64
cmp edi, eax
ja 0x43ab15
test ecx, ecx
je 0x43ab50
push dword [ebx + 0x4c]
push edi
push 1
push esi
call fcn.004e4c31
mov ecx, edi
add esp, 0x10
sub ecx, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
sub eax, ecx
sbb edx, 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
sub eax, edi
pop edi
pop esi
sbb edx, 0
pop ebx
mov esp, ebp
pop ebp
ret 0xc