joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b4230
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x4b4247
add esp, 0xfffffff0
call fcn.00405300
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0043ed0c
mov eax, dword [0x4fa170]
cmp byte [eax], 0
jne 0x4b4274
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x17c], al
mov eax, dword [0x4fa414]
cmp word [eax + 2], 0
jne 0x4b428e
mov eax, dword [0x4fa414]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004b6328
mov eax, dword [0x4fa50c]
cmp word [eax + 2], 0
jne 0x4b42a8
mov eax, dword [0x4fa50c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004b6538
mov byte [ebx + 0x35], 0
mov dl, 1
mov eax, dword [0x4496c8]
call fcn.0044f99c
mov esi, eax
mov dword [ebx + 0x3c], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x4b6ae8
mov dl, 1
mov eax, dword [0x4281f8]
call fcn.00404d9c
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4281f8]
call fcn.00404d9c
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x44db60]
call fcn.00458e0c
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x4b4488
mov eax, dword [0x4fa2f0]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.004592a0
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4b6dd0
mov dl, 1
mov eax, dword [0x4281f8]
call fcn.00404d9c
mov dword [ebx + 0x98], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x4fa2f0]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW_1
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.004133b0
test eax, eax
je 0x4b43b9
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.00413194
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.00413394
test eax, eax
je 0x4b43d1
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.user32.dll_CharNextW_1
push eax
call sub.user32.dll_CharLowerW
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.00406aac
push ebx
push 0x4b5cf8
call fcn.004a9e84
mov dword [ebx + 0x178], eax
mov byte [ebx + 0xd0], 0
mov eax, dword [0x4fa170]
cmp byte [eax], 0
jne 0x4b4422
mov eax, ebx
call fcn.004b45fc
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
mov byte [ebx + 0xd1], 0
mov byte [ebx + 0xdc], 0
xor eax, eax
mov dword [ebx + 0xd4], eax
mov byte [ebx + 0xd3], 0
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.004b6ffc
mov eax, ebx
call fcn.004b7c30
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4b447f
call fcn.00405358
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4b48d0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x170]
test eax, eax
je 0x4b4972
cmp dword [ebx + 0x94], 0
jne 0x4b496c
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4b481c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4b496c
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongW
test al, 8
je 0x4b4932
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4b496c
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00433100
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4b4941
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4b4b90
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x5002c0]
cmp dword [eax + 0x170], 0
je 0x4b4cf5
test bl, bl
jne 0x4b4c43
cmp dword [esi + 0x9c], 0
jne 0x4b4c38
mov eax, esi
call fcn.004b7a80
push eax
push 0x4b4a9c
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x4b4c09
mov eax, dword [0x5002c0]
cmp byte [eax + 0xd3], 0
je 0x4b4c09
mov eax, dword [esi + 0xd8]
call fcn.00407ffc
mov edi, eax
cmp edi, 0
jl 0x4b4c09
push 0
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4b4bf2
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4b4c38
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00433100
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4b4c18
inc dword [esi + 0x9c]
jmp 0x4b4cf5
cmp dword [esi + 0x9c], 0
jle 0x4b4cf5
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x4b4cf5
cmp dword [esi + 0x44], 0
je 0x4b4ca0
mov eax, dword [0x5002c0]
cmp byte [eax + 0xd3], 0
je 0x4b4ca0
mov eax, dword [esi + 0xd8]
call fcn.00407ffc
mov edi, eax
cmp edi, 0
jl 0x4b4ca0
push 5
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4b4c89
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4b4ccf
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00433100
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4b4caf
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
lea eax, [esi + 0xd8]
mov ecx, 1
mov edx, dword [0x4a7d5c]
call fcn.004081bc
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x4b5944
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffdfc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x4b59af
cmp byte [ebx + 0xd3], 0
jne 0x4b59af
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x170]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00406a00
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x4b599c
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4b59bc
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004068c4
jmp 0x4b59bc
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004068c4
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x4b71e4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4b7252
mov eax, esi
call fcn.0048f7dc
test al, al
je 0x4b7252
mov eax, dword [ebx + 0x84]
call fcn.0048f430
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4b7252
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xfc]
test al, al
je 0x4b7246
push 0
mov eax, dword [ebx + 0x84]
call fcn.0048f430
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.00486408
jmp 0x4b7252
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.004b701c
pop esi
pop ebx
ret
Function at 0x4e2f40
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 4], ebx
mov ebx, ecx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4e3155
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x4e30fb
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 8]
cmp word [eax + 0x442], 0
je 0x4e30ef
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4e30e8
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebx]
call dword [eax + 0xc]
call fcn.004bf538
lea eax, [ebp - 0x18]
push eax
push ebx
mov eax, dword [ebx]
call dword [eax + 0x14]
call fcn.004bf538
mov eax, dword [ebp - 0x18]
call fcn.004d23d8
mov byte [ebp - 0x11], al
lea eax, [ebp - 0x1c]
push eax
push ebx
mov eax, dword [ebx]
call dword [eax + 0x1c]
call fcn.004bf538
mov eax, dword [ebp - 0x1c]
call fcn.004d23d8
mov byte [ebp - 0x12], al
lea eax, [ebp - 0xc]
push eax
push ebx
mov eax, dword [ebx]
call dword [eax + 0x28]
call fcn.004bf538
lea eax, [ebp - 4]
mov edx, dword [ebp - 0xc]
call fcn.00406a70
lea eax, [ebp - 0x20]
push eax
push ebx
mov eax, dword [ebx]
call dword [eax + 0x30]
call fcn.004bf538
mov eax, dword [ebp - 0x20]
call fcn.004d23d8
mov byte [ebp - 0x13], al
lea eax, [ebp - 0x24]
push eax
push ebx
mov eax, dword [ebx]
call dword [eax + 0x38]
call fcn.004bf538
mov eax, dword [ebp - 0x24]
call fcn.004d3348
mov byte [ebp - 0x25], al
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0x10]
call fcn.00406a70
mov eax, dword [ebp - 0x2c]
push eax
lea eax, [ebp - 0x13]
push eax
lea eax, [ebp - 0x12]
push eax
lea eax, [ebp - 0x11]
push eax
lea ecx, [ebp - 0x25]
mov esi, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [esi + 0x444]
call dword [esi + 0x440]
movzx eax, byte [ebp - 0x25]
call fcn.004d3324
push eax
push ebx
mov eax, dword [ebx]
call dword [eax + 0x34]
call fcn.004bf538
mov eax, dword [ebp - 4]
call fcn.00406950
push eax
push ebx
mov eax, dword [ebx]
call dword [eax + 0x24]
call fcn.004bf538
movzx eax, byte [ebp - 0x13]
call fcn.004d23e0
push eax
push ebx
mov eax, dword [ebx]
call dword [eax + 0x2c]
call fcn.004bf538
movzx eax, byte [ebp - 0x12]
call fcn.004d23e0
push eax
push ebx
mov eax, dword [ebx]
call dword [eax + 0x18]
call fcn.004bf538
movzx eax, byte [ebp - 0x11]
call fcn.004d23e0
push eax
push ebx
mov eax, dword [ebx]
call dword [eax + 0x10]
call fcn.004bf538
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e30ef
mov eax, dword [ebp - 0xc]
push eax
call sub.ole32.dll_CoTaskMemFree
mov eax, dword [ebp - 0x10]
push eax
call sub.ole32.dll_CoTaskMemFree
ret
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4e3137
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e315c
lea eax, [ebp - 0x2c]
call fcn.004068b4
lea eax, [ebp - 4]
call fcn.004068b4
ret
Function at 0x4efdc4
Capabilities:
Create process on windows

