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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ea890
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x522008]
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 0x487d39
mov byte [edi + 0x3c], 1
mov edx, dword [edi + 4]
push ecx
mov ecx, dword [edi]
call fcn.00488a40
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.004946a0
mov esi, eax
mov dword [ebp - 4], 0
lea ebx, [edi + 0xc]
cmp ebx, esi
je 0x4878ad
push dword [ebp - 0x30]
mov ecx, ebx
push dword [esi + 4]
push dword [esi]
call fcn.004891a0
lea eax, [esi + 0xc]
lea ecx, [ebx + 0xc]
cmp ecx, eax
je 0x4878c4
push dword [ebp - 0x30]
push dword [eax + 4]
push dword [eax]
call fcn.00488f60
lea eax, [esi + 0x18]
lea ecx, [ebx + 0x18]
cmp ecx, eax
je 0x4878db
push dword [ebp - 0x30]
push dword [eax + 4]
push dword [eax]
call fcn.00488d00
add esi, 0x24
lea ecx, [ebx + 0x24]
cmp ecx, esi
je 0x4878f2
push dword [ebp - 0x30]
push dword [esi + 4]
push dword [esi]
call fcn.00426840
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x48]
call fcn.00406ae0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x54]
call fcn.004881e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x60]
call fcn.00488260
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6c]
call fcn.004882e0
push edi
mov ecx, ebx
call fcn.004960f0
mov eax, dword [edi + 4]
cmp dword [edi], eax
jne 0x487a37
lea ecx, [ebp - 0x34]
call fcn.0048fe40
mov dword [ebp - 4], 6
mov edx, dword [edi + 4]
push ecx
mov ecx, dword [edi]
call fcn.00488a40
mov eax, dword [edi]
add esp, 4
mov ecx, edi
mov dword [edi + 4], eax
call fcn.0049be40
mov esi, dword [edi]
cmp esi, dword [edi + 4]
je 0x487a25
nop
lea ecx, [esi + 0x18]
call fcn.00402120
test al, al
jne 0x487991
push str.000000000000
lea ecx, [esi + 0x18]
call fcn.004026b0
mov byte [ebp - 0x29], 1
test al, al
je 0x487995
mov byte [ebp - 0x29], 0
lea eax, [esi + 0x30]
mov ecx, eax
call fcn.00402120
test al, al
jne 0x4879b8
push str.000000000000
lea ecx, [esi + 0x30]
call fcn.004026b0
test al, al
jne 0x4879b8
mov al, 1
jmp 0x4879ba
xor al, al
cmp byte [ebp - 0x29], 0
jne 0x4879d4
test al, al
jne 0x4879d4
push esi
lea eax, [ebp - 0x38]
mov ecx, edi
push eax
call fcn.00487f30
mov esi, dword [eax]
jmp 0x487a19
lea ecx, [esi + 0x18]
call fcn.00405030
lea ecx, [esi + 0x30]
call fcn.00405030
or byte [esi + 0x60], 1
lea ecx, [esi + 0x64]
call fcn.00402330
mov dword [ebp - 0x30], 0
cmp dword [eax + 0x14], 8
mov dword [eax + 0x10], 0
jb 0x487a06
mov eax, dword [eax]
lea ecx, [ebp - 0x30]
push ecx
push eax
call fcn.00402560
add esp, 8
add esi, 0x94
cmp esi, dword [edi + 4]
jne 0x487970
lea ebx, [edi + 0xc]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.0048ff00
mov eax, dword [edi + 4]
mov esi, dword [edi]
cmp esi, eax
je 0x487a6b
nop dword [eax]
lea eax, [esi + 0x7c]
mov ecx, ebx
push eax
push esi
call fcn.00495d10
test al, al
jne 0x487a60
push esi
lea eax, [ebp - 0x30]
mov ecx, edi
push eax
call fcn.00487f30
mov esi, dword [eax]
jmp 0x487a66
add esi, 0x94
cmp esi, dword [edi + 4]
jne 0x487a40
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.00495b50
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 0x487c1a
xor eax, eax
mov dword [ebp - 0x34], eax
mov esi, dword [edi]
add ebx, eax
cmp esi, dword [edi + 4]
je 0x487c03
mov ecx, ebx
call fcn.004023a0
mov ecx, esi
mov edi, eax
call fcn.004023a0
cmp eax, edi
jne 0x487beb
mov ecx, ebx
call fcn.00402130
mov ecx, esi
mov edi, eax
call fcn.00402130
mov edx, edi
mov ecx, eax
call fcn.00404cf0
test al, al
je 0x487beb
lea ecx, [ebx + 0x30]
call fcn.00402120
test al, al
jne 0x487b83
push str.0.0.0.0
lea ecx, [ebx + 0x30]
call fcn.004026b0
test al, al
jne 0x487b83
lea ecx, [ebx + 0x30]
lea edx, [esi + 0x64]
call fcn.00402330
cmp edx, eax
je 0x487b83
lea ecx, [ebx + 0x30]
call fcn.00402330
mov edx, eax
cmp dword [eax + 0x14], 8
jb 0x487b77
mov edx, dword [eax]
push dword [eax + 0x10]
lea ecx, [esi + 0x64]
push edx
call fcn.004023b0
or byte [esi + 0x60], 2
lea edi, [esi + 0x30]
mov ecx, edi
call fcn.00402120
test al, al
je 0x487bbb
lea ecx, [ebx + 0x78]
call fcn.00402330
cmp edi, eax
je 0x487bbb
call fcn.00402330
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x487bb0
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, edi
call fcn.004023b0
lea ecx, [esi + 0x48]
call fcn.00402120
test al, al
je 0x487beb
cmp dword [ebx + 0x2b8], 5
jne 0x487beb
push 0x501da0
call fcn.004025c0
add esp, 4
lea ecx, [esi + 0x48]
push eax
push 0x501da0
call fcn.004023b0
mov edi, dword [ebp - 0x3c]
add esi, 0x94
cmp esi, dword [edi + 4]
jne 0x487b00
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 0x487af3
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 0x487d1e
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 0x487cee
lea edi, [esi + 0x30]
nop dword [eax + eax]
mov ecx, eax
call fcn.004023a0
mov ecx, esi
mov ebx, eax
call fcn.004023a0
cmp eax, ebx
jne 0x487cca
mov ecx, dword [ebp - 0x38]
call fcn.00402130
mov ecx, esi
mov ebx, eax
call fcn.00402130
mov edx, ebx
mov ecx, eax
call fcn.00404cf0
test al, al
je 0x487cca
or byte [edi + 0x30], 4
mov ecx, edi
call fcn.00402120
test al, al
je 0x487cca
mov ecx, dword [ebp - 0x38]
add ecx, 0x18
call fcn.00402330
cmp edi, eax
je 0x487cca
call fcn.00402330
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x487cbf
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, edi
call fcn.004023b0
mov eax, dword [ebp - 0x3c]
add esi, 0x94
add edi, 0x94
cmp esi, dword [eax + 4]
mov eax, dword [ebp - 0x38]
jne 0x487c60
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 0x487c47
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x1c]
call fcn.00488260
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004882e0
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.004b5964
mov esp, ebp
pop ebp
ret