joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402f70
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebx
push esi
add esp, 0xfffffdf0
mov esi, edx
mov ebx, eax
test bl, bl
je 0x402fac
movzx eax, bl
add eax, 0x41
dec eax
mov byte [esp], al
mov byte [esp + 1], 0x3a
mov byte [esp + 2], 0
lea eax, [esp + 0x109]
push eax
push 0x105
call sub.kernel32.dll_GetCurrentDirectoryA
push esp
call sub.kernel32.dll_SetCurrentDirectoryA
lea eax, [esp + 4]
push eax
push 0x105
call sub.kernel32.dll_GetCurrentDirectoryA
test bl, bl
je 0x402fcc
lea eax, [esp + 0x109]
push eax
call sub.kernel32.dll_SetCurrentDirectoryA
mov eax, esi
lea edx, [esp + 4]
mov ecx, 0x105
call fcn.004049fc
add esp, 0x210
pop esi
pop ebx
ret

Function at 0x403264
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.0040478c
test esi, esi
jne 0x40329a
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.0040487c
jmp 0x4032b8
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00403108
mov edi, eax
test esi, esi
je 0x4032b8
cmp dword [ebx], 0
je 0x4032b8
dec esi
jmp 0x4032a1
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x4032ec
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x419008], 0x8088405
inc edx
mov dword [ebx + 0x419008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x4038d4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x419024]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x40396c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x40394c
xor eax, eax
push ebp
push 0x403945
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x403988
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40394c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
movzx eax, word [0x419024]
and ax, 0xffc0
movzx edx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x419024], ax
mov esp, ebp
pop ebp
ret

Function at 0x40460c
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x93e044], 0
je 0x40466d
cmp word [0x93e218], 0xd7b2
jne 0x404635
cmp dword [0x93e220], 0
jbe 0x404635
mov eax, 0x93e214
call dword [0x93e230]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x404694
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x419030], 0
jne 0x404689
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x407b34
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404bf8
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x407b4d
test al, 0x10
je 0x407b51
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x40a540
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40a579
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.0040487c
jmp 0x40a582
mov eax, ebx
mov edx, esi
call fcn.004047e0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40a58c
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40a5ae
movzx eax, byte [esp]
jmp 0x40a5b0
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40ac40
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40aab8
mov eax, dword [0x93de7c]
cmp byte [eax], 0
je 0x40acbc
mov eax, dword [0x93dd90]
call fcn.0040336c
call fcn.00402efc
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00407d68
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40ad04
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40acf2
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x93dd70]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x9407f0]
call fcn.004059ec
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret

