Function at 0x10006350
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x10054f63
mov eax, dword fs:[0]
push eax
sub esp, 0x100
mov eax, dword [0x10067060]
xor eax, esp
mov dword [esp + 0xf8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10067060]
xor eax, esp
push eax
lea eax, [esp + 0x114]
mov dword fs:[0], eax
mov eax, dword [esp + 0x124]
push eax
mov dword [esp + 0x48], eax
call fcn.10005cd0
mov edi, eax
xor ebx, ebx
add esp, 4
mov dword [esp + 0x1c], edi
cmp edi, ebx
je 0x10006afd
mov al, byte [0x1006ba79]
lea esi, [edi + 0x54]
mov ebp, 8
mov byte [esp + 0x1b], al
mov dword [esp + 0x40], esi
cmp dword [esi + 0x18], ebp
jb 0x100063ce
mov eax, dword [esi + 4]
jmp 0x100063d1
lea eax, [esi + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov eax, esi
jne 0x100063e1
lea eax, [edi + 0x38]
xor ecx, ecx
push 0xffffffffffffffff
mov word [esp + 0xf8], cx
mov esi, 7
push ebx
lea ecx, [esp + 0xf8]
mov dword [esp + 0x110], esi
mov dword [esp + 0x10c], ebx
call fcn.100091f0
mov dword [esp + 0x11c], ebx
mov dword [esp + 0xb4], esi
xor edx, edx
push 0xa
mov eax, 0x10059058
lea esi, [esp + 0xa0]
mov dword [esp + 0xb4], ebx
mov word [esp + 0xa4], dx
call fcn.1000a400
lea eax, [edi + 0x1c]
mov byte [esp + 0x11c], 1
cmp dword [eax + 0x18], ebp
jb 0x10006454
mov eax, dword [eax + 4]
jmp 0x10006457
add eax, 4
push eax
push 0x10059070
lea esi, [esp + 0x28]
call fcn.1001f9c5
add esp, 8
push ebx
push eax
or eax, 0xffffffff
lea esi, [esp + 0xa4]
mov byte [esp + 0x124], 2
call fcn.1000a260
mov byte [esp + 0x11c], 1
cmp dword [esp + 0x38], ebp
jb 0x1000649d
mov eax, dword [esp + 0x24]
push eax
call fcn.10038093
add esp, 4
mov eax, dword [esp + 0xf4]
cmp dword [esp + 0x108], ebp
jae 0x100064b4
lea eax, [esp + 0xf4]
push eax
push 0x10059084
lea esi, [esp + 0x28]
call fcn.1001f9c5
add esp, 8
push ebx
push eax
or eax, 0xffffffff
lea esi, [esp + 0xa4]
mov byte [esp + 0x124], 3
call fcn.1000a260
mov byte [esp + 0x11c], 1
cmp dword [esp + 0x38], ebp
jb 0x100064fa
mov ecx, dword [esp + 0x24]
push ecx
call fcn.10038093
add esp, 4
cmp byte [esp + 0x1b], bl
je 0x10006513
push 0xa
mov eax, 0x10059094
lea ecx, [esp + 0xa0]
call fcn.1000a320
push 0xb
mov eax, 0x100590ac
lea ecx, [esp + 0xa0]
call fcn.1000a320
push str.wfchost.exe
lea edx, [esp + 0xd8]
push ebx
push edx
call fcn.1002fdd1
add esp, 0xc
mov byte [esp + 0x11c], 4
xor eax, eax
mov word [esp + 0xbc], ax
mov edi, 7
push 0xe
mov eax, str._printRequest
lea esi, [esp + 0xbc]
mov dword [esp + 0xd4], edi
mov dword [esp + 0xd0], ebx
call fcn.1000a400
cmp byte [esp + 0x1b], bl
je 0x1000699b
and dword [esp + 0x6c], 0xfffffe00
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
push 0x1006b1c8
mov byte [esp + 0x120], 7
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
xor ecx, ecx
mov word [esp + 0x4c], cx
mov ecx, eax
mov dword [esp + 0x60], edi
mov dword [esp + 0x5c], ebx
lea esi, [ecx + 2]
lea esp, [esp]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x100065c0
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [esp + 0x4c]
call fcn.1000a400
mov edx, esi
push edx
lea eax, [esp + 0x24]
push eax
mov byte [esp + 0x124], 8
call fcn.100014a0
mov byte [esp + 0x124], 9
sub esp, 0x10
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 edi, dword [eax + 0x14]
mov ebp, 0x10
mov dword [esp + 0x54], esp
cmp dword [eax + 0x18], ebp
jb 0x10006625
mov eax, dword [eax + 4]
jmp 0x10006628
add eax, 4
push eax
call fcn.10025302
add esp, 4
mov dword [esi], eax
push str.procName
lea ecx, [esp + 0x80]
push ecx
mov ecx, 0x100590ec
mov byte [esp + 0x13c], 0xa
call fcn.10026715
mov edi, eax
mov byte [esp + 0x134], 9
call fcn.10025ad2
cmp dword [esp + 0x38], ebp
jb 0x10006674
mov edx, dword [esp + 0x24]
push edx
call fcn.10038093
add esp, 4
mov byte [esp + 0x11c], 7
cmp dword [esp + 0x60], 8
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
jb 0x100066a0
mov eax, dword [esp + 0x4c]
push eax
call fcn.10038093
add esp, 4
mov eax, dword [esp + 0x1c]
add eax, 0x1c
push eax
lea ecx, [esp + 0x24]
push ecx
call fcn.100014a0
mov byte [esp + 0x124], 0xb
sub esp, 0x10
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 edi, dword [eax + 0x14]
mov dword [esp + 0x54], esp
cmp dword [eax + 0x18], ebp
jb 0x100066e4
mov eax, dword [eax + 4]
jmp 0x100066e7
add eax, 4
push eax
call fcn.10025302
add esp, 4
mov dword [esi], eax
push str.printer
lea edx, [esp + 0x80]
push edx
mov ecx, 0x1005904f
mov byte [esp + 0x13c], 0xc
call fcn.10026715
mov edi, eax
mov byte [esp + 0x134], 0xb
call fcn.10025ad2
mov byte [esp + 0x11c], 7
cmp dword [esp + 0x38], ebp
jb 0x1000673b
mov eax, dword [esp + 0x24]
push eax
call fcn.10038093
add esp, 4
mov ecx, dword [esp + 0x1c]
add ecx, 0x38
push ecx
lea edx, [esp + 0x24]
push edx
call fcn.100014a0
mov byte [esp + 0x124], 0xd
sub esp, 0x10
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 edi, dword [eax + 0x14]
mov dword [esp + 0x54], esp
cmp dword [eax + 0x18], ebp
jb 0x1000677f
mov eax, dword [eax + 4]
jmp 0x10006782
add eax, 4
push eax
call fcn.10025302
add esp, 4
mov dword [esi], eax
push str.docName
lea eax, [esp + 0x80]
push eax
mov ecx, 0x10059057
mov byte [esp + 0x13c], 0xe
call fcn.10026715
mov edi, eax
mov byte [esp + 0x134], 0xd
call fcn.10025ad2
mov byte [esp + 0x11c], 7
cmp dword [esp + 0x38], ebp
jb 0x100067d6
mov ecx, dword [esp + 0x24]
push ecx
call fcn.10038093
add esp, 4
mov esi, dword [esp + 0x40]
mov edi, 8
cmp dword [esi + 0x18], edi
jb 0x100067e9
mov eax, dword [esi + 4]
jmp 0x100067ec
lea eax, [esi + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10006894
lea edx, [esp + 0x20]
push esi
push edx
call fcn.100014a0
mov byte [esp + 0x124], 0xf
sub esp, 0x10
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 edi, dword [eax + 0x14]
mov dword [esp + 0x54], esp
cmp dword [eax + 0x18], ebp
jb 0x10006838
mov eax, dword [eax + 4]
jmp 0x1000683b
add eax, 4
push eax
call fcn.10025302
add esp, 4
mov dword [esi], eax
push str.file
lea eax, [esp + 0x80]
push eax
mov ecx, 0x10058cc4
mov byte [esp + 0x13c], 0x10
call fcn.10026715
mov edi, eax
mov byte [esp + 0x134], 0xf
call fcn.10025ad2
mov byte [esp + 0x11c], 7
cmp dword [esp + 0x38], ebp
jb 0x1000688f
mov ecx, dword [esp + 0x24]
push ecx
call fcn.10038093
add esp, 4
mov edi, 8
lea edx, [esp + 0x64]
push edx
lea ecx, [esp + 0x84]
call fcn.10026df0
push eax
lea eax, [esp + 0x4c]
push eax
mov byte [esp + 0x124], 0x11
call fcn.1002f585
push eax
lea ecx, [esp + 0x2c]
push ecx
mov byte [esp + 0x12c], 0x12
call fcn.10001420
add esp, 0x10
push ebx
push eax
or eax, 0xffffffff
lea esi, [esp + 0xc0]
mov byte [esp + 0x124], 0x13
call fcn.1000a260
cmp dword [esp + 0x38], edi
jb 0x100068fa
mov edx, dword [esp + 0x24]
push edx
call fcn.10038093
add esp, 4
xor eax, eax
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], ebx
mov word [esp + 0x24], ax
cmp dword [esp + 0x60], ebp
jb 0x10006920
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.10038093
add esp, 4
mov dword [esp + 0x60], 0xf
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x4c], bl
cmp dword [esp + 0x98], ebp
jb 0x10006949
mov edx, dword [esp + 0x84]
push edx
call fcn.10038093
add esp, 4
lea esi, [esp + 0x64]
mov byte [esp + 0x11c], 5
call fcn.10025a4f
cmp dword [esp + 0xd0], edi
jb 0x1000698e
mov eax, dword [esp + 0xbc]
mov dword [esp + 0x1c], eax
cmp dword [esp + 0xec], edi
jb 0x10006ae7
mov ebp, dword [esp + 0xd8]
mov eax, 0x100590f0
mov edi, 0x10059114
jmp 0x100069ab
lea ecx, [esp + 0xbc]
mov dword [esp + 0x1c], ecx
jmp 0x1000696e
mov dword [esp + 0x1c], ebx
xor ebp, ebp
mov eax, 0x10058ba0
mov edi, 0x10059120
xor edx, edx
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], ebx
mov word [esp + 0x24], dx
mov byte [esp + 0x11c], 0x14
cmp dword [esp + 0xb4], 8
mov esi, dword [esp + 0xa0]
jae 0x100069de
lea esi, [esp + 0xa0]
mov edx, dword [esp + 0x1c]
xor ecx, ecx
cmp byte [esp + 0x1b], bl
sete cl
push ecx
push eax
push esi
push edi
mov ecx, ebp
call fcn.100029a0
mov esi, 8
add esp, 0x10
mov byte [esp + 0x11c], 5
cmp dword [esp + 0x38], esi
jb 0x10006a19
mov edx, dword [esp + 0x24]
push edx
call fcn.10038093
add esp, 4
mov eax, 0x1005912c
cmp byte [esp + 0x1b], bl
jne 0x10006a29
mov eax, 0x10059114
push eax
mov eax, dword [esp + 0x48]
push eax
call fcn.10005b90
add esp, 8
cmp dword [esp + 0xd0], esi
jb 0x10006a50
mov ecx, dword [esp + 0xbc]
push ecx
call fcn.10038093
add esp, 4
xor edx, edx
mov edi, 7
mov dword [esp + 0xd0], edi
mov dword [esp + 0xcc], ebx
mov word [esp + 0xbc], dx
cmp dword [esp + 0xec], esi
jb 0x10006a86
mov eax, dword [esp + 0xd8]
push eax
call fcn.10038093
add esp, 4
xor ecx, ecx
mov dword [esp + 0xec], edi
mov dword [esp + 0xe8], ebx
mov word [esp + 0xd8], cx
cmp dword [esp + 0xb4], esi
jb 0x10006ab7
mov edx, dword [esp + 0xa0]
push edx
call fcn.10038093
add esp, 4
xor eax, eax
mov dword [esp + 0xb4], edi
mov dword [esp + 0xb0], ebx
mov word [esp + 0xa0], ax
cmp dword [esp + 0x108], esi
jb 0x10006b0a
mov ecx, dword [esp + 0xf4]
push ecx
call fcn.10038093
jmp 0x10006b07
lea ebp, [esp + 0xd8]
mov eax, 0x100590f0
mov edi, 0x10059114
jmp 0x100069ab
push str.gb0RSbpS
call fcn.100210fd
add esp, 4
mov ecx, dword [esp + 0x114]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xf8]
xor ecx, esp
call fcn.10037693
add esp, 0x10c
ret