Function at 0x5bfe10
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d7339
mov eax, dword fs:[0]
push eax
sub esp, 0x20c
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 - 0x198], ecx
mov byte [ebp - 0x109], 1
mov byte [ebp - 0xf1], 1
mov dword [ebp - 0x108], 0
mov dword [ebp - 0x100], 0
mov dword [ebp - 0x114], 0
mov dword [ebp - 0x1ac], 0
mov dword [ebp - 0xf0], 0
mov dword [ebp - 0x1a8], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x28]
call fcn.00446660
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x134]
call fcn.0044c050
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x124]
call fcn.00448600
mov byte [ebp - 4], 2
push 0x6db660
lea ecx, [ebp - 0x88]
call fcn.00446660
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.0045a6c0
mov dword [ebp - 0x128], eax
mov dword [ebp - 0xf8], 0
lea ecx, [ebp - 0x110]
push ecx
lea ecx, [ebp - 0x28]
call fcn.0044f510
jmp 0x5bff0d
push 0
lea edx, [ebp - 0x1b0]
push edx
lea ecx, [ebp - 0x110]
call fcn.0047aed0
lea eax, [ebp - 0x19c]
push eax
lea ecx, [ebp - 0x28]
call fcn.0044f490
push eax
lea ecx, [ebp - 0x110]
call fcn.0044bd20
movzx ecx, al
test ecx, ecx
je 0x5c00de
lea ecx, [ebp - 0x110]
call fcn.0044bd90
mov dx, word [eax]
mov word [ebp - 0xfc], dx
movzx eax, word [ebp - 0xfc]
cmp eax, 0x22
jne 0x5bfff7
cmp dword [ebp - 0x108], 0
jne 0x5bff88
mov ecx, dword [ebp - 0xf8]
mov dword [ebp - 0x100], ecx
mov edx, dword [ebp - 0x100]
add edx, 1
mov dword [ebp - 0x100], edx
mov dword [ebp - 0x108], 1
jmp 0x5bfff2
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0x114], eax
mov ecx, dword [ebp - 0x114]
sub ecx, dword [ebp - 0x100]
push ecx
mov edx, dword [ebp - 0x100]
push edx
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x28]
call fcn.0044ec40
mov byte [ebp - 4], 4
mov dword [ebp - 0x108], 0
lea ecx, [ebp - 0xa0]
push ecx
lea ecx, [ebp - 0x134]
call fcn.0044ea60
mov edx, dword [ebp - 0x114]
mov dword [ebp - 0xf0], edx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xa0]
call fcn.00446610
jmp 0x5c00ca
movzx eax, word [ebp - 0xfc]
cmp eax, 0x20
jne 0x5c0071
cmp dword [ebp - 0x108], 0
jne 0x5c006f
mov ecx, dword [ebp - 0xf8]
sub ecx, dword [ebp - 0xf0]
push ecx
mov edx, dword [ebp - 0xf0]
push edx
lea eax, [ebp - 0xb8]
push eax
lea ecx, [ebp - 0x28]
call fcn.0044ec40
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xb8]
push ecx
lea ecx, [ebp - 0x134]
call fcn.0044ea60
mov edx, dword [ebp - 0xf8]
mov dword [ebp - 0xf0], edx
mov eax, dword [ebp - 0xf0]
add eax, 1
mov dword [ebp - 0xf0], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xb8]
call fcn.00446610
jmp 0x5c00ca
mov ecx, dword [ebp - 0x128]
sub ecx, 1
cmp dword [ebp - 0xf8], ecx
jne 0x5c00ca
mov edx, dword [ebp - 0x128]
sub edx, dword [ebp - 0xf0]
push edx
mov eax, dword [ebp - 0xf0]
push eax
lea ecx, [ebp - 0xd0]
push ecx
lea ecx, [ebp - 0x28]
call fcn.0044ec40
mov byte [ebp - 4], 6
lea edx, [ebp - 0xd0]
push edx
lea ecx, [ebp - 0x134]
call fcn.0044ea60
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xd0]
call fcn.00446610
mov eax, dword [ebp - 0xf8]
add eax, 1
mov dword [ebp - 0xf8], eax
jmp 0x5bfef9
lea ecx, [ebp - 0x118]
push ecx
lea ecx, [ebp - 0x134]
call fcn.0044bfb0
jmp 0x5c0106
push 0
lea edx, [ebp - 0x1a0]
push edx
lea ecx, [ebp - 0x118]
call fcn.0044e910
lea eax, [ebp - 0x1a4]
push eax
lea ecx, [ebp - 0x134]
call fcn.0044bf50
push eax
lea ecx, [ebp - 0x118]
call fcn.0044bd20
movzx ecx, al
test ecx, ecx
je 0x5c020e
lea ecx, [ebp - 0x118]
call fcn.0044e940
mov ecx, eax
call fcn.004465b0
push eax
lea ecx, [ebp - 0x40]
call fcn.00446660
mov byte [ebp - 4], 7
push 0x6db634
lea edx, [ebp - 0x40]
push edx
call fcn.00453f30
add esp, 8
movzx eax, al
test eax, eax
je 0x5c0177
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.00446610
jmp 0x5c00f2
push 0x6db630
lea ecx, [ebp - 0x40]
push ecx
call fcn.00453f30
add esp, 8
movzx edx, al
test edx, edx
je 0x5c01a0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.00446610
jmp 0x5c00f2
lea ecx, [ebp - 0x40]
call fcn.004465b0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x5c01c4
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.00446610
jmp 0x5c00f2
lea ecx, [ebp - 0x40]
call fcn.004465b0
push eax
lea ecx, [ebp - 0x1bc]
call fcn.00553d00
mov byte [ebp - 4], 8
lea eax, [ebp - 0x1bc]
push eax
lea ecx, [ebp - 0x124]
call fcn.0044b4c0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1bc]
call fcn.00447680
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.00446610
jmp 0x5c00f2
lea ecx, [ebp - 0x124]
call fcn.00448210
test eax, eax
jne 0x5c025e
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x88]
call fcn.00446610
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x124]
call fcn.00448470
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x134]
call fcn.0044ec00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00446610
jmp 0x5c06ea
push 0x6db63c
lea ecx, [ebp - 0x58]
call fcn.00446660
mov byte [ebp - 4], 9
push 0x6db638
lea ecx, [ebp - 0xe8]
call fcn.00446660
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x154]
call fcn.00553c20
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x218]
call fcn.004495b0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x124]
call fcn.004483e0
mov dword [ebp - 0x104], eax
mov ecx, dword [ebp - 0x104]
call fcn.00447710
push eax
call fcn.0055c5e0
add esp, 4
movzx ecx, al
test ecx, ecx
je 0x5c02f6
push 4
mov ecx, dword [ebp - 0x104]
call fcn.00447750
push eax
lea ecx, [ebp - 0x1f0]
call fcn.00553ad0
push 0x6db5fc
lea ecx, [ebp - 0x154]
call fcn.00552c70
mov ecx, dword [ebp - 0x104]
call fcn.00447710
push eax
lea ecx, [ebp - 0x218]
call fcn.00559370
movzx edx, al
test edx, edx
jne 0x5c038e
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x218]
call fcn.004495e0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x154]
call fcn.00447680
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xe8]
call fcn.00446610
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x58]
call fcn.00446610
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x88]
call fcn.00446610
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x124]
call fcn.00448470
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x134]
call fcn.0044ec00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00446610
jmp 0x5c06ea
lea eax, [ebp - 0x154]
push eax
mov ecx, dword [ebp - 0x104]
call fcn.00447710
push eax
call fcn.00557e60
add esp, 8
mov byte [ebp - 0xea], 0
mov byte [ebp - 0x10a], 1
mov byte [ebp - 0x10b], 0
lea ecx, [ebp - 0x124]
call fcn.00448210
cmp eax, 1
jne 0x5c0421
push 0
lea ecx, [ebp - 0x218]
push ecx
lea edx, [ebp - 0x1e0]
push edx
call fcn.005110c0
add esp, 0xc
mov dword [ebp - 0x158], eax
mov eax, dword [ebp - 0x158]
mov dword [ebp - 0x138], eax
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x138]
call fcn.00447710
push eax
lea ecx, [ebp - 0x58]
call fcn.0044c0b0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x1e0]
call fcn.00447680
jmp 0x5c049a
lea ecx, [ebp - 0x124]
call fcn.00448210
cmp eax, 1
jbe 0x5c043a
mov byte [ebp - 0xe9], 1
jmp 0x5c0441
mov byte [ebp - 0xe9], 0
push 0
movzx ecx, byte [ebp - 0xe9]
push ecx
mov edx, dword [ebp - 0x104]
push edx
lea eax, [ebp - 0x1c8]
push eax
call fcn.00510e10
add esp, 0x10
mov dword [ebp - 0x13c], eax
mov ecx, dword [ebp - 0x13c]
mov dword [ebp - 0x140], ecx
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x140]
call fcn.00447710
push eax
lea ecx, [ebp - 0x58]
call fcn.0044c0b0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x1c8]
call fcn.00447680
lea ecx, [ebp - 0x124]
call fcn.00448210
cmp eax, 1
jne 0x5c04c7
lea edx, [ebp - 0x1f0]
push edx
call fcn.005bfc60
add esp, 4
movzx eax, al
test eax, eax
je 0x5c04c7
mov byte [ebp - 0xea], 1
lea ecx, [ebp - 0x154]
push ecx
lea ecx, [ebp - 0x194]
call fcn.00553d50
mov byte [ebp - 4], 0xf
movzx edx, byte [ebp - 0xea]
test edx, edx
je 0x5c05ba
lea ecx, [ebp - 0x164]
call fcn.00553c20
mov byte [ebp - 4], 0x10
push 0
lea ecx, [ebp - 0x124]
call fcn.004481f0
push eax
lea eax, [ebp - 0x1d4]
push eax
call fcn.0051fb50
add esp, 8
mov dword [ebp - 0x144], eax
mov ecx, dword [ebp - 0x144]
mov dword [ebp - 0x148], ecx
mov byte [ebp - 4], 0x11
mov edx, dword [ebp - 0x148]
push edx
lea ecx, [ebp - 0x164]
call fcn.00553b70
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x1d4]
call fcn.00447680
push 0x6db5f8
lea ecx, [ebp - 0x70]
call fcn.00446660
mov byte [ebp - 4], 0x12
call fcn.00447430
mov ecx, eax
call fcn.004d6330
push eax
lea ecx, [ebp - 0x70]
call fcn.0044c0b0
push 0x6db604
lea ecx, [ebp - 0x70]
call fcn.004465f0
lea eax, [ebp - 0x164]
push eax
lea ecx, [ebp - 0x70]
call fcn.004465b0
push eax
call fcn.0055d160
add esp, 8
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x70]
call fcn.00446610
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x164]
call fcn.00447680
jmp 0x5c0666
push 0x6db600
lea ecx, [ebp - 0x188]
call fcn.00553d00
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x58]
call fcn.004465b0
push eax
lea ecx, [ebp - 0x17c]
call fcn.00553d00
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x194]
call fcn.00447710
push eax
lea ecx, [ebp - 0x170]
call fcn.00553d00
mov byte [ebp - 4], 0x15
push 0
push 0
push 0
push 0
push 1
push 0
lea ecx, [ebp - 0x124]
push ecx
movzx edx, byte [ebp - 0xf1]
push edx
lea eax, [ebp - 0x188]
push eax
lea ecx, [ebp - 0x17c]
push ecx
lea edx, [ebp - 0x170]
push edx
call fcn.00514d50
add esp, 0x2c
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x170]
call fcn.00447680
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x17c]
call fcn.00447680
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x188]
call fcn.00447680
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x194]
call fcn.00447680
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x218]
call fcn.004495e0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x154]
call fcn.00447680
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xe8]
call fcn.00446610
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x58]
call fcn.00446610
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x88]
call fcn.00446610
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x124]
call fcn.00448470
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x134]
call fcn.0044ec00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00446610
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 4