joyce8/EMBER2024-capa huggingface dataset:
Function at 0x448c90
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x506040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xorps xmm0, xmm0
mov dword [ebp - 0x41c], 0x400
mov esi, ecx
movq qword [ebp - 0x410], xmm0
lea eax, [ebp - 0x408]
mov dword [ebp - 0x420], esi
push edi
mov dword [ebp - 0x418], eax
mov dword [ebp - 0x410], 0
call fcn.004a8940
mov dword [ebp - 0x40c], eax
lea edx, [ebp - 0x41c]
lea eax, [ebp - 0x410]
push eax
push ecx
mov ecx, dword [esi]
push 1
call fcn.004480e0
add esp, 0xc
test eax, eax
setg bl
cmp eax, 0x400
jne 0x448d85
mov edi, dword [sym.imp.WS2_32.dll_WSARecv]
mov esi, dword [esi]
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push 0
push 0
lea eax, [ebp - 0x40c]
mov dword [ebp - 0x414], 0
push eax
lea eax, [ebp - 0x414]
mov dword [ebp - 0x40c], 0
push eax
push 1
lea eax, [ebp - 0x41c]
push eax
push esi
call edi
mov esi, eax
call fcn.004a8940
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x40
je 0x448d65
cmp eax, 0x4d2
jne 0x448d6a
call fcn.004a8940
test esi, esi
jne 0x448d85
call fcn.004a8940
cmp dword [ebp - 0x414], 0x400
mov esi, dword [ebp - 0x420]
je 0x448d10
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004ba66b
mov esp, ebp
pop ebp
ret

Function at 0x449880
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x506040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [ebp - 0x10], eax
push edi
mov edi, dword [ebp + 0x1c]
mov eax, dword [esi + 4]
add eax, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
cmp byte [ebp + 0x18], 0
push 0
je 0x4498d4
mov ecx, dword [esi + 4]
push 0
push edi
call fcn.00440670
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ba66b
mov esp, ebp
pop ebp
ret 0x18
mov ecx, dword [ebx]
cmp ecx, 0xffffffff
jne 0x4498fc
mov ecx, dword [esi + 4]
push 0x2719
push edi
call fcn.00440670
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ba66b
mov esp, ebp
pop ebp
ret 0x18
mov eax, dword [ebp + 0x14]
push edi
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push dword [ebp + 0x10]
push dword [ebp - 0x10]
push ecx
call dword [sym.imp.WS2_32.dll_WSARecv]
mov ebx, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x40
jne 0x449933
mov eax, 0x2746
jmp 0x449940
cmp eax, 0x4d2
mov ecx, 0x274d
cmove eax, ecx
test ebx, ebx
je 0x44996b
cmp eax, 0x3e5
je 0x44996b
push dword [ebp - 8]
mov ecx, dword [esi + 4]
push eax
push edi
call fcn.00440670
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ba66b
mov esp, ebp
pop ebp
ret 0x18
mov ecx, dword [esi + 4]
push edi
call fcn.00440600
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004ba66b
mov esp, ebp
pop ebp
ret 0x18
Function at 0x44b5e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c8ea4
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x506040]
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, ecx
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.MSVCP120.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void_]
mov eax, dword [ebp + 8]
lea ecx, [ebx + 0x38]
mov dword [ebp - 4], 0
mov dword [ebx], vtable.boost::asio::basic_streambuf_class_std::allocator_char__.0
mov dword [ecx], eax
mov dword [ebx + 0x3c], 0
mov dword [ebx + 0x40], 0
mov dword [ebx + 0x44], 0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x18]
cmp dword [ecx], 0x80
mov dword [ebp - 0x18], 0x80
cmovbe eax, ecx
lea ecx, [ebp - 0x14]
mov esi, dword [eax]
cmp esi, 1
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], esi
cmovae eax, ecx
mov dword [ebp - 0x18], 1
lea ecx, [ebx + 0x3c]
push dword [eax]
call fcn.0044bc20
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x3c]
mov dword [eax], ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
sub ecx, ecx
mov eax, dword [ebx + 0x2c]
mov dword [eax], ecx
mov eax, ebx
mov ecx, dword [ebx + 0x10]
mov edx, dword [ebx + 0x3c]
add esi, edx
sub esi, edx
mov dword [ecx], edx
mov ecx, dword [ebx + 0x20]
mov dword [ecx], edx
mov ecx, dword [ebx + 0x30]
mov dword [ecx], esi
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.004ba66b
mov esp, ebp
pop ebp
ret 8
Function at 0x4507d0
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x506040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 8]
cmp esi, 0xffffffff
jne 0x450811
call fcn.004a8940
mov dword [edi + 4], eax
or eax, esi
mov dword [edi], 0x2719
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ba66b
mov esp, ebp
pop ebp
ret
push 0
mov dword [ebp - 0x114], esi
mov dword [ebp - 0x118], 1
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push 0
push 0
push 0
lea eax, [ebp - 0x118]
push eax
lea eax, [esi + 1]
push eax
call dword [sym.imp.WS2_32.dll_select]
mov ebx, eax
call fcn.004a8940
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [edi], eax
mov dword [edi + 4], esi
test ebx, ebx
je 0x450868
jle 0x450876
call fcn.004a8940
mov dword [edi + 4], eax
mov dword [edi], 0
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004ba66b
mov esp, ebp
pop ebp
ret

