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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x6c
mov eax, dword [0x56a260]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
mov esi, ecx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x10], edi
je 0x4a6d38
cmp dword [edi + 8], 0
jbe 0x4a6cf9
mov eax, dword [edi + 4]
mov eax, dword [eax]
mov ebx, eax
lea ecx, [ecx]
mov esi, dword [edi + 4]
mov eax, edi
test eax, eax
mov dword [esp + 0x14], eax
je 0x4a6b61
cmp eax, edi
je 0x4a6b6a
call fcn.004f2608
mov eax, dword [esp + 0x14]
cmp ebx, esi
je 0x4a6c32
test eax, eax
jne 0x4a6b7f
call fcn.004f2608
mov eax, dword [esp + 0x14]
cmp ebx, dword [eax + 4]
jne 0x4a6b89
call fcn.004f2608
lea esi, [ebx + 8]
mov ecx, 0x13
lea edi, [esp + 0x20]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x20]
mov eax, str.0.0.0.0
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4a6bc6
test dx, dx
je 0x4a6bc2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4a6bc6
add eax, 4
add ecx, 4
test dx, dx
jne 0x4a6ba0
xor eax, eax
jmp 0x4a6bcb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4a6c19
lea ecx, [esp + 0x20]
mov eax, 0x543e10
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4a6bfe
test dx, dx
je 0x4a6bfa
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4a6bfe
add eax, 4
add ecx, 4
test dx, dx
jne 0x4a6bd8
xor eax, eax
jmp 0x4a6c03
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4a6c19
cmp dword [esp + 0x60], 0
jne 0x4a6c19
cmp dword [esp + 0x64], 0
jne 0x4a6ca1
mov eax, dword [esp + 0x10]
cmp ebx, dword [eax + 4]
jne 0x4a6c27
call fcn.004f2608
mov ebx, dword [ebx]
mov edi, dword [esp + 0x10]
jmp 0x4a6b50
mov edx, dword [edi + 4]
mov edi, dword [edx]
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x18], edi
nop
test ebx, ebx
mov eax, ebx
mov esi, dword [eax + 4]
je 0x4a6c4d
cmp ebx, eax
je 0x4a6c52
call fcn.004f2608
cmp edi, esi
je 0x4a6d38
test ebx, ebx
jne 0x4a6c63
call fcn.004f2608
cmp edi, dword [ebx + 4]
jne 0x4a6c6d
call fcn.004f2608
lea esi, [edi + 8]
mov ecx, 0x13
lea edi, [esp + 0x20]
rep movsd dword es:[edi], dword [esi]
cmp dword [esp + 0x60], 1
jne 0x4a6c89
cmp dword [esp + 0x64], 0
jne 0x4a6ca1
mov esi, dword [esp + 0x18]
cmp esi, dword [ebx + 4]
jne 0x4a6c97
call fcn.004f2608
mov eax, dword [esi]
mov dword [esp + 0x18], eax
mov edi, eax
jmp 0x4a6c40
mov esi, dword [esp + 0x1c]
lea ecx, [esp + 0x20]
push ecx
lea edx, [esi + 0x1c]
push 0x10
push edx
call fcn.004f2e08
lea eax, [esp + 0x4c]
push eax
lea ecx, [esi + 0x3c]
push 0x10
push ecx
call fcn.004f2e08
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x78]
mov dword [esi + 0x64], eax
mov dword [esi + 0x60], ecx
mov dword [esi + 0x5c], edx
add esp, 0x18
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.004f2ac1
mov esp, ebp
pop ebp
ret 4
push 0x543e10
lea edx, [esi + 0x1c]
push 0x10
push edx
call fcn.004f2e08
push 0x543e10
lea eax, [esi + 0x3c]
push 0x10
push eax
call fcn.004f2e08
add esp, 0x18
xor eax, eax
mov dword [esi + 0x60], eax
mov dword [esi + 0x64], eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.004f2ac1
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esp + 0x74]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.004f2ac1
mov esp, ebp
pop ebp
ret 4