Function at 0x46cabb
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x632735
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x238
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
lea eax, [edi + 0x98]
mov dword [esp + 0x10], esi
mov ebx, ecx
mov dword [esp + 0x14], eax
cmp dword [eax], esi
jne 0x46d096
lea eax, [esp + 0x20]
push eax
call fcn.0046ecda
mov dword [esp + 0x24c], esi
push dword [ebp + 0xc]
lea esi, [edi + 0x3c]
call fcn.00469619
cmp dword [eax + 8], 0
mov dword [esp + 0x18], eax
je 0x46d047
cmp dword [eax + 0x14], 0
je 0x46d047
lea eax, [edi + 0x54]
cmp dword [eax + 0x18], 0x10
mov dword [esp + 0x34], eax
jb 0x46cb42
mov eax, dword [eax + 4]
jmp 0x46cb45
add eax, 4
push eax
push str.connecting_to__s
mov esi, 0xc8
lea edi, [esp + 0xb8]
call fcn.0043cb7b
pop ecx
pop ecx
mov eax, edi
push eax
mov eax, dword [ebp + 0x10]
push ebx
call fcn.0046ae97
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 8]
cmp ecx, 1
jne 0x46cdbf
cmp dword [eax + 0x18], 5
jg 0x46d072
mov eax, dword [esp + 0x14]
xor esi, esi
cmp dword [eax], esi
je 0x46cb9e
mov esi, eax
call fcn.0046edc2
mov edi, eax
call fcn.004b7a71
xor esi, esi
push 0x2d0
call fcn.005b4e59
pop ecx
mov dword [esp + 0x24], eax
mov byte [esp + 0x24c], 1
cmp eax, esi
je 0x46cce7
movzx eax, byte [0x71c0fa]
sub esp, 0x10
mov edi, esp
mov dword [esp + 0x2c], esp
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
push ecx
mov eax, esp
mov dword [esp + 0x48], esp
push eax
mov ecx, ebx
call fcn.0046ecda
mov byte [esp + 0x26c], 2
push edi
mov byte [esp + 0x270], 1
call fcn.00471087
add esp, 0x14
mov byte [esp + 0x25c], 3
lea eax, [esp + 0x88]
push eax
mov byte [esp + 0x260], 1
call fcn.004711a1
mov byte [esp + 0x24c], 4
movzx eax, byte [0x71c0fb]
sub esp, 0x10
mov edi, esp
mov dword [esp + 0x38], esp
push eax
push dword [ebp + 0xc]
movzx eax, byte [0x71c0f9]
push dword [ebp + 8]
mov dword [esp + 0x2c], 1
push eax
movzx eax, byte [0x71c0fa]
push eax
push ecx
mov eax, esp
mov dword [esp + 0x44], esp
push eax
mov ecx, ebx
call fcn.0046ecda
mov dword [esp + 0x274], 5
push 0x46e00d
push edi
mov byte [esp + 0x27c], 4
call fcn.00470fdc
add esp, 0x20
mov dword [esp + 0x25c], 6
lea eax, [esp + 0x48]
push eax
mov byte [esp + 0x260], 4
call fcn.0047112e
push 7
pop eax
mov dword [esp + 0x24c], eax
mov dword [esp + 0x10], 3
mov dword [esp + 0x58], esi
mov dword [esp + 0x24c], 9
mov dword [esp + 0x10], eax
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x7c]
push eax
push dword [ebx + 0x19c]
lea ecx, [esp + 0x44]
push dword [ebx + 0x84]
push dword [esp + 0x34]
call fcn.0046a801
jmp 0x46cce9
xor eax, eax
mov dword [esp + 0x24c], 0xc
mov edi, dword [esp + 0x14]
mov ecx, eax
call fcn.00470eae
mov dword [esp + 0x24c], 0xb
test byte [esp + 0x10], 4
je 0x46cd20
and dword [esp + 0x10], 0xfffffffb
lea eax, [esp + 0x58]
push eax
call fcn.004a74fe
push 0xa
pop ebx
mov dword [esp + 0x24c], ebx
test byte [esp + 0x10], 2
je 0x46cd40
and dword [esp + 0x10], 0xfffffffd
lea eax, [esp + 0x38]
push eax
call fcn.00430247
mov dword [esp + 0x24c], esi
test byte [esp + 0x10], 1
je 0x46cd5d
and dword [esp + 0x10], 0xfffffffe
lea eax, [esp + 0x78]
push eax
call fcn.004a74fe
push esi
call dword [sym.imp.WS2_32.dll_htonl]
lea ecx, [esp + 0x40]
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], eax
call fcn.00418e40
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x70]
cdq
push edx
push eax
lea eax, [esp + 0x80]
push eax
call fcn.0043c199
add esp, 0xc
push 5
pop ecx
mov esi, eax
lea edi, [esp + 0x9b]
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x9b]
push eax
lea ecx, [esp + 0x5c]
movsb byte es:[edi], byte [esi]
call fcn.004028e2
mov byte [esp + 0x24c], 0xd
xor edi, edi
push edi
push ebx
jmp 0x46cff6
cmp ecx, 2
jne 0x46d041
mov esi, dword [esp + 0x14]
cmp dword [esi], 0
je 0x46cddd
call fcn.0046edc2
mov edi, eax
call fcn.004b7a71
push 0x2d0
call fcn.005b4e59
pop ecx
mov dword [esp + 0x24], eax
mov byte [esp + 0x24c], 0xe
push 0x18
pop esi
test eax, eax
je 0x46cf23
sub esp, 0x10
mov edi, esp
mov dword [esp + 0x38], esp
push dword [ebp + 0xc]
push dword [ebp + 8]
push ecx
mov eax, esp
mov dword [esp + 0x38], esp
push eax
mov ecx, ebx
call fcn.0046ecda
mov byte [esp + 0x268], 0xf
push edi
mov byte [esp + 0x26c], 0xe
call fcn.00471214
add esp, 0x10
mov byte [esp + 0x25c], 0x10
lea eax, [esp + 0x88]
push eax
mov byte [esp + 0x260], 0xe
call fcn.004712b8
mov byte [esp + 0x24c], 0x11
movzx eax, byte [0x71c0fb]
sub esp, 0x10
mov edi, esp
mov dword [esp + 0x38], esp
push eax
push dword [ebp + 0xc]
movzx eax, byte [0x71c0f9]
push dword [ebp + 8]
mov dword [esp + 0x2c], 8
push eax
movzx eax, byte [0x71c0fa]
push eax
push ecx
mov eax, esp
mov dword [esp + 0x44], esp
push eax
mov ecx, ebx
call fcn.0046ecda
mov dword [esp + 0x274], 0x12
push 0x46e570
push edi
mov byte [esp + 0x27c], 0x11
call fcn.00470fdc
add esp, 0x20
mov dword [esp + 0x25c], 0x13
lea eax, [esp + 0x48]
push eax
mov byte [esp + 0x260], 0x11
call fcn.0047112e
mov dword [esp + 0x24c], 0x14
and dword [esp + 0x58], 0
mov dword [esp + 0x10], esi
mov dword [esp + 0x24c], 0x16
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x7c]
push eax
push dword [ebx + 0x19c]
lea ecx, [esp + 0x44]
push dword [ebx + 0x84]
mov dword [esp + 0x20], 0x38
push dword [esp + 0x34]
call fcn.0046a801
jmp 0x46cf25
xor eax, eax
mov dword [esp + 0x24c], 0x19
mov edi, dword [esp + 0x14]
mov ecx, eax
call fcn.00470eae
mov dword [esp + 0x24c], esi
test byte [esp + 0x10], 0x20
je 0x46cf58
and dword [esp + 0x10], 0xffffffdf
lea eax, [esp + 0x58]
push eax
call fcn.004a74fe
mov dword [esp + 0x24c], 0x17
test byte [esp + 0x10], 0x10
je 0x46cf79
and dword [esp + 0x10], 0xffffffef
lea eax, [esp + 0x38]
push eax
call fcn.00430247
xor esi, esi
mov dword [esp + 0x24c], esi
test byte [esp + 0x10], 8
je 0x46cf98
and dword [esp + 0x10], 0xfffffff7
lea eax, [esp + 0x78]
push eax
call fcn.004a74fe
push esi
call dword [sym.imp.WS2_32.dll_htonl]
lea ecx, [esp + 0x40]
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], eax
call fcn.00418e40
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x70]
cdq
push edx
push eax
lea eax, [esp + 0x80]
push eax
call fcn.0043c199
add esp, 0xc
push 5
pop ecx
mov esi, eax
lea edi, [esp + 0x9b]
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x9b]
push eax
lea ecx, [esp + 0x5c]
movsb byte es:[edi], byte [esi]
call fcn.004028e2
mov byte [esp + 0x24c], 0x1a
xor edi, edi
push edi
push 0xa
lea esi, [esp + 0x30]
call fcn.0042d51a
pop ecx
mov esi, dword [esp + 0x18]
pop ecx
push dword [eax + 4]
push dword [eax]
lea eax, [esp + 0x40]
push eax
push 5
push edi
push edi
push 1
lea eax, [esp + 0x74]
push eax
push dword [esp + 0x54]
call fcn.0046edc2
push eax
call fcn.004b725c
mov byte [esp + 0x24c], 0
push edi
push 1
lea ecx, [esp + 0x60]
call fcn.00403762
mov eax, dword [esp + 0x18]
and dword [eax + 8], 0
jmp 0x46d085
push dword [ebp + 0xc]
mov esi, 0xc8
push str.mapping__u_does_not_need_updating__skipping
lea edi, [esp + 0x180]
call fcn.0043cb7b
pop ecx
pop ecx
mov eax, edi
push eax
mov eax, dword [ebp + 0x10]
push ebx
call fcn.0046ae97
mov eax, dword [esp + 0x18]
push dword [ebp + 0x10]
and dword [eax + 8], 0
push dword [ebp + 8]
mov eax, dword [ebp + 0xc]
push ebx
call fcn.0046ca0a
or dword [esp + 0x24c], 0xffffffff
lea eax, [esp + 0x20]
call fcn.004477a6
mov ecx, dword [esp + 0x244]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc