joyce8/EMBER2024-capa huggingface dataset:
Function at 0x468430
Capabilities:
Terminate process

Disassembly:
mov eax, dword [0x48663c]
push ebx
mov ebx, dword [0x486038]
push edi
mov edi, eax
cmp eax, 0x5dd
jne 0x468450
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetSystemTimeAdjustment]
mov eax, dword [0x471da0]
push eax
call fcn.00468390
add esp, 4
cmp dword [0x48663c], 0x2f
jne 0x468471
push 0
push 0
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
call fcn.004683b0
pop edi
pop ebx
ret
Function at 0x4686f0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x41c
mov eax, dword [0x471110]
xor eax, esp
mov dword [esp + 0x418], eax
mov eax, dword [0x4758dc]
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
xor ebx, ebx
mov dword [0x48663c], eax
xor esi, esi
lea esp, [esp]
cmp dword [0x48663c], 0x1c7
jne 0x468755
xor eax, eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
push ebx
lea eax, [esp + 0x34]
push eax
push ebx
mov dword [esp + 0x28], ebx
call edi
cmp esi, 0x846bcc
jne 0x468768
mov eax, 0x15
add dword [0x48663c], eax
inc esi
cmp esi, 0x1260ac5
jl 0x468720
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteTimerQueueTimer]
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
jmp 0x468790
cmp dword [0x48663c], 0xc31
jne 0x4687af
push 0
push 0
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x1c], 0
call ebp
call edi
call ebx
cmp esi, 0x62b1d4e
jg 0x4687c4
inc esi
cmp esi, 0x3661b39c
jl 0x468790
call fcn.00468480
mov ecx, dword [esp + 0x428]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.00401bcf
add esp, 0x41c
ret 0x10
Function at 0x432006
Capabilities:
Encode data using xor

Disassembly:
mov eax, section..rsrc
nop
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x23fe034b
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x432024
nop
nop
nop
mov eax, section..data
mov ebx, 0x42f314
nop
nop
mov ecx, 0x64fb432d
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x432084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x7401135a
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 4]
push eax
push 0x7400248c
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x740113c9
lea eax, [ebp - 8]
mov dword [ebp - 8], 4
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0x74002838
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x740113c0
cmp dword [ebp - 0xc], 4
jne 0x740113c0
cmp dword [ebp - 0x10], eax
je 0x740113c0
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
and dword [0x7404b5c0], 0
xor eax, eax
leave
ret
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [0x7404b5c0]
test eax, eax
jns 0x740113df
push 3
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
mov dword [0x7404b5c0], eax
leave
ret

Function at 0x740113e1
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0xc]
push esi
push 4
pop esi
mov dword [ebp - 8], esi
sub eax, 0
je 0x740114bf
sub eax, 1
jne 0x740114bf
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
mov dword [0x7404bb90], 0x50
call 0x7405ae8e
test eax, eax
je 0x74011431
mov eax, dword [0x7404bb90]
lea ecx, [eax + eax]
mov dword [0x7404bb90], ecx
jmp 0x74011437
mov ecx, dword [0x7404bb90]
lea eax, [ecx + ecx]
mov dword [0x7404bb88], ecx
mov dword [0x7404bb98], eax
imul eax, ecx, 0x28
mov dword [0x7404bb8c], eax
lea eax, [ebp - 4]
push eax
push 0x7400248c
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x740114b0
lea eax, [ebp - 8]
push eax
push 0x7404bb94
lea eax, [ebp - 0xc]
push eax
push 0
push 0x74002844
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x7401149b
cmp dword [ebp - 0xc], esi
jne 0x7401149b
mov eax, dword [0x7404bb94]
cmp eax, esi
jb 0x7401149b
cmp eax, 0x80
jbe 0x740114a5
mov dword [0x7404bb94], 0x18
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x740114ba
mov dword [0x7404bb94], 0x18
call fcn.740114c7
xor eax, eax
inc eax
pop esi
leave
ret 0xc
Function at 0x7403f300
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x7403f33e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x7403f336
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x7403f340
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x7403f326
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x7403f410
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x7403f441
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x7403f441
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x7403f441
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x433004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
nop
mov ebx, 0x40de38
mov ecx, 0x402f6394
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x43304e
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x433024
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x4304d8
mov ecx, 0x2f844577
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x43306c
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x411897
Capabilities:
Access peb ldr_data

