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

Disassembly:
push 0xffffffffffffffff
push 0x1003b3c7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x13cc
call 0x4a0f00
mov eax, dword [0x10049980]
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x13d8], eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x13e4], 3
lea eax, [esp + 0x148]
push eax
call fcn.004816c0
mov byte [esp + 0x13e4], 4
mov eax, dword [esp + 0x15c]
xor ebx, ebx
cmp eax, ebx
je 0x487f23
cmp eax, 0x200
ja 0x487f23
mov ecx, dword [esp + 0x141c]
cmp ecx, ebx
je 0x487e1b
mov eax, dword [esp + 0x1454]
cmp eax, ebx
je 0x487e1b
cmp ecx, 0x400
ja 0x487db0
cmp eax, 0x400
ja 0x487db0
lea ecx, [esp + 0x1408]
push 0x1003d4b4
push ecx
mov dword [edi + 0x20], ebx
xor esi, esi
mov dword [esp + 0x1c], ebx
call fcn.0047f880
add esp, 8
test al, al
jne 0x486c30
lea edx, [esp + 0x1408]
push 0x1003d4b0
push edx
call fcn.0047f880
add esp, 8
test al, al
je 0x486c0b
mov dword [esp + 0x14], 1
jmp 0x486c35
lea eax, [esp + 0x1408]
push 0x1003d4ac
push eax
call fcn.0047f880
add esp, 8
test al, al
je 0x487db0
mov dword [esp + 0x14], 1
mov esi, 1
sub esp, 0x1c
lea edx, [esp + 0x145c]
mov ecx, esp
mov dword [esp + 0x48], esp
push edx
call fcn.00476b10
mov byte [esp + 0x1400], 5
sub esp, 0x1c
lea eax, [esp + 0x180]
mov ecx, esp
mov dword [esp + 0x60], esp
push eax
call fcn.00476b10
mov byte [esp + 0x141c], 4
mov ecx, edi
call fcn.004842b0
cmp eax, ebx
jne 0x487db0
cmp esi, ebx
mov dword [edi + 0x24], 1
mov ebp, 0xf
je 0x486f08
call dword [0x1003d010]
lea esi, [edi + 0x10]
mov ecx, esi
mov dword [esp + 0x28], eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0x24], ebx
call fcn.0047f350
test al, al
jne 0x486cbf
mov ecx, esi
call fcn.0047f320
mov dword [esp + 0x24], eax
cmp dword [edi + 0x20], ebx
mov dword [esp + 0x1c], ebx
jne 0x486f08
jmp 0x486cd2
mov byte [esp + 0x13e4], 3
lea ecx, [esp + 0x148]
call fcn.00476b80
mov byte [esp + 0x13e4], 2
lea ecx, [esp + 0x13ec]
call fcn.00476b80
mov byte [esp + 0x13e4], 1
lea ecx, [esp + 0x1408]
call fcn.00476b80
mov byte [esp + 0x13e4], bl
lea ecx, [esp + 0x1424]
call fcn.00476b80
mov dword [esp + 0x13e4], 0xffffffff
lea ecx, [esp + 0x1440]
call fcn.00476b80
jmp 0x48803f
mov byte [esp + 0x13e4], 3
mov eax, dword [esp + 0x160]
mov esi, 0x10
cmp eax, esi
jb 0x487e43
mov ecx, dword [esp + 0x14c]
push ecx
call 0x4a0906
add esp, 4
mov edi, 0xf
mov dword [esp + 0x160], edi
mov dword [esp + 0x15c], ebx
mov byte [esp + 0x14c], bl
mov byte [esp + 0x13e4], 2
cmp dword [esp + 0x1404], esi
jb 0x487e7e
mov edx, dword [esp + 0x13f0]
push edx
call 0x4a0906
add esp, 4
mov dword [esp + 0x1404], edi
mov dword [esp + 0x1400], ebx
mov byte [esp + 0x13f0], bl
mov byte [esp + 0x13e4], 1
cmp dword [esp + 0x1420], esi
jb 0x487eb4
mov eax, dword [esp + 0x140c]
push eax
call 0x4a0906
add esp, 4
mov dword [esp + 0x1420], edi
mov dword [esp + 0x141c], ebx
mov byte [esp + 0x140c], bl
mov byte [esp + 0x13e4], bl
cmp dword [esp + 0x143c], esi
jb 0x487ee9
mov ecx, dword [esp + 0x1428]
push ecx
call 0x4a0906
add esp, 4
mov dword [esp + 0x143c], edi
mov dword [esp + 0x1438], ebx
mov byte [esp + 0x1428], bl
mov dword [esp + 0x13e4], 0xffffffff
cmp dword [esp + 0x1458], esi
jb 0x48802a
mov edx, dword [esp + 0x1444]
push edx
jmp 0x488022
mov byte [esp + 0x13e4], 3
mov eax, dword [esp + 0x160]
mov esi, 0x10
cmp eax, esi
jb 0x487f4b
mov eax, dword [esp + 0x14c]
push eax
call 0x4a0906
add esp, 4
mov edi, 0xf
mov dword [esp + 0x160], edi
mov dword [esp + 0x15c], ebx
mov byte [esp + 0x14c], bl
mov byte [esp + 0x13e4], 2
cmp dword [esp + 0x1404], esi
jb 0x487f86
mov ecx, dword [esp + 0x13f0]
push ecx
call 0x4a0906
add esp, 4
mov dword [esp + 0x1404], edi
mov dword [esp + 0x1400], ebx
mov byte [esp + 0x13f0], bl
mov byte [esp + 0x13e4], 1
cmp dword [esp + 0x1420], esi
jb 0x487fbc
mov edx, dword [esp + 0x140c]
push edx
call 0x4a0906
add esp, 4
mov dword [esp + 0x1420], edi
mov dword [esp + 0x141c], ebx
mov byte [esp + 0x140c], bl
mov byte [esp + 0x13e4], bl
cmp dword [esp + 0x143c], esi
jb 0x487ff1
mov eax, dword [esp + 0x1428]
push eax
call 0x4a0906
add esp, 4
mov dword [esp + 0x143c], edi
mov dword [esp + 0x1438], ebx
mov byte [esp + 0x1428], bl
mov dword [esp + 0x13e4], 0xffffffff
cmp dword [esp + 0x1458], esi
jb 0x48802a
mov ecx, dword [esp + 0x1444]
push ecx
call 0x4a0906
add esp, 4
mov dword [esp + 0x1458], edi
mov dword [esp + 0x1454], ebx
mov byte [esp + 0x1444], bl
mov eax, 1