Function at 0x10032220
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bd29e
mov eax, dword fs:[0]
push eax
sub esp, 0xfc
mov eax, dword [0x100f6458]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0x14]
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
cmp dword [edi + 0x14], 8
mov dword [ebp - 0x40], eax
mov eax, edi
mov dword [ebp - 0x34], esi
jb 0x1003226a
mov eax, dword [edi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10032579
push esi
lea ecx, [ebp - 0x28]
call fcn.10003de0
mov dword [ebp - 4], 0
or esi, 0xffffffff
mov eax, dword [ebp - 0x34]
cmp dword [eax + 0x10], 0
je 0x10032358
push 0x100cbe10
lea ecx, [ebp - 0x30]
call fcn.1000f8e0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.1000f8e0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.10067ab0
add esp, 0xc
mov byte [ebp - 4], 3
mov edx, dword [eax]
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x38], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100322e4
sub ecx, dword [ebp - 0x38]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.1000c5b0
mov byte [ebp - 4], 2
mov eax, esi
mov edx, dword [ebp - 0x3c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1003231c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov eax, esi
mov edx, dword [ebp - 0x2c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1003233a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, esi
mov edx, dword [ebp - 0x30]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10032358
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.100429f0
push 1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x1003247e
push 0x4d
mov dword [ebp - 0x60], eax
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x5c], eax
push 0x100cc888
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], al
call fcn.1000c4b0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x58]
push 3
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
push 0x100cc8d8
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
call fcn.1000c4b0
mov byte [ebp - 4], 8
lea eax, [ebp - 0x70]
push 0x96
push eax
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x108]
call fcn.100041a0
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 9
push str.WriteTaskWndCfgString:_key
push eax
call fcn.10005ff0
add esp, 8
mov ecx, ebx
cmp dword [ebx + 0x14], 8
jb 0x10032404
mov ecx, dword [ebx]
test ecx, ecx
mov eax, str._null_
cmovne eax, ecx
push eax
push dword [ebp - 0x2c]
call fcn.10002cd0
push str.__val
push dword [ebp - 0x2c]
call fcn.10005ff0
mov eax, dword [ebp - 0x34]
add esp, 0x10
cmp dword [eax + 0x14], 8
jb 0x10032432
mov eax, dword [eax]
test eax, eax
mov ecx, str._null_
cmovne ecx, eax
push ecx
push dword [ebp - 0x2c]
call fcn.10002cd0
add esp, 8
call fcn.100429f0
push dword [ebp - 0x2c]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x108]
call fcn.100062e0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x58]
call fcn.10005180
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x70]
call fcn.10005180
cmp dword [edi + 0x14], 8
jb 0x10032486
mov edi, dword [edi]
push edi
lea ecx, [ebp - 0x38]
call fcn.1000f8e0
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.1000f8e0
mov byte [ebp - 4], 0xc
cmp dword [ebx + 0x14], 8
jb 0x100324b3
mov ebx, dword [ebx]
push ebx
lea ecx, [ebp - 0x30]
call fcn.1000f8e0
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x40]
cmp dword [eax + 0x14], 8
jb 0x100324cb
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x34]
call fcn.1000f8e0
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.1005bd20
add esp, 0x10
mov edi, eax
mov byte [ebp - 4], 0xd
mov ecx, esi
mov edx, dword [ebp - 0x34]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x10032510
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xc
mov eax, esi
mov edx, dword [ebp - 0x30]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1003252e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xb
mov eax, esi
mov edx, dword [ebp - 0x2c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1003254c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x38]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x10032568
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10005200
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100662e1
mov esp, ebp
pop ebp
ret