Function at 0x42a090
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
lea edx, [ebp - 0xcc]
push edi
lea ecx, [ebp - 0x18]
mov edi, 0x42a3a0
push esi
mov esi, sym.___gxx_personality_sj0
push ebx
sub esp, 0xfc
mov ebx, 0x520374
mov dword [ebp - 0xa8], edi
mov eax, dword [ebp + 8]
mov dword [esp], edx
mov dword [ebp - 0xb4], esi
mov dword [ebp - 0xd4], eax
mov dword [ebp - 0xb0], ebx
mov dword [ebp - 0xac], ecx
mov dword [ebp - 0xa4], esp
call sym.__Unwind_SjLj_Register
mov eax, dword [ebp - 0xd4]
mov edi, dword [ebp - 0xd4]
mov eax, dword [eax + 0x124]
add edi, 0x11c
mov dword [ebp - 0xd8], eax
mov edx, dword [ebp - 0xd8]
cmp edx, edi
je 0x42a379
mov ecx, dword [edx + 0x14]
mov eax, dword [0x56356c]
lea ebx, [ecx + 0x22]
movzx edx, word [ecx + 0x32]
mov dword [ebp - 0xdc], ebx
xor ebx, ebx
cmp eax, 0
mov dword [ebp - 0xe0], edx
movzx edi, word [ecx]
jle 0x42a155
mov edx, dword [0x563564]
mov esi, eax
lea esi, [esi]
mov ecx, dword [edx]
movzx eax, word [ecx]
cmp eax, edi
je 0x42a38f
inc ebx
add edx, 4
cmp esi, ebx
jg 0x42a140
xor eax, eax
test eax, eax
je 0x42a340
mov dword [esp], 0
mov eax, dword [ebp - 0xe0]
mov edx, 0xffffffff
mov dword [ebp - 0xc8], edx
mov ebx, dword [ebp - 0xdc]
mov esi, 1
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
call sym.socket_createConnector_SO_PROCOTOL__char__unsigned_short_
mov dword [ebp - 0xe4], eax
mov dword [esp], 0xd4
call sym.operator_new_unsigned_int_
mov dword [ebp - 0xec], eax
mov ecx, dword [ebp - 0xe4]
mov edi, dword [ebp - 0xec]
mov dword [ebp - 0xc8], esi
mov dword [esp + 4], ecx
mov dword [esp], edi
call sym.c_SpipClient::c_SpipClient_unsigned_int_
cmp dword [ebp - 0xe4], 0xffffffff
mov ebx, dword [ebp - 0xec]
mov dword [ebp - 0xe8], ebx
je 0x42a27a
mov esi, dword [ebp - 0xdc]
mov eax, 0xffffffff
mov dword [ebp - 0xc8], eax
mov dword [esp], esi
call sub.WSOCK32.DLL_gethostbyname
sub esp, 4
test eax, eax
je 0x42a379
movsx esi, word [eax + 0xa]
lea edx, [ebp - 0x94]
mov eax, dword [eax + 0xc]
mov ebx, dword [eax]
mov dword [esp + 8], esi
mov esi, 0xffffffff
mov dword [esp + 4], ebx
mov dword [esp], edx
call sym._memcpy
mov dword [ebp - 0xc8], esi
mov edi, dword [ebp - 0xe0]
mov ecx, 2
mov word [ebp - 0x98], cx
mov dword [esp], edi
call sub.WSOCK32.DLL_htons
mov word [ebp - 0x96], ax
mov edi, dword [ebp - 0xe8]
sub esp, 4
mov eax, dword [ebp - 0x98]
mov dword [edi + 8], eax
mov ebx, dword [ebp - 0x94]
mov dword [edi + 0xc], ebx
mov edx, dword [ebp - 0x90]
mov dword [edi + 0x10], edx
mov ecx, dword [ebp - 0x8c]
mov dword [edi + 0x14], ecx
mov ecx, dword [ebp - 0xd8]
mov ebx, 0xffffffff
mov esi, dword [ebp - 0xe8]
add ecx, 0x10
mov eax, dword [ecx + 4]
mov dword [ebp - 0xf4], ecx
mov dword [esp], esi
mov dword [esp + 4], eax
mov dword [ebp - 0xc8], ebx
call method.c_SpipClient.SetMarkCfg_MarketCfg_
mov dword [esp], sym.__Z16SpipClientMyProcPv_4
mov edi, dword [ebp - 0xe8]
xor edx, edx
mov dword [ebp - 0xd0], edx
lea ecx, [ebp - 0xd0]
mov dword [esp + 8], ecx
mov dword [esp + 4], edi
call sym.thread_spawn_unsigned_int____void___void__unsigned_int_
test al, al
je 0x42a340
mov edx, dword [ebp - 0xf4]
mov ebx, dword [edx + 4]
movzx eax, word [ebx]
cmp ax, 0x4853
je 0x42a396
cmp ax, 0x5a53
je 0x42a396
mov eax, 3
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xd0]
mov esi, 0xffffffff
mov dword [ebp - 0xc8], esi
mov dword [esp], eax
call sub.KERNEL32.dll_SetThreadPriority
sub esp, 8
cmp dword [ebp - 0xe4], 0xffffffff
je 0x42a340
mov ecx, dword [ebp - 0xe8]
mov edi, 0xffffffff
mov dword [ebp - 0xc8], edi
mov dword [esp], ecx
call method.c_SpipClient.SendLogin__
lea esi, [esi]
mov edx, dword [ebp - 0xd8]
mov ebx, 0xffffffff
mov dword [ebp - 0xc8], ebx
mov dword [esp], edx
call method.std._Rb_tree_increment_std::_Rb_tree_node_base_
mov dword [ebp - 0xd8], eax
mov edi, dword [ebp - 0xd4]
mov edx, dword [ebp - 0xd8]
add edi, 0x11c
cmp edx, edi
jne 0x42a10f
lea esi, [ebp - 0xcc]
mov dword [esp], esi
call sym.__Unwind_SjLj_Unregister
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, ecx
jmp 0x42a157
mov eax, 0x14
jmp 0x42a2fa