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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f7f00
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x538074]
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 0x48a489
mov byte [edi + 0x3c], 1
mov edx, dword [edi + 4]
push ecx
mov ecx, dword [edi]
call fcn.0048b180
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.004a05a0
mov esi, eax
mov dword [ebp - 4], 0
lea ebx, [edi + 0xc]
cmp ebx, esi
je 0x48a00d
push dword [ebp - 0x30]
mov ecx, ebx
push dword [esi + 4]
push dword [esi]
call fcn.0048b8e0
lea eax, [esi + 0xc]
lea ecx, [ebx + 0xc]
cmp ecx, eax
je 0x48a024
push dword [ebp - 0x30]
push dword [eax + 4]
push dword [eax]
call fcn.0048b6a0
lea eax, [esi + 0x18]
lea ecx, [ebx + 0x18]
cmp ecx, eax
je 0x48a03b
push dword [ebp - 0x30]
push dword [eax + 4]
push dword [eax]
call fcn.0048b440
lea ecx, [esi + 0x24]
lea esi, [ebx + 0x24]
cmp esi, ecx
je 0x48a05f
call fcn.00403160
mov edx, dword [eax]
call fcn.00403170
push dword [ebp - 0x30]
mov ecx, esi
push edx
mov eax, dword [eax]
push eax
call fcn.00415810
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x48]
call fcn.00402f10
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x54]
call fcn.0048a9c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x60]
call fcn.0048aa40
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6c]
call fcn.0048aac0
push edi
mov ecx, ebx
call fcn.004a2030
mov eax, dword [edi + 4]
cmp dword [edi], eax
jne 0x48a184
lea ecx, [ebp - 0x30]
call fcn.00495830
mov dword [ebp - 4], 6
mov edx, dword [edi + 4]
push ecx
mov ecx, dword [edi]
call fcn.0048b180
mov eax, dword [edi]
add esp, 4
mov ecx, edi
mov dword [edi + 4], eax
call fcn.004a6b20
mov esi, dword [edi]
cmp esi, dword [edi + 4]
je 0x48a172
nop dword [eax]
lea ecx, [esi + 0x18]
call fcn.00402f40
test al, al
jne 0x48a101
push str.000000000000
lea ecx, [esi + 0x18]
call fcn.0040a270
mov byte [ebp - 0x29], 1
test al, al
je 0x48a105
mov byte [ebp - 0x29], 0
lea eax, [esi + 0x30]
mov ecx, eax
call fcn.00402f40
test al, al
jne 0x48a128
push str.000000000000
lea ecx, [esi + 0x30]
call fcn.0040a270
test al, al
jne 0x48a128
mov al, 1
jmp 0x48a12a
xor al, al
cmp byte [ebp - 0x29], 0
jne 0x48a144
test al, al
jne 0x48a144
push esi
lea eax, [ebp - 0x34]
mov ecx, edi
push eax
call fcn.0048a700
mov esi, dword [eax]
jmp 0x48a166
lea ecx, [esi + 0x18]
call fcn.00474ee0
lea ecx, [esi + 0x30]
call fcn.00474ee0
or byte [esi + 0x60], 1
lea ecx, [esi + 0x64]
call fcn.00406a40
add esi, 0x94
cmp esi, dword [edi + 4]
jne 0x48a0e0
lea ebx, [edi + 0xc]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.004958f0
mov eax, dword [edi + 4]
mov esi, dword [edi]
cmp esi, eax
je 0x48a1bb
nop word [eax + eax]
lea eax, [esi + 0x7c]
mov ecx, ebx
push eax
push esi
call fcn.004a1bc0
test al, al
jne 0x48a1b0
push esi
lea eax, [ebp - 0x30]
mov ecx, edi
push eax
call fcn.0048a700
mov esi, dword [eax]
jmp 0x48a1b6
add esi, 0x94
cmp esi, dword [edi + 4]
jne 0x48a190
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.004a1a00
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 0x48a36a
xor eax, eax
mov dword [ebp - 0x34], eax
mov esi, dword [edi]
add ebx, eax
cmp esi, dword [edi + 4]
je 0x48a353
mov ecx, ebx
call fcn.00403260
mov ecx, esi
mov edi, eax
call fcn.00403260
cmp eax, edi
jne 0x48a33b
mov ecx, ebx
call fcn.00402f50
mov ecx, esi
mov edi, eax
call fcn.00402f50
mov edx, edi
mov ecx, eax
call fcn.00474bc0
test al, al
je 0x48a33b
lea ecx, [ebx + 0x30]
call fcn.00402f40
test al, al
jne 0x48a2d3
push str.0.0.0.0
lea ecx, [ebx + 0x30]
call fcn.0040a270
test al, al
jne 0x48a2d3
lea ecx, [ebx + 0x30]
lea edx, [esi + 0x64]
call fcn.00403170
cmp edx, eax
je 0x48a2d3
lea ecx, [ebx + 0x30]
call fcn.00403170
mov edx, eax
cmp dword [eax + 0x14], 8
jb 0x48a2c7
mov edx, dword [eax]
push dword [eax + 0x10]
lea ecx, [esi + 0x64]
push edx
call fcn.00403270
or byte [esi + 0x60], 2
lea edi, [esi + 0x30]
mov ecx, edi
call fcn.00402f40
test al, al
je 0x48a30b
lea ecx, [ebx + 0x78]
call fcn.00403170
cmp edi, eax
je 0x48a30b
call fcn.00403170
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x48a300
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, edi
call fcn.00403270
lea ecx, [esi + 0x48]
call fcn.00402f40
test al, al
je 0x48a33b
cmp dword [ebx + 0x2b8], 5
jne 0x48a33b
push 0x50daf4
call fcn.00403540
add esp, 4
lea ecx, [esi + 0x48]
push eax
push 0x50daf4
call fcn.00403270
mov edi, dword [ebp - 0x3c]
add esi, 0x94
cmp esi, dword [edi + 4]
jne 0x48a250
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 0x48a243
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 0x48a46e
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 0x48a43e
lea edi, [esi + 0x30]
nop dword [eax + eax]
mov ecx, eax
call fcn.00403260
mov ecx, esi
mov ebx, eax
call fcn.00403260
cmp eax, ebx
jne 0x48a41a
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.00474bc0
test al, al
je 0x48a41a
or byte [edi + 0x30], 4
mov ecx, edi
call fcn.00402f40
test al, al
je 0x48a41a
mov ecx, dword [ebp - 0x38]
add ecx, 0x18
call fcn.00403170
cmp edi, eax
je 0x48a41a
call fcn.00403170
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x48a40f
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, edi
call fcn.00403270
mov eax, dword [ebp - 0x3c]
add esi, 0x94
add edi, 0x94
cmp esi, dword [eax + 4]
mov eax, dword [ebp - 0x38]
jne 0x48a3b0
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 0x48a397
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x1c]
call fcn.0048aa40
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0048aac0
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.004be500
mov esp, ebp
pop ebp
ret