Function at 0x429d40
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ecx, 0x42a054
mov ebp, esp
push edi
lea edx, [ebp - 0xcc]
mov edi, sym.___gxx_personality_sj0
push esi
mov esi, 0x52036e
push ebx
sub esp, 0xfc
lea ebx, [ebp - 0x18]
mov dword [ebp - 0xa8], ecx
mov eax, dword [ebp + 8]
mov dword [esp], edx
mov dword [ebp - 0xb4], edi
mov dword [ebp - 0xd4], eax
mov dword [ebp - 0xb0], esi
mov dword [ebp - 0xac], ebx
mov dword [ebp - 0xa4], esp
call sym.__Unwind_SjLj_Register
mov eax, dword [ebp - 0xd4]
mov ecx, dword [ebp - 0xd4]
mov eax, dword [eax + 0x10c]
add ecx, 0x104
mov dword [ebp - 0xd8], eax
mov edx, dword [ebp - 0xd8]
cmp edx, ecx
je 0x42a029
mov ebx, dword [edx + 0x14]
mov eax, dword [0x56356c]
lea esi, [ebx + 0x22]
movzx edx, word [ebx + 0x32]
movzx edi, word [ebx]
xor ebx, ebx
cmp eax, 0
mov dword [ebp - 0xdc], esi
mov dword [ebp - 0xe0], edx
jle 0x429e05
mov edx, dword [0x563564]
mov esi, eax
lea esi, [esi]
mov ecx, dword [edx]
movzx eax, word [ecx]
cmp eax, edi
je 0x42a03f
inc ebx
add edx, 4
cmp esi, ebx
jg 0x429df0
xor eax, eax
test eax, eax
je 0x429ff0
mov dword [esp], 0
mov eax, dword [ebp - 0xe0]
mov edx, 0xffffffff
mov dword [ebp - 0xc8], edx
mov esi, dword [ebp - 0xdc]
mov edi, 1
mov dword [esp + 8], eax
mov dword [esp + 4], esi
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 ebx, dword [ebp - 0xe4]
mov ecx, dword [ebp - 0xec]
mov dword [ebp - 0xc8], edi
mov dword [esp + 4], ebx
mov dword [esp], ecx
call sym.c_SpipClient::c_SpipClient_unsigned_int_
cmp dword [ebp - 0xe4], 0xffffffff
mov esi, dword [ebp - 0xec]
mov dword [ebp - 0xe8], esi
je 0x429f2a
mov edi, dword [ebp - 0xdc]
mov eax, 0xffffffff
mov dword [ebp - 0xc8], eax
mov dword [esp], edi
call sub.WSOCK32.DLL_gethostbyname
sub esp, 4
test eax, eax
je 0x42a029
movsx edi, word [eax + 0xa]
lea edx, [ebp - 0x94]
mov eax, dword [eax + 0xc]
mov ebx, 2
mov esi, dword [eax]
mov dword [esp + 8], edi
mov edi, 0xffffffff
mov dword [esp + 4], esi
mov dword [esp], edx
call sym._memcpy
mov word [ebp - 0x98], bx
mov ecx, dword [ebp - 0xe0]
mov dword [ebp - 0xc8], edi
mov dword [esp], ecx
call sub.WSOCK32.DLL_htons
mov word [ebp - 0x96], ax
mov ecx, dword [ebp - 0xe8]
sub esp, 4
mov eax, dword [ebp - 0x98]
mov dword [ecx + 8], eax
mov esi, dword [ebp - 0x94]
mov dword [ecx + 0xc], esi
mov edx, dword [ebp - 0x90]
mov dword [ecx + 0x10], edx
mov ebx, dword [ebp - 0x8c]
mov dword [ecx + 0x14], ebx
mov ebx, dword [ebp - 0xd8]
mov esi, 0xffffffff
mov edi, dword [ebp - 0xe8]
add ebx, 0x10
mov eax, dword [ebx + 4]
mov dword [ebp - 0xf4], ebx
lea ebx, [ebp - 0xd0]
mov dword [esp + 4], eax
mov dword [esp], edi
mov dword [ebp - 0xc8], esi
call method.c_SpipClient.SetMarkCfg_MarketCfg_
mov dword [esp + 8], ebx
mov ecx, dword [ebp - 0xe8]
xor edx, edx
mov dword [ebp - 0xd0], edx
mov dword [esp], sym.__Z16SpipClientMyProcPv_4
mov dword [esp + 4], ecx
call sym.thread_spawn_unsigned_int____void___void__unsigned_int_
test al, al
je 0x429ff0
mov edx, dword [ebp - 0xf4]
mov esi, dword [edx + 4]
movzx eax, word [esi]
cmp ax, 0x4853
je 0x42a046
cmp ax, 0x5a53
je 0x42a046
mov eax, 3
mov dword [esp + 4], eax
mov ebx, dword [ebp - 0xd0]
mov ecx, 0xffffffff
mov dword [ebp - 0xc8], ecx
mov dword [esp], ebx
call sub.KERNEL32.dll_SetThreadPriority
sub esp, 8
cmp dword [ebp - 0xe4], 0xffffffff
je 0x429ff0
mov edx, dword [ebp - 0xe8]
mov esi, 0xffffffff
mov dword [ebp - 0xc8], esi
mov dword [esp], edx
call method.c_SpipClient.SendLogin__
lea esi, [esi]
mov eax, dword [ebp - 0xd8]
mov edi, 0xffffffff
mov dword [ebp - 0xc8], edi
mov dword [esp], eax
call method.std._Rb_tree_increment_std::_Rb_tree_node_base_
mov dword [ebp - 0xd8], eax
mov ecx, dword [ebp - 0xd4]
mov edx, dword [ebp - 0xd8]
add ecx, 0x104
cmp edx, ecx
jne 0x429dbf
lea ecx, [ebp - 0xcc]
mov dword [esp], ecx
call sym.__Unwind_SjLj_Unregister
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, ecx
jmp 0x429e07
mov edi, 0x14
mov dword [esp + 4], edi
jmp 0x429fae