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

Disassembly:
push 0xffffffffffffffff
push 0x4fe78b
mov eax, dword fs:[0]
push eax
mov eax, 0x10a8
call fcn.004e6a80
mov eax, dword [0x519bc0]
xor eax, esp
mov dword [esp + 0x10a4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x519bc0]
xor eax, esp
push eax
lea eax, [esp + 0x10bc]
mov dword fs:[0], eax
mov dword [esp + 0x30], ecx
mov eax, dword [esp + 0x10cc]
mov ecx, dword [esp + 0x10d4]
mov edx, dword [esp + 0x10d8]
mov ebx, dword [esp + 0x10d0]
xor edi, edi
push eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x40], edx
mov dword [esp + 0x30], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x20], edi
call dword [0x501644]
push edi
lea ecx, [esp + 0x6c]
mov esi, eax
call fcn.004b4960
mov dword [esp + 0x10c4], edi
mov eax, dword [ebx]
mov edx, dword [eax + 0x10]
lea ecx, [esp + 0x20]
push ecx
push 0xa0
push esi
push ebx
call edx
cmp eax, edi
jne 0x48637f
mov eax, dword [esp + 0x20]
cmp eax, edi
je 0x48638f
mov ecx, dword [eax]
lea edx, [esp + 0x38]
push edx
lea edx, [esp + 0x18]
push edx
push 1
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
jne 0x48637f
mov ecx, dword [ebx]
mov ecx, dword [ecx + 0x24]
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x18]
push eax
push 1
push ebx
mov dword [esp + 0x28], 0x70000000
call ecx
test dword [esp + 0x18], 0x20000000
je 0x486345
call fcn.00447f80
cmp eax, 0x500
jb 0x4861aa
test dword [esp + 0x18], 0x10000000
jne 0x4861d0
call fcn.00447f80
cmp eax, 0x500
jae 0x486345
mov edx, dword [esp + 0x18]
and edx, 0x10000000
or edx, 0x40000000
je 0x486345
mov eax, dword [ebx]
mov eax, dword [eax + 0x24]
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x18]
push edx
push 1
push ebx
mov dword [esp + 0x38], 0x80000000
call eax
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x18]
and ecx, 0x80000000
or eax, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x40], 0x27
test eax, eax
jns 0x48621c
mov dword [esp + 0x60], 1
mov dword [esp + 0x40], 0x67
mov eax, dword [0x572b44]
mov edx, dword [eax]
push 0xc
push eax
mov eax, dword [edx + 0xc]
call eax
mov esi, eax
cmp esi, edi
je 0x48637f
mov edx, dword [esp + 0x14]
push 0x800
lea ecx, [esp + 0xbc]
push ecx
push 1
push edx
push ebx
call fcn.00485f40
test al, al
je 0x48637f
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x24]
push ecx
lea eax, [esp + 0xbc]
push edx
mov dword [esp + 0x58], eax
call fcn.00485e30
mov dword [esp + 0x1c], eax
cmp eax, edi
je 0x48637f
mov edi, dword [esp + 0x14]
movzx edx, word [edi]
mov eax, dword [0x572b44]
mov ecx, dword [eax]
add edx, 2
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
movzx ecx, word [edi]
add ecx, 2
push ecx
mov ebp, eax
push edi
push ebp
call fcn.004e7600
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x3c]
add esp, 0xc
lea edx, [esp + 0x40]
push edx
push eax
mov dword [esi + 4], ebp
call fcn.00486010
mov dword [esi], ebx
mov ecx, dword [ebx]
mov edx, dword [ecx + 4]
push ebx
call edx
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x24]
push eax
push ecx
call fcn.00485e30
mov dword [esi + 8], eax
test eax, eax
je 0x48637d
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x64], esi
mov ecx, 0xa
lea esi, [esp + 0x40]
lea edi, [esp + 0x80]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x78]
push ecx
push 0
mov dword [esp + 0x84], edx
mov edx, dword [esp + 0x3c]
push 0x1132
push edx
mov dword [esp + 0x88], eax
call dword [0x5016a4]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x2c], eax
mov eax, dword [0x572b44]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
mov dword [esp + 0x1c], 0
xor edi, edi
mov eax, dword [0x572b44]
mov edx, dword [esp + 0x14]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x38]
push edx
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x1c], edi
mov ecx, dword [eax]
push 1
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
je 0x48616a
jmp 0x48637f
xor edi, edi
mov eax, dword [esp + 0x20]
cmp eax, edi
je 0x48638f
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov ecx, dword [esp + 0x14]
cmp ecx, edi
je 0x4863a5
mov eax, dword [0x572b44]
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0x14]
call eax
mov ecx, dword [esp + 0x1c]
cmp ecx, edi
je 0x4863bb
mov eax, dword [0x572b44]
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0x14]
call eax
mov dword [esp + 0x10c4], 0xffffffff
lea ecx, [esp + 0x68]
call fcn.004b4130
mov ecx, dword [esp + 0x10bc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x10a4]
xor ecx, esp
call fcn.004e6a64
add esp, 0x10b4
ret 0x10