joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4274a0
Capabilities:
Enumerate gui resources

Disassembly:
mov byte [eax + 0xc], 0
mov byte [eax + 0xd], 0
xor edx, edx
mov dword [eax + 4], edx
push eax
push 0x4273ec
call sub.user32.dll_EnumWindows
ret

Function at 0x4275c0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x42763d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00427020
call sub.kernel32.dll_GetTickCount
mov ebx, eax
push 0
call sub.kernel32.dll_Sleep
call sub.kernel32.dll_GetTickCount
sub eax, ebx
cmp eax, 0x3e8
jbe 0x4275e5
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.00426c20
cmp dword [ebp - 4], 0
je 0x427627
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.00404728
push eax
mov eax, dword [esi + 0x1c]
mov edx, dword [eax]
call dword [edx + 0xc]
push eax
call sub.user32.dll_WinHelpA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x427644
lea eax, [ebp - 4]
call fcn.00404268
ret

Function at 0x42a2e0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 9]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x451b48], 0
je 0x42a42f
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x44ffb8]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x42a42f
mov eax, dword [0x451b4c]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x451b48]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x42a3fe
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x451b48]
call fcn.00413dc8
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x42a3f6
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x42a3f6
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x42a3f6
mov eax, dword [ebp - 0x14]
call fcn.00432e44
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x42a3f6
push ebp
call fcn.0042a29c
pop ecx
test al, al
jne 0x42a3f6
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x42a3b2
mov eax, dword [ebp - 0x14]
call fcn.00431974
dec eax
jle 0x42a3f6
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbd
call fcn.00403674
cmp byte [ebp - 1], 0
je 0x42a3f6
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x42a3f6
mov edx, dword [ebp - 0x14]
mov eax, dword [0x451b4c]
call fcn.00429a68
inc edi
dec ebx
jne 0x42a345
mov eax, dword [0x451b4c]
cmp dword [eax + 8], 0
jle 0x42a416
mov eax, dword [0x451b4c]
call fcn.00429af8
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x42a42f
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0042a104
pop ecx
test al, al
jne 0x42a42f
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42d9c8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test byte [esi + 0x1c], 0x10
je 0x42da14
mov eax, esi
call fcn.00442e78
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x42da14
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x42da14
mov ecx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x250]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x24]
test al, al
jne 0x42db53
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x42da54
cmp eax, 0x108
ja 0x42da54
mov eax, esi
call fcn.00442e78
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x42db4a
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x42db53
jmp 0x42db4a
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x42db33
cmp eax, 0x20a
ja 0x42db33
test byte [esi + 0x50], 0x80
jne 0x42da86
sub eax, 0x203
je 0x42da83
sub eax, 3
je 0x42da83
sub eax, 3
jne 0x42da86
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x42da9a
dec eax
je 0x42daaf
dec eax
je 0x42dacc
dec eax
je 0x42daaf
jmp 0x42dad3
mov ecx, ebx
mov eax, dword [0x44ffb8]
mov eax, dword [eax]
mov edx, esi
call fcn.0044c5bc
jmp 0x42db4a
cmp byte [esi + 0x5d], 1
jne 0x42dac5
mov eax, esi
mov si, 0xffed
call fcn.00403674
jmp 0x42db53
or word [esi + 0x54], 1
jmp 0x42db4a
and word [esi + 0x54], 0xfffe
jmp 0x42db4a
mov eax, dword [0x451b04]
cmp byte [eax + 0x20], 0
je 0x42db4a
mov eax, dword [0x451b04]
cmp dword [eax + 0x1c], 0
je 0x42db4a
mov eax, dword [ebx]
mov edx, dword [0x451b04]
cmp eax, dword [edx + 0x1c]
jne 0x42db4a
lea eax, [ebp - 0x114]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
call fcn.00442dbc
mov byte [ebp - 0xc], al
mov ax, word [ebx + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, esi
mov si, 0xffc9
call fcn.00403674
jmp 0x42db53
cmp eax, 0xb00b
jne 0x42db4a
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.0042c330
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43753c
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x450114]
cmp byte [eax + 0xc], 0
je 0x4376a9
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4376a2
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x451b58], 0
jne 0x437590
push 0x4376b0
call sub.kernel32.dll_GetModuleHandleA_1
mov ebx, eax
push 0x4376b8
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x451b58], eax
cmp dword [0x44fb0c], 0
jne 0x43768b
push 0x4376c8
call sub.kernel32.dll_LoadLibraryA
mov dword [0x44fb0c], eax
cmp dword [0x44fb0c], 0
je 0x43768b
push 0x4376d4
mov eax, dword [0x44fb0c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x451b5c], eax
push 0x4376e4
mov eax, dword [0x44fb0c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x451b60], eax
push 0x4376f8
mov eax, dword [0x44fb0c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x451b64], eax
push 0x437710
mov eax, dword [0x44fb0c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x451b68], eax
push 0x437728
mov eax, dword [0x44fb0c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x451b6c], eax
push 0x43773c
mov eax, dword [0x44fb0c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x451b70], eax
push 0x437754
mov eax, dword [0x44fb0c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x451b74], eax
push 0x43776c
mov eax, dword [0x44fb0c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x451b78], eax
push 0x437788
mov eax, dword [0x44fb0c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x451b7c], eax
push 0x437794
mov eax, dword [0x44fb0c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x451b80], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4376a9
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x43b534
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.00404268
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x43b583
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.004044d8
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x442d2c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x442d7c]
test si, 4
je 0x442d40
or bl, 1
test si, 8
je 0x442d4a
or bl, 4
test si, 1
je 0x442d54
or bl, 8
test si, 2
je 0x442d5e
or bl, 0x10
test si, 0x10
je 0x442d68
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x442d77
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x442d80
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x442db8]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x442d99
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x442da8
or bl, 4
test esi, 0x20000000
je 0x442db3
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x44947c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x44948e
add esp, 0xfffffff0
call fcn.0040378c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00419768
mov eax, dword [0x44fdfc]
mov dword [eax + 4], ebx
mov dword [eax], 0x449820
mov eax, dword [0x44fe08]
mov dword [eax + 4], ebx
mov dword [eax], 0x44982c
mov eax, ebx
call fcn.00449838
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x411a60]
call fcn.0040343c
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x411a60]
call fcn.0040343c
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x411a60]
call fcn.0040343c
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x411a60]
call fcn.0040343c
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x411a60]
call fcn.0040343c
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x445c50
push eax
push 0
push 0
mov eax, dword [0x44ff44]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41b18c]
call fcn.0041c5f4
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41b18c]
call fcn.0041c5f4
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41b18c]
call fcn.0041c5f4
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00449c88
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x449b50
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x449b50
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x449b50
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4495cb
call fcn.004037e4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x449934
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x449adf
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x449ac0
mov dl, 1
mov eax, dword [0x411e7c]
call fcn.0040343c
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404268
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x449aaf
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0043789c
test al, al
je 0x449aa2
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x449af0
lea eax, [ebp - 0x254]
call fcn.00408d94
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x449aa2
xor eax, eax
push ebp
push 0x449a9b
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x449b28
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x449a84
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004044d8
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x449a84
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004044d8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x449aa2
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4499a5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00415958
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x449ae6
lea eax, [ebp - 0x260]
call fcn.00404268
ret