Disassembly:
push ebx
mov ebx, eax
push 1
push 0x4efdec
push 0x4efdec
mov eax, ebx
call fcn.00406950
push eax
push 0x4efdf0
push 0
call sub.shell32.dll_ShellExecuteW
pop ebx
ret
Function at 0x41b4c3
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041b016

Function at 0x42159b
Capabilities:
Read file on windows

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

Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x40810b
sub esp, 0xffffff80
jmp 0x402130
Function at 0x40a8a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49b616
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x4d411c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.0047df10
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.00466a51
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x415d60
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49cfe9
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4d411c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
lea eax, [edi + 0xc]
mov dword [edi + 4], 0
mov dword [edi + 8], 0
push eax
mov dword [edi], vtable.Concurrency::streams::details::streambuf_state_manager_unsigned_char_.0
call fcn.00465e3f
mov dword [edi + 0x14], 0x101
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0
mov dword [edi], vtable.Concurrency::streams::details::basic_producer_consumer_buffer_unsigned_char_.0
mov dword [edi + 0x1c], eax
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
lea eax, [edi + 0x38]
mov dword [edi + 0x28], 0
push 2
push eax
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
call fcn.004663ae
lea esi, [edi + 0x68]
mov byte [ebp - 4], 2
push 8
mov dword [ebp + 8], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.0047df10
add esp, 0x10
mov dword [esi], eax
test eax, eax
je 0x415e3f
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [esi]
mov dword [eax], esi
lea esi, [edi + 0x7c]
mov byte [ebp - 4], 3
push 8
mov dword [ebp + 8], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.0047df10
add esp, 4
mov dword [esi], eax
test eax, eax
je 0x415e8c
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [esi]
mov dword [eax], esi
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x41a310
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49b3a6
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x4d411c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea edi, [ecx + 0xc]
mov eax, dword [edi + 0x44]
lea esi, [edi + 0x30]
cmp eax, 8
jb 0x41a34d
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.0040d4d0
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x41a363
mov esi, dword [esi]
xor eax, eax
mov word [esi], ax
mov ecx, dword [edi + 0x28]
test ecx, ecx
je 0x41a378
mov dword [ebp - 4], eax
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, edi
call fcn.0042c180
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x43a650
Capabilities:
Write file on windows

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 0x4a13c0
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x18
push esi
push edi
mov eax, dword [0x4d411c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], edx
mov edi, ecx
mov dword [ebp - 0x1c], edi
push 0x1c
call fcn.0047df10
mov esi, eax
xorps xmm0, xmm0
mov eax, dword [ebp - 0x18]
add esp, 4
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x28], esi
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], 0x43b450
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov eax, dword [ebx + 0x10]
mov dword [ebp - 4], 0
cmp eax, 0xffffffff
jne 0x43a6d6
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
jmp 0x43a6e0
mov dword [esi + 8], eax
mov dword [esi + 0xc], 0
push dword [edi + 0x40]
call dword [sym.imp.KERNEL32.dll_StartThreadpoolIo]
push esi
push 0
push dword [ebx + 0xc]
push dword [ebx + 8]
push dword [edi + 0x3c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp - 0x14], 0
mov dword [ebp - 0x20], eax
jne 0x43a72a
cmp eax, 0x3e5
jne 0x43a72a
xor eax, eax
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
push dword [edi + 0x40]
call dword [sym.imp.KERNEL32.dll_CancelThreadpoolIo]
or edi, 0xffffffff
cmp dword [ebp - 0x14], 1
jne 0x43a764
push 0
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
mov eax, dword [ebp - 0x1c]
push esi
push dword [eax + 0x3c]
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
or edi, 0xffffffff
test eax, eax
cmovne edi, dword [ebp - 0x14]
cmp edi, 0xffffffff
jne 0x43a799
mov edx, dword [ebp - 0x20]
sub esp, 0x14
mov ecx, esp
call fcn.0043c5d0
lea ecx, [ebp - 0x24]
call fcn.0043b230
add esp, 0x14
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 4], 1
push eax
mov edx, dword [ecx]
call dword [edx + 8]
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 0
push eax
call fcn.00465e7f
add esp, 4
push 0x1c
push esi
call fcn.0047df48
add esp, 8
mov eax, edi
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
Function at 0x43a7c0
Capabilities:
Read file on windows

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 0x4a13f0
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x18
push esi
push edi
mov eax, dword [0x4d411c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x14], ecx
push 0x1c
call fcn.0047df10
mov esi, eax
xorps xmm0, xmm0
mov dword [ebp - 0x1c], esi
add esp, 4
mov dword [ebp - 0x28], esi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], 0x43b450
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov edi, dword [ebp - 0x14]
mov eax, dword [ebx + 0x10]
mov dword [ebp - 4], 0
mov dword [esi + 8], eax
mov dword [esi + 0xc], 0
push dword [edi + 0x40]
call dword [sym.imp.KERNEL32.dll_StartThreadpoolIo]
push esi
push 0
push dword [ebx + 0xc]
push dword [ebx + 8]
push dword [edi + 0x3c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edi, eax
mov dword [ebp - 0x1c], edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x18], eax
test edi, edi
jne 0x43a87b
cmp eax, 0x3e5
jne 0x43a87b
xor esi, esi
jmp 0x43a8f3
mov eax, dword [ebp - 0x14]
push dword [eax + 0x40]
call dword [sym.imp.KERNEL32.dll_CancelThreadpoolIo]
mov eax, dword [ebp - 0x1c]
or edi, 0xffffffff
cmp eax, 1
jne 0x43a918
push 0
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
push eax
mov eax, dword [ebp - 0x14]
push esi
push dword [eax + 0x3c]
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
or edi, 0xffffffff
test eax, eax
cmovne edi, dword [ebp - 0x1c]
cmp edi, 0xffffffff
jne 0x43a8f3
mov edx, dword [ebp - 0x18]
sub esp, 0x14
mov ecx, esp
call fcn.0043c5d0
lea ecx, [ebp - 0x20]
call fcn.0043b230
add esp, 0x14
mov ecx, dword [ebp - 0x24]
mov byte [ebp - 4], 1
push eax
mov edx, dword [ecx]
call dword [edx + 8]
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 0
push eax
call fcn.00465e7f
add esp, 4
test esi, esi
je 0x43a902
push 0x1c
push esi
call fcn.0047df48
add esp, 8
mov eax, edi
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
test eax, eax
jne 0x43a8be
mov edx, dword [ebp - 0x18]
cmp edx, 0x26
jne 0x43a8c1
mov ecx, dword [ebp - 0x24]
push 0
mov eax, dword [ecx]
call dword [eax + 0xc]
xor edi, edi
jmp 0x43a8f3