joyce8/EMBER2024-capa huggingface dataset:
Function at 0x459e10
Capabilities:
Resolve dns

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
push edi
je 0x459e68
mov edi, dword [esp + 0x10]
test di, di
je 0x459e68
push esi
call dword [sym.imp.WS2_32.dll_inet_addr]
cmp eax, 0xffffffff
jne 0x459e41
push esi
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x459e68
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
mov eax, dword [ecx]
push edi
push eax
call dword [sym.imp.WS2_32.dll_ntohl]
push eax
mov ecx, 0x4bd968
call fcn.0045fad0
mov edx, dword [esp + 0x14]
pop edi
mov dword [0x4bda18], edx
mov eax, 1
pop esi
ret 0xc
pop edi
xor eax, eax
pop esi
ret 0xc

Function at 0x459e70
Capabilities:
Get file version info

Disassembly:
sub esp, 0x20c
mov eax, dword [0x4bc410]
xor eax, esp
push ebx
push esi
mov dword [esp + 0x210], eax
xor ebx, ebx
push 0x200
mov esi, ecx
lea eax, [esp + 0x14]
push eax
push ebx
mov byte [esi + 0x13], bl
mov byte [esi + 0x12], bl
mov byte [esi + 0x11], bl
mov byte [esi + 0x10], bl
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x14]
push edx
call sub.VERSION.dll_GetFileVersionInfoSizeA
cmp eax, ebx
mov dword [esp + 8], eax
je 0x459f1e
push edi
push eax
call sub.MFC71.DLL_operator_new
add esp, 4
mov edi, eax
mov eax, dword [esp + 0xc]
push edi
push eax
push ebx
lea ecx, [esp + 0x20]
push ecx
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x459f14
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x14]
push eax
push 0x4a1f5c
push edi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x459f14
mov eax, dword [esp + 0x10]
mov cl, byte [eax + 0xa]
mov byte [esi + 0x10], cl
mov dl, byte [eax + 8]
mov byte [esi + 0x11], dl
mov cl, byte [eax + 0xe]
mov byte [esi + 0x12], cl
mov dl, byte [eax + 0xc]
mov byte [esi + 0x13], dl
push edi
call sub.MFC71.DLL_operator_delete
add esp, 4
pop edi
xor eax, eax
mov ah, byte [esi + 0x10]
xor ecx, ecx
mov ch, byte [esi + 0x12]
mov al, byte [esi + 0x11]
movzx edx, cx
movzx ecx, byte [esi + 0x13]
shl eax, 0x10
or eax, edx
or eax, ecx
mov ecx, dword [esp + 0x210]
mov dword [esi + 0x14], eax
pop esi
pop ebx
xor ecx, esp
call fcn.00496ace
add esp, 0x20c
ret
Function at 0x459f60
Capabilities:
Get mac address on windows

Disassembly:
mov ecx, 0x4bd360
jmp 0x45fd10
sub esp, 0x74
mov eax, dword [0x4bc410]
xor eax, esp
push ebx
push ebp
mov ebp, dword [esp + 0x80]
mov dword [esp + 0x78], eax
xor ebx, ebx
lea eax, [esp + 0xc]
push eax
push ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov byte [ebp], bl
call sub.iphlpapi.dll_GetAdaptersInfo
test eax, eax
je 0x45fd88
cmp eax, 0xe8
je 0x45fe7a
cmp eax, 0x32
je 0x45fe7a
cmp eax, 0x6f
jne 0x45fe7a
mov ecx, dword [esp + 0xc]
push ecx
call sub.MFC71.DLL_operator_new
add esp, 4
lea edx, [esp + 0xc]
push edx
push eax
mov dword [esp + 0x10], eax
call sub.iphlpapi.dll_GetAdaptersInfo
test eax, eax
jne 0x45fe69
mov ebx, dword [esp + 8]
test ebx, ebx
je 0x45fe51
push esi
push edi
movzx eax, byte [ebx + 0x199]
movzx ecx, byte [ebx + 0x198]
movzx edx, byte [ebx + 0x197]
push eax
movzx eax, byte [ebx + 0x196]
push ecx
movzx ecx, byte [ebx + 0x195]
push edx
movzx edx, byte [ebx + 0x194]
push eax
push ecx
push edx
lea eax, [esp + 0x34]
push str._02x_02x_02x_02x_02x_02x
push eax
call dword [sym.imp.MSVCR71.dll_sprintf]
mov eax, ebp
add esp, 0x20
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x45fde0
sub eax, edx
mov dword [esp + 0x18], eax
je 0x45fe04
mov edi, ebp
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x45fdf2
mov cx, word [0x4a2338]
mov word [edi], cx
lea eax, [esp + 0x1c]
mov edx, eax
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x45fe10
mov edi, ebp
sub eax, edx
dec edi
lea esp, [esp]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x45fe20
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ebx, dword [ebx]
test ebx, ebx
jne 0x45fd92
mov edx, dword [esp + 0x10]
push edx
call sub.MFC71.DLL_operator_delete_1
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.00496ace
add esp, 0x74
ret 4
mov eax, dword [esp + 8]
test eax, eax
je 0x45fe7a
push eax
call sub.MFC71.DLL_operator_delete_1
add esp, 4
mov ecx, dword [esp + 0x78]
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.00496ace
add esp, 0x74
ret 4
Function at 0x45a560
Capabilities:
Resolve dns