Function at 0x411490
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov edi, edx
mov byte [esp], al
mov esi, ecx
dec esi
test esi, esi
jl 0x4114d4
inc esi
xor ebx, ebx
mov ebp, edi
add ebp, ebx
mov edx, ebp
lea eax, [esp + 1]
mov ecx, 1
call fcn.00406794
movzx eax, byte [esp]
xor byte [esp + 1], al
lea edx, [esp + 1]
mov eax, ebp
mov ecx, 1
call fcn.00406794
inc ebx
dec esi
jne 0x4114a4
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4114dc
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov edi, edx
mov byte [esp], al
mov esi, ecx
dec esi
test esi, esi
jl 0x411520
inc esi
xor ebx, ebx
mov ebp, edi
add ebp, ebx
mov edx, ebp
lea eax, [esp + 1]
mov ecx, 1
call fcn.00406794
movzx eax, byte [esp]
xor byte [esp + 1], al
lea edx, [esp + 1]
mov eax, ebp
mov ecx, 1
call fcn.00406794
inc ebx
dec esi
jne 0x4114f0
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4124a4
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff88
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404be8
xor eax, eax
push ebp
push 0x4125a6
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
xor ecx, ecx
mov edx, 0x44
call fcn.00403440
lea eax, [ebp - 0x5c]
xor ecx, ecx
mov edx, 0x10
call fcn.00403440
mov dword [ebp - 0x4c], 0x44
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x4c]
push eax
push 0
push 0
push 4
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00404bf8
push eax
push 0
call sub.kernel32.dll_CreateProcessA
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
je 0x412590
mov eax, dword [ebp - 0x5c]
mov dword [esi], eax
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp - 0x58]
mov dword [eax], edx
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp - 0x54]
mov dword [eax], edx
mov dword [edi], 0x10007
push edi
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetThreadContext
lea eax, [ebp - 8]
push eax
push 4
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [edi + 0xa4]
add eax, 8
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_ReadProcessMemory
mov edi, dword [ebp + 0xc]
mov edi, dword [edi]
jmp 0x412573
cmp dword [ebp - 0x68], 0x10000
je 0x412586
add edi, dword [ebp - 0x6c]
push 0x1c
lea eax, [ebp - 0x78]
push eax
push edi
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualQueryEx
test eax, eax
jne 0x412567
mov eax, dword [ebp + 0xc]
sub edi, dword [eax]
mov eax, dword [ebp + 8]
mov dword [eax], edi
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4125ad
lea eax, [ebp - 4]
call fcn.0040478c
ret
Function at 0x412a74
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov edi, edx
mov byte [esp], al
mov esi, ecx
dec esi
test esi, esi
jl 0x412ab8
inc esi
xor ebx, ebx
mov ebp, edi
add ebp, ebx
mov edx, ebp
lea eax, [esp + 1]
mov ecx, 1
call fcn.00406794
movzx eax, byte [esp]
xor byte [esp + 1], al
lea edx, [esp + 1]
mov eax, ebp
mov ecx, 1
call fcn.00406794
inc ebx
dec esi
jne 0x412a88
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x416bbc
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x416ce4
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 1
mov dl, 1
mov eax, dword [0x41005c]
call fcn.00403a0c
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x416cb8
push dword fs:[eax]
mov dword fs:[eax], esp
mov edi, ebx
test edi, edi
je 0x416c08
sub edi, 4
mov edi, dword [edi]
lea eax, [ebp - 0x10]
push eax
mov ecx, 1
mov edx, edi
mov eax, ebx
call fcn.00404c60
mov eax, dword [ebp - 0x10]
mov edx, 0x416d00
call fcn.00404b90
je 0x416c44
push ebx
push 0x416d00
mov eax, dword [0x93dd58]
push dword [eax]
mov eax, esi
mov edx, 3
call fcn.00404afc
jmp 0x416c55
mov ecx, dword [0x93dd58]
mov ecx, dword [ecx]
mov eax, esi
mov edx, ebx
call fcn.00404a80
mov eax, dword [esi]
call fcn.00407b34
test al, al
je 0x416c6d
mov eax, dword [esi]
call fcn.00404bf8
push eax
call sub.kernel32.dll_DeleteFileA
mov eax, dword [0x93de28]
movzx eax, byte [eax]
mov byte [ebp - 9], al
mov edx, dword [0x93de28]
inc edx
mov ecx, 0x11ea00
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x10]
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx]
mov ecx, eax
mov eax, dword [ebp - 8]
mov edx, dword [eax + 4]
movzx eax, byte [ebp - 9]
call fcn.00412a74
mov edx, dword [esi]
mov eax, dword [ebp - 8]
call fcn.00410f34
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x416cc6
mov eax, dword [ebp - 8]
call fcn.00403a3c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x416ceb
lea eax, [ebp - 0x10]
call fcn.0040478c
ret
Function at 0x41711c
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4172cf
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x41005c]
call fcn.00403a0c
mov dword [ebp - 0xc], eax
mov dl, 1
mov eax, dword [0x41005c]
call fcn.00403a0c
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x417220
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, dword [str.756bwm]
movzx ebx, byte [ebx + 4]
mov edx, dword [str.756bwm]
add edx, 5
mov ecx, 0x405812
mov eax, dword [ebp - 0xc]
mov esi, dword [eax]
call dword [esi + 0x10]
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx]
mov ecx, eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 4]
mov eax, ebx
call fcn.00411490
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.0041154c
mov eax, dword [ebp - 0x10]
call fcn.004168dc
test al, al
je 0x417200
lea eax, [ebp - 4]
mov edx, 0x4172e8
call fcn.00404824
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx]
mov edx, eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
mov ecx, dword [ebp - 4]
call fcn.004127cc
call fcn.00416b40
test al, al
jne 0x417216
mov ecx, 0x4172f4
mov dl, 1
mov eax, dword [0x4067e0]
call fcn.0040ad08
call fcn.004041d4
jmp 0x417216
mov ecx, 0x4172f4
mov dl, 1
mov eax, dword [0x4067e0]
call fcn.0040ad08
call fcn.004041d4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x417270
mov eax, dword [ebp - 0x10]
call fcn.00403a3c
mov eax, dword [ebp - 0xc]
call fcn.00403a3c
mov eax, dword [ebp - 8]
call fcn.00407b34
test al, al
je 0x4172ac
mov eax, dword [ebp - 8]
call fcn.00404bf8
mov edx, eax
lea eax, [ebp - 0x18]
call fcn.00404984
mov eax, dword [ebp - 0x18]
call fcn.00404bf8
push eax
call sub.kernel32.dll_DeleteFileA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4172d6
lea eax, [ebp - 0x18]
call fcn.0040478c
lea eax, [ebp - 8]
mov edx, 2
call fcn.004047b0
ret
Function at 0x4174cc
Capabilities:
Accept command line arguments
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb0
push ebx
xor edx, edx
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x40], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4175ad
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x3c]
xor ecx, ecx
mov edx, 0x3c
call fcn.00403440
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x20], 1
lea edx, [ebp - 0x40]
xor eax, eax
call fcn.00403264
mov eax, dword [ebp - 0x40]
call fcn.00404bf8
mov dword [ebp - 0x2c], eax
mov eax, ebx
call fcn.00417630
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x44]
call fcn.00407d5c
mov eax, dword [ebp - 0x44]
call fcn.00404bf8
mov dword [ebp - 0x24], eax
mov eax, 0x4175bc
mov dword [ebp - 0x30], eax
xor eax, eax
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x3c]
push eax
call sub.shell32.dll_ShellExecuteExA
test eax, eax
jne 0x41758a
call sub.kernel32.dll_GetLastError
lea edx, [ebp - 0x50]
call fcn.0040a4f4
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
lea eax, [ebp - 0x4c]
push eax
push 0
mov ecx, 0x4175cc
mov dl, 1
mov eax, dword [0x4067e0]
call fcn.0040ad44
call fcn.004041d4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4175b4
lea eax, [ebp - 0x50]
call fcn.0040478c
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.004047b0
ret
Function at 0x403a70
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, edx
not ebx
mov esi, ecx
mov eax, ebx
test edi, edi
je 0x403ad1
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x403ab4
cmp edi, 2
jb 0x403ab4
cmp byte [esi], cl
jne 0x403ab4
cmp byte [esi + 1], cl
jne 0x403ab4
mov eax, ebx
movzx ecx, cl
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x443458]
jmp 0x403a85
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x443458]
test edi, edi
jne 0x403a85
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x403b00
cmp cl, 0x23
jne 0x403ae7
cmp byte [esi], cl
jne 0x403ae7
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x443458]
test cl, cl
jne 0x403ad8
pop edi
pop esi
not eax
pop ebx
pop ebp
ret