Disassembly:
lds esp, [esp + edx*2]
call fcn.0040f6f4
xchg ebx, eax
xchg ebp, eax
push eax
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov esi, dword [eax + 0x1c]
lodsd eax, dword [esi]
cmp byte [eax + 0x1c], 0x18
je 0x4118b8
xchg esi, eax
lodsd eax, dword [esi]
mov eax, dword [eax + 8]
push eax
call fcn.0040f6f4
aas
pop ecx
cmp eax, 0x8bf88bf0
inc edi
cmp al, 0x8b
push esp
pop es
js 0x4118d2
xlatb
mov ecx, dword [edx + 0x18]
mov ebx, dword [edx + 0x20]
add ebx, edi
sbb byte [ebx - 0x20fcdfa6], cl
call fcn.0040f6f4
adc dh, byte [edx - 0x74b6a797]
xor al, 0x8b
dec ecx
mov esi, dword [ebx + ecx*4]
add esi, edi
mov eax, 0x50746547
cmp dword [esi], eax
jne 0x4118e1
mov eax, 0x41636f72
cmp dword [esi + 4], eax
jne 0x4118e1
call fcn.0040f6f4
bnd ret 0x99b9

Function at 0x411d2b
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x42588f
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x428050]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov edi, ecx
lea esi, [edi + 0x1e8]
push dword [esi + 8]
mov eax, dword [esi]
xor ebx, ebx
push ebx
mov ecx, esi
call dword [eax + 4]
lea eax, [esp + 0x10]
add edi, 0x168
push eax
call fcn.00411b99
push 0xe
lea ecx, [esp + 0x14]
mov dword [esp + 0x34], ebx
call fcn.00411ca3
push 0xf
lea ecx, [esp + 0x14]
call fcn.00411ca3
push 0x11
push esi
lea edi, [esp + 0x18]
call fcn.00411c5e
push 0x10
push esi
call fcn.00411c5e
push 9
push esi
call fcn.00411c5e
push 6
push esi
call fcn.00411c5e
push 0x12
push esi
call fcn.00411c5e
push 0x14
push esi
call fcn.00411c5e
push 0x13
push esi
call fcn.00411c5e
push 0x15
push esi
call fcn.00411c5e
push 0xa
push esi
call fcn.00411c5e
push 0x16
push esi
call fcn.00411c5e
mov eax, esi
call fcn.00411c24
push ebx
push 0x61
call fcn.00414c07
push ebx
push 0x62
call fcn.00414c07
push ebx
push 0x63
call fcn.00414c07
push 0x14
pop edi
mov eax, esi
call fcn.00411cdc
push 6
pop edi
mov eax, esi
call fcn.00411cdc
push 9
pop edi
mov eax, esi
call fcn.00411cdc
push 0x11
pop edi
mov eax, esi
call fcn.00411cdc
or dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.00412a71
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401510
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x611864
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x6a0f4c]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
cmp dword [esp + 0x30], 0
mov dword [esp + 0xc], 0
mov edi, 1
je 0x40156a
lea ecx, [esi + 0x48]
mov dword [esi], 0x68a2f0
call dword [sym.imp.MSVCP90.dll_protected:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::constructor_void_]
mov dword [esp + 0x1c], 0
mov dword [esp + 0xc], edi
push 0
push 0
push 0
mov ecx, esi
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char_____bool_]
mov dword [esp + 0x1c], edi
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov dword [esi + ecx], vtable.google::LogMessage::LogStream.0
lea edi, [esi + 4]
mov ecx, edi
call dword [sym.imp.MSVCP90.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void_]
mov edx, dword [edi + 0x14]
mov eax, dword [esp + 0x24]
mov dword [edi], vtable.google::base_logging::LogStreamBuf.0
mov dword [edx], eax
mov ecx, dword [edi + 0x24]
mov edx, dword [esp + 0x28]
mov dword [ecx], eax
mov eax, dword [edi + 0x34]
add edx, 0xfffffffe
mov dword [eax], edx
mov ecx, dword [esp + 0x2c]
mov byte [esp + 0x1c], 2
mov edx, dword [esi]
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], esi
mov ecx, dword [edx + 4]
push edi
add ecx, esi
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_streambuf_char__struct_std::char_traits_char______thiscall_std::basic_ios_char__struct_std::char_traits_char__::rdbuf_class_std::basic_streambuf_char__struct_std::char_traits_char____]
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret 0x10

Function at 0x4017e0
Capabilities:
Get hostname

Disassembly:
sub esp, 0x18
mov eax, dword [0x6a0f4c]
xor eax, esp
mov dword [esp + 0x14], eax
lea eax, [esp]
push eax
lea ecx, [esp + 8]
push ecx
mov dword [esp + 8], 0x10
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
mov ecx, esi
test eax, eax
je 0x401825
lea edx, [esp + 4]
push edx
call dword [0x614444]
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.005fff12
add esp, 0x18
ret
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::clear_void_]
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.005fff12
add esp, 0x18
ret
Function at 0x402190
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x18
cmp byte [0x6a1244], 0
push ebx
push esi
je 0x4021b4
cmp byte [0x6a95db], 0
je 0x4021b4
mov esi, eax
call fcn.00401850
mov ebx, eax
test ebx, ebx
jne 0x4021d9
call dword [sym.imp.MSVCR90.dll___iob_func]
mov ecx, dword [esp + 0x24]
add eax, 0x40
push eax
mov eax, dword [esp + 0x2c]
push 1
push eax
push ecx
call dword [sym.imp.MSVCR90.dll_fwrite]
add esp, 0x10
pop esi
pop ebx
add esp, 0x18
ret
push ebp
push edi
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
lea edx, [esp + 0x10]
mov esi, eax
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
mov edi, dword [sym.imp.MSVCR90.dll___iob_func]
movzx ebp, word [esp + 0x18]
call edi
add eax, 0x40
push eax
call dword [sym.imp.MSVCR90.dll_fflush]
mov eax, ebx
add esp, 4
sub eax, 1
je 0x40222e
sub eax, 1
je 0x402227
sub eax, 1
je 0x402220
xor eax, eax
jmp 0x402233
mov eax, 6
jmp 0x402233
mov eax, 2
jmp 0x402233
mov eax, 4
mov ebx, dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
or eax, 8
push eax
push esi
call ebx
call edi
mov ecx, dword [esp + 0x2c]
add eax, 0x40
push eax
mov eax, dword [esp + 0x34]
push 1
push eax
push ecx
call dword [sym.imp.MSVCR90.dll_fwrite]
call edi
add eax, 0x40
push eax
call dword [sym.imp.MSVCR90.dll_fflush]
add esp, 0x14
push ebp
push esi
call ebx
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x18
ret