Function at 0x44a428
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x451ba4]
cmp byte [eax + 0xa5], 0
jne 0x44a499
cmp dword [0x451bbc], 0
jne 0x44a45a
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x44a3e4
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x451bbc], eax
cmp dword [0x451bb8], 0
jne 0x44a475
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x451bb8], eax
cmp dword [0x451bc0], 0
jne 0x44a499
push esp
push 0
push 0
push 0x44a388
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x451bc0], eax
pop edx
ret
Function at 0x44ab2c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x451ba4]
cmp dword [eax + 0x30], 0
je 0x44abd6
cmp dword [ebx + 0x94], 0
jne 0x44abd0
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44aabc
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x44abd0

Function at 0x44b734
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x44b769
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404358
jmp 0x44b776
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004042bc
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x44c704
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x44c745
mov eax, esi
call fcn.004330a4
test al, al
je 0x44c745
mov eax, dword [ebx + 0x84]
call fcn.00432e44
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44c745
push 0
mov eax, dword [ebx + 0x84]
call fcn.00432e44
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x4013ca
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [0x6fe338], 1
mov dword [0x6fe33c], 1
mov dword [0x6fe340], 1
mov dword [0x6fe32c], 1
mov dword [ebp - 4], 0x400000
mov eax, dword [ebp - 4]
movzx eax, word [eax]
cmp ax, 0x5a4d
je 0x401415
mov eax, 0
jmp 0x4014af
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov edx, eax
mov eax, dword [ebp - 4]
add eax, edx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp eax, 0x4550
je 0x401438
mov eax, 0
jmp 0x4014af
mov eax, dword [ebp - 8]
add eax, 0x18
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
movzx eax, ax
cmp eax, 0x10b
je 0x40145a
cmp eax, 0x20b
je 0x40147f
jmp 0x4014aa
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x5c]
cmp eax, 0xe
ja 0x40146c
mov eax, 0
jmp 0x4014af
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x4014af
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x6c]
cmp eax, 0xe
ja 0x401497
mov eax, 0
jmp 0x4014af
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x4014af
mov eax, 0
leave
ret