Function at 0x403bb0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
jne 0x403bd5
push 0x80a
push str.C:Users_samesDesktopprojectsVerahook_Loaderproimgui_masterimgui.cpp
push str.filename__mode
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
mov edi, dword [ebp + 8]
test edi, edi
je 0x403be2
mov dword [edi], 0
mov edx, 0x442d40
mov ecx, esi
call fcn.00403b10
mov esi, eax
test esi, esi
je 0x403cd2
mov ebx, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
push esi
call ebx
add esp, 4
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
je 0x403cc8
push 2
push 0
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x403cc8
push esi
call ebx
mov ebx, eax
add esp, 4
mov dword [ebp + 8], ebx
cmp ebx, 0xffffffff
je 0x403cc8
push 0
push dword [ebp - 4]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x403cc8
push ebx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ebx, eax
add esp, 4
mov eax, dword [0x588178]
test eax, eax
je 0x403c68
inc dword [eax + 0xb0]
test ebx, ebx
je 0x403cc8
push esi
push dword [ebp + 8]
push 1
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
push esi
cmp eax, dword [ebp + 8]
je 0x403cad
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov eax, dword [0x588178]
add esp, 4
test eax, eax
je 0x403c9a
dec dword [eax + 0xb0]
push ebx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
test edi, edi
je 0x403cbf
mov eax, dword [ebp + 8]
mov dword [edi], eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x406d30
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 0xe4], 0
jg 0x406d59
push 0x738
push 0x43e2a8
push str.Size___0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
mov eax, dword [edi + 0xe4]
lea edx, [ebp + 8]
mov ebx, dword [edi + 0xec]
mov esi, 4
mov ebx, dword [ebx + eax*4 - 4]
not ebx
movzx eax, byte [edx]
lea edx, [edx + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x443458]
sub esi, 1
jne 0x406d73
mov eax, dword [edi]
not ebx
cmp dword [eax + 0x3e94], ebx
jne 0x406daa
push ecx
push dword [ebp + 8]
lea edx, [esi + 4]
mov ecx, ebx
call fcn.0041aec0
add esp, 8
pop edi
pop esi
mov eax, ebx
pop ebx
pop ebp
ret 4
Function at 0x40a820
Capabilities:
Hash data with crc32

