Function at 0x588f30
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d2c51
mov eax, dword fs:[0]
push eax
sub esp, 0x1c8
mov eax, dword [0x70c0f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xbc], ecx
mov eax, dword [ebp - 0xbc]
cmp dword [eax + 0x360], 0
jne 0x588f83
mov ecx, dword [ebp - 0xbc]
mov edx, dword [ecx + 0xf1c]
mov byte [edx + 0xd0], 1
mov dword [ebp - 0xc8], 0
jmp 0x588f9e
mov eax, dword [ebp - 0xc8]
add eax, 1
mov dword [ebp - 0xc8], eax
mov ecx, dword [ebp - 0xbc]
add ecx, 0x33c
call fcn.00448210
cmp dword [ebp - 0xc8], eax
jae 0x589755
push 0x6a780c
mov ecx, dword [ebp - 0xbc]
mov ecx, dword [ecx + 0xf1c]
add ecx, 0xc4
call fcn.00553ad0
mov edx, dword [ebp - 0xbc]
mov eax, dword [edx + 0xf1c]
mov byte [eax + 0xc0], 0
mov ecx, dword [ebp - 0xbc]
mov edx, dword [ecx + 0xf1c]
mov byte [edx + 0xc1], 0
mov ecx, dword [ebp - 0xbc]
add ecx, 0x18
call fcn.005443b0
lea ecx, [ebp - 0x134]
call fcn.00457f10
mov dword [ebp - 4], 0
push 0
push 0
push 0
push str.WNCV_
lea ecx, [ebp - 0x134]
call fcn.005576d0
lea ecx, [ebp - 0x134]
call fcn.00457f80
push eax
lea ecx, [ebp - 0xe8]
call fcn.00553d50
mov byte [ebp - 4], 1
lea eax, [ebp - 0xe8]
push eax
call fcn.0055cdb0
add esp, 4
mov ecx, dword [ebp - 0xc8]
push ecx
mov ecx, dword [ebp - 0xbc]
add ecx, 0x33c
call fcn.004481f0
mov dword [ebp - 0xc0], eax
mov ecx, dword [ebp - 0xc0]
call fcn.00447710
push eax
lea ecx, [ebp - 0x40]
call fcn.00446660
mov byte [ebp - 4], 2
lea edx, [ebp - 0x40]
push edx
lea eax, [ebp - 0x28]
push eax
call fcn.004dd1b2
add esp, 8
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
call fcn.00446610
lea ecx, [ebp - 0x28]
call fcn.004465b0
push eax
mov ecx, dword [ebp - 0xbc]
add ecx, 0x354
push ecx
lea edx, [ebp - 0xd8]
push edx
call fcn.00552e70
add esp, 0xc
mov byte [ebp - 4], 5
push 0x6a7804
lea ecx, [ebp - 0xd8]
call fcn.00552fd0
mov eax, dword [ebp - 0xbc]
add eax, 0x348
push eax
lea ecx, [ebp - 0xd8]
call fcn.005539e0
lea ecx, [ebp - 0xd8]
call fcn.00447710
push eax
mov ecx, dword [ebp - 0xc0]
call fcn.004524f0
movzx ecx, al
test ecx, ecx
je 0x5891d2
mov edx, dword [ebp - 0xc0]
push edx
lea ecx, [ebp - 0x108]
call fcn.00553d50
mov byte [ebp - 4], 6
push 0x6a7834
lea ecx, [ebp - 0x108]
call fcn.00552fd0
mov ecx, dword [ebp - 0xc0]
call fcn.00447710
push eax
lea ecx, [ebp - 0x108]
call fcn.00447710
push eax
mov eax, dword [ebp - 0xbc]
mov ecx, dword [eax + 0x87c]
add ecx, 0x18
call fcn.00543c70
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x108]
call fcn.00447680
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xd8]
call fcn.00447680
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00446610
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xe8]
call fcn.00447680
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x134]
call fcn.00457f30
jmp 0x588f8f
mov ecx, dword [0x6e11e0]
push ecx
push 0x2e
lea ecx, [ebp - 0x28]
call fcn.0046ea30
mov dword [ebp - 0xdc], eax
mov edx, dword [ebp - 0xdc]
cmp edx, dword [0x6e11e0]
je 0x589326
mov eax, dword [0x6e11e0]
push eax
mov ecx, dword [ebp - 0xdc]
push ecx
lea edx, [ebp - 0x70]
push edx
lea ecx, [ebp - 0x28]
call fcn.0044ec40
mov byte [ebp - 4], 7
push 0x6a7850
lea ecx, [ebp - 0x58]
call fcn.00446660
mov byte [ebp - 4], 8
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x70]
push ecx
call fcn.004dd489
add esp, 8
mov byte [ebp - 0xc1], al
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x58]
call fcn.00446610
movzx edx, byte [ebp - 0xc1]
test edx, edx
je 0x58931a
lea ecx, [ebp - 0x28]
call fcn.0045a6c0
sub eax, 4
push eax
push 0
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x28]
call fcn.0044ec40
mov dword [ebp - 0xec], eax
mov ecx, dword [ebp - 0xec]
push ecx
lea ecx, [ebp - 0x28]
call fcn.0044ecc0
lea ecx, [ebp - 0xa0]
call fcn.00446610
lea ecx, [ebp - 0x28]
call fcn.004465b0
push eax
mov edx, dword [ebp - 0xbc]
add edx, 0x354
push edx
lea eax, [ebp - 0x164]
push eax
call fcn.00552e70
add esp, 0xc
mov dword [ebp - 0xf0], eax
mov ecx, dword [ebp - 0xf0]
mov dword [ebp - 0xf4], ecx
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0xf4]
push edx
lea ecx, [ebp - 0xd8]
call fcn.00553b70
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x164]
call fcn.00447680
push 0x6a7810
lea ecx, [ebp - 0xd8]
call fcn.00552fd0
mov eax, dword [ebp - 0xbc]
add eax, 0x348
push eax
lea ecx, [ebp - 0xd8]
call fcn.005539e0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x70]
call fcn.00446610
lea ecx, [ebp - 0xd8]
call fcn.00447710
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x5893f1
lea ecx, [ebp - 0xd8]
push ecx
lea ecx, [ebp - 0x114]
call fcn.00553d50
mov byte [ebp - 4], 0xa
push 0x6a7814
lea ecx, [ebp - 0x114]
call fcn.00552fd0
mov ecx, dword [ebp - 0xc0]
call fcn.00447710
push eax
lea ecx, [ebp - 0x114]
call fcn.00447710
push eax
mov edx, dword [ebp - 0xbc]
mov ecx, dword [edx + 0x87c]
add ecx, 0x18
call fcn.00543c70
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x114]
call fcn.00447680
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xd8]
call fcn.00447680
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00446610
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xe8]
call fcn.00447680
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x134]
call fcn.00457f30
jmp 0x588f8f
mov ecx, dword [ebp - 0xc0]
call fcn.00447710
push eax
lea ecx, [ebp - 0x88]
call fcn.00446660
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0xb8]
push ecx
call fcn.004dcebe
add esp, 8
mov dword [ebp - 0xf8], eax
mov edx, dword [ebp - 0xf8]
mov dword [ebp - 0xfc], edx
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0xfc]
call fcn.004465b0
push eax
lea ecx, [ebp - 0x158]
call fcn.00553d00
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0xb8]
call fcn.00446610
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x88]
call fcn.00446610
lea eax, [ebp - 0x158]
push eax
lea ecx, [ebp - 0xd8]
push ecx
mov ecx, dword [ebp - 0xbc]
add ecx, 0x898
call fcn.005884c0
lea ecx, [ebp - 0x1d4]
call fcn.004495b0
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0xc0]
call fcn.00447710
push eax
lea ecx, [ebp - 0x1d4]
call fcn.00559370
movzx edx, al
test edx, edx
je 0x5894d1
mov eax, dword [ebp - 0x1d4]
mov dword [ebp - 0x124], eax
mov ecx, dword [ebp - 0x1d0]
mov dword [ebp - 0x120], ecx
lea ecx, [ebp - 0x14c]
call fcn.00553c20
mov byte [ebp - 4], 0x11
lea edx, [ebp - 0x14c]
push edx
lea eax, [ebp - 0xe8]
push eax
mov ecx, dword [ebp - 0xc0]
push ecx
mov ecx, dword [ebp - 0xbc]
call fcn.00588a00
mov dword [ebp - 0xcc], eax
cmp dword [ebp - 0xcc], 0
jne 0x58966f
mov ecx, dword [ebp - 0xbc]
add ecx, 0x18
call fcn.005443b0
push 0x6a77d0
mov edx, dword [ebp - 0xbc]
mov ecx, dword [edx + 0xf60]
add ecx, 0x28
call fcn.00553ad0
mov eax, dword [ebp - 0xbc]
mov ecx, dword [eax + 0xf60]
mov byte [ecx + 0x34], 0
mov edx, dword [ebp - 0xbc]
mov eax, dword [edx + 0xf60]
mov byte [eax + 0x35], 0
mov ecx, dword [ebp - 0xbc]
cmp dword [ecx + 0x360], 1
jne 0x5895b7
mov edx, dword [ebp - 0xbc]
mov eax, dword [edx + 0xf1c]
movzx ecx, byte [eax + 0xc0]
test ecx, ecx
je 0x5895b7
mov edx, dword [ebp - 0xbc]
mov eax, dword [edx + 0xf60]
mov byte [eax + 0x34], 1
mov ecx, dword [ebp - 0xbc]
mov edx, dword [ecx + 0xf1c]
add edx, 0xc4
push edx
mov eax, dword [ebp - 0xbc]
mov ecx, dword [eax + 0xf60]
add ecx, 0x28
call fcn.00553b70
lea ecx, [ebp - 0xe8]
push ecx
lea ecx, [ebp - 0x140]
call fcn.00553d50
mov byte [ebp - 4], 0x12
push 0x6a77d4
lea ecx, [ebp - 0x140]
call fcn.00552fd0
lea edx, [ebp - 0x14c]
push edx
lea eax, [ebp - 0xd8]
push eax
lea ecx, [ebp - 0x140]
push ecx
mov ecx, dword [ebp - 0xbc]
call fcn.005886f0
mov dword [ebp - 0xcc], eax
cmp dword [ebp - 0xcc], 0
jne 0x589660
lea ecx, [ebp - 0x19c]
call fcn.004495b0
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0xd8]
call fcn.00447710
push eax
lea ecx, [ebp - 0x19c]
call fcn.00559370
movzx edx, al
test edx, edx
je 0x589651
mov eax, dword [ebp - 0x19c]
mov dword [ebp - 0x11c], eax
mov ecx, dword [ebp - 0x198]
mov dword [ebp - 0x118], ecx
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x19c]
call fcn.004495e0
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x140]
call fcn.00447680
cmp dword [ebp - 0xcc], 0
jne 0x5896e7
mov ecx, dword [ebp - 0xbc]
add ecx, 0x898
call fcn.005885d0
lea edx, [ebp - 0x11c]
push edx
lea eax, [ebp - 0x124]
push eax
mov ecx, dword [ebp - 0xbc]
add ecx, 0x898
call fcn.00588540
push 0
push 0
push 0x568
mov ecx, dword [ebp - 0xbc]
add ecx, 0x370
call fcn.0049744e
mov ecx, dword [ebp - 0xbc]
movzx edx, byte [ecx + 0x364]
test edx, edx
je 0x5896e7
mov ecx, dword [ebp - 0xc0]
call fcn.00447710
push eax
call fcn.005583c0
add esp, 4
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x14c]
call fcn.00447680
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x1d4]
call fcn.004495e0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x158]
call fcn.00447680
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xd8]
call fcn.00447680
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00446610
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xe8]
call fcn.00447680
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x134]
call fcn.00457f30
jmp 0x588f8f
mov eax, dword [ebp - 0xbc]
mov ecx, dword [eax + 0x87c]
add ecx, 0x18
call fcn.00544340
test eax, eax
jne 0x589787
push 0
push 0
push 0x569
mov ecx, dword [ebp - 0xbc]
add ecx, 0x370
call fcn.0049744e
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00495c0c
mov esp, ebp
pop ebp
ret