Disassembly:
mov eax, dword [0x4bd2c0]
push edi
mov edi, ecx
mov cl, byte [eax + 0x7c6]
test cl, cl
je 0x45a57b
cmp dword [edi + 0x7c8], 2
je 0x45a581
xor eax, eax
pop edi
ret 8
push ebx
push esi
mov esi, dword [esp + 0x10]
test esi, esi
je 0x45a598
push esi
call dword [sym.imp.WS2_32.dll_inet_addr]
mov ebx, dword [esp + 0x14]
jmp 0x45a5b2
lea ecx, [edi + 0x60c]
call dword [sym.imp.MSVCP71.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov bx, word [edi + 0x628]
test bx, bx
jne 0x45a5bc
mov ebx, 0x2328
cmp eax, 0xffffffff
jne 0x45a5e6
test esi, esi
je 0x45a5c8
push esi
jmp 0x45a5d5
lea ecx, [edi + 0x60c]
call dword [sym.imp.MSVCP71.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x45a610
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx]
mov ecx, dword [edi + 0x2ec]
push ebx
push eax
mov dword [0x4bd368], ecx
call dword [sym.imp.WS2_32.dll_ntohl]
push eax
mov ecx, 0x4bd360
call fcn.00461550
pop esi
pop ebx
mov eax, 1
pop edi
ret 8
call fcn.00473150
test eax, eax
je 0x45a61c
mov eax, dword [eax + 0x20]
push 0
push 1
push 0x720
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
pop esi
pop ebx
mov eax, 1
pop edi
ret 8
Function at 0x45da90
Capabilities:
Connect socket
Resolve dns

Disassembly:
sub esp, 0x14
mov eax, dword [0x4bc410]
xor eax, esp
push esi
mov esi, ecx
mov dword [esp + 0x14], eax
cmp dword [esi + 0x18], 4
push edi
mov edi, dword [esp + 0x20]
jne 0x45dad3
cmp dword [esi + 0x14], 1
jne 0x45dad3
mov ecx, dword [esi + 0x54]
mov eax, dword [ecx]
push 1
call dword [eax]
pop edi
mov eax, 1
pop esi
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.00496ace
add esp, 0x14
ret 0xc
mov cx, word [esp + 0x28]
mov edx, dword [esp + 0x24]
mov word [esi + 0xe], cx
lea ecx, [edi + 0x24]
mov dword [esi + 0x10], edx
call dword [sym.imp.MSVCP71.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
lea ecx, [esi + 0x1c]
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
lea ecx, [edi + 0x40]
call dword [sym.imp.MSVCP71.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
lea ecx, [esi + 0x38]
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
mov eax, dword [esi + 4]
test eax, eax
mov dword [esi + 0x18], 0
jl 0x45db20
push eax
call fcn.0045eab0
add esp, 4
push 0
push esi
push 1
call fcn.0045ed00
mov dword [esi + 4], eax
xor ecx, ecx
mov cx, word [edi + 0x20]
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
add esp, 0xc
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
push ecx
mov word [esp + 0xc], 2
call dword [sym.imp.WS2_32.dll_htons]
lea ecx, [edi + 4]
mov word [esp + 0xa], ax
call dword [sym.imp.MSVCP71.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
mov edi, eax
push edi
call dword [sym.imp.WS2_32.dll_inet_addr]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x45db8c
push edi
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x45dbbf
mov edx, dword [eax + 0xc]
mov eax, dword [edx]
mov ecx, dword [eax]
mov dword [esp + 0xc], ecx
mov eax, dword [esi + 4]
push 0x10
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
jne 0x45dbaf
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 4]
jmp 0x45dabb
call sub.WS2_32.dll_WSAGetLastError
cmp eax, 0x2733
je 0x45dabb
mov ecx, dword [esi + 0x54]
mov eax, dword [ecx]
push 0
call dword [eax]
mov ecx, dword [esp + 0x18]
pop edi
pop esi
xor ecx, esp
xor eax, eax
call fcn.00496ace
add esp, 0x14
ret 0xc
Function at 0x45e110
Capabilities:
Connect socket
Resolve dns

Disassembly:
sub esp, 0x14
mov eax, dword [0x4bc410]
xor eax, esp
push ebx
push esi
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x20]
push edi
mov edi, dword [esp + 0x2c]
mov esi, ecx
push eax
lea ecx, [esi + 0x1048]
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
mov eax, dword [esp + 0x28]
mov dword [esi + 0x1064], eax
mov eax, dword [esi + 4]
test eax, eax
mov dword [esi + 0x100c], 0
jl 0x45e15c
push eax
call fcn.0045eab0
add esp, 4
push 0
push esi
push 1
call fcn.0045ed00
xor ecx, ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], ecx
add esp, 0xc
lea edx, [edi + 0x24]
mov dword [esp + 0x18], ecx
push edx
lea ecx, [esi + 0x1010]
mov dword [esi + 4], eax
mov word [esp + 0x10], 2
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea eax, [edi + 0x40]
push eax
lea ecx, [esi + 0x102c]
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [edi + 4]
call dword [sym.imp.MSVCP71.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
mov ebx, eax
push ebx
call dword [sym.imp.WS2_32.dll_inet_addr]
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
jne 0x45e1d6
push ebx
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x45e235
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx]
mov dword [esp + 0x10], eax
xor ecx, ecx
mov cx, word [edi + 0x20]
push ecx
call dword [sym.imp.WS2_32.dll_htons]
push 0x10
lea edx, [esp + 0x10]
mov word [esp + 0x12], ax
mov eax, dword [esi + 4]
push edx
push eax
mov dword [esi + 0x1008], 0
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
jne 0x45e229
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 4]
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.00496ace
add esp, 0x14
ret 0xc
call sub.WS2_32.dll_WSAGetLastError
cmp eax, 0x2733
je 0x45e210
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov ecx, dword [esi + 0x1068]
mov dword [esi + 4], 0xffffffff
mov edx, dword [ecx]
push 0
call dword [edx]
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.00496ace
add esp, 0x14
ret 0xc
Function at 0x45fe90
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
sub esp, 0x18
mov eax, dword [0x4bc410]
mov edx, dword [0x4bb384]
xor eax, esp
mov dword [esp + 0x14], eax
lea eax, [esp]
push eax
lea ecx, [esp + 8]
push ecx
push edx
mov dword [esp + 0xc], 0x10
call dword [sym.imp.WS2_32.dll_getsockname]
cmp eax, 0xffffffff
jne 0x45fed2
xor eax, eax
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.00496ace
add esp, 0x18
ret
mov eax, dword [esp + 6]
push eax
call dword [sym.imp.WS2_32.dll_ntohs]
mov ecx, dword [0x4bd2c0]
mov word [0x4bd318], ax
mov word [ecx + 0x488], ax
mov ecx, dword [esp + 0x14]
xor ecx, esp
mov eax, 1
call fcn.00496ace
add esp, 0x18
ret

