joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40434d
Capabilities:
Get file version info

Disassembly:
push ebp
sub esp, 0x224
lea ebp, [esp - 4]
mov eax, dword [0x4111b4]
xor eax, ebp
mov dword [ebp + 0x224], eax
push 0x14
mov eax, 0x40a7ca
call fcn.00409b4c
mov ecx, dword [ebp + 0x234]
mov edi, dword [ebp + 0x230]
xor ebx, ebx
push ebx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x20], ebx
call dword [sym.imp.MSVCP90.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
cmp esi, ebx
jne 0x4043af
push 0x40c360
mov ecx, edi
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
mov eax, edi
jmp 0x40448d
lea ecx, [ebp]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
push esi
mov dword [ebp - 4], 1
call sub.MSVCR90.dll_void____cdecl_operator_new___unsigned_int_
push esi
mov edi, eax
push ebx
push edi
call sub.MSVCR90.dll_memset
mov ecx, dword [ebp - 0x10]
add esp, 0x10
push edi
push esi
push ebx
call dword [sym.imp.MSVCP90.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x404463
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
push eax
push str.VarFileInfoTranslation
push edi
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x1c], ebx
call sub.VERSION.dll_VerQueryValueW
xor eax, eax
push 0x206
mov word [ebp + 0x1c], ax
lea eax, [ebp + 0x1e]
push ebx
push eax
call sub.MSVCR90.dll_memset
mov eax, dword [ebp - 0x1c]
movzx ecx, word [eax + 2]
movzx eax, word [eax]
push ecx
push eax
push 0x40bd30
lea eax, [ebp + 0x1c]
push 0x104
push eax
call dword [sym.imp.MSVCR90.dll__snwprintf]
add esp, 0x20
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 0x1c]
push eax
push edi
mov dword [ebp - 0x14], ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x404463
cmp dword [ebp - 0x14], ebx
je 0x404463
push dword [ebp - 0x14]
lea ecx, [ebp]
call dword [0x40b104]
push edi
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
pop ecx
mov ecx, dword [ebp - 0x18]
lea eax, [ebp]
push eax
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea ecx, [ebp]
mov dword [ebp - 0x20], 1
mov byte [ebp - 4], bl
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x224]
xor ecx, ebp
call fcn.00409ade
add ebp, 0x228
leave
ret
Function at 0x408521
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x144
mov eax, dword [0x4111b4]
xor eax, ebp
mov dword [ebp + 0x74], eax
push ebx
push esi
push 0x118
xor ebx, ebx
lea eax, [ebp - 0xa4]
push ebx
push eax
call sub.MSVCR90.dll_memset
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
add esp, 0xc
lea eax, [ebp - 0xa8]
push eax
mov dword [ebp - 0xa8], 0x11c
call esi
test eax, eax
jne 0x408587
lea eax, [ebp - 0xa8]
push eax
mov dword [ebp - 0xa8], 0x114
call esi
test eax, eax
je 0x40869c
push edi
push 8
pop ecx
push str.GetNativeSystemInfo
xor eax, eax
mov dword [ebp - 0xcc], ebx
lea edi, [ebp - 0xc8]
push 0x40c184
rep stosd dword es:[edi], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
pop edi
cmp eax, ebx
je 0x4085c2
lea ecx, [ebp - 0xcc]
push ecx
call eax
jmp 0x4085cf
lea eax, [ebp - 0xcc]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [ebp - 0x98], 2
jne 0x40864e
cmp dword [ebp - 0xa4], 4
ja 0x4085e5
push 5
jmp 0x40864b
cmp dword [ebp - 0xa4], 5
jne 0x408627
cmp dword [ebp - 0xa0], ebx
jne 0x4085fa
push 6
jmp 0x40864b
xor eax, eax
inc eax
cmp dword [ebp - 0xa0], eax
jne 0x408609
push 7
jmp 0x40864b
cmp dword [ebp - 0xa0], 2
jne 0x408649
cmp byte [ebp + 0x72], al
jne 0x408623
push 9
pop eax
cmp word [ebp - 0xcc], ax
je 0x40869e
push 8
jmp 0x40864b
cmp dword [ebp - 0xa4], 6
jne 0x408649
cmp dword [ebp - 0xa0], ebx
jne 0x40863c
push 0xa
jmp 0x40864b
cmp dword [ebp - 0xa0], 1
jne 0x408649
push 0xb
jmp 0x40864b
push 0x14
pop eax
jmp 0x40869e
xor eax, eax
inc eax
cmp dword [ebp - 0x98], eax
jne 0x40869c
cmp dword [ebp - 0xa4], 4
jne 0x40869c
cmp dword [ebp - 0xa0], ebx
je 0x40869e
cmp dword [ebp - 0xa0], 0xa
jne 0x40868f
cmp word [ebp - 0x92], 0x41
je 0x40868b
cmp word [ebp - 0x92], 0x42
je 0x40868b
push 2
jmp 0x40864b
push 3
jmp 0x40864b
cmp dword [ebp - 0xa0], 0x5a
jne 0x40869c
push 4
jmp 0x40864b
xor eax, eax
mov ecx, dword [ebp + 0x74]
pop esi
xor ecx, ebp
pop ebx
call fcn.00409ade
add ebp, 0x78
leave
ret