Disassembly:
mov eax, ecx
or ecx, 0xffffffff
push ebx
push esi
mov bl, byte [eax]
lea esi, [eax + 1]
test bl, bl
je 0x40a85d
push edi
or edi, 0xffffffff
cmp bl, 0x23
jne 0x40a843
cmp byte [esi], bl
jne 0x40a843
cmp byte [esi + 1], bl
cmove ecx, edi
movzx edx, cl
movzx eax, bl
mov bl, byte [esi]
xor edx, eax
shr ecx, 8
inc esi
xor ecx, dword [edx*4 + 0x443458]
test bl, bl
jne 0x40a834
pop edi
pop esi
not ecx
pop ebx
jmp fcn.0040a7c0
Function at 0x419980
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
cmp dword [edi + 0x5b94], 0
lea esi, [edi + 0x5b98]
je 0x419a02
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x4199bc
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.0041bb40
push dword [ebp + 8]
mov ecx, esi
mov dword [esi], 0
push ebx
call fcn.00404220
mov edx, dword [esi]
mov ecx, 0x588174
push dword [edi + 0x5b94]
lea eax, [edx - 1]
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [edi + 0x5ba0]
test eax, eax
push edx
cmovne ecx, eax
push 1
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp + 8]
mov ecx, esi
push ebx
call fcn.00404220
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x419e50
Capabilities:
Hash data with crc32

Disassembly:
push ebx
mov bl, byte [ecx]
or eax, 0xffffffff
push esi
lea esi, [ecx + 1]
push edi
mov edi, dword [0x588178]
test bl, bl
je 0x419e96
or edi, 0xffffffff
cmp bl, 0x23
jne 0x419e77
cmp byte [esi], bl
jne 0x419e77
cmp byte [esi + 1], bl
cmove eax, edi
movzx edx, al
movzx ecx, bl
mov bl, byte [esi]
xor edx, ecx
shr eax, 8
inc esi
xor eax, dword [edx*4 + 0x443458]
test bl, bl
jne 0x419e68
mov edi, dword [0x588178]
mov ecx, dword [edi + 0x5b38]
not eax
mov edx, dword [edi + 0x5b40]
pop edi
pop esi
lea ecx, [ecx + ecx*8]
lea ecx, [edx + ecx*4]
pop ebx
cmp edx, ecx
je 0x419ebd
cmp dword [edx + 4], eax
je 0x419ec0
add edx, 0x24
cmp edx, ecx
jne 0x419eb1
xor eax, eax
ret
mov eax, edx
ret
Function at 0x423c70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x423caa
mov eax, dword [0x588178]
mov dword [esi + 4], 0
mov dword [esi], 0
test eax, eax
je 0x423c9d
dec dword [eax + 0xb0]
push ecx
call edi
add esp, 4
mov dword [esi + 8], 0
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x423cdb
mov eax, dword [0x588178]
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
test eax, eax
je 0x423cce
dec dword [eax + 0xb0]
push ecx
call edi
add esp, 4
mov dword [esi + 0x14], 0
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x423d0c
mov eax, dword [0x588178]
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
test eax, eax
je 0x423cff
dec dword [eax + 0xb0]
push ecx
call edi
add esp, 4
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x423d59
mov eax, dword [0x588178]
mov dword [esi + 0x40], 0
mov dword [esi + 0x3c], 0
test eax, eax
je 0x423d4c
dec dword [eax + 0xb0]
push ecx
call edi
add esp, 4
mov dword [esi + 0x44], 0
mov ecx, dword [esi + 0x50]
test ecx, ecx
je 0x423d8a
mov eax, dword [0x588178]
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], 0
test eax, eax
je 0x423d7d
dec dword [eax + 0xb0]
push ecx
call edi
add esp, 4
mov dword [esi + 0x50], 0
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x423dbb
mov eax, dword [0x588178]
mov dword [esi + 0x58], 0
mov dword [esi + 0x54], 0
test eax, eax
je 0x423dae
dec dword [eax + 0xb0]
push ecx
call edi
add esp, 4
mov dword [esi + 0x5c], 0
pop edi
lea ecx, [esi + 0x78]
pop esi
jmp fcn.00426840