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

Disassembly:
push 0xffffffffffffffff
push 0x10079ae0
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1008e418]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x94]
and dword [esp + 0x34], 0xfffffe00
xor ebx, ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
lea eax, [ebp + 0x1c]
push eax
lea esi, [esp + 0x68]
mov dword [esp + 0x8c], 1
call fcn.10001d10
mov byte [esp + 0x8c], 2
sub esp, 0x14
mov esi, esp
mov byte [esi + 8], 4
or dword [esi + 8], 0x100
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
cmp dword [eax + 0x18], 0x10
mov edi, dword [eax + 0x14]
mov dword [esp + 0xac], esp
jb 0x10005bf5
mov eax, dword [eax + 4]
jmp 0x10005bf8
add eax, 4
push eax
call fcn.1004bfb1
add esp, 4
mov dword [esi], eax
push str.pi_kbid
lea ecx, [esp + 0x48]
push ecx
mov ecx, 0x1007e41f
mov byte [esp + 0xa8], 3
call fcn.1004d3b9
mov edi, eax
mov byte [esp + 0xa0], 2
call fcn.1004c776
mov edi, 0x10
mov byte [esp + 0x88], 1
cmp dword [esp + 0x7c], edi
jb 0x10005c4e
mov edx, dword [esp + 0x68]
push edx
call fcn.10056169
add esp, 4
lea eax, [ebp + 0x3c]
push eax
lea esi, [esp + 0x68]
call fcn.10001d10
mov byte [esp + 0x8c], 4
sub esp, 0x14
mov esi, esp
mov byte [esi + 8], 4
or dword [esi + 8], 0x100
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov ecx, dword [eax + 0x14]
mov dword [esp + 0xac], esp
cmp dword [eax + 0x18], edi
jb 0x10005c90
mov eax, dword [eax + 4]
jmp 0x10005c93
add eax, 4
push eax
mov edi, ecx
call fcn.1004bfb1
add esp, 4
mov dword [esi], eax
push str.pi_name
lea ecx, [esp + 0x48]
push ecx
mov ecx, 0x1007e427
mov byte [esp + 0xa8], 5
call fcn.1004d3b9
mov edi, eax
mov byte [esp + 0xa0], 4
call fcn.1004c776
mov edi, 0x10
mov byte [esp + 0x88], 1
cmp dword [esp + 0x7c], edi
jb 0x10005ceb
mov edx, dword [esp + 0x68]
push edx
call fcn.10056169
add esp, 4
lea eax, [ebp + 0x74]
push eax
lea esi, [esp + 0x68]
call fcn.10001d10
mov byte [esp + 0x8c], 6
sub esp, 0x14
mov esi, esp
mov byte [esi + 8], 4
or dword [esi + 8], 0x100
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov ecx, dword [eax + 0x14]
mov dword [esp + 0xac], esp
cmp dword [eax + 0x18], edi
jb 0x10005d2d
mov eax, dword [eax + 4]
jmp 0x10005d30
add eax, 4
push eax
mov edi, ecx
call fcn.1004bfb1
add esp, 4
mov dword [esi], eax
push str.pi_file_name
lea ecx, [esp + 0x48]
push ecx
mov ecx, 0x1007e434
mov byte [esp + 0xa8], 7
call fcn.1004d3b9
mov edi, eax
mov byte [esp + 0xa0], 6
call fcn.1004c776
cmp dword [esp + 0x7c], 0x10
jb 0x10005d7c
mov edx, dword [esp + 0x68]
push edx
call fcn.10056169
add esp, 4
mov eax, dword [ebp + 0x38]
sub esp, 0x18
mov ecx, esp
cdq
mov esi, 0xfffffeff
mov byte [ecx + 8], 1
and dword [ecx + 8], esi
mov dword [esp + 0xac], esp
mov dword [ecx + 0xc], ebx
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebx
mov dword [ecx], eax
mov dword [ecx + 4], edx
push str.pi_level
lea eax, [esp + 0x48]
push eax
mov ecx, 0x1007e440
mov byte [esp + 0xa8], 8
call fcn.1004d3b9
mov edi, eax
mov byte [esp + 0xa0], 1
call fcn.1004c776
sub esp, 0x18
mov ecx, esp
mov byte [ecx + 8], 1
and dword [ecx + 8], esi
mov esi, dword [esp + 0xa8]
mov eax, esi
cdq
mov dword [esp + 0xac], esp
mov dword [ecx + 0xc], ebx
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebx
mov dword [ecx], eax
mov dword [ecx + 4], edx
push str.pil_state
lea ecx, [esp + 0x48]
push ecx
mov ecx, 0x1007e44d
mov byte [esp + 0xa8], 9
call fcn.1004d3b9
mov edi, eax
mov byte [esp + 0xa0], 1
call fcn.1004c776
mov eax, 0x1007de84
xor ecx, ecx
mov edi, edi
cmp dword [ecx + 0x10090120], esi
jne 0x10005e3e
mov eax, dword [ecx + 0x10090124]
add ecx, 8
cmp ecx, 0x30
jb 0x10005e30
xor edx, edx
mov ecx, eax
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], ebx
mov word [esp + 0x4c], dx
lea esi, [ecx + 2]
mov edi, edi
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x10005e60
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [esp + 0x4c]
call fcn.1000a960
mov eax, esi
push eax
lea esi, [esp + 0x68]
mov byte [esp + 0x8c], 0xa
call fcn.10001d10
add esp, 4
mov byte [esp + 0x88], 0xb
mov edi, dword [eax + 0x14]
mov byte [esp + 0x1c], 4
mov esi, dword [esp + 0x1c]
or esi, 0x100
cmp dword [eax + 0x18], 0x10
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
jb 0x10005ec5
mov eax, dword [eax + 4]
jmp 0x10005ec8
add eax, 4
push eax
call fcn.1004bfb1
mov ebp, eax
add esp, 4
mov dword [esp + 0x14], ebp
push str.pil_details
lea ecx, [esp + 0x30]
push ecx
mov ecx, 0x1007e45b
mov byte [esp + 0x90], 0xc
call fcn.1004d3b9
mov byte [esp + 0x88], 0xb
movsx edi, byte [eax + 8]
mov dl, byte [esp + 0x1c]
mov ecx, esi
xor ecx, edi
and ecx, 0xff
mov byte [eax + 8], dl
lea edx, [esp + 0x14]
xor esi, ecx
cmp eax, edx
je 0x10005f30
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov edi, dword [esp + 0x18]
mov dword [eax], ebp
mov dword [eax + 4], edi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
mov edx, dword [eax + 8]
mov ecx, edx
shr ecx, 8
and ecx, 1
shl ecx, 8
mov edi, esi
xor edi, edx
xor ecx, esi
and ecx, 0x100
and edi, 0x100
xor edi, edx
xor esi, ecx
lea ecx, [eax + 0xc]
lea edx, [esp + 0x20]
mov dword [eax + 8], edi
mov dword [esp + 0x1c], esi
cmp ecx, edx
je 0x10005f6e
mov edx, dword [ecx]
mov dword [ecx], ebx
mov dword [esp + 0x20], edx
lea ecx, [eax + 0x10]
lea edx, [esp + 0x24]
cmp ecx, edx
je 0x10005f81
mov edx, dword [ecx]
mov dword [ecx], ebx
mov dword [esp + 0x24], edx
add eax, 0x14
lea ecx, [esp + 0x28]
cmp eax, ecx
je 0x10005f94
mov ecx, dword [eax]
mov dword [eax], ebx
mov dword [esp + 0x28], ecx
lea esi, [esp + 0x14]
call fcn.1004c6f3
cmp dword [esp + 0x7c], 0x10
jb 0x10005fb1
mov edx, dword [esp + 0x68]
push edx
call fcn.10056169
add esp, 4
mov byte [esp + 0x88], 1
cmp dword [esp + 0x60], 8
mov dword [esp + 0x7c], 0xf
mov dword [esp + 0x78], ebx
mov byte [esp + 0x68], bl
jb 0x10005fdd
mov eax, dword [esp + 0x4c]
push eax
call fcn.10056169
add esp, 4
xor ecx, ecx
mov word [esp + 0x4c], cx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], ebx
call fcn.10051a2c
lea esi, [esp + 0x2c]
mov dword [esp + 0x88], 0xffffffff
call fcn.1004c6f3
mov al, 1
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x78
ret 8