Function at 0x408703
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
jbe 0x40873b
push dword [ebp + 8]
call dword [sym.imp.MSVCR90.dll_wcslen]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.MSVCR90.dll__wcsnicmp]
add esp, 0x10
test eax, eax
je 0x40873b
xor eax, eax
inc eax
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x103e63f0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x103eb494]
cmp dword [eax + 0x28], 0
jne 0x103e6408
xor eax, eax
jmp 0x103e6537
mov ecx, dword [0x103eb414]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
add edx, 0xe
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
mov dword [0x103eb408], ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 8]
mov dword [0x103eb404], eax
push 0
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 0x10], eax
push 1
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 0x18], eax
mov ecx, dword [0x103eb408]
mov dword [ebp - 0x40], ecx
mov edx, dword [0x103eb404]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x40]
shr eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 8]
shr ecx, 1
mov dword [ebp - 0x1c], ecx
push 0
mov edx, dword [0x103eb48c]
push edx
push 0
push 0
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x40]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x14]
push eax
push 0x80000000
push 0x103ea604
push 0x103ea620
push 0x88
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov dword [0x103eb400], ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.103e6330
push 5
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0x103e63c0
mov edx, dword [0x103eb494]
mov eax, dword [edx + 0x34]
imul eax, eax, 0x3e8
push eax
push 0
push 0
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [0x103eb40c], eax
push 1
push 0
push 0
push 0
lea ecx, [ebp - 0x3c]
push ecx
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x103e6537
cmp dword [ebp - 0x38], 0x12
jne 0x103e652b
mov dword [0x103eb41c], 0
call fcn.103e6540
xor eax, eax
jmp 0x103e6537
lea edx, [ebp - 0x3c]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x103e64fc
mov esp, ebp
pop ebp
ret 4

Function at 0x103e7840
Capabilities:
Read .ini file
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebp
mov dword [ebp], 0
add ebp, 4
mov dword [ebp], 0
add ebp, 4
mov dword [ebp], 0
add ebp, 4
mov dword [ebp], 0
add ebp, 4
mov dword [ebp], 0
add ebp, 4
mov dword [ebp], 0
pop ebp
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x103e820c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edi, 0x103ea118
sub eax, eax
test esi, esi
je 0x103e82e4
sub eax, 1
test ecx, ecx
je 0x103e82e2
test esi, 3
je 0x103e824a
xor al, byte [esi]
inc esi
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x103e822f
mov edx, ecx
and edx, 7
shr ecx, 3
je 0x103e82c9
xor eax, dword [esi]
add esi, 4
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
xor eax, dword [esi]
add esi, 4
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x103e8254
mov ecx, edx
test ecx, ecx
je 0x103e82e2
xor al, byte [esi]
inc esi
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x103e82cf
not eax
mov dword [esp + 0x1c], eax
popal
ret

