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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fe7c0
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x53a00c]
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 edi, ecx
mov dword [ebp - 0x3c], edi
cmp byte [edi + 0x3c], 0
jne 0x4b4c69
mov byte [edi + 0x3c], 1
mov edx, dword [edi + 4]
push ecx
mov ecx, dword [edi]
call fcn.004b5930
mov eax, dword [edi]
lea ecx, [ebp - 0x6c]
add esp, 4
mov dword [edi + 4], eax
movzx eax, byte [edi + 0x3d]
push eax
call fcn.004ba600
mov esi, eax
mov dword [ebp - 4], 0
lea ebx, [edi + 0xc]
cmp ebx, esi
je 0x4b47ed
push dword [ebp - 0x30]
mov ecx, ebx
push dword [esi + 4]
push dword [esi]
call fcn.004b6090
lea eax, [esi + 0xc]
lea ecx, [ebx + 0xc]
cmp ecx, eax
je 0x4b4804
push dword [ebp - 0x30]
push dword [eax + 4]
push dword [eax]
call fcn.004b5e50
lea eax, [esi + 0x18]
lea ecx, [ebx + 0x18]
cmp ecx, eax
je 0x4b481b
push dword [ebp - 0x30]
push dword [eax + 4]
push dword [eax]
call fcn.004b5bf0
lea ecx, [esi + 0x24]
lea esi, [ebx + 0x24]
cmp esi, ecx
je 0x4b483f
call fcn.00403200
mov edx, dword [eax]
call fcn.00403210
push dword [ebp - 0x30]
mov ecx, esi
push edx
mov eax, dword [eax]
push eax
call fcn.0043d480
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x48]
call fcn.00402f10
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x54]
call fcn.004b5170
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x60]
call fcn.004b51f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6c]
call fcn.004b5270
push edi
mov ecx, ebx
call fcn.004bc060
mov eax, dword [edi + 4]
cmp dword [edi], eax
jne 0x4b4964
lea ecx, [ebp - 0x30]
call fcn.00431340
mov dword [ebp - 4], 6
mov edx, dword [edi + 4]
push ecx
mov ecx, dword [edi]
call fcn.004b5930
mov eax, dword [edi]
add esp, 4
mov ecx, edi
mov dword [edi + 4], eax
call fcn.004bec40
mov esi, dword [edi]
cmp esi, dword [edi + 4]
je 0x4b4952
nop dword [eax]
lea ecx, [esi + 0x18]
call fcn.00402f40
test al, al
jne 0x4b48e1
push str.000000000000
lea ecx, [esi + 0x18]
call fcn.00403cc0
mov byte [ebp - 0x29], 1
test al, al
je 0x4b48e5
mov byte [ebp - 0x29], 0
lea eax, [esi + 0x30]
mov ecx, eax
call fcn.00402f40
test al, al
jne 0x4b4908
push str.000000000000
lea ecx, [esi + 0x30]
call fcn.00403cc0
test al, al
jne 0x4b4908
mov al, 1
jmp 0x4b490a
xor al, al
cmp byte [ebp - 0x29], 0
jne 0x4b4924
test al, al
jne 0x4b4924
push esi
lea eax, [ebp - 0x34]
mov ecx, edi
push eax
call fcn.004b4eb0
mov esi, dword [eax]
jmp 0x4b4946
lea ecx, [esi + 0x18]
call fcn.0041f360
lea ecx, [esi + 0x30]
call fcn.0041f360
or byte [esi + 0x60], 1
lea ecx, [esi + 0x64]
call fcn.00402f60
add esi, 0x94
cmp esi, dword [edi + 4]
jne 0x4b48c0
lea ebx, [edi + 0xc]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00431400
mov eax, dword [edi + 4]
mov esi, dword [edi]
cmp esi, eax
je 0x4b499b
nop word [eax + eax]
lea eax, [esi + 0x7c]
mov ecx, ebx
push eax
push esi
call fcn.004bbc20
test al, al
jne 0x4b4990
push esi
lea eax, [ebp - 0x30]
mov ecx, edi
push eax
call fcn.004b4eb0
mov esi, dword [eax]
jmp 0x4b4996
add esi, 0x94
cmp esi, dword [edi + 4]
jne 0x4b4970
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, ebx
push eax
call fcn.004bba60
mov ecx, dword [ebp - 0x24]
mov eax, 0x81848da9
mov ebx, dword [ebp - 0x28]
sub ecx, ebx
imul ecx
add edx, ecx
sar edx, 9
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov dword [ebp - 0x38], ecx
je 0x4b4b4a
xor eax, eax
mov dword [ebp - 0x34], eax
mov esi, dword [edi]
add ebx, eax
cmp esi, dword [edi + 4]
je 0x4b4b33
mov ecx, ebx
call fcn.00403330
mov ecx, esi
mov edi, eax
call fcn.00403330
cmp eax, edi
jne 0x4b4b1b
mov ecx, ebx
call fcn.00402f50
mov ecx, esi
mov edi, eax
call fcn.00402f50
mov edx, edi
mov ecx, eax
call fcn.0041f050
test al, al
je 0x4b4b1b
lea ecx, [ebx + 0x30]
call fcn.00402f40
test al, al
jne 0x4b4ab3
push str.0.0.0.0
lea ecx, [ebx + 0x30]
call fcn.00403cc0
test al, al
jne 0x4b4ab3
lea ecx, [ebx + 0x30]
lea edx, [esi + 0x64]
call fcn.00403210
cmp edx, eax
je 0x4b4ab3
lea ecx, [ebx + 0x30]
call fcn.00403210
mov edx, eax
cmp dword [eax + 0x14], 8
jb 0x4b4aa7
mov edx, dword [eax]
push dword [eax + 0x10]
lea ecx, [esi + 0x64]
push edx
call fcn.00403340
or byte [esi + 0x60], 2
lea edi, [esi + 0x30]
mov ecx, edi
call fcn.00402f40
test al, al
je 0x4b4aeb
lea ecx, [ebx + 0x78]
call fcn.00403210
cmp edi, eax
je 0x4b4aeb
call fcn.00403210
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x4b4ae0
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, edi
call fcn.00403340
lea ecx, [esi + 0x48]
call fcn.00402f40
test al, al
je 0x4b4b1b
cmp dword [ebx + 0x2b8], 5
jne 0x4b4b1b
push 0x518490
call fcn.00403860
add esp, 4
lea ecx, [esi + 0x48]
push eax
push 0x518490
call fcn.00403340
mov edi, dword [ebp - 0x3c]
add esi, 0x94
cmp esi, dword [edi + 4]
jne 0x4b4a30
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x38]
mov ebx, dword [ebp - 0x28]
add eax, 0x3f4
sub ecx, 1
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ecx
jne 0x4b4a23
mov ecx, dword [ebp - 0x18]
mov eax, 0x92492493
mov ebx, dword [ebp - 0x1c]
sub ecx, ebx
imul ecx
mov dword [ebp - 0x30], 0
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x4b4c4e
xor ecx, ecx
mov dword [ebp - 0x34], ecx
mov esi, dword [edi]
lea eax, [ebx + ecx]
mov dword [ebp - 0x38], eax
cmp esi, dword [edi + 4]
je 0x4b4c1e
lea edi, [esi + 0x30]
nop dword [eax + eax]
mov ecx, eax
call fcn.00403330
mov ecx, esi
mov ebx, eax
call fcn.00403330
cmp eax, ebx
jne 0x4b4bfa
mov ecx, dword [ebp - 0x38]
call fcn.00402f50
mov ecx, esi
mov ebx, eax
call fcn.00402f50
mov edx, ebx
mov ecx, eax
call fcn.0041f050
test al, al
je 0x4b4bfa
or byte [edi + 0x30], 4
mov ecx, edi
call fcn.00402f40
test al, al
je 0x4b4bfa
mov ecx, dword [ebp - 0x38]
add ecx, 0x18
call fcn.00403210
cmp edi, eax
je 0x4b4bfa
call fcn.00403210
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x4b4bef
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, edi
call fcn.00403340
mov eax, dword [ebp - 0x3c]
add esi, 0x94
add edi, 0x94
cmp esi, dword [eax + 4]
mov eax, dword [ebp - 0x38]
jne 0x4b4b90
mov ebx, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x34]
mov esi, dword [ebp - 0x30]
add ecx, 0x38
mov dword [ebp - 0x34], ecx
mov eax, 0x92492493
mov ecx, dword [ebp - 0x18]
inc esi
sub ecx, ebx
mov dword [ebp - 0x30], 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 0x4b4b77
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x1c]
call fcn.004b51f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004b5270
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.004c4269
mov esp, ebp
pop ebp
ret