Function at 0x402cac
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, eax
xor eax, eax
push ebx
mov ebx, edx
sub esp, 0x10
test edx, edx
je 0x402cc6
mov dword [esp], edx
call sub.msvcrt.dll_strlen
mov dword [esp + 0xc], esi
mov dword [esp], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], 1
call sub.msvcrt.dll_fwrite
mov dword [esp], esi
call sub.msvcrt.dll_fflush
add esp, 0x10
pop ebx
pop esi
pop ebp
ret

Function at 0x405f2b
Capabilities:
Write file on windows

Disassembly:
cmp dword [0x6fe09c], 0
jne 0x405f36
jmp fcn.00405ee7
push ebp
mov ebp, esp
push ebx
sub esp, 0x14
call fcn.00405e9c
mov dword [esp + 4], edx
mov ebx, edx
mov dword [esp], eax
call dword [0x6fe09c]
push edx
push edx
test ebx, ebx
je 0x405f65
bt dword [ebx], 0x1e
jb 0x405f65
mov dword [esp], ebx
call fcn.00403bec
mov dword [esp], 0x4381cc
call fcn.00427800
cmp byte [eax], 0
je 0x405f99
mov byte [eax], 0
mov dword [esp], 0x43814c
call fcn.00427800
mov ecx, eax
mov eax, dword [eax]
mov edx, dword [eax + 0x1c]
mov dword [esp], 0
call fcn.0040422c
push eax
mov ebx, dword [ebp - 4]
leave
ret
Function at 0x40767a
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, ecx
push esi
mov esi, edx
push ebx
xor ebx, ebx
sub esp, 0x2c
mov dword [esp], 0x6fe080
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push edx
cmp ebx, esi
jl 0x4076eb
mov dword [esp], 1
mov ebx, dword [fcn.0042d414]
call ebx
mov dword [esp + 8], 1
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], 0x43937b
call sub.msvcrt.dll_fwrite
mov dword [esp], 1
call ebx
mov dword [esp], eax
call sub.msvcrt.dll_fflush
mov dword [esp], 0x6fe080
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push eax
jmp 0x407764
test ebx, ebx
jns 0x4076fe
dec esi
mov dword [esp], ebx
mov dword [esp + 4], esi
call fcn.0040598b
jmp 0x407764
mov dword [esp], 1
call dword [0x438690]
mov dword [esp + 8], 0
mov ecx, eax
lea eax, [edi + ebx*8]
mov edx, dword [eax + 4]
mov eax, dword [eax]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0040757c
sub esp, 0xc
mov dword [esp], 0x4381cc
call fcn.00427800
cmp byte [eax], 0
jne 0x407764
lea ecx, [ebp - 0x1c]
mov edx, 1
mov eax, ebx
call fcn.00402bc7
test al, al
je 0x40775c
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.00403d00
mov ebx, dword [ebp - 0x1c]
jmp 0x407697
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x41bbc8
Capabilities:
Hash data using sha256

