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

Disassembly:
push 0xffffffffffffffff
push 0x10054101
mov eax, dword fs:[0]
push eax
sub esp, 0xf8
mov eax, dword [0x10066060]
xor eax, esp
mov dword [esp + 0xf0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10066060]
xor eax, esp
push eax
lea eax, [esp + 0x10c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x11c]
push 9
mov dword [esp + 0x20], ecx
xor ebx, ebx
mov edi, 0xf
push str.wfctPrint
lea ecx, [esp + 0x80]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x98], edi
mov dword [esp + 0x94], ebx
mov byte [esp + 0x84], bl
call fcn.10009b90
lea edx, [esp + 0x78]
push edx
lea edx, [esp + 0x2c]
mov dword [esp + 0x118], ebx
call fcn.100034a0
add esp, 4
mov byte [esp + 0x114], 2
cmp dword [esp + 0x90], 0x10
jb 0x10005bb0
mov eax, dword [esp + 0x7c]
push eax
call fcn.100378fa
add esp, 4
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x90], edi
mov dword [esp + 0x8c], ebx
mov byte [esp + 0x7c], bl
cmp esi, eax
jbe 0x10005bd7
call fcn.100378c0
mov eax, dword [esp + 0x38]
mov ebp, dword [esp + 0x28]
mov dword [esp + 0x18], esi
nop
mov esi, eax
cmp dword [esp + 0x34], eax
jbe 0x10005bed
call fcn.100378c0
cmp ebp, ebx
je 0x10005bf7
cmp ebp, dword [esp + 0x28]
je 0x10005bfc
call fcn.100378c0
cmp dword [esp + 0x18], esi
je 0x10005f2f
push 7
push str.printer
lea ecx, [esp + 0x48]
mov dword [esp + 0x60], edi
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x4c], bl
call fcn.10009b90
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x3c], esp
mov byte [esp + 0x130], 3
push ebx
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push 0x10057aef
mov byte [ecx + 4], bl
call fcn.10009b90
cmp ebp, ebx
jne 0x10005ee9
call fcn.100378c0
xor eax, eax
mov edi, dword [esp + 0x34]
cmp edi, dword [eax + 0x10]
jb 0x10005c64
call fcn.100378c0
lea ecx, [esp + 0xcc]
push ecx
lea ecx, [esp + 0x60]
call fcn.100019b0
push eax
lea edx, [esp + 0x10c]
push edx
mov byte [esp + 0x13c], 4
call fcn.10001400
add esp, 0x28
mov edi, 0x10
cmp dword [esp + 0xc8], edi
jb 0x10005cac
mov eax, dword [esp + 0xb4]
push eax
call fcn.100378fa
add esp, 4
mov esi, 0xf
mov dword [esp + 0xc8], esi
mov dword [esp + 0xc4], ebx
mov byte [esp + 0xb4], bl
mov byte [esp + 0x114], 7
cmp dword [esp + 0x58], edi
jb 0x10005ce1
mov ecx, dword [esp + 0x44]
push ecx
call fcn.100378fa
add esp, 4
push 7
push str.docName
lea ecx, [esp + 0x64]
mov dword [esp + 0x60], esi
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x4c], bl
mov dword [esp + 0x7c], esi
mov dword [esp + 0x78], ebx
mov byte [esp + 0x68], bl
call fcn.10009b90
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x3c], esp
mov byte [esp + 0x130], 8
push ebx
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push 0x10057aef
mov byte [ecx + 4], bl
call fcn.10009b90
cmp ebp, ebx
jne 0x10005ef1
call fcn.100378c0
xor eax, eax
mov edi, dword [esp + 0x34]
cmp edi, dword [eax + 0x10]
jb 0x10005d4b
call fcn.100378c0
lea edx, [esp + 0xb0]
push edx
lea ecx, [esp + 0x7c]
call fcn.100019b0
push eax
lea eax, [esp + 0xf0]
push eax
mov byte [esp + 0x13c], 9
call fcn.10001400
add esp, 0x28
mov edi, 0x10
cmp dword [esp + 0xac], edi
jb 0x10005d93
mov ecx, dword [esp + 0x98]
push ecx
call fcn.100378fa
add esp, 4
mov dword [esp + 0xac], esi
mov dword [esp + 0xa8], ebx
mov byte [esp + 0x98], bl
cmp dword [esp + 0x74], edi
jb 0x10005dbb
mov edx, dword [esp + 0x60]
push edx
call fcn.100378fa
add esp, 4
mov dword [esp + 0x74], esi
mov dword [esp + 0x70], ebx
mov byte [esp + 0x60], bl
cmp dword [esp + 0xfc], ebx
je 0x10005e49
cmp dword [esp + 0xe0], ebx
je 0x10005e49
mov edx, dword [esp + 0x100]
mov eax, dword [esp + 0xec]
cmp edx, 8
jb 0x10005df0
cmp eax, ebx
je 0x10005e49
mov ecx, dword [esp + 0x24]
cmp ecx, ebx
je 0x10005e49
cmp edx, 8
jae 0x10005e04
lea eax, [esp + 0xec]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push ecx
push eax
call esi
test eax, eax
jne 0x10005e49
mov edx, dword [esp + 0xe4]
mov eax, dword [esp + 0xd0]
cmp edx, 8
jb 0x10005e29
cmp eax, ebx
je 0x10005e49
mov ecx, dword [esp + 0x1c]
cmp ecx, ebx
je 0x10005e49
cmp edx, 8
jae 0x10005e3d
lea eax, [esp + 0xd0]
push ecx
push eax
call esi
test eax, eax
je 0x10005efe
mov edi, 8
cmp dword [esp + 0xe4], edi
jb 0x10005e67
mov eax, dword [esp + 0xd0]
push eax
call fcn.100378fa
add esp, 4
xor ecx, ecx
mov esi, 7
mov byte [esp + 0x114], 2
mov dword [esp + 0xe4], esi
mov dword [esp + 0xe0], ebx
mov word [esp + 0xd0], cx
cmp dword [esp + 0x100], edi
jb 0x10005ea5
mov edx, dword [esp + 0xec]
push edx
call fcn.100378fa
add esp, 4
xor eax, eax
mov dword [esp + 0x100], esi
mov dword [esp + 0xfc], ebx
mov word [esp + 0xec], ax
cmp ebp, ebx
jne 0x10005ef9
call fcn.100378c0
xor eax, eax
mov ecx, dword [esp + 0x18]
cmp ecx, dword [eax + 0x10]
jb 0x10005ed6
call fcn.100378c0
add dword [esp + 0x18], 0x18
mov eax, dword [esp + 0x38]
mov edi, 0xf
jmp 0x10005be0
mov eax, dword [ebp]
jmp 0x10005c56
mov eax, dword [ebp]
jmp 0x10005d3d
mov eax, dword [ebp]
jmp 0x10005ec8
lea esi, [esp + 0xcc]
call fcn.10012b60
lea esi, [esp + 0xe8]
call fcn.10012b60
lea edx, [esp + 0x28]
push edx
mov dword [esp + 0x118], 0xffffffff
call fcn.10008170
mov al, 1
jmp 0x10005f46
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x118], 0xffffffff
call fcn.10008170
xor al, al
mov ecx, dword [esp + 0x10c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xf0]
xor ecx, esp
call fcn.100370e4
add esp, 0x104
ret