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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x62b8e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xf0
and dword [esp + 8], 0
push ebx
push esi
push edi
push 3
lea esi, [esp + 0x54]
mov dword [esp + 0x1c], ecx
call fcn.0042ecc3
and dword [esp + 0x104], 0
mov ebx, dword [ebp + 8]
lea eax, [ebx + 8]
push eax
push ecx
push 0x68cea4
mov eax, esi
push eax
call fcn.0042e879
pop ecx
push eax
call fcn.0042edcc
push 0x68d108
mov eax, 0x68d10c
lea edi, [esp + 0x20]
call fcn.0046eb1b
mov byte [esp + 0x104], 1
push eax
push ecx
push 0x68d10c
mov eax, esi
push eax
call fcn.0042e879
pop ecx
push eax
call fcn.0042edcc
mov byte [esp + 0x104], 0
xor esi, esi
xor edi, edi
push esi
inc edi
push edi
lea ecx, [esp + 0x24]
call fcn.00403762
cmp dword [ebx + 4], 4
lea ecx, [esp + 0x1c]
jne 0x4a8e7a
push 0x687718
call fcn.004028e2
mov byte [esp + 0x104], 2
lea eax, [esp + 0x1c]
push eax
push ecx
push 0x684c94
lea eax, [esp + 0x5c]
push eax
call fcn.0042e879
pop ecx
push eax
call fcn.0042edcc
mov byte [esp + 0x104], 0
push esi
push edi
lea ecx, [esp + 0x24]
call fcn.00403762
push 2
lea esi, [esp + 0x7c]
call fcn.0042ecc3
mov byte [esp + 0x104], 3
mov eax, dword [ebx + 0x138]
cdq
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], edx
lea edx, [esp + 0x38]
lea eax, [esp + 0xa8]
call fcn.0042edaf
mov byte [esp + 0x104], 4
push eax
call fcn.0042ec71
call fcn.0041c3aa
mov byte [esp + 0x104], 3
lea ecx, [esp + 0xa8]
call fcn.0042ebf2
lea eax, [ebx + 0x13c]
push eax
lea eax, [esp + 0xac]
push eax
call fcn.0042ed25
mov byte [esp + 0x104], 5
push eax
call fcn.0042ec71
call fcn.0041c3aa
mov byte [esp + 0x104], 3
lea ecx, [esp + 0xa8]
call fcn.0042ebf2
mov eax, esi
push eax
push ecx
push 0x687718
lea eax, [esp + 0x5c]
push eax
call fcn.0042e879
add esp, 4
call fcn.0042ec06
mov byte [esp + 0x104], 0
mov ecx, esi
call fcn.0042ebf2
jmp 0x4a93f1
cmp byte [ebx], 0
je 0x4a918f
push 0x68ceec
call fcn.004028e2
mov byte [esp + 0x104], 6
lea eax, [esp + 0x1c]
push eax
push ecx
push 0x684c94
lea eax, [esp + 0x5c]
push eax
call fcn.0042e879
pop ecx
push eax
call fcn.0042edcc
mov byte [esp + 0x104], 0
push esi
push edi
lea ecx, [esp + 0x24]
call fcn.00403762
push 3
lea esi, [esp + 0x7c]
call fcn.0042ecc3
mov byte [esp + 0x104], 7
push eax
push ecx
mov esi, 0x68ceec
push esi
lea eax, [esp + 0x5c]
push eax
call fcn.0042e879
add esp, 4
call fcn.0042ec06
mov byte [esp + 0x104], 0
lea ecx, [esp + 0x78]
call fcn.0042ebf2
push esi
lea eax, [esp + 0x54]
push eax
call fcn.0042e879
mov dword [esp + 0x10], eax
lea eax, [ebx + 0x38]
push eax
lea eax, [ebx + 0x24]
push eax
lea esi, [esp + 0x24]
call fcn.0048708e
mov byte [esp + 0x104], 8
push eax
push ecx
push 0x684c04
push dword [esp + 0x1c]
call fcn.0042e879
pop ecx
push eax
call fcn.0042edcc
mov byte [esp + 0x104], 0
xor esi, esi
push esi
push edi
lea ecx, [esp + 0x24]
call fcn.00403762
cmp dword [ebx + 0x118], esi
je 0x4a8f7b
lea eax, [ebx + 0x104]
push eax
push ecx
push 0x68bd64
push dword [esp + 0x1c]
call fcn.0042e879
pop ecx
push eax
call fcn.0042edcc
cmp dword [ebx + 0xfc], esi
je 0x4a8fa0
lea eax, [ebx + 0xe8]
push eax
push ecx
push str.token
push dword [esp + 0x1c]
call fcn.0042e879
pop ecx
push eax
call fcn.0042edcc
mov eax, dword [ebx + 4]
dec eax
je 0x4a917e
dec eax
jne 0x4a93f1
push ebx
push dword [esp + 0x14]
call fcn.004a8a3e
lea edi, [ebx + 0xd0]
mov eax, dword [edi + 0x10]
sub eax, dword [edi + 0xc]
pop ecx
pop ecx
test eax, 0xffffff80
je 0x4a93f1
push 2
lea esi, [esp + 0xac]
call fcn.0042ecc3
mov byte [esp + 0x104], 9
push eax
push ecx
mov esi, str.values
push esi
push dword [esp + 0x1c]
call fcn.0042e879
add esp, 4
call fcn.0042ec06
mov byte [esp + 0x104], 0
lea ecx, [esp + 0xa8]
call fcn.0042ebf2
push esi
push dword [esp + 0x14]
call fcn.0042e879
push 0
lea ecx, [esp + 0x20]
mov dword [esp + 0x14], eax
mov dword [esp + 0x38], 0xf
call fcn.00403827
mov byte [esp + 0x104], 0xa
push dword [edi + 0xc]
lea esi, [esp + 0x3c]
call fcn.00484e85
push dword [edi + 0x10]
lea esi, [esp + 0x44]
call fcn.00484e85
mov edi, dword [esp + 0x3c]
mov esi, dword [esp + 0x38]
test esi, esi
je 0x4a906a
cmp esi, dword [esp + 0x40]
je 0x4a906f
call fcn.005b544b
cmp edi, dword [esp + 0x44]
je 0x4a9169
push 0x12
pop eax
lea ecx, [esp + 0x1c]
call fcn.00408db3
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x20]
call fcn.0040949e
test esi, esi
jne 0x4a915e
call fcn.005b544b
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x4a90ac
call fcn.005b544b
lea eax, [esp + 0x78]
push eax
mov ecx, edi
call fcn.0042c649
mov ecx, eax
lea eax, [esp + 0x48]
call fcn.004abcfd
movzx eax, word [edi + 2]
push eax
call dword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
push eax
lea eax, [esp + 0x4c]
call fcn.004abd79
pop ecx
lea eax, [esp + 0xa0]
push eax
lea ecx, [esp + 0x20]
call fcn.0040949e
push eax
lea eax, [esp + 0x4c]
call fcn.004254a2
lea ecx, [esp + 0x1c]
call fcn.00408db3
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0xd4]
push eax
call fcn.0042ed25
mov byte [esp + 0x104], 0xb
mov esi, dword [esp + 0x10]
push eax
call fcn.0042ec71
call fcn.0041c3aa
mov byte [esp + 0x104], 0xa
lea ecx, [esp + 0xd0]
call fcn.0042ebf2
mov eax, dword [esp + 0x38]
test eax, eax
jne 0x4a9165
call fcn.005b544b
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x4a9156
call fcn.005b544b
sub edi, 0xffffff80
jmp 0x4a905c
mov eax, dword [esi]
jmp 0x4a90a2
mov eax, dword [eax]
jmp 0x4a914c
mov byte [esp + 0x104], 0
push 0
push 1
lea ecx, [esp + 0x24]
jmp 0x4a93ec
push ebx
push dword [esp + 0x14]
call fcn.004a8a3e
pop ecx
pop ecx
jmp 0x4a93f1
push 0x68cfa8
call fcn.004028e2
mov byte [esp + 0x104], 0xc
lea eax, [esp + 0x1c]
push eax
push ecx
push 0x684c94
lea eax, [esp + 0x5c]
push eax
call fcn.0042e879
pop ecx
push eax
call fcn.0042edcc
mov byte [esp + 0x104], 0
push esi
push edi
lea ecx, [esp + 0x24]
call fcn.00403762
push 3
lea esi, [esp + 0xd4]
call fcn.0042ecc3
mov byte [esp + 0x104], 0xd
push eax
push ecx
mov esi, 0x68cf60
push esi
lea eax, [esp + 0x5c]
push eax
call fcn.0042e879
add esp, 4
call fcn.0042ec06
mov byte [esp + 0x104], 0
lea ecx, [esp + 0xd0]
call fcn.0042ebf2
push esi
lea eax, [esp + 0x54]
push eax
call fcn.0042e879
mov dword [esp + 0x10], eax
lea eax, [ebx + 0x38]
push eax
lea eax, [ebx + 0x24]
push eax
lea esi, [esp + 0x24]
call fcn.0048708e
mov byte [esp + 0x104], 0xe
push eax
push ecx
push 0x684c04
push dword [esp + 0x1c]
call fcn.0042e879
pop ecx
push eax
call fcn.0042edcc
mov byte [esp + 0x104], 0
push 0
push edi
mov ecx, esi
call fcn.00403762
mov eax, dword [ebx + 4]
push dword [eax*4 + 0x682e10]
lea ecx, [esp + 0x20]
call fcn.004028e2
mov byte [esp + 0x104], 0xf
lea eax, [esp + 0x1c]
push eax
push ecx
push 0x68cfa8
lea eax, [esp + 0x5c]
push eax
call fcn.0042e879
pop ecx
push eax
call fcn.0042edcc
mov byte [esp + 0x104], 0
push 0
push edi
lea ecx, [esp + 0x24]
call fcn.00403762
mov eax, dword [ebx + 4]
dec eax
je 0x4a93a2
dec eax
je 0x4a9359
dec eax
jne 0x4a93f1
lea esi, [ebx + 0x134]
mov eax, dword [esi]
cdq
push str.port
push dword [esp + 0x14]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], edx
call fcn.0042e879
lea edi, [esp + 0x40]
call fcn.0042ee55
push esi
lea eax, [ebx + 0x120]
push eax
lea esi, [esp + 0x24]
call fcn.0048708e
mov byte [esp + 0x104], 0x12
push eax
push ecx
push 0x68d010
push dword [esp + 0x1c]
call fcn.0042e879
pop ecx
push eax
call fcn.0042edcc
mov byte [esp + 0x104], 0
push 0
push 1
mov ecx, esi
call fcn.00403762
lea eax, [ebx + 0xe8]
push eax
push ecx
push str.token
push dword [esp + 0x1c]
call fcn.0042e879
pop ecx
push eax
call fcn.0042edcc
jmp 0x4a93f1
lea eax, [ebx + 0x134]
push eax
lea eax, [ebx + 0x120]
push eax
lea esi, [esp + 0xb0]
mov dword [esp + 0x1c], edi
call fcn.0048708e
mov byte [esp + 0x104], 0x11
push eax
push ecx
push 0x68d010
push dword [esp + 0x1c]
call fcn.0042e879
pop ecx
push eax
call fcn.0042edcc
mov byte [esp + 0x104], 0
mov ecx, esi
jmp 0x4a93e9
lea eax, [ebx + 0x134]
push eax
lea eax, [ebx + 0x120]
push eax
lea esi, [esp + 0x80]
mov dword [esp + 0x1c], edi
call fcn.0048708e
mov byte [esp + 0x104], 0x10
push eax
push ecx
push str.target
push dword [esp + 0x1c]
call fcn.0042e879
pop ecx
push eax
call fcn.0042edcc
mov byte [esp + 0x104], 0
mov ecx, esi
push 0
push edi
call fcn.00403762
mov edi, dword [esp + 0x18]
lea esi, [edi + 0x4490]
mov eax, esi
call fcn.004116d5
lea eax, [esp + 0x50]
push eax
push esi
call fcn.0042767a
pop ecx
pop ecx
call fcn.005ebf90
push dword [esp + 0x14]
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
lea ecx, [esp + 0xa4]
push ecx
push eax
add ebx, 0x38
push 0
mov dword [esp + 0x28], ebx
call fcn.004116ba
mov ecx, dword [edi + 0x448c]
push eax
push ebx
call fcn.00459b02
test al, al
je 0x4a946f
mov ebx, dword [esi + 0x10]
sub ebx, dword [esi + 0xc]
lea eax, [esp + 0x78]
push eax
mov eax, dword [esp + 0x1c]
call fcn.00445f0a
mov eax, dword [eax]
dec eax
neg eax
sbb eax, eax
and eax, 0xffffffec
add eax, 0x30
add eax, ebx
add dword [edi + 0x4518], eax
or dword [esp + 0x104], 0xffffffff
lea ecx, [esp + 0x50]
call fcn.0042ebf2
mov ecx, dword [esp + 0xfc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4