joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a4821
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xcf24ca
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ecx
push 0xffffffffffffffff
lea ecx, [ecx + 4]
call fcn.004a54d9
mov edx, dword [ebp - 0x14]
mov dword [edx], 0xf448b4
xor eax, eax
mov dword [edx + 8], eax
mov dword [edx + 0xc], eax
mov dword [edx + 0x10], eax
mov dword [ebp - 4], 0
xor eax, eax
mov dword [edx + 0x14], eax
mov dword [edx + 0x18], eax
mov dword [edx + 0x1c], eax
mov dword [ebp - 4], 1
xor eax, eax
mov dword [edx + 0x20], eax
mov dword [edx + 0x24], eax
mov dword [edx + 0x28], eax
mov dword [ebp - 4], 2
xor eax, eax
mov dword [edx + 0x2c], eax
mov dword [edx + 0x30], eax
mov dword [edx + 0x34], eax
mov dword [ebp - 4], 3
xor eax, eax
mov dword [edx + 0x38], eax
mov dword [edx + 0x3c], eax
mov dword [edx + 0x40], eax
mov dword [ebp - 4], 4
xor eax, eax
mov dword [edx + 0x44], eax
mov dword [edx + 0x48], eax
mov dword [edx + 0x4c], eax
mov dword [ebp - 4], 5
xor eax, eax
mov dword [edx + 0x50], eax
mov dword [edx + 0x54], eax
mov dword [edx + 0x58], eax
mov dword [ebp - 4], 6
mov ecx, edx
mov dword [ecx + 0x5c], 0
call fcn.004a4981
mov ebx, eax
mov eax, dword [ebp + 8]
test eax, eax
je 0x4a496b
test ebx, ebx
jl 0x4a490f
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp + 8]
push 0x104
lea ecx, [eax + 0x60]
push edx
push ecx
call 0xd5ac85
add esp, 0xc
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x4a4930
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp + 0x10]
lea esi, [eax + 0x164]
mov dl, byte [edi]
add edi, 1
mov byte [esi], dl
add esi, 1
test dl, dl
jne 0x4a4922
push ebx
push 0x92
push 0xd272dc
push 0xd26b80
push 6
call fcn.004a62f1
add esp, 0x14
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x20]
mov esi, dword [ebp - 0x1c]
mov dword [edx], ebx
mov ebx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
push 0xd272ec
push 1
call fcn.004a62f1
add esp, 8
mov ebx, 0x80070057
jmp 0x4a490f
Function at 0x4b8dfd
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4c3420
cmp edx, dword [eax]
je 0x4b8e1f
add eax, 8
inc ecx
cmp eax, 0x4c34b0
jl 0x4b8e10
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4c3420]
jne 0x4b8f4d
mov eax, dword [0x4c7dac]
cmp eax, 1
je 0x4b8f27
test eax, eax
jne 0x4b8e50
cmp dword [0x4c334c], 1
je 0x4b8f27
cmp edx, 0xfc
je 0x4b8f4d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4b8e87
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004b97e0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004b9c70
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4b8eca
lea eax, [ebp - 0x1a4]
push eax
call fcn.004b9c70
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4bee24
push edi
call fcn.004bbb40
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004b97e0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004b97f0
lea eax, [ebp - 0xa0]
push 0x4bee04
push eax
call fcn.004b97f0
push dword [esi + 0x4c3424]
lea eax, [ebp - 0xa0]
push eax
call fcn.004b97f0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004bbab4
add esp, 0x2c
pop edi
jmp 0x4b8f4d
lea eax, [ebp + 8]
lea esi, [esi + 0x4c3424]
push 0
push eax
push dword [esi]
call fcn.004b9c70
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x403c97
Capabilities:
Copy file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x406028]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 4
pop edi
mov esi, edx
mov dword [ebp - 0x120], ecx
push 0x180
push esi
call dword [sym.imp.msvcrt.dll__chmod]
pop ecx
pop ecx
push 0xa0
push esi
push esi
call dword [sym.imp.USER32.dll_OemToCharBuffA]
push 0x1001
lea eax, [ebp - 0x90]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_OpenFile]
push esi
mov ebx, eax
push esi
mov dword [ebp - 0x11c], ebx
call dword [sym.imp.USER32.dll_CharToOemA]
cmp ebx, 0xffffffff
je 0x403d76
mov esi, dword [ebp - 0x120]
lea eax, [ebp - 0x118]
push 0
push eax
push esi
call dword [sym.imp.LZ32.dll_LZOpenFileA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x403d35
push 3
pop edi
push ecx
push esi
push ecx
mov edx, 0xa0
mov ecx, 0x406c20
call fcn.0040170f
test eax, eax
js 0x403d88
jmp 0x403d6a
call fcn.00404350
push dword [ebp - 0x11c]
push ebx
call dword [sym.imp.LZ32.dll_LZCopy]
push ebx
mov esi, eax
call dword [sym.imp.LZ32.dll_LZClose]
cmp esi, 0xfffffff8
jb 0x403d67
cmp esi, 0xfffffffb
jne 0x403d5e
push 6
jmp 0x403d69
cmp esi, 0xfffffffc
jne 0x403d6a
push 7
jmp 0x403d69
push 0xd
pop edi
push dword [ebp - 0x11c]
call dword [sym.imp.KERNEL32.dll__lclose]
mov ecx, dword [ebp - 4]
mov ax, di
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00404d30
leave
ret
call fcn.0040221a
int3
Function at 0x404032
Capabilities:
Read .ini file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x90
mov eax, dword [0x406028]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ebx, edx
mov esi, ecx
push ebx
push 2
mov dword [ebp - 0x90], esi
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [0x40672c], eax
test eax, eax
je 0x404102
push eax
call dword [sym.imp.KERNEL32.dll_LocalLock]
mov edi, eax
test edi, edi
je 0x404102
push esi
push ebx
push edi
push 0x401150
push 0
push dword [0x40671c]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push dword [0x40672c]
mov esi, eax
test esi, esi
jne 0x4040b8
call dword [sym.imp.KERNEL32.dll_LocalUnlock]
push dword [0x40672c]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [0x40672c], eax
push 5
jmp 0x404104
mov word [esi + edi], 0
call dword [sym.imp.KERNEL32.dll_LocalUnlock]
push 2
lea eax, [esi + 2]
push eax
push dword [0x40672c]
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
test eax, eax
je 0x404102
push ebx
push 2
mov dword [0x40672c], eax
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [0x4063f0], eax
push dword [0x40672c]
test eax, eax
jne 0x404114
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [0x40672c], eax
push 6
mov ecx, dword [ebp - 4]
pop eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00404d30
leave
ret
call dword [sym.imp.KERNEL32.dll_LocalLock]
mov edi, eax
test edi, edi
je 0x404102
push dword [0x4063f0]
call dword [sym.imp.KERNEL32.dll_LocalLock]
mov dword [ebp - 0x8c], eax
mov esi, eax
test eax, eax
jne 0x4041b5
push dword [0x4063f0]
call dword [sym.imp.KERNEL32.dll_LocalUnlock]
jmp 0x404102
push dword [ebp - 0x90]
lea eax, [ebp - 0x84]
push 0x80
push eax
push 0x401150
push edi
push dword [0x40671c]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x404211
lea eax, [ebp - 0x84]
push eax
push eax
call dword [sym.imp.USER32.dll_CharToOemA]
mov edx, ebx
lea eax, [ebp - 0x84]
sub edx, esi
mov ecx, esi
add edx, dword [ebp - 0x8c]
push eax
call fcn.00401612
test eax, eax
js 0x404233
mov eax, dword [ebp - 0x88]
mov edx, ebx
inc eax
mov ecx, esi
add edi, eax
call fcn.004021e7
inc eax
add esi, eax
mov edx, ebx
mov ecx, edi
call fcn.004021e7
mov dword [ebp - 0x88], eax
test eax, eax
jne 0x404146
push dword [0x40672c]
mov byte [esi], 0
call dword [sym.imp.KERNEL32.dll_LocalUnlock]
push dword [0x4063f0]
call dword [sym.imp.KERNEL32.dll_LocalUnlock]
sub esi, dword [ebp - 0x8c]
push 2
inc esi
push esi
push dword [0x4063f0]
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
test eax, eax
je 0x404102
mov dword [0x4063f0], eax
push 0xd
jmp 0x404104
push dword [0x40672c]
call dword [sym.imp.KERNEL32.dll_LocalUnlock]
push dword [0x4063f0]
call dword [sym.imp.KERNEL32.dll_LocalUnlock]
call fcn.0040423f
jmp 0x4040b4
call fcn.0040221a
int3
Function at 0x404270
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
push edi
mov edi, dword [0x406718]
push 1
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
cmp eax, 0x20
jbe 0x404345
push ebx
xor ebx, ebx
push esi
mov esi, ebx
push ebx
push 0x406760
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
jne 0x4042d7
push 1
push ebx
push ebx
push ebx
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x4042ce
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
inc esi
cmp esi, 0x4b0
jb 0x404297
push ebx
push 0x64
push ebx
push ebx
call dword [sym.imp.USER32.dll_SetTimer]
mov esi, eax
jmp 0x404322
push ebx
push ebx
push ebx
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x40430b
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
cmp dword [ebp - 0x1c], 0x113
jne 0x404322
test edi, edi
je 0x404322
push ebx
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
mov edi, ebx
push ebx
push 0x406760
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
jne 0x4042e6
test esi, esi
je 0x40433e
push esi
push ebx
call dword [sym.imp.USER32.dll_KillTimer]
xor eax, eax
pop esi
inc eax
pop ebx
jmp 0x404347
xor eax, eax
pop edi
leave
ret

Function at 0x404411
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x406028]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x10c]
mov dword [ebp - 0x110], 0x104
push eax
push 0x20019
xor ebx, ebx
mov esi, 0x401298
push ebx
push esi
mov edi, 0x80000000
mov byte [ebp - 0x108], bl
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x404494
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x108]
push eax
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
test eax, eax
je 0x4044b4
push ecx
push ebx
push ebx
push 0x10
xor edx, edx
push 0xc
inc edx
pop ecx
call fcn.004022df
xor eax, eax
cmp dword [0x406724], ebx
je 0x4044a5
mov dword [0x406080], ebx
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00404d30
leave
ret
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.msvcrt.dll_atoi]
pop ecx
mov dword [0x406080], eax
call fcn.00404522
xor eax, eax
jmp 0x4044a4
Function at 0x404522
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x406028]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, 0x401298
xor ebx, ebx
mov edx, 0xa0
mov dword [ebp - 0x210], ebx
mov ecx, esi
call fcn.004021e7
cmp eax, 0x104
jge 0x40463c
push ecx
push esi
push ecx
mov edx, 0x104
lea ecx, [ebp - 0x108]
call fcn.0040170f
test eax, eax
js 0x40464a
push edi
lea eax, [ebp - 0x108]
mov edi, 0x80000000
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov edx, 0x104
lea ecx, [ebp - 0x108]
call fcn.004021e7
lea esi, [ebp - 0x108]
add esi, eax
jmp 0x4045ac
cmp byte [esi], 0x5c
je 0x4045bb
dec esi
lea eax, [ebp - 0x108]
cmp esi, eax
ja 0x4045a6
cmp byte [esi], 0x5c
jne 0x404627
lea eax, [ebp - 0x210]
mov byte [esi], bl
push eax
push 0x20019
push ebx
lea eax, [ebp - 0x108]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x404627
push 0x104
lea eax, [ebp - 0x20c]
push eax
push ebx
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
je 0x404627
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x108]
mov dword [ebp - 0x210], ebx
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
lea eax, [ebp - 0x108]
cmp esi, eax
ja 0x40458c
pop edi
cmp dword [ebp - 0x210], ebx
je 0x40463c
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00404d30
leave
ret
call fcn.0040221a
int3

Function at 0x404931
Capabilities:
Delete file
Move file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x406028]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov esi, ecx
lea eax, [ebp - 0x104]
xor ecx, ecx
mov edi, 0x100
push ecx
push ecx
push edi
push eax
push ecx
push ecx
push ecx
push ecx
push esi
call dword [sym.imp.msvcrt.dll__splitpath_s]
add esp, 0x24
cmp byte [ebp - 0x104], 0
jne 0x40498a
push ecx
push 0x4012d4
push ecx
mov edx, edi
lea ecx, [ebp - 0x104]
call fcn.0040170f
test eax, eax
js 0x4049c9
push 0x4012d8
mov edx, edi
lea ecx, [ebp - 0x104]
call fcn.00401645
test eax, eax
js 0x4049c9
lea eax, [ebp - 0x104]
push eax
push esi
call dword [sym.imp.msvcrt.dll_rename]
push esi
call dword [sym.imp.msvcrt.dll_remove]
mov ecx, dword [ebp - 4]
add esp, 0xc
xor eax, eax
xor ecx, ebp
inc eax
pop edi
pop esi
call fcn.00404d30
leave
ret
call fcn.0040221a
int3
Function at 0x404fe0
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40501e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x405016
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x405020
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x405006
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x405100
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x405131
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x405131
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x405131
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x403f97
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1800
call fcn.0040ece0
push esi
push edi
xor esi, esi
xor edi, edi
cmp edi, 0x986
jge 0x403fd5
push esi
call dword [sym.imp.USER32.dll_GetCaretPos]
push esi
call dword [sym.imp.USER32.dll_SetClipboardViewer]
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.GDI32.dll_GetCharWidthI]
push esi
call dword [sym.imp.USER32.dll_GetSysColorBrush]
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp edi, 0x4f4c8ec
jg 0x403ff0
inc edi
cmp edi, 0x3455969
jl 0x403fad
cmp dword [0x283d82c], 0x400
jne 0x404104
push esi
call dword [sym.imp.USER32.dll_GetDC]
push esi
lea eax, [esp + 0x80c]
push eax
push esi
push 0x403948
push esi
call dword [sym.imp.KERNEL32.dll_FoldStringW]
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumResourceNamesW]
push esi
push esi
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasW]
push esi
lea eax, [esp + 0x100c]
push eax
push 0x403924
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumTimeFormatsW]
push 0x40398c
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push esi
call fcn.004047fa
pop ecx
push esi
call fcn.00404684
pop ecx
push esi
push esi
call fcn.00404f4e
push esi
push esi
call fcn.004047ba
push esi
push esi
call fcn.00404ab6
push esi
call fcn.00404ee9
add esp, 0x1c
push esi
call fcn.004051b7
fldz
sub esp, 0xc
fst qword [esp + 8]
fstp qword [esp]
call fcn.00404160
add esp, 8
fstp st(0)
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], esi
call fcn.00404240
fstp st(0)
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], esi
call fcn.00404990
fstp st(0)
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], esi
call fcn.00404370
fstp st(0)
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], esi
call fcn.00404be0
fstp st(0)
push esi
push esi
call fcn.00404d34
push esi
call fcn.0040522b
add esp, 0x14
push esi
push esi
call fcn.004046be
push esi
push esi
call fcn.00404614
push esi
call fcn.00404ffb
add esp, 0x14
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp edi, 0x12e82fe
jg 0x404124
inc edi
cmp edi, 0x3011b
jl 0x404106
mov eax, dword [0x445c84]
mov dword [0x283d82c], eax
call fcn.00403cde
mov edi, 0x2ec37
cmp dword [0x283d82c], 0x51f
jne 0x404153
push esi
lea eax, [esp + 0x80c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
dec edi
jne 0x404138
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x407658
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4421f8]
jne 0x407662
repz ret
jmp fcn.0040c930
Function at 0x100032d0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100dc195
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x1010dfc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 0xc]
movzx eax, byte [ebx]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [ebx + 1]
xor edx, eax
movzx eax, byte [ebx + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [ebx + 3]
imul ecx, edx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edi
push eax
mov dword [ebp + 0xc], eax
lea eax, [ebp - 0x1c]
push ebx
push eax
call fcn.100031b0
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x10003363
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov byte [eax + 4], 0
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
cmp dword [edi + 8], 0xccccccc
je 0x100034bf
lea eax, [edi + 4]
mov dword [ebp - 0x14], eax
push 0x14
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
call fcn.100b1588
mov ecx, dword [ebx]
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov dword [esi + 8], ecx
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov eax, dword [edi + 8]
mov ebx, dword [edi + 0x1c]
inc eax
movss xmm3, dword [edi]
mov dword [ebp - 4], 1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100e7720]
mov eax, ebx
shr eax, 0x1f
cvtpd2ps xmm2, xmm0
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x100e7720]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x10003461
divss xmm2, xmm3
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x1c], xmm0
fld qword [ebp - 0x1c]
fstp qword [esp]
call fcn.100c2870
fstp qword [ebp - 0x1c]
movsd xmm0, qword [ebp - 0x1c]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.100b1940
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
cmp ebx, ecx
jae 0x10003443
cmp ebx, 0x200
jae 0x10003441
shl ebx, 3
cmp ebx, ecx
jae 0x10003443
mov ebx, ecx
push ebx
mov ecx, edi
call fcn.10005be0
push dword [ebp + 0xc]
lea eax, [esi + 8]
mov ecx, edi
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.100031b0
mov edx, dword [eax]
jmp 0x10003464
mov edx, dword [ebp - 0x1c]
mov ebx, dword [edx + 4]
inc dword [edi + 8]
mov dword [esi], edx
mov dword [esi + 4], ebx
mov dword [ebx], esi
mov dword [edx + 4], esi
mov eax, dword [edi + 0x18]
and eax, dword [ebp + 0xc]
mov ecx, dword [edi + 0xc]
mov esi, dword [ebp - 0x14]
mov edi, dword [ecx + eax*8]
cmp edi, dword [esi]
mov esi, dword [ebp - 0x10]
jne 0x1000348f
mov dword [ecx + eax*8], esi
jmp 0x1000349e
cmp edi, edx
jne 0x10003498
mov dword [ecx + eax*8], esi
jmp 0x100034a2
cmp dword [ecx + eax*8 + 4], ebx
jne 0x100034a2
mov dword [ecx + eax*8 + 4], esi
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov byte [eax + 4], 1
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
push str.unordered_map_set_too_long
call fcn.1009a062
int3
Function at 0x10003d00
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x1010dfc0]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x1f4
xorps xmm0, xmm0
mov dword [ebp - 0x204], 0
lea eax, [ebp - 0x1f8]
mov dword [ebp - 0x200], 0xf
push 0
movups xmmword [ebp - 0x214], xmm0
push eax
mov byte [ebp - 0x214], 0
mov dword [ebp - 0x1fc], 0
call fcn.100b2da0
push 0x1f3
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x1f8]
push 0x1f4
push eax
call fcn.100bdd16
mov ecx, dword [ebp - 0x200]
add esp, 0x1c
cmp ecx, 0xf
jbe 0x10003dab
mov edx, dword [ebp - 0x214]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10003da1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003e03
push ecx
push edx
call fcn.100b15b8
add esp, 8
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 8]
lea eax, [ebp - 0x1f8]
push 0x1f4
push eax
call fcn.10006c00
mov ecx, dword [eax]
push dword [eax + 4]
or ecx, 2
push ecx
call fcn.100c27a4
add esp, 0x1c
lea eax, [ebp - 0x1fc]
push 0
push 0x101135c8
push 0x1f8
push eax
push dword [0x1010d278]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b18e0
mov esp, ebp
pop ebp
ret
call fcn.100bd74f
int3

