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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4be9d8
mov eax, dword fs:[0]
push eax
sub esp, 0x70
push ebx
push esi
push edi
mov eax, dword [0x57e030]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
lea ecx, [esp + 0x44]
call fcn.00404990
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [esp + 0x88], ebx
mov eax, dword [esi + 0x19c]
mov eax, dword [eax + 0x18]
lea ecx, [esi + 0x19c]
lea edx, [esp + 0x44]
push edx
call eax
mov eax, dword [esp + 0x54]
mov edi, eax
cmp eax, dword [esp + 0x58]
jbe 0x4571db
call fcn.00480e22
mov eax, dword [esp + 0x48]
cmp eax, ebx
jne 0x457235
call fcn.00480e22
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x4571f4
call fcn.00480e22
push edi
call fcn.004439a0
add esp, 4
test al, al
jne 0x45727c
mov ecx, dword [esp + 0x58]
sub ecx, dword [esp + 0x54]
mov edi, dword [esi + 0x1a8]
add esi, 0x1a8
sar ecx, 1
add edi, 8
sub ecx, 1
jne 0x457239
push 0x9c41
call fcn.00401bb0
mov edx, dword [edi]
add esp, 4
push eax
mov ecx, esi
call edx
jmp 0x45724d
mov eax, dword [eax]
jmp 0x4571ea
push 0x9c73
call fcn.00401bb0
add esp, 4
push eax
mov eax, dword [edi]
mov ecx, esi
call eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x44], vtable.StringStorage.0
cmp eax, ebx
je 0x457266
push eax
call fcn.00480e32
add esp, 4
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
push ecx
jmp 0x4574a6
lea edx, [esp + 0x44]
push edx
lea eax, [esp + 0x64]
push eax
call fcn.0045cdf0
mov byte [esp + 0x88], 1
mov edi, dword [esp + 0x70]
cmp edi, dword [esp + 0x74]
jbe 0x4572a2
call fcn.00480e22
mov eax, dword [esp + 0x64]
cmp eax, ebx
jne 0x457331
call fcn.00480e22
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x4572bf
call fcn.00480e22
push edi
call dword [sym.imp.WS2_32.dll_inet_addr]
mov ecx, dword [esi + 0x110]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push ebx
push ebx
push 0x1004
push ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], ebx
call edi
test eax, eax
jle 0x4572fc
mov edx, dword [esi + 0x110]
push 0
push 0
push 0x1004
push edx
call edi
mov ebx, eax
xor edi, edi
test ebx, ebx
jle 0x45733f
lea eax, [esi + 0x10c]
push eax
mov edx, edi
lea esi, [esp + 0x24]
call fcn.00461a50
mov esi, dword [eax + 4]
mov eax, dword [esp + 0x1c]
push eax
mov ecx, esi
call fcn.004437f0
test al, al
jne 0x457335
mov esi, dword [ebp + 8]
inc edi
cmp edi, ebx
jl 0x457302
jmp 0x45733f
mov eax, dword [eax]
jmp 0x4572b5
mov ecx, dword [esi + 4]
mov esi, dword [ebp + 8]
mov dword [esp + 0x18], ecx
push 4
mov dword [esp + 0x2c], vtable.StringStorage.0
call fcn.00480ed5
xor edi, edi
add esp, 4
cmp eax, edi
je 0x45735f
lea edx, [esp + 0x2c]
mov dword [eax], edx
jmp 0x457361
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
push 0x4c8df0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x8c], 3
call fcn.00405d10
push 0x9c74
mov byte [esp + 0x8c], 4
call fcn.00401bb0
add esp, 4
push eax
lea ecx, [esp + 0x2c]
call fcn.00405d10
mov eax, dword [esp + 0x18]
sub eax, edi
je 0x4573c6
sub eax, 1
je 0x4573bf
sub eax, 1
jne 0x4573dd
push 0x9c77
jmp 0x4573cb
push 0x9c76
jmp 0x4573cb
push 0x9c75
call fcn.00401bb0
add esp, 4
push eax
lea ecx, [esp + 0x2c]
call fcn.00405d10
mov ebx, dword [esp + 0x38]
cmp ebx, dword [esp + 0x3c]
jbe 0x4573ec
call fcn.00480e22
mov eax, dword [esp + 0x2c]
cmp eax, edi
jne 0x4574c6
call fcn.00480e22
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x457409
call fcn.00480e22
mov eax, dword [esi + 0x1a8]
mov edx, dword [eax + 8]
lea ecx, [esi + 0x1a8]
push ebx
call edx
mov eax, dword [esp + 0x38]
mov esi, vtable.StringStorage.0
mov dword [esp + 0x28], esi
cmp eax, edi
je 0x457435
push eax
call fcn.00480e32
add esp, 4
mov eax, dword [esp + 0x2c]
push eax
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
call fcn.00480e32
mov eax, dword [esp + 0x74]
add esp, 4
mov dword [esp + 0x60], vtable.AnsiStringStorage.0
cmp eax, edi
je 0x457467
push eax
call fcn.00480e32
add esp, 4
mov ecx, dword [esp + 0x64]
push ecx
mov dword [esp + 0x74], edi
mov dword [esp + 0x78], edi
mov dword [esp + 0x7c], edi
call fcn.00480e32
mov eax, dword [esp + 0x58]
add esp, 4
mov dword [esp + 0x44], esi
cmp eax, edi
je 0x457495
push eax
call fcn.00480e32
add esp, 4
mov edx, dword [esp + 0x48]
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], edi
push edx
call fcn.00480e32
add esp, 4
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [eax]
jmp 0x4573ff