Function at 0x4022a0
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x1c
cmp eax, dword [0x6a1220]
jge 0x4022b4
cmp byte [0x6a95da], 0
je 0x4022fa
push esi
push edi
call fcn.00402190
add esp, 8
push esi
push edi
lea ecx, [esp + 8]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const___unsigned_int_]
cmp dword [eax + 0x18], 0x10
jb 0x4022e7
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea ecx, [esp]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
add esp, 0x1c
ret
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea ecx, [esp]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
add esp, 0x1c
ret
Function at 0x405810
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x611c04
mov eax, dword fs:[0]
push eax
sub esp, 0x154
mov eax, dword [0x6a0f4c]
xor eax, esp
mov dword [esp + 0x14c], eax
push ebx
push edi
mov eax, dword [0x6a0f4c]
xor eax, esp
push eax
lea eax, [esp + 0x160]
mov dword fs:[0], eax
mov ebx, dword [esi + 0x10]
cmp dword [esi + 0xc], ebx
jbe 0x40585d
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov edi, dword [esi + 0xc]
mov eax, dword [esi]
mov dword [esp + 0xc], eax
cmp edi, dword [esi + 0x10]
jbe 0x405871
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0xc]
mov eax, dword [esi]
push ebx
push ecx
push edi
push eax
lea edx, [esp + 0x1c]
push edx
mov ecx, esi
call fcn.004070e0
lea eax, [esp + 0x4c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
or edi, 0xffffffff
test eax, eax
je 0x4058d5
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [esp + 0x18]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea edx, [esp + 0x14]
push edx
mov ecx, esi
mov dword [esp + 0x16c], 0
call fcn.00406af0
lea ecx, [esp + 0x14]
mov dword [esp + 0x168], edi
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
push str.C:_tmp_
lea ecx, [esp + 0x18]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea eax, [esp + 0x14]
push eax
mov ecx, esi
mov dword [esp + 0x16c], 1
call fcn.00406af0
lea ecx, [esp + 0x14]
mov dword [esp + 0x168], edi
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
push str.C:_temp_
lea ecx, [esp + 0x34]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea ecx, [esp + 0x30]
push ecx
mov ecx, esi
mov dword [esp + 0x16c], 2
call fcn.00406af0
lea ecx, [esp + 0x30]
mov dword [esp + 0x168], edi
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [esp + 0x160]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [esp + 0x14c]
xor ecx, esp
call fcn.005fff12
mov esp, ebp
pop ebp
ret
Function at 0x405970
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x611dd2
mov eax, dword fs:[0]
push eax
sub esp, 0x14c
mov eax, dword [0x6a0f4c]
xor eax, esp
mov dword [esp + 0x148], eax
push esi
push edi
mov eax, dword [0x6a0f4c]
xor eax, esp
push eax
lea eax, [esp + 0x158]
mov dword fs:[0], eax
mov eax, dword [0x6a88a4]
test eax, eax
jne 0x405ace
push 0x18
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x160], 0
test eax, eax
je 0x4059dc
mov ecx, eax
call fcn.00406970
jmp 0x4059de
xor eax, eax
or edi, 0xffffffff
mov dword [esp + 0x160], edi
cmp dword [0x6b0d88], 0
mov dword [0x6a88a4], eax
je 0x405a38
cmp dword [0x6b0d8c], 0x10
mov eax, dword [0x6b0d78]
jae 0x405a09
mov eax, 0x6b0d78
push eax
lea ecx, [esp + 0x18]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea eax, [esp + 0x14]
mov dword [esp + 0x160], 1
mov ecx, dword [0x6a88a4]
push eax
call fcn.00406af0
lea ecx, [esp + 0x14]
jmp 0x405abc
mov esi, eax
call fcn.00405810
push 0x104
lea ecx, [esp + 0x50]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x405a8e
lea edx, [esp + 0x4c]
push edx
lea ecx, [esp + 0x18]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea eax, [esp + 0x14]
mov dword [esp + 0x160], 2
mov ecx, dword [0x6a88a4]
push eax
call fcn.00406af0
lea ecx, [esp + 0x14]
mov dword [esp + 0x160], edi
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
push 0x68a194
lea ecx, [esp + 0x34]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea ecx, [esp + 0x30]
mov dword [esp + 0x160], 3
push ecx
mov ecx, dword [0x6a88a4]
call fcn.00406af0
lea ecx, [esp + 0x30]
mov dword [esp + 0x160], edi
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, dword [0x6a88a4]
mov ecx, dword [esp + 0x158]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x148]
xor ecx, esp
call fcn.005fff12
add esp, 0x158
ret
Function at 0x409d60
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x409af0
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
push 0x61629c
push str.msvcrt.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
push 0x40
push 5
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edx, dword [ebp - 4]
mov byte [edx], 0xe9
mov eax, dword [ebp - 4]
add eax, 5
mov ecx, 0x409ce0
sub ecx, eax
mov edx, dword [ebp - 4]
mov dword [edx + 1], ecx
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 8]
push ecx
push 5
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov esp, ebp
pop ebp
ret
Function at 0x40a970
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0xc], 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebp - 0x20], eax
mov eax, dword [0x6a1ac0]
add eax, 1
mov dword [0x6a1ac0], eax
lea ecx, [ebp - 0xc]
push ecx
push 0
lea edx, [ebp - 0x20]
push edx
push 0x40a8b0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 8], eax
push 0xffffffffffffffff
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xc8
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x102
jne 0x40a9ed
mov eax, dword [ebp - 0x1c]
jmp 0x40a9ef
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x40aa00
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x6a0f4c]
xor eax, ebp
mov dword [ebp - 0x14], eax
cmp dword [ebp + 8], 0
jne 0x40aa21
or eax, 0xffffffff
jmp 0x40ab58
xor eax, eax
mov word [ebp - 0x220], ax
push 0x206
push 0
lea ecx, [ebp - 0x21e]
push ecx
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0x6e
call fcn.004188d0
push eax
push str.res:___s__d
push 0x104
lea edx, [ebp - 0x220]
push edx
call dword [sym.imp.MSVCR90.dll_swprintf_s]
add esp, 0x14
lea eax, [ebp - 0x220]
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.SHLWAPI.dll_PathGetArgsW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x224], 0
jmp 0x40aaae
mov eax, dword [ebp - 0x224]
add eax, 1
mov dword [ebp - 0x224], eax
mov ecx, dword [ebp - 0x224]
cmp ecx, dword [ebp - 8]
jge 0x40ab47
push 0xc
push str.__url
mov edx, dword [ebp - 0x224]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + edx*4]
push ecx
call sub.MSVCR90.dll_memcmp
add esp, 0xc
test eax, eax
jne 0x40aaf1
mov edx, dword [ebp - 0x224]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + edx*4]
add ecx, 0xc
mov dword [ebp - 0x10], ecx
jmp 0x40ab47
push 0xe
push 0x6163b4
mov edx, dword [ebp - 0x224]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + edx*4]
push ecx
call sub.MSVCR90.dll_memcmp
add esp, 0xc
test eax, eax
je 0x40ab31
push 0x10
push 0x6163a0
mov edx, dword [ebp - 0x224]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + edx*4]
push ecx
call sub.MSVCR90.dll_memcmp
add esp, 0xc
test eax, eax
jne 0x40ab42
mov edx, dword [ebp - 0x224]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + edx*4]
mov dword [ebp - 0x10], ecx
jmp 0x40ab47
jmp 0x40aa9f
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 0x20]
call eax
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005fff12
mov esp, ebp
pop ebp
ret