Function at 0x460030
Capabilities:
Enumerate processes

Disassembly:
push 0xffffffffffffffff
push 0x49c94f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x140
mov eax, dword [0x4bc410]
xor eax, esp
push ebx
push edi
xor ebx, ebx
push ebx
push 2
mov dword [esp + 0x14c], eax
mov dword [esp + 0x18], ebx
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
test edi, edi
je 0x46017d
lea ecx, [esp + 0xc]
call dword [0x49f754]
lea eax, [esp + 0x1c]
push eax
push edi
mov dword [esp + 0x158], ebx
mov dword [esp + 0x24], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x46016c
nop
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x10]
push 0x4a0ee0
push edx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format]
add esp, 0xc
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::MakeLower]
push 0xa
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Right]
or ebx, 1
push str.sygate.exe
mov ecx, eax
mov byte [esp + 0x154], 1
mov dword [esp + 0x14], ebx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Compare]
test eax, eax
je 0x46011d
push 0xb
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Right]
push str.wingate.exe
mov ecx, eax
or ebx, 2
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Compare]
test eax, eax
mov byte [esp + 0xb], 0
jne 0x460122
mov byte [esp + 0xb], 1
test bl, 2
je 0x460134
lea ecx, [esp + 0x18]
and ebx, 0xfffffffd
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
test bl, 1
mov dword [esp + 0x150], 0
je 0x460151
lea ecx, [esp + 0x14]
and ebx, 0xfffffffe
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov al, byte [esp + 0xb]
test al, al
jne 0x4601a4
lea edx, [esp + 0x1c]
push edx
push edi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x4600a0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
xor eax, eax
mov ecx, dword [esp + 0x148]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x140]
pop ebx
xor ecx, esp
call fcn.00496ace
add esp, 0x14c
ret
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov eax, 1
jmp 0x46017f
Function at 0x461150
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x81c
mov eax, dword [0x4bc410]
mov ecx, dword [ebp + 0x14]
xor eax, ebp
mov dword [esp + 0x818], eax
xor eax, eax
push ebx
mov dword [esp + 8], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
push ecx
mov dword [esp + 0x20], eax
mov word [esp + 0x14], 2
call dword [sym.imp.WS2_32.dll_htons]
push edi
mov word [esp + 0x16], ax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov edx, dword [0x4bd2c0]
mov edi, eax
mov dword [esp + 0x14], edi
mov ecx, dword [edx + 0x47c]
cmp ecx, 4
je 0x4611ef
cmp ecx, 5
je 0x4611ef
mov edi, dword [ebp + 0xc]
mov eax, dword [0x4bb384]
push 0x10
lea edx, [esp + 0x14]
push edx
push 0
push edi
push esi
push eax
call dword [sym.imp.WS2_32.dll_sendto]
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x818]
xor ecx, ebp
call fcn.00496ace
mov esp, ebp
pop ebp
ret
mov ecx, dword [edx + 0x4d0]
shr ecx, 0xb
test cl, 1
je 0x46129d
mov ecx, dword [0x4bd31c]
xor eax, eax
cmp ecx, eax
je 0x46129d
cmp byte [edx + 0x6cc], al
jne 0x46129d
mov dx, word [esp + 0x12]
mov ebx, dword [ebp + 0xc]
mov word [esp + 0x28], dx
mov ecx, ebx
mov edx, ecx
shr ecx, 2
mov dword [esp + 0x24], edi
mov byte [esp + 0x20], al
mov byte [esp + 0x21], al
mov byte [esp + 0x22], al
mov byte [esp + 0x23], 1
lea edi, [esp + 0x2a]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [0x4bd30c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov cx, word [0x4bd30a]
push 0x10
mov word [esp + 0x16], cx
lea ecx, [esp + 0x14]
push ecx
push eax
mov eax, dword [0x4bb384]
add ebx, 0xa
mov dword [esp + 0x20], edx
push ebx
lea edx, [esp + 0x30]
push edx
push eax
call dword [sym.imp.WS2_32.dll_sendto]
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x818]
xor ecx, ebp
call fcn.00496ace
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x824]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00496ace
mov esp, ebp
pop ebp
ret
Function at 0x462df0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x49cad2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push ebp
push esi
push edi
mov esi, ecx
mov ecx, dword [esp + 0x20]
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x14], esi
call fcn.00479480
mov dword [esi + 0xc], 0x4a31c4
xor ebp, ebp
lea ecx, [esi + 0x10]
mov dword [esp + 0x18], ebp
mov dword [esi], 0x4aa040
mov dword [esi + 0xc], 0x4aa02c
call fcn.0047cd00
mov dword [esi + 0x30], ebp
mov dword [esi + 0x34], ebp
mov dword [esi + 0x38], ebp
lea edi, [esi + 0x3c]
mov ecx, edi
mov byte [esp + 0x18], 2
call fcn.00425470
mov dword [edi + 4], eax
mov byte [eax + 0x15], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebp
mov dword [esi + 0x4c], ebp
mov dword [esi + 0x50], ebp
mov dword [esi + 0x54], ebp
lea edi, [esi + 0x88]
mov ecx, edi
mov byte [esp + 0x18], 4
call fcn.004249b0
mov dword [edi + 4], eax
mov dword [edi + 8], ebp
lea edx, [esi + 0x60]
push edx
mov byte [esp + 0x1c], 5
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov edi, dword [sym.imp.MSVCR71.dll_rand]
xor eax, eax
lea ecx, [esi + 0x94]
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
call edi
inc eax
cmp ax, 0xfff0
mov word [esi + 0x78], ax
jbe 0x462ed1
mov word [esi + 0x78], 0xfff0
call edi
and eax, 0x3fff
inc eax
mov ecx, esi
mov dword [esi + 0x7c], eax
mov dword [esi + 0x80], ebp
mov dword [esi + 0x84], ebp
mov dword [esi + 0x5c], ebp
call fcn.004613e0
mov ecx, esi
call fcn.004629a0
mov ecx, dword [esp + 0x10]
mov dword [esi + 0xa4], ebp
pop edi
mov dword [esi + 0xa8], 1
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 8