Disassembly:
push ebp
xor eax, eax
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x9c
mov dword [ebp - 0x90], edx
lea edx, [ebp - 0x80]
mov edi, edx
mov dword [ebp - 0x94], ecx
mov ecx, 0x1a
rep stosd dword es:[edi], eax
mov dword [esp], 0x4381cc
mov dword [ebp - 0x78], 0x6a09e667
mov dword [ebp - 0x74], 0xbb67ae85
mov dword [ebp - 0x70], 0x3c6ef372
mov dword [ebp - 0x6c], 0xa54ff53a
mov dword [ebp - 0x68], 0x510e527f
mov dword [ebp - 0x64], 0x9b05688c
mov dword [ebp - 0x60], 0x1f83d9ab
mov dword [ebp - 0x5c], 0x5be0cd19
call fcn.00427800
xor edx, edx
mov dword [ebp - 0x8c], eax
mov edi, dword [ebp - 0x8c]
mov eax, dword [ebp - 0x90]
cmp byte [edi], 0
jne 0x41bd27
test eax, eax
jle 0x41bcf9
mov esi, dword [ebp - 0x80]
mov ecx, 0x40
and esi, 0x3f
sub ecx, esi
cmp ecx, eax
mov ebx, ecx
cmovg ebx, eax
test edx, edx
js 0x41bc77
cmp dword [ebp - 0x90], edx
jg 0x41bc8c
mov eax, dword [ebp - 0x90]
mov dword [esp], edx
dec eax
mov dword [esp + 4], eax
call fcn.0040598b
jmp 0x41bcf9
lea esi, [ebp + esi - 0x58]
mov ecx, ebx
mov edi, esi
mov esi, dword [ebp - 0x94]
add esi, edx
rep movsb byte es:[edi], byte [esi]
lea esi, [edx + ebx]
mov ecx, ebx
xor edx, esi
xor ecx, esi
test edx, ecx
js 0x41bcbb
mov edi, eax
mov edx, ebx
sub edi, ebx
xor eax, edi
xor edx, edi
not eax
or eax, edx
js 0x41bcc2
call fcn.00403d00
jmp 0x41bcf9
add ebx, dword [ebp - 0x80]
mov dword [ebp - 0x80], ebx
jae 0x41bccd
inc dword [ebp - 0x7c]
and bl, 0x3f
je 0x41bcdb
mov eax, edi
mov edx, esi
jmp 0x41bc4f
mov dword [esp], 0x40
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x78]
call fcn.0041bd60
push eax
mov eax, dword [ebp - 0x8c]
cmp byte [eax], 0
je 0x41bcd2
mov eax, dword [ebp - 0x8c]
cmp byte [eax], 0
jne 0x41bd27
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x80]
call fcn.0041e756
mov eax, dword [ebp - 0x8c]
cmp byte [eax], 0
jne 0x41bd27
mov edx, 0x68
lea ecx, [ebp - 0x80]
call fcn.0041bb90
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 4
Function at 0x425f58
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x24
lea eax, [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov dword [esp], 2
call fcn.0042d414
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x1b
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
call sub.msvcrt.dll_fwrite
mov ebx, dword [ebp - 0xc]
mov dword [esp], 2
call fcn.0042d414
mov dword [esp + 8], ebx
mov edx, dword [ebp + 8]
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort

Function at 0x426aa8
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, word [eax]
cmp ax, 0x5a4d
je 0x426ac7
mov eax, 0
jmp 0x426b0b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov edx, eax
mov eax, dword [ebp - 4]
add eax, edx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp eax, 0x4550
je 0x426aea
mov eax, 0
jmp 0x426b0b
mov eax, dword [ebp - 8]
add eax, 0x18
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
cmp ax, 0x10b
je 0x426b06
mov eax, 0
jmp 0x426b0b
mov eax, 1
leave
ret

Function at 0x426b0d
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x3c]
mov edx, eax
mov eax, dword [ebp + 8]
add eax, edx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0
mov eax, dword [ebp - 0xc]
movzx eax, word [eax + 0x14]
movzx edx, ax
mov eax, dword [ebp - 0xc]
add eax, edx
add eax, 0x18
mov dword [ebp - 4], eax
jmp 0x426b6c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
cmp dword [ebp + 0xc], eax
jb 0x426b64
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
add eax, edx
cmp dword [ebp + 0xc], eax
jae 0x426b64
mov eax, dword [ebp - 4]
jmp 0x426b80
add dword [ebp - 8], 1
add dword [ebp - 4], 0x28
mov eax, dword [ebp - 0xc]
movzx eax, word [eax + 6]
movzx eax, ax
cmp dword [ebp - 8], eax
jb 0x426b41
mov eax, 0
leave
ret