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

Disassembly:
push 0xffffffffffffffff
push 0x4fd20f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x26c
push ebp
push esi
mov esi, ecx
push edi
push esi
lea ecx, [esp + 0xbc]
call fcn.004f27bd
lea eax, [esp + 0x1b0]
xor ebp, ebp
push eax
lea ecx, [esp + 0xbc]
mov dword [esp + 0x284], ebp
call fcn.004f236e
mov ecx, esi
call fcn.00485ce0
mov edi, eax
cmp edi, ebp
mov dword [esp + 0x4c], edi
je 0x48770d
mov ecx, edi
call fcn.00482f90
test eax, eax
je 0x48770d
mov ecx, edi
call fcn.00482fd0
test eax, eax
je 0x48770d
cmp dword [esi + 0x44c], ebp
je 0x48618c
mov ecx, esi
call fcn.00487900
push ebx
mov ecx, esi
call fcn.00485c70
push ebp
mov ecx, esi
mov dword [esp + 0x190], eax
call fcn.00485c80
mov ecx, dword [esi + 0x5c]
mov edx, dword [esi + 0x58]
push ecx
lea eax, [esp + 0xc0]
push edx
push eax
call fcn.00497530
add esp, 0xc
lea ecx, [esp + 0xbc]
push ecx
lea ecx, [esp + 0x1ac]
call fcn.00485700
mov eax, dword [esp + 0x1b8]
mov ecx, dword [esp + 0x1bc]
mov edx, dword [esp + 0x1b4]
mov edi, dword [0x502098]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
mov ecx, dword [esp + 0xc4]
lea eax, [esp + 0x74]
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0x1c0]
push 2
push eax
push ecx
mov byte [esp + 0x290], 2
mov dword [esp + 0x8c], edx
call edi
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0x98]
push edx
push eax
call dword [0x502678]
mov edx, dword [esp + 0xc4]
lea ecx, [esp + 0x98]
push 2
push ecx
push edx
call edi
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0xa0]
mov edi, dword [esp + 0xa4]
mov dword [esp + 0x118], eax
mov dword [esp + 0x128], eax
lea eax, [esp + 0xb4]
mov dword [esp + 0x11c], ecx
mov dword [esp + 0x12c], ecx
push eax
mov ecx, esi
mov dword [esp + 0x124], edx
mov dword [esp + 0x128], edi
mov dword [esp + 0x134], edx
mov dword [esp + 0x138], edi
call fcn.00487850
mov edi, dword [eax]
mov ecx, dword [esp + 0x98]
add ecx, edi
lea edx, [esp + 0x98]
mov ebx, dword [eax + 4]
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x98], ecx
add eax, ebx
lea ecx, [esp + 0x74]
mov dword [esp + 0x9c], eax
push ecx
lea eax, [esp + 0x9c]
push edx
push eax
call dword [0x502598]
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x9c]
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0xa4]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0xc4]
lea edx, [esp + 0x14]
push 2
push edx
push eax
mov dword [esp + 0x2c], ecx
call dword [0x502094]
mov dword [esp + 0x14c], ebp
mov dword [esp + 0x148], 0x624570
lea ecx, [esp + 0x14]
mov byte [esp + 0x284], 3
push ecx
call dword [0x5020c8]
push eax
lea ecx, [esp + 0x14c]
call fcn.004f28fd
mov eax, dword [esp + 0x118]
lea edx, [esp + 0x74]
add eax, edi
push edx
mov dword [esp + 0x11c], eax
lea eax, [esp + 0x11c]
lea ecx, [esp + 0x11c]
push eax
push ecx
call dword [0x502598]
mov eax, dword [esp + 0x11c]
mov ecx, dword [esp + 0x120]
mov edx, dword [esp + 0x118]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0xc4]
lea eax, [esp + 0x14]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x124]
push 2
push eax
push ecx
mov dword [esp + 0x2c], edx
call dword [0x502094]
mov dword [esp + 0x154], ebp
mov dword [esp + 0x150], 0x624570
mov edi, dword [0x5020c8]
lea edx, [esp + 0x14]
push edx
mov byte [esp + 0x288], 4
call edi
push eax
lea ecx, [esp + 0x154]
call fcn.004f28fd
mov edx, dword [esp + 0x12c]
lea eax, [esp + 0x74]
add edx, ebx
lea ecx, [esp + 0x128]
mov dword [esp + 0x12c], edx
push eax
lea edx, [esp + 0x12c]
push ecx
push edx
call dword [0x502598]
mov ecx, dword [esp + 0x12c]
mov edx, dword [esp + 0x130]
mov eax, dword [esp + 0x128]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0xc4]
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x134]
push 2
push ecx
push edx
mov dword [esp + 0x2c], eax
call dword [0x502094]
mov dword [esp + 0x160], ebp
mov ebx, 0x624570
mov dword [esp + 0x15c], ebx
lea eax, [esp + 0x14]
mov byte [esp + 0x284], 5
push eax
call edi
push eax
lea ecx, [esp + 0x160]
call fcn.004f28fd
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x68], ebx
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x48], ebx
lea ecx, [esp + 0x1b4]
mov byte [esp + 0x284], 7
push ecx
call edi
push eax
lea ecx, [esp + 0x6c]
call fcn.004f28fd
mov edx, dword [esp + 0xc4]
mov edi, dword [0x50209c]
push 6
push edx
call edi
push eax
call fcn.004f28e8
mov dword [esp + 0x190], eax
mov eax, dword [esp + 0xc4]
push 1
push eax
call edi
push eax
call fcn.004f28e8
mov ecx, dword [esp + 0xc4]
push 2
push ecx
mov dword [esp + 0x19c], eax
call edi
push eax
call fcn.004f28e8
push 1
lea ecx, [esp + 0xc0]
mov dword [esp + 0x1b4], eax
call fcn.004f1fe1
mov eax, dword [esi + 0x44]
mov edi, dword [esp + 0x50]
shr eax, 1
and eax, 1
mov ecx, edi
mov dword [esp + 0x144], eax
call fcn.00482f90
mov ecx, edi
mov dword [esp + 0x64], eax
call fcn.00483050
mov ebx, eax
mov ecx, edi
mov dword [esp + 0x58], ebx
call fcn.00482fd0
mov ecx, edi
mov dword [esp + 0x44], eax
call fcn.00483060
mov edi, eax
push 1
mov ecx, esi
mov dword [esp + 0x3c], edi
call fcn.004eebe3
add eax, ebx
push ebp
mov ecx, esi
mov dword [esp + 0x2c], eax
call fcn.004eebe3
lea edx, [esp + 0xb4]
add eax, edi
push edx
mov ecx, esi
mov dword [esp + 0x14], eax
call fcn.004858f0
mov ecx, dword [eax]
mov dword [esp + 0x3c], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x94], ebp
mov dword [esp + 0x40], edx
mov dword [esp + 0x90], 0x624564
lea eax, [esp + 0x90]
mov ecx, esi
push eax
mov byte [esp + 0x288], 8
call fcn.00485d30
push 0xf
call dword [0x502630]
push eax
lea ecx, [esp + 0x178]
call fcn.004f29ba
push 0xffffff
push ebp
push ebp
lea ecx, [esp + 0x144]
mov byte [esp + 0x290], 9
call fcn.004f296a
push 0x808080
push ebp
push ebp
lea ecx, [esp + 0x11c]
mov byte [esp + 0x290], 0xa
call fcn.004f296a
push ebp
push ebp
push ebp
lea ecx, [esp + 0x1d0]
mov byte [esp + 0x290], 0xb
call fcn.004f296a
mov eax, 5
mov dword [esp + 0x164], ebp
mov dword [esp + 0x16c], ebp
mov dword [esp + 0x168], ebp
mov dword [esp + 0x170], eax
mov dword [esp + 0x17c], ebp
mov dword [esp + 0x184], ebp
mov dword [esp + 0x180], ebp
mov dword [esp + 0x188], eax
lea ecx, [esp + 0x1ec]
mov byte [esp + 0x284], 0xe
call fcn.00484d80
mov ecx, dword [0x649ecc]
mov dword [esp + 0xb0], ecx
mov byte [esp + 0x284], 0x10
mov dword [esp + 0x54], 1
mov eax, dword [esi + 0x40]
lea ecx, [esp + 0xb0]
push eax
call fcn.004f29ba
cmp eax, ebp
jne 0x487725
xor eax, eax
jmp 0x487728
mov eax, dword [eax + 4]
mov edx, dword [esp + 0xbc]
lea ecx, [esp + 0x1b0]
push eax
push ecx
push edx
call dword [0x502648]
mov dword [esp + 0xb0], 0x624558
lea ecx, [esp + 0xb0]
mov byte [esp + 0x280], 1
call fcn.004f2954