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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ff150
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x53a098]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x3c], ebx
cmp byte [ebx + 0x3c], 0
jne 0x4a715b
mov byte [ebx + 0x3c], 1
mov edi, dword [ebx + 4]
mov esi, dword [ebx]
cmp esi, edi
je 0x4a6c4b
push ecx
mov ecx, esi
call fcn.004a7f00
add esi, 0x94
cmp esi, edi
jne 0x4a6c37
mov esi, dword [ebx]
mov dword [ebx + 4], esi
lea ecx, [ebp - 0x6c]
movzx eax, byte [ebx + 0x3d]
push eax
call fcn.004b46d0
mov esi, eax
mov dword [ebp - 4], 0
lea edi, [ebx + 0xc]
cmp edi, esi
je 0x4a6c7a
push dword [ebp - 0x3c]
mov ecx, edi
push dword [esi + 4]
push dword [esi]
call fcn.004a84c0
lea eax, [esi + 0xc]
lea ecx, [edi + 0xc]
cmp ecx, eax
je 0x4a6c91
push dword [ebp - 0x3c]
push dword [eax + 4]
push dword [eax]
call fcn.004a8280
lea eax, [esi + 0x18]
lea ecx, [edi + 0x18]
cmp ecx, eax
je 0x4a6ca8
push dword [ebp - 0x3c]
push dword [eax + 4]
push dword [eax]
call fcn.004a8020
lea ecx, [esi + 0x24]
lea esi, [edi + 0x24]
cmp esi, ecx
je 0x4a6ccc
call fcn.00404e80
mov edx, dword [eax]
call fcn.00404e90
push dword [ebp - 0x3c]
mov ecx, esi
push edx
mov eax, dword [eax]
push eax
call fcn.0042f8b0
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x48]
call fcn.00404b70
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x54]
call fcn.004a7610
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x60]
call fcn.004a7690
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6c]
call fcn.004a7710
push ebx
mov ecx, edi
call fcn.004b6350
mov eax, dword [ebx + 4]
cmp dword [ebx], eax
jne 0x4a6e42
lea ecx, [ebp - 0x34]
call fcn.00407090
mov dword [ebp - 4], 6
mov edi, dword [ebx + 4]
mov esi, dword [ebx]
cmp esi, edi
je 0x4a6d44
nop dword [eax]
push ecx
mov ecx, esi
call fcn.004a7f00
add esi, 0x94
cmp esi, edi
jne 0x4a6d30
mov esi, dword [ebx]
mov ecx, ebx
mov dword [ebx + 4], esi
call fcn.004ba550
mov esi, dword [ebx]
cmp esi, dword [ebx + 4]
je 0x4a6e2d
lea edi, [esi + 0x18]
nop dword [eax]
mov ecx, edi
call fcn.00404c10
test al, al
jne 0x4a6d7f
push str.000000000000
mov ecx, edi
call fcn.00405a10
mov byte [ebp - 0x2d], 1
test al, al
je 0x4a6d83
mov byte [ebp - 0x2d], 0
lea eax, [edi + 0x18]
mov ecx, eax
call fcn.00404c10
test al, al
jne 0x4a6da6
push str.000000000000
lea ecx, [edi + 0x18]
call fcn.00405a10
test al, al
jne 0x4a6da6
mov al, 1
jmp 0x4a6da8
xor al, al
cmp byte [ebp - 0x2d], 0
jne 0x4a6dd5
test al, al
jne 0x4a6dd5
mov edx, dword [ebx + 4]
lea ecx, [edi + 0x7c]
push esi
call fcn.004a7ad0
mov ecx, dword [ebx + 4]
sub ecx, 0x94
call fcn.004a7f00
add dword [ebx + 4], 0xffffff6c
jmp 0x4a6e22
push edi
call fcn.00407f90
lea eax, [edi + 0x18]
push eax
call fcn.00407f90
or byte [edi + 0x48], 1
lea ecx, [edi + 0x4c]
add esp, 8
call fcn.00404e90
mov dword [ebp - 0x38], 0
cmp dword [eax + 0x14], 8
mov dword [eax + 0x10], 0
jb 0x4a6e09
mov eax, dword [eax]
lea ecx, [ebp - 0x38]
push ecx
push eax
call fcn.00405420
add esp, 8
add esi, 0x94
add edi, 0x94
mov eax, dword [ebx + 4]
cmp esi, eax
jne 0x4a6d60
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00407150
mov eax, dword [ebx + 4]
lea edi, [ebx + 0xc]
mov esi, dword [ebx]
cmp esi, eax
je 0x4a6e8b
lea eax, [esi + 0x7c]
mov ecx, edi
push eax
push esi
call fcn.004b5ec0
test al, al
jne 0x4a6e7e
mov edx, dword [ebx + 4]
lea ecx, [esi + 0x94]
push esi
call fcn.004a7ad0
mov ecx, dword [ebx + 4]
sub ecx, 0x94
call fcn.004a7f00
add dword [ebx + 4], 0xffffff6c
jmp 0x4a6e84
add esi, 0x94
mov eax, dword [ebx + 4]
cmp esi, eax
jne 0x4a6e48
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
movq qword [ebp - 0x28], xmm0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 8
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 9
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.004b5d00
mov ecx, dword [ebp - 0x24]
mov eax, 0x81848da9
mov edi, dword [ebp - 0x28]
sub ecx, edi
imul ecx
add edx, ecx
sar edx, 9
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov dword [ebp - 0x38], ecx
je 0x4a7044
xor eax, eax
mov dword [ebp - 0x34], eax
mov esi, dword [ebx]
add eax, edi
mov dword [ebp - 0x2c], eax
cmp esi, dword [ebx + 4]
je 0x4a702d
mov ecx, eax
call fcn.00405040
mov ecx, esi
mov edi, eax
call fcn.00405040
cmp eax, edi
jne 0x4a7015
mov ecx, dword [ebp - 0x2c]
call fcn.00404c20
mov ecx, esi
mov edi, eax
call fcn.00404c20
mov edx, edi
mov ecx, eax
call fcn.00407cd0
test al, al
je 0x4a7015
mov edi, dword [ebp - 0x2c]
add edi, 0x30
mov ecx, edi
call fcn.00404c10
test al, al
jne 0x4a6fa7
push str.0.0.0.0
mov ecx, edi
call fcn.00405a10
test al, al
jne 0x4a6fa7
mov ecx, edi
lea edx, [esi + 0x64]
call fcn.00404e90
cmp edx, eax
je 0x4a6fa7
call fcn.00404e90
mov edx, eax
cmp dword [eax + 0x14], 8
jb 0x4a6f9b
mov edx, dword [eax]
push dword [eax + 0x10]
lea ecx, [esi + 0x64]
push edx
call fcn.00405050
or byte [esi + 0x60], 2
lea edi, [esi + 0x30]
mov ecx, edi
call fcn.00404c10
test al, al
je 0x4a6fe2
mov ecx, dword [ebp - 0x2c]
add ecx, 0x78
call fcn.00404e90
cmp edi, eax
je 0x4a6fe2
call fcn.00404e90
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x4a6fd7
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, edi
call fcn.00405050
lea ecx, [esi + 0x48]
call fcn.00404c10
test al, al
mov eax, dword [ebp - 0x2c]
je 0x4a7018
cmp dword [eax + 0x2b8], 5
jne 0x4a7018
push 0x5175a0
call fcn.004051b0
add esp, 4
lea ecx, [esi + 0x48]
push eax
push 0x5175a0
call fcn.00405050
mov eax, dword [ebp - 0x2c]
add esi, 0x94
cmp esi, dword [ebx + 4]
jne 0x4a6f23
mov edi, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x34]
add eax, 0x3f4
sub ecx, 1
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ecx
jne 0x4a6f13
mov ecx, dword [ebp - 0x18]
mov eax, 0x92492493
mov edi, dword [ebp - 0x1c]
sub ecx, edi
imul ecx
mov dword [ebp - 0x38], 0
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x4a7140
xor ecx, ecx
mov dword [ebp - 0x34], ecx
mov esi, dword [ebx]
lea eax, [edi + ecx]
mov dword [ebp - 0x2c], eax
cmp esi, dword [ebx + 4]
je 0x4a7110
lea edi, [esi + 0x30]
mov ecx, eax
call fcn.00405040
mov ecx, esi
mov ebx, eax
call fcn.00405040
cmp eax, ebx
jne 0x4a70ef
mov ecx, dword [ebp - 0x2c]
call fcn.00404c20
mov ecx, esi
mov ebx, eax
call fcn.00404c20
mov edx, ebx
mov ecx, eax
call fcn.00407cd0
test al, al
je 0x4a70ef
or byte [edi + 0x30], 4
mov ecx, edi
call fcn.00404c10
test al, al
je 0x4a70ef
mov ecx, dword [ebp - 0x2c]
add ecx, 0x18
call fcn.00404e90
cmp edi, eax
je 0x4a70ef
call fcn.00404e90
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x4a70e4
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, edi
call fcn.00405050
mov ebx, dword [ebp - 0x3c]
add esi, 0x94
mov eax, dword [ebp - 0x2c]
add edi, 0x94
cmp esi, dword [ebx + 4]
jne 0x4a7085
mov edi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x34]
mov esi, dword [ebp - 0x38]
add ecx, 0x38
mov dword [ebp - 0x34], ecx
mov eax, 0x92492493
mov ecx, dword [ebp - 0x18]
inc esi
sub ecx, edi
mov dword [ebp - 0x38], esi
imul ecx
add edx, ecx
mov ecx, dword [ebp - 0x34]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x4a7071
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x1c]
call fcn.004a7690
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004a7710
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c2d85
mov esp, ebp
pop ebp
ret