Function at 0x10003e80
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x1010dfc0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [0x101135ac]
push edi
push eax
push ecx
push esi
mov dword [ebp - 0x24], ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x10003eec
xorps xmm0, xmm0
mov eax, ebx
movups xmmword [ebx], xmm0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x10], 0
pop edi
mov dword [ebx + 0x14], 0xf
pop esi
mov byte [ebx], 0
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b18e0
mov esp, ebp
pop ebp
ret
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
push esi
mov dword [ebp - 0x20], eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x24], eax
test eax, eax
je 0x10003eb4
push dword [ebp - 0x20]
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push dword [ebp - 0x20]
mov esi, eax
push dword [ebp - 0x24]
push esi
call fcn.100b30c0
add esp, 0xc
mov dword [ebp - 0xc], 0
xorps xmm0, xmm0
mov dword [ebp - 8], 0
lea ecx, [ebp - 0x1c]
movups xmmword [ebp - 0x1c], xmm0
push dword [ebp - 0x20]
push esi
call fcn.10003120
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov ecx, dword [ebp - 4]
xorps xmm0, xmm0
movups xmmword [ebx], xmm0
mov dword [ebx + 0x10], 0
mov eax, ebx
movups xmm0, xmmword [ebp - 0x1c]
mov dword [ebx + 0x14], 0
xor ecx, ebp
pop edi
movups xmmword [ebx], xmm0
pop esi
movq xmm0, qword [ebp - 0xc]
movq qword [ebx + 0x10], xmm0
pop ebx
call fcn.100b18e0
mov esp, ebp
pop ebp
ret