Function at 0x4634d3
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x67c
mov eax, dword [0x4bc410]
xor eax, esp
mov dword [esp + 0x678], eax
mov eax, dword [0x4bd2c0]
mov eax, dword [eax + 0x47c]
cmp eax, 1
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [esi + 0xc8]
jl 0x4634e6
cmp eax, 3
jg 0x4634e6
add edi, edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
sub eax, dword [esi + 0xc0]
cmp eax, edi
jb 0x463529
lea ecx, [esp + 0xc]
call fcn.00477600
push 0
push 0
push 2
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call fcn.004612c0
mov edx, dword [esi]
push 1
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call dword [edx + 0x24]
call ebx
mov dword [esi + 0xc0], eax
mov ecx, dword [esp + 0x684]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00496ace
add esp, 0x67c
ret
Function at 0x4635c0
Capabilities:
Resolve dns

Disassembly:
sub esp, 0x14
push ebx
mov ebx, ecx
mov eax, dword [ebx + 0xe0]
test eax, eax
mov dword [esp + 0x10], ebx
je 0x4635e0
mov eax, 1
pop ebx
add esp, 0x14
ret 4
push esi
mov esi, dword [esp + 0x20]
push edi
push 0x2c
mov dword [ebx + 0xe0], 1
mov eax, dword [esi]
push 0xffffffffffffffff
mov ecx, esi
call dword [eax + 8]
mov edi, eax
cmp edi, 4
jge 0x46361d
mov ecx, dword [0x4bd2c0]
mov edx, dword [ecx]
push 3
call dword [edx + 0xc]
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x14
ret 4
mov eax, dword [esi]
push ebp
push 1
mov ecx, esi
call dword [eax + 0x10]
mov edx, dword [esi]
push 2
mov ecx, esi
mov dword [esp + 0x14], eax
call dword [edx + 0x10]
mov ebp, eax
mov eax, dword [esi]
push 3
mov ecx, esi
mov dword [esp + 0x24], ebp
call dword [eax + 0x10]
cmp edi, 6
jl 0x4636e0
mov edx, dword [esi]
push 4
mov ecx, esi
call dword [edx + 0x10]
push eax
call dword [sym.imp.MSVCR71.dll_atoi]
add esp, 4
mov dword [esp + 0x18], eax
mov eax, dword [esi]
push 5
mov ecx, esi
call dword [eax + 0x10]
mov dword [esp + 0x14], eax
xor ebx, ebx
xor ebp, ebp
xor eax, eax
cmp edi, 9
jl 0x4636a8
mov edx, dword [esi]
push 6
mov ecx, esi
call dword [edx + 0x10]
mov ebx, eax
mov eax, dword [esi]
push 7
mov ecx, esi
call dword [eax + 0x10]
mov edi, dword [sym.imp.MSVCR71.dll_atoi]
push eax
call edi
mov edx, dword [esi]
add esp, 4
push 8
mov ecx, esi
mov ebp, eax
call dword [edx + 0x10]
jmp 0x4636ae
mov edi, dword [sym.imp.MSVCR71.dll_atoi]
mov ecx, dword [0x4bd2c0]
mov edx, dword [ecx]
push eax
mov eax, dword [esp + 0x18]
push ebp
push ebx
push eax
mov eax, dword [esp + 0x28]
push eax
call dword [edx + 8]
test eax, eax
je 0x4636d6
pop ebp
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x14
ret 4
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x20]
jmp 0x4636e6
mov edi, dword [sym.imp.MSVCR71.dll_atoi]
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.WS2_32.dll_inet_addr]
mov esi, eax
cmp esi, 0xffffffff
jne 0x46370e
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x46370e
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
mov esi, dword [ecx]
mov ecx, dword [0x4bd2c0]
mov edx, dword [ecx]
lea eax, [esp + 0x28]
push eax
call dword [edx + 0xfc]
test al, al
push ebp
je 0x46373d
mov al, byte [esp + 0x2c]
test al, al
je 0x463736
call edi
add esp, 4
dec eax
jmp 0x463742
call edi
sub eax, 2
jmp 0x46373f
call edi
add esp, 4
push eax
push esi
call dword [sym.imp.WS2_32.dll_ntohl]
mov ecx, ebx
push eax
call fcn.0045fad0
mov ecx, ebx
call fcn.0045fa00
push 0
push 0
mov ecx, ebx
call fcn.00460b00
mov ecx, dword [0x4bd2c0]
mov edx, dword [ecx]
push 0
call dword [edx + 0xc]
pop ebp
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x14
ret 4