Function at 0x450890
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x506040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
mov edi, edx
cmp esi, 0xffffffff
jne 0x4508d0
call fcn.004a8940
mov dword [edi + 4], eax
or eax, esi
mov dword [edi], 0x2719
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ba66b
mov esp, ebp
pop ebp
ret
push 0
mov dword [ebp - 0x214], esi
mov dword [ebp - 0x218], 1
mov dword [ebp - 0x10c], esi
mov dword [ebp - 0x110], 1
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push 0
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x218]
push eax
push 0
lea eax, [esi + 1]
push eax
call dword [sym.imp.WS2_32.dll_select]
mov ebx, eax
call fcn.004a8940
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [edi], eax
mov dword [edi + 4], esi
test ebx, ebx
js 0x45093a
call fcn.004a8940
mov dword [edi], 0
mov dword [edi + 4], eax
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004ba66b
mov esp, ebp
pop ebp
ret
Function at 0x459d60
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4ca8b8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x506040]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
sub esp, 0x18
mov ecx, esp
push 0xffffffffffffffff
push 0
push dword [ebp + 0x10]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
mov byte [ecx], 0
call fcn.0040f5e0
push dword [ebp + 0xc]
lea eax, [esp + 0x28]
push dword [ebp + 8]
push eax
call fcn.00459c90
add esp, 0x24
mov dword [esp + 0x30], 0
cmp dword [eax + 0x14], 0x10
jb 0x459dd1
mov eax, dword [eax]
mov dword [esp + 8], eax
mov ecx, esi
lea eax, [esp + 8]
push eax
call dword [sym.imp.MSVCR120.dll_public:_void___thiscall_std::exception::constructor_char_const__const_const__]
cmp dword [esp + 0x20], 0x10
mov dword [esi], vtable.std::runtime_error.0
jb 0x459dfc
push dword [esp + 0xc]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, dword [ebp + 8]
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x10], eax
mov eax, esi
mov dword [esi], vtable.std::_System_error.0
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x459fe0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ca944
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push esi
push edi
mov eax, dword [0x506040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.boost::detail::thread_data_base.0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [ebp - 4], 0
lea ecx, [edi + 0x14]
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
call fcn.0043d8a0
mov dword [edi + 0x14], eax
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
push 0
push 0
push 1
push 0
mov byte [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_CreateEventA]
test eax, eax
jne 0x45a0b1
push str.boost::thread_resource_error
push 0xb
lea ecx, [ebp - 0x3c]
call fcn.00410870
mov dword [ebp - 0x3c], vtable.boost::thread_resource_error.0
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 4
push eax
call fcn.00411950
mov dword [edi + 0x34], eax
mov eax, edi
mov byte [edi + 0x38], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x45a870
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4caa26
mov eax, dword fs:[0]
push eax
sub esp, 0x160
mov eax, dword [0x506040]
xor eax, esp
mov dword [esp + 0x158], eax
push ebx
push esi
push edi
mov eax, dword [0x506040]
xor eax, esp
push eax
lea eax, [esp + 0x170]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
push 0x148
mov dword [esp + 0x18], eax
lea eax, [esp + 0x20]
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea ecx, [esp + 0x1c]
call fcn.004668b0
mov dword [esp + 0x178], 0
lea ebx, [edi + 0x48]
mov eax, ecx
xchg dword [ebx], eax
sub esp, 0x18
mov esi, esp
mov dword [esp + 0x30], esi
mov dword [esi + 0x10], 0
push 0x14
mov byte [esp + 0x194], 1
call dword [sym.imp.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
test eax, eax
jne 0x45a915
call dword [sym.imp.MSVCP120.dll_void___cdecl_std::_Xbad_alloc_void_]
mov ecx, dword [esp + 0x2c]
mov dword [eax], vtable.._AV___Func_impl_U___Callable_obj_V___Bind__00HU___Pmf_wrap_P8CNewThirdpartyServer__AEHPAUHINSTANCE_____ZHV1_PAU2__std__QAVCNewThirdpartyServer__AAPAUHINSTANCE_____std___0A__std__V__allocator_V___Func_class_H___V_std___2_H___V_std__.0
mov dword [eax + 4], 0x45be50
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edi
mov dword [esi + 0x10], eax
mov byte [esp + 0x190], 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
push dword [esp + 0x30]
lea ecx, [esp + 0x3c]
call fcn.00466e00
xor eax, eax
xchg dword [ebx], eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x178], 0xffffffff
call fcn.00466970
mov eax, 1
mov ecx, dword [esp + 0x170]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x158]
xor ecx, esp
call fcn.004ba66b
mov esp, ebp
pop ebp
ret 8
Function at 0x45cd30
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x506040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push 0x10
mov edi, eax
push 1
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push edi
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, dword [ebp - 0x10]
push edi
mov dword [ebp - 0x14], eax
call dword [sym.imp.MSVCR120.dll_malloc]
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
test esi, esi
jne 0x45cdb6
push eax
push eax
push eax
push eax
push 0x4dc654
push str._s__d._d._d._d
push 0x400
push ebx
call dword [sym.imp.MSVCR120.dll_sprintf_s]
add esp, 0x20
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ba66b
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_LockResource]
push edi
push eax
push edi
push esi
call dword [sym.imp.MSVCR120.dll_memcpy_s]
add esp, 0x10
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_FreeResource]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x4dc678
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueA]
mov eax, dword [ebp - 0xc]
push dword [ebp - 0x10]
mov edi, dword [eax + 8]
mov esi, dword [eax + 0xc]
call dword [sym.imp.MSVCR120.dll_free]
movzx eax, si
push eax
shr esi, 0x10
push esi
movzx eax, di
push eax
shr edi, 0x10
push edi
push 0x4dc654
push str._s__d._d._d._d
push 0x400
push ebx
call dword [sym.imp.MSVCR120.dll_sprintf_s]
mov ecx, dword [ebp - 4]
add esp, 0x24
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.004ba66b
mov esp, ebp
pop ebp
ret
Function at 0x45fc50
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4cb088
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x506040]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x38], 0
jne 0x45fcef
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x38], eax
mov eax, dword [0x510800]
test al, 1
jne 0x45fcd4
or eax, 1
mov dword [0x510800], eax
push 0xe8
push 0
push 0x510810
mov dword [esp + 0x2c], 0
call sub.MSVCR120.dll_memset
add esp, 0xc
call fcn.0043a2d0
push 0x4d4520
call fcn.004ba7c1
add esp, 4
mov dword [esp + 0x20], 0xffffffff
sub esp, 8
mov ecx, 0x5108d8
call fcn.0043a1d0
add esp, 8
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], edx
jmp 0x45fdfe
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x510800]
mov edi, eax
test cl, 1
jne 0x45fd41
or ecx, 1
mov dword [0x510800], ecx
push 0xe8
push 0
push 0x510810
mov dword [esp + 0x2c], 1
call sub.MSVCR120.dll_memset
add esp, 0xc
call fcn.0043a2d0
push 0x4d4520
call fcn.004ba7c1
add esp, 4
mov dword [esp + 0x20], 0xffffffff
sub esp, 8
mov ecx, 0x5108d8
call fcn.0043a1d0
mov ecx, dword [0x510800]
add esp, 8
mov dword [esp + 0x10], edx
mov ebx, eax
test cl, 1
jne 0x45fda1
or ecx, 1
mov dword [0x510800], ecx
push 0xe8
push 0
push 0x510810
mov dword [esp + 0x2c], 2
call sub.MSVCR120.dll_memset
add esp, 0xc
call fcn.0043a2d0
push 0x4d4520
call fcn.004ba7c1
add esp, 4
mov dword [esp + 0x20], 0xffffffff
sub esp, 8
mov ecx, 0x5108e0
call fcn.0043a1d0
add esp, 8
test edx, edx
jne 0x45fdb9
test eax, eax
je 0x45fdf1
push 0xffffffffffffffff
push 0xffffffffffffffff
mov ecx, 0x5108e0
call fcn.0043a190
mov eax, edi
add esp, 8
sub eax, dword [esi + 0x38]
cmp eax, 0x3e8
jb 0x45fdf1
mov eax, dword [esp + 0x10]
mov ecx, ebx
sub ecx, dword [esi + 0x40]
sbb eax, dword [esi + 0x44]
push eax
push ecx
push 0x4e2b78
call fcn.004334b0
add esp, 0xc
mov eax, dword [esp + 0x10]
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], eax
mov dword [esi + 0x38], edi
mov eax, dword [0x510800]
test al, 1
jne 0x45fe45
or eax, 1
mov dword [0x510800], eax
push 0xe8
push 0
push 0x510810
mov dword [esp + 0x2c], 3
call sub.MSVCR120.dll_memset
add esp, 0xc
call fcn.0043a2d0
push 0x4d4520
call fcn.004ba7c1
add esp, 4
mov dword [esp + 0x20], 0xffffffff
mov ecx, 0x510810
call fcn.0043aef0
mov eax, 1
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x461890
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cb408
mov eax, dword fs:[0]
push eax
sub esp, 0x44c
mov eax, dword [0x506040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
sub esp, 8
mov dword [ebp - 4], 0
lea eax, [ebp - 0x414]
mov byte [ebp - 0x414], 0x5c
lea ecx, [ebp + 8]
push eax
call fcn.00462150
mov esi, eax
cmp esi, 0xffffffff
je 0x461904
mov eax, dword [ebp + 0x18]
dec eax
cmp esi, eax
jne 0x46191f
sub esp, 0x18
lea ecx, [ebp + 8]
mov eax, esp
push esi
push 0
push eax
call fcn.0042bbf0
call fcn.00461890
add esp, 0x18
cmp dword [ebp + 0x1c], 0x10
jb 0x461a12
push dword [ebp + 8]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
jmp 0x461a12
test esi, esi
je 0x461904
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp - 0x448]
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push ecx
push eax
call dword [sym.imp.MSVCR120.dll__stat64i32]
add esp, 8
test eax, eax
jne 0x4619a3
test dword [ebp - 0x442], 0x4000
jne 0x461a0a
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x410]
push 0x4e2ca8
push eax
call fcn.0040e000
add esp, 0xc
lea eax, [ebp - 0x410]
mov dword [ebp - 0x44c], eax
lea ecx, [ebp - 0x458]
lea eax, [ebp - 0x44c]
push eax
call dword [sym.imp.MSVCR120.dll_public:_void___thiscall_std::exception::constructor_char_const__const_const__]
push 0x500998
lea eax, [ebp - 0x458]
push eax
call sub.MSVCR120.dll__CxxThrowException
sub esp, 0x18
lea ecx, [ebp + 8]
mov eax, esp
push esi
push 0
push eax
call fcn.0042bbf0
call fcn.00461890
add esp, 0x18
lea eax, [ebp + 8]
cmp dword [ebp + 0x1c], 0x10
cmovae eax, dword [ebp + 8]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x461a0a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
cmp ecx, 0xb7
je 0x461a0a
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
push ecx
cmovae eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x410]
push 0x4e2cc8
push eax
call fcn.0040e000
add esp, 0x10
jmp 0x461973
lea ecx, [ebp + 8]
call fcn.0040fbb0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ba66b
mov esp, ebp
pop ebp
ret
Function at 0x461db0
Capabilities:
Get hostname
Resolve dns

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
push 0xffffffffffffffff
push 0x4cb45b
mov eax, dword fs:[0]
push eax
sub esp, 0x170
mov eax, dword [0x506040]
xor eax, esp
mov dword [esp + 0x168], eax
push esi
mov eax, dword [0x506040]
xor eax, esp
push eax
lea eax, [esp + 0x178]
mov dword fs:[0], eax
mov esi, ecx
push 0x100
lea eax, [esp + 0x68]
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
je 0x461e0b
xor eax, eax
jmp 0x461ee5
lea eax, [esp + 8]
mov dword [esp + 8], 0
push eax
lea eax, [esp + 0x28]
xorps xmm0, xmm0
push eax
push 0
lea eax, [esp + 0x70]
movdqa xmmword [esp + 0x30], xmm0
push eax
movdqa xmmword [esp + 0x44], xmm0
mov dword [esp + 0x38], 2
call dword [sym.imp.WS2_32.dll_getaddrinfo]
mov dword [esp + 0x20], 0xf
mov dword [esp + 0x1c], 0
mov byte [esp + 0xc], 0
mov eax, dword [esp + 8]
test eax, eax
je 0x461e99
mov eax, dword [eax + 0x18]
lea ecx, [esp + 0x50]
push 0x10
push ecx
add eax, 4
push eax
push 2
call dword [sym.imp.WS2_32.dll_inet_ntop]
lea eax, [esp + 0x50]
push eax
push 0x4e1ac0
push 0x400
push esi
call dword [sym.imp.MSVCR120.dll_sprintf_s]
add esp, 0x10
push dword [esp + 8]
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
jmp 0x461eca
push 0
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
cmp dword [esp + 0x1c], 0
jne 0x461eac
xor esi, esi
jmp 0x461ecf
cmp dword [esp + 0x20], 0x10
lea eax, [esp + 0xc]
cmovae eax, dword [esp + 0xc]
push eax
push 0x400
push esi
call dword [sym.imp.MSVCR120.dll_strcpy_s]
add esp, 0xc
mov esi, 1
cmp dword [esp + 0x20], 0x10
jb 0x461ee3
push dword [esp + 0xc]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x178]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x168]
xor ecx, esp
call fcn.004ba66b
mov esp, ebp
pop ebp
ret
Function at 0x461f10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4cb4a8
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x506040]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push esi
push edi
mov eax, dword [0x506040]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov edi, edx
mov ebx, ecx
mov dword [esp + 0x18], ebx
push 0x4e2cc4
push edi
mov dword [esp + 0x24], 0
call dword [sym.imp.MSVCR120.dll_strstr]
add esp, 8
test eax, eax
jne 0x461fa7
mov dword [ebx + 0x14], 0xf
mov dword [ebx + 0x10], eax
mov byte [ebx], al
cmp byte [edi], al
jne 0x461f8a
xor ecx, ecx
push ecx
push edi
mov ecx, ebx
call fcn.0040f700
jmp 0x4620be
mov ecx, edi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x461f90
sub ecx, edx
push ecx
push edi
mov ecx, ebx
call fcn.0040f700
jmp 0x4620be
lea esi, [eax + 1]
mov dword [esp + 0x4c], 0xf
sub eax, edi
mov dword [esp + 0x48], 0
inc eax
mov byte [esp + 0x38], 0
push eax
push edi
lea ecx, [esp + 0x40]
call fcn.0040f700
mov dword [esp + 0x78], 0
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], 0
mov byte [esp + 0x20], 0
mov byte [esp + 0x78], 1
mov al, byte [esi]
mov edi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
test al, al
je 0x46208b
nop
mov byte [esp + 0x14], al
lea ecx, [esp + 0x20]
cmp al, 0x3d
jne 0x462071
push 0x3d
push 1
call fcn.004107c0
mov bl, byte [esi + 1]
inc esi
mov byte [esp + 0x14], bl
cmp bl, 0x26
je 0x46206d
test bl, bl
je 0x46207d
mov dl, bl
lea ecx, [esp + 0x50]
call fcn.004612b0
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x58]
mov byte [esp + 0x80], 2
push eax
lea ecx, [esp + 0x2c]
call fcn.0040faa0
mov bl, byte [esi + 1]
inc esi
mov byte [esp + 0x78], 1
cmp dword [esp + 0x64], 0x10
mov byte [esp + 0x14], bl
jb 0x462068
push dword [esp + 0x50]
call edi
add esp, 4
cmp bl, 0x26
jne 0x462022
lea ecx, [esp + 0x20]
push dword [esp + 0x14]
push 1
call fcn.004107c0
inc esi
mov al, byte [esi]
test al, al
jne 0x462000
mov ebx, dword [esp + 0x18]
lea eax, [esp + 0x20]
mov ecx, ebx
push eax
lea edx, [esp + 0x3c]
call fcn.004622b0
add esp, 4
cmp dword [esp + 0x34], 0x10
jb 0x4620ae
push dword [esp + 0x20]
call edi
add esp, 4
cmp dword [esp + 0x4c], 0x10
jb 0x4620be
push dword [esp + 0x38]
call edi
add esp, 4
mov eax, ebx
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.004ba66b
mov esp, ebp
pop ebp
ret
Function at 0x4672a0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
push 0
mov esi, ecx
push 0
push 0x130b
push dword [esi + 0xfc]
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, dword [esi + 0x100]
mov ecx, dword [sym.imp.USER32.dll_ShowWindow]
mov dword [ebp - 4], eax
test edi, edi
je 0x467305
mov eax, dword [edi + 0xd4]
test eax, eax
je 0x4672eb
push 0
push eax
call ecx
push dword [edi + 0xd4]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [esi + 0x100]
push 0
push dword [eax + 0xd4]
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [sym.imp.USER32.dll_ShowWindow]
mov edi, dword [ebp - 4]
mov edi, dword [esi + edi*4 + 0x11c]
mov dword [esi + 0x100], edi
test edi, edi
je 0x467348
mov eax, dword [edi + 0xd4]
test eax, eax
je 0x467334
push 5
push eax
call ecx
push dword [edi + 0xd4]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [esi + 0x100]
push 1
push dword [eax + 0xd4]
call dword [sym.imp.USER32.dll_EnableWindow]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4