Function at 0x42908f
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push edi
lea eax, [ebp - 0x20]
push esi
push ebx
mov ebx, dword [ebp + 8]
sub dword [ebx + 0xa8], 0xffffffff
mov esi, dword [ebx + 0xa8]
mov dword [ebp - 0xc], esi
push eax
call fcn.0043a279
add esp, 4
lea eax, [ebp - 0x2c]
push eax
call fcn.0044d16a
sub esp, 0xfffffffc
mov dword [ebp - 0x18], 0
mov dword [ebp - 8], 0
cmp byte [ebx + 0xdc], 0
je 0x4290f1
cmp byte [ebx + 0xdd], 0
je 0x4290f1
lea esi, [0x4d7603]
mov dword [ebp - 0x18], esi
jmp 0x42922c
push 0x4d7603
push ebx
call fcn.004286a9
add esp, 4
movzx eax, al
push eax
mov eax, dword [ebp + 0xc]
push dword [eax + 0x40]
call fcn.00433038
add esp, 4
push eax
call fcn.0043a52a
add esp, 8
push eax
call fcn.00409aaf
add esp, 8
or eax, eax
je 0x429135
lea edi, [0x4d7603]
mov dword [ebp - 0x18], edi
jmp 0x42922c
movzx eax, byte [ebx + 0xd8]
push eax
call fcn.0040fba7
add esp, 4
mov dword [ebp - 0x18], eax
push dword [ebp - 0x18]
mov eax, dword [sym.imp.WS2_32.dll_inet_addr]
call eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x42922c
push dword [ebp - 0x18]
mov eax, dword [sym.imp.WS2_32.dll_gethostbyname]
call eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x42922c
push ebx
call fcn.004286a9
add esp, 4
movzx eax, al
push eax
mov eax, dword [ebp + 0xc]
push dword [eax + 0x40]
call fcn.00433038
sub esp, 0xfffffffc
push eax
call fcn.0043a78e
mov dword [ebp - 0x18], eax
sub esp, 0xfffffff8
push ebx
call fcn.004286a9
add esp, 4
movzx eax, al
push eax
mov eax, dword [ebp + 0xc]
push dword [eax + 0x40]
call fcn.00433038
sub esp, 0xfffffffc
push eax
call fcn.0043a52a
sub esp, 0xfffffff8
push eax
push dword [ebp - 0x18]
call fcn.004a66b0
sub esp, 0xfffffff8
or eax, eax
je 0x42922c
movzx eax, byte [ebx + 0xd8]
push eax
call fcn.0040fba7
add esp, 4
push eax
push 0x4d760d
call fcn.00442438
mov edi, eax
add esp, 8
push edi
push ebx
call fcn.00427b9b
add esp, 8
push edi
mov eax, dword [0x4d3eec]
call eax
lea eax, [ebp - 0x2c]
sub esp, 0xfffffffc
push 2
push eax
call fcn.0044d2da
add esp, 8
push 2
lea eax, [ebp - 0x20]
push eax
call fcn.0043a2a9
add esp, 8
mov eax, 0xffffffff
jmp 0x429455
mov eax, dword [ebp + 0x10]
lea eax, [eax + 6]
lea esi, [0x4d75d8]
lea edi, [ebp - 0x34]
mov dword [ebp - 0x34], eax
movsd dword es:[edi], dword [esi]
push 4
push dword [ebp - 0x34]
mov eax, dword [fcn.004092c1]
movsd dword es:[edi], dword [esi]
call eax
mov dword [ebp - 0x30], eax
sub esp, 0xfffffff8
mov dword [ebp - 0x10], 0
jmp 0x429288
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 0x14]
push dword [eax + edx*4]
call fcn.0040a7ee
sub esp, 0xfffffffc
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0044d1c6
mov edx, eax
mov ecx, dword [ebp - 0x10]
sub esp, 0xfffffff8
mov esi, dword [ebp - 0x30]
mov dword [esi + ecx*4], edx
sub dword [ebp - 0x10], 0xffffffff
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp - 0x10]
jg 0x42925b
mov eax, dword [ebp - 0x30]
push dword [eax]
call fcn.0040c796
sub esp, 0xfffffffc
or eax, eax
jne 0x4292e3
mov eax, dword [ebp + 0x14]
push dword [eax]
call fcn.0040eefe
push eax
call fcn.0040bcad
sub esp, 0xfffffff8
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0044d1c6
mov edx, eax
add esp, 8
mov edi, dword [ebp - 0x30]
mov dword [edi], edx
mov eax, dword [ebp - 0x30]
push dword [eax]
call fcn.004111f9
add esp, 4
or eax, eax
jne 0x4292e3
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp + 0x14]
mov edx, dword [edx]
mov dword [eax], edx
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x34]
mov ecx, str._sr_client_start_cookie
lea edx, [edx - 6]
mov dword [eax + edx*4], ecx
push dword [ebp - 0xc]
push 0x4d75e8
call fcn.00442438
add esp, 8
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0044d1c6
mov edi, eax
add esp, 8
mov esi, dword [ebp - 0x34]
mov ecx, str._sr_connect_servicerouter_host
mov eax, dword [ebp - 0x30]
lea esi, [esi - 5]
mov dword [eax + esi*4], edi
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x34]
lea edx, [edx - 4]
mov dword [eax + edx*4], ecx
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x34]
lea esi, [esi - 3]
mov dword [ecx + esi*4], edx
mov edx, dword [ebp - 0x34]
lea edx, [edx - 2]
mov eax, dword [ebp - 0x30]
mov ecx, str._sr_connect_servicerouter_port
mov dword [eax + edx*4], ecx
push ebx
call fcn.00427be3
sub esp, 0xfffffffc
push eax
push 0x4d75e8
call fcn.00442438
add esp, 8
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0044d1c6
mov edx, dword [ebp - 0x34]
mov esi, eax
lea edi, [ebp - 0x3c]
sub esp, 0xfffffff8
dec edx
mov eax, dword [ebp - 0x30]
mov dword [eax + edx*4], esi
mov eax, dword [ebp - 0x34]
lea esi, [0x4d75e0]
mov dword [ebp - 0x3c], eax
cmp dword [ebp + 0x10], 0
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
je 0x4293ba
lea esi, [ebp - 0x3c]
push esi
push dword [ebp - 0x30]
mov eax, dword [ebp + 0x14]
push dword [eax]
call fcn.0040c974
add esp, 4
push eax
push ebx
call fcn.0042b7c8
add esp, 0x10
mov dword [ebp - 0x38], eax
jmp 0x4293cb
push dword [ebp - 0x34]
push dword [ebp - 0x30]
call fcn.00449602
mov dword [ebp - 0x38], eax
add esp, 8
push dword [ebp - 0x30]
mov eax, dword [0x4d3eec]
call eax
lea eax, [ebp - 0x20]
sub esp, 0xfffffffc
push eax
push 0
push 0
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp - 0xc]
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
mov eax, dword [ebp + 0xc]
push dword [eax + 0x40]
call fcn.00406351
add esp, 0x28
push dword [ebp - 0x38]
call fcn.00449b85
add esp, 4
cmp dword [ebp - 0x1c], 0
je 0x429434
push 2
lea eax, [ebp - 0x2c]
push eax
call fcn.0044d2da
add esp, 8
push 2
lea eax, [ebp - 0x20]
push eax
call fcn.0043a2a9
sub esp, 0xfffffff8
mov eax, 0xffffffff
jmp 0x429455
lea eax, [ebp - 0x2c]
mov edi, dword [ebp - 0xc]
push 2
push eax
call fcn.0044d2da
sub esp, 0xfffffff8
push 2
lea eax, [ebp - 0x20]
push eax
call fcn.0043a2a9
add esp, 8
mov eax, edi
pop ebx
pop esi
pop edi
leave
ret