Function at 0x103e82ec
Capabilities:
Decompress data using aplib

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, 0x80
xor ebx, ebx
movsb byte es:[edi], byte [esi]
mov bl, 2
call fcn.103e836f
jae 0x103e82fa
xor ecx, ecx
call fcn.103e836f
jae 0x103e8329
xor eax, eax
call fcn.103e836f
jae 0x103e8339
mov bl, 2
inc ecx
mov al, 0x10
call fcn.103e836f
adc al, al
jae 0x103e831b
jne 0x103e8365
stosb byte es:[edi], al
jmp 0x103e82fd
call fcn.103e837b
sub ecx, ebx
jne 0x103e8342
call fcn.103e8379
jmp 0x103e8361
lodsb al, byte [esi]
shr eax, 1
je 0x103e838b
adc ecx, ecx
jmp 0x103e835e
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.103e8379
cmp eax, 0x7d00
jae 0x103e835e
cmp ah, 5
jae 0x103e835f
cmp eax, 0x7f
ja 0x103e8360
inc ecx
inc ecx
xchg ebp, eax
mov eax, ebp
mov bl, 1
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x103e82fd
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret

Function at 0x103e8c7c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x103eb000]
jne 0x103e8c86
repz ret
jmp fcn.103e8f2d

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x401e40
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x429db8
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [ebp - 0x40]
call fcn.004012f0
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x18], eax
cmp ecx, 0xb
ja 0x401fd6
lea edx, [ebp - 0x40]
call fcn.00401c20
test eax, eax
je 0x401fd6
lea ecx, [ebp - 0x40]
call fcn.00401cf0
mov eax, dword [ebp + 0x18]
lea ebx, [esi + 0x1c]
mov dword [esi + 0x28], eax
mov eax, dword [ebp + 0x1c]
mov dword [esi + 0x2c], eax
mov dword [ebp + 0x14], 0
mov word [ebp + 0x11], 0xff00
mov byte [ebp + 0x10], 0
mov dword [ebp + 0xc], ebx
lea esp, [esp]
push dword [esi + 0x2c]
push dword [esi + 0x28]
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push dword [ebp + 8]
mov edi, eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push edi
push eax
mov dword [ebx], eax
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
push 0xcc0020
push dword [esi + 0x18]
push dword [esi + 0x14]
push dword [ebp + 8]
push dword [esi + 0x2c]
push dword [esi + 0x28]
push 0
push 0
push dword [ebx]
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esi + 0x2c]
lea ecx, [ebp - 0x40]
mov ebx, dword [ebx]
mov dword [ebp + 0x18], eax
mov eax, dword [esi + 0x28]
mov edi, eax
imul edi, dword [ebp + 0x14]
cmp byte [ebp - 0x23], 0
mov dword [ebp + 0x1c], eax
setne byte [ebp + 0x13]
call fcn.00401520
push dword [ebp + 0x10]
mov ecx, dword [ebp + 0x18]
mov eax, dword [ebp + 0x1c]
push ecx
push eax
push 0
push edi
push dword [ebp - 0x18]
push ecx
push eax
push 0
push 0
push ebx
call dword [sym.imp.MSIMG32.dll_AlphaBlend]
lea ecx, [ebp - 0x40]
call fcn.00401a30
mov eax, dword [ebp + 0x14]
mov ebx, dword [ebp + 0xc]
inc eax
add ebx, 4
mov dword [ebp + 0x14], eax
mov dword [ebp + 0xc], ebx
cmp eax, 3
jl 0x401ed0
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x401fb6
xorps xmm0, xmm0
mov dword [ebp - 0x28], 0
push eax
movdqu xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x20], 0xffffffff
mov dword [ebp - 0x1c], 0xffffffff
mov word [ebp - 0x24], 0
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 0x28]
mov edx, dword [esi + 0x18]
add eax, ecx
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x2c]
add eax, edx
mov dword [esi + 4], ecx
mov dword [esi + 8], edx
mov dword [esi + 0x10], eax
xor esi, esi
jmp 0x401fdb
mov esi, 1
lea ecx, [ebp - 0x40]
call fcn.004013a0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
Function at 0x403720
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, ecx
push 0x1028
push 0
lea ebx, [edi + 0x10dc]
push ebx
call fcn.00415320
push dword [ebp + 8]
push 0x800
push ebx
call fcn.00411c67
push dword [ebp + 0xc]
lea eax, [ebx + 0x800]
push 0x400
push eax
call fcn.00411c67
push dword [ebp + 0xc]
lea eax, [ebx + 0xc00]
push 0x400
push eax
call fcn.00411c67
mov dword [ebx + 0x1000], 2
mov dword [ebx + 0x1008], 1
mov dword [ebx + 0x1010], ebx
mov byte [ebx + 0x1014], 0
mov dword [ebx + 0x100c], ebx
mov eax, dword [edi]
mov dword [ebx + 0x1018], eax
mov eax, dword [edi + 0x10d8]
mov dword [ebx + 0x1020], eax
mov eax, dword [ebp + 0x14]
mov dword [ebx + 0x101c], eax
lea eax, [edi + 0x2104]
mov dword [ebx + 0x1024], eax
lea eax, [edi + 4]
push 0x10d4
push dword [edi]
push eax
call fcn.00416020
push ebx
push 0
push 0x402700
call fcn.00413060
add esp, 0x48
pop edi
pop ebx
pop ebp
ret 0x10
Function at 0x404530
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 0x288
mov dword [ebp - 4], 0x288
call fcn.00411726
add esp, 4
mov esi, eax
lea eax, [ebp - 4]
push eax
push esi
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
cmp eax, 0x6f
jne 0x40456e
push esi
call fcn.004117b8
push dword [ebp - 4]
call fcn.00411726
add esp, 8
mov esi, eax
lea eax, [ebp - 4]
push eax
push esi
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
test eax, eax
jne 0x4045bf
movzx eax, byte [esi + 0x199]
push eax
movzx eax, byte [esi + 0x198]
push eax
movzx eax, byte [esi + 0x197]
push eax
movzx eax, byte [esi + 0x196]
push eax
movzx eax, byte [esi + 0x195]
push eax
movzx eax, byte [esi + 0x194]
push eax
push str._02x__02x__02x__02x__02x__02x
push 0x12
push dword [ebp + 8]
call fcn.0041331c
add esp, 0x24
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x4056a0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xfe78
call fcn.00415e50
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov dword [ebp - 0xfe74], eax
mov eax, dword [ebp + 0x10]
push 0x3ff
mov dword [ebp - 0xfe70], eax
lea eax, [ebp - 0x413]
push 0
push eax
mov byte [ebp - 0x414], 0
call fcn.00415320
xor eax, eax
mov byte [ebp - 0x10], 0
push 0xfa00
push eax
mov dword [ebp - 0xf], eax
mov word [ebp - 0xb], ax
lea eax, [ebp - 0xfe14]
push eax
call fcn.00415320
add esp, 0x18
lea eax, [ebp - 0xfe14]
mov ecx, ebx
push esi
push eax
call fcn.00405540
push 0x405680
push 0xc80
push dword [ebx]
lea eax, [ebp - 0xfe14]
push eax
call fcn.00413460
xor edi, edi
add esp, 0x10
cmp dword [ebx], edi
jle 0x40578f
lea esi, [ebp - 0xfe14]
lea eax, [esi + 0x480]
push eax
lea eax, [ebp - 0x414]
push 0x400
push eax
call fcn.00411d60
push str.in_disk
push esi
call fcn.00411b8b
add esp, 0x14
test eax, eax
jne 0x405784
push 6
lea eax, [esi + 0x80]
push eax
lea eax, [ebp - 0x10]
push 7
push eax
call fcn.00411cbc
add esp, 0x10
inc edi
add esi, 0xc80
cmp edi, dword [ebx]
jl 0x405743
mov eax, dword [ebp - 0xfe70]
cmp byte [eax], 0
je 0x4057af
push eax
lea eax, [ebp - 0x414]
push 0x400
push eax
call fcn.00411d60
add esp, 0xc
cmp byte [ebp - 0x10], 0
je 0x4057cd
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x414]
push 0x400
push eax
call fcn.00411d60
add esp, 0xc
lea edx, [ebp - 0xfe70]
lea ecx, [ebp - 0x414]
call fcn.004050b0
mov edi, dword [ebp - 0xfe70]
mov esi, edi
lea ecx, [esi + 1]
lea esp, [esp]
mov al, byte [esi]
inc esi
test al, al
jne 0x4057f0
push 0x58
lea eax, [ebp - 0xfe6c]
sub esi, ecx
push 0
push eax
call fcn.00415320
add esp, 0xc
mov dword [ebp - 0xfe58], 0
lea ecx, [ebp - 0xfe6c]
mov dword [ebp - 0xfe5c], 0
mov dword [ebp - 0xfe6c], 0x67452301
mov dword [ebp - 0xfe68], 0xefcdab89
push esi
push edi
mov dword [ebp - 0xfe64], 0x98badcfe
mov dword [ebp - 0xfe60], 0x10325476
call fcn.004058d0
push dword [ebp - 0xfe74]
lea ecx, [ebp - 0xfe6c]
call fcn.004059a0
push edi
call fcn.00411712
mov ecx, dword [ebp - 8]
add esp, 4
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00411717
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4063c0
Capabilities:
Create a process with modified i/o handles and window
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push esi
mov esi, ecx
test esi, esi
je 0x406459
push 0x40
lea eax, [ebp - 0x54]
push 0
push eax
call fcn.00415320
add esp, 0xc
mov dword [ebp - 0x58], 0x44
xor eax, eax
mov dword [ebp - 0x2c], 0x101
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x58]
push eax
push 0
push 0
push 0
push 1
push 0
push 0
lea eax, [esi + 0x400]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x40643c
push 0xffffffffffffffff
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x10]
call esi
pop esi
mov esp, ebp
pop ebp
ret
inc dword [esi + 0x1034]
cmp dword [esi + 0x1034], 5
mov byte [esi + 0x102f], 0
jle 0x406459
mov byte [esi + 0x102f], 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x408950
Capabilities:
Create thread
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
push 0x78
mov esi, ecx
call fcn.00412002
mov edi, eax
add esp, 4
test edi, edi
je 0x4089b0
mov edx, dword [esi + 0x414]
mov dword [edi + 0x14], edx
mov dword [edi + 0x2c], vtable.CMyPNGButton.0
mov byte [edi + 0x5c], 1
push 0
push dword [esi]
mov dword [0x489918], edi
mov byte [esi + 0x60d], 0
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [esi + 0x610]
mov ecx, edi
push eax
push eax
lea eax, [esi + 0x60f]
push eax
push dword [esi]
call fcn.0040cdc0
jmp 0x4089b2
xor edi, edi
push esi
push 0
push 0x406890
call fcn.00413060
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
lea eax, [ebp - 0x1c]
add esp, 0xc
mov dword [ebp - 0x1c], 0
xorps xmm0, xmm0
movdqu xmmword [ebp - 0x18], xmm0
push 0
push 0
push 0
push eax
movq qword [ebp - 8], xmm0
call esi
test eax, eax
je 0x408a12
mov ebx, dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x1c]
push eax
call ebx
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 0
push 0
push 0
lea eax, [ebp - 0x1c]
push eax
call esi
test eax, eax
jne 0x4089f2
test edi, edi
je 0x408a4e
push dword [edi + 0x20]
mov esi, dword [sym.imp.GDI32.dll_DeleteDC]
call esi
push dword [edi + 0x24]
call esi
push dword [edi + 0x28]
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [edi + 0x2c], vtable.CMyPNGButton.0
push dword [edi + 0x48]
call esi
push dword [edi + 0x4c]
call esi
push dword [edi + 0x50]
call esi
push edi
call fcn.00411712
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x408a60
Capabilities:
Contain obfuscated stackstrings
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
push eax
mov esi, ecx
call fcn.004076c0
test eax, eax
je 0x408a96
or eax, 0xffffffff
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00411717
mov esp, ebp
pop ebp
ret 4
mov ecx, 0x65
mov dword [ebp - 0x28], 0x68005a
push ecx
lea eax, [ebp - 0x28]
mov dword [ebp - 0x24], 0x440075
push eax
mov dword [ebp - 0x20], 0x6e006f
mov dword [ebp - 0x1c], 0x460067
mov dword [ebp - 0x18], 0x6e0061
mov dword [ebp - 0x14], 0x590067
mov dword [ebp - 0x10], 0x2e0075
mov dword [ebp - 0xc], 0x780065
mov dword [ebp - 8], 0x220065
call fcn.0040be70
test eax, eax
push esi
setne al
push 0
push 0x408930
mov byte [esi + 0x60e], al
call fcn.00413060
mov ecx, dword [ebp - 4]
add esp, 0xc
xor ecx, ebp
xor eax, eax
pop edi
pop esi
call fcn.00411717
mov esp, ebp
pop ebp
ret 4