Function at 0x43cc50
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49f738
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb4c
mov dword [ebp - 0x1d4], 0
mov dword [ebp - 0x24], 0
movzx eax, byte [ebp - 0x31]
push eax
lea ecx, [ebp - 0x58]
call fcn.0042ae80
lea ecx, [ebp - 0x58]
call fcn.004311a0
mov dword [ebp - 4], 0
movzx ecx, byte [ebp - 0x32]
push ecx
lea ecx, [ebp - 0xb8]
call fcn.0042ae80
lea ecx, [ebp - 0xb8]
call fcn.004311a0
mov byte [ebp - 4], 1
mov edx, dword [ebp + 0x10]
push edx
lea eax, [ebp - 0xb8]
push eax
lea ecx, [ebp - 0x58]
push ecx
call fcn.00440730
add esp, 0xc
cmp dword [0x4cd1e0], 0
je 0x43cf03
movzx edx, byte [ebp - 0x25]
push edx
lea ecx, [ebp - 0x184]
call fcn.0042ae80
lea ecx, [ebp - 0x184]
call fcn.004311a0
mov byte [ebp - 4], 2
movzx eax, byte [ebp - 0x26]
push eax
lea ecx, [ebp - 0x16c]
call fcn.0042ae80
lea ecx, [ebp - 0x16c]
call fcn.004311a0
mov byte [ebp - 4], 3
mov ecx, dword [ebp + 0x10]
and ecx, 0xff
cmp ecx, 2
jne 0x43cd33
mov dword [ebp - 0x5c], 1
jmp 0x43cd3a
mov dword [ebp - 0x5c], 0
cmp dword [ebp - 0x5c], 0
je 0x43cd5e
push 1
push 0
lea edx, [ebp - 0x16c]
push edx
lea eax, [ebp - 0x184]
push eax
push 0
call fcn.00446ba0
jmp 0x43ce19
mov ecx, dword [ebp + 0x10]
and ecx, 0xff
cmp ecx, 1
jne 0x43cd75
mov dword [ebp - 0x60], 1
jmp 0x43cd7c
mov dword [ebp - 0x60], 0
cmp dword [ebp - 0x60], 0
je 0x43cd9d
push 1
push 0
lea edx, [ebp - 0x16c]
push edx
lea eax, [ebp - 0x184]
push eax
push 0
call fcn.00446c00
jmp 0x43ce19
mov ecx, dword [ebp + 0x10]
and ecx, 0xff
cmp ecx, 4
jne 0x43cdb4
mov dword [ebp - 0x64], 1
jmp 0x43cdbb
mov dword [ebp - 0x64], 0
cmp dword [ebp - 0x64], 0
je 0x43cddc
push 1
push 0
lea edx, [ebp - 0x16c]
push edx
lea eax, [ebp - 0x184]
push eax
push 0
call fcn.00446c30
jmp 0x43ce19
mov ecx, dword [ebp + 0x10]
and ecx, 0xff
cmp ecx, 3
jne 0x43cdf3
mov dword [ebp - 0x68], 1
jmp 0x43cdfa
mov dword [ebp - 0x68], 0
cmp dword [ebp - 0x68], 0
je 0x43ce19
push 1
push 0
lea edx, [ebp - 0x16c]
push edx
lea eax, [ebp - 0x184]
push eax
push 0
call fcn.00446bd0
mov ecx, dword [ebp - 0x174]
mov dword [ebp - 0x150], ecx
cmp dword [ebp - 0x150], 0
jne 0x43ce37
mov dword [ebp - 0x6c], 1
jmp 0x43ce3e
mov dword [ebp - 0x6c], 0
mov dl, byte [ebp - 0x6c]
mov byte [ebp - 0x11], dl
movzx eax, byte [ebp - 0x11]
test eax, eax
jne 0x43ce7c
lea ecx, [ebp - 0x184]
mov dword [ebp - 0x154], ecx
lea edx, [ebp - 0x58]
cmp edx, dword [ebp - 0x154]
je 0x43ce7c
xor eax, eax
mov byte [ebp - 0x12], al
movzx ecx, byte [ebp - 0x12]
push ecx
lea edx, [ebp - 0x184]
push edx
lea ecx, [ebp - 0x58]
call fcn.004309f0
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0xbc], eax
cmp dword [ebp - 0xbc], 0
jne 0x43ce9a
mov dword [ebp - 0x70], 1
jmp 0x43cea1
mov dword [ebp - 0x70], 0
mov cl, byte [ebp - 0x70]
mov byte [ebp - 0x13], cl
movzx edx, byte [ebp - 0x13]
test edx, edx
jne 0x43cee5
lea eax, [ebp - 0x16c]
mov dword [ebp - 0xc0], eax
lea ecx, [ebp - 0xb8]
cmp ecx, dword [ebp - 0xc0]
je 0x43cee5
xor edx, edx
mov byte [ebp - 0x14], dl
movzx eax, byte [ebp - 0x14]
push eax
lea ecx, [ebp - 0x16c]
push ecx
lea ecx, [ebp - 0xb8]
call fcn.004309f0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x16c]
call fcn.00431070
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x184]
call fcn.00431070
movzx edx, byte [ebp - 0x27]
push edx
lea ecx, [ebp - 0x238]
call fcn.0042ae80
lea ecx, [ebp - 0x238]
call fcn.004311a0
mov byte [ebp - 4], 4
movzx eax, byte [ebp - 0x28]
push eax
lea ecx, [ebp - 0x19c]
call fcn.0042ae80
lea ecx, [ebp - 0x19c]
call fcn.004311a0
mov byte [ebp - 4], 5
mov dword [ebp - 0x38], 0
cmp dword [0x4cd1dc], 0
je 0x43d2c9
movzx ecx, byte [ebp - 0x29]
push ecx
lea ecx, [ebp - 0x280]
call fcn.0042ae80
lea ecx, [ebp - 0x280]
call fcn.004311a0
mov byte [ebp - 4], 6
movzx edx, byte [ebp - 0x2a]
push edx
lea ecx, [ebp - 0x268]
call fcn.0042ae80
lea ecx, [ebp - 0x268]
call fcn.004311a0
mov byte [ebp - 4], 7
push 0x800
push 0
lea eax, [ebp - 0xb58]
push eax
call fcn.00464f70
add esp, 0xc
lea ecx, [ebp - 0x58]
call fcn.00430cc0
mov dword [ebp - 0xc4], eax
mov ecx, dword [ebp - 0xc4]
push ecx
lea edx, [ebp - 0xb58]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov dword [ebp - 0x74], 0x4afc34
mov eax, dword [ebp - 0x74]
push eax
lea ecx, [ebp - 0xb58]
push ecx
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x43d107
mov edx, dword [ebp - 0x74]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
lea edx, [ecx + eax*2]
mov dword [ebp - 0x10], edx
push 0x4afc44
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x43d107
xor ecx, ecx
mov edx, dword [ebp - 0x10]
mov word [edx], cx
mov dword [ebp - 0x38], 1
lea eax, [ebp - 0xb58]
push eax
call fcn.00470706
add esp, 4
mov dword [ebp - 0xc8], eax
mov ecx, dword [ebp - 0xc8]
mov dword [ebp - 0xcc], ecx
mov edx, dword [ebp - 0xcc]
push edx
lea eax, [ebp - 0xb58]
push eax
lea ecx, [ebp - 0x238]
call fcn.00401490
mov ecx, dword [ebp - 0x10]
add ecx, 2
mov dword [ebp - 0x78], ecx
mov edx, dword [ebp - 0x78]
push edx
call fcn.00470706
add esp, 4
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0xd4], eax
mov ecx, dword [ebp - 0xd4]
push ecx
mov edx, dword [ebp - 0x78]
push edx
lea ecx, [ebp - 0x280]
call fcn.00401490
lea ecx, [ebp - 0xb8]
call fcn.00430cc0
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0xd8]
push eax
lea ecx, [ebp - 0xb58]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov edx, dword [ebp - 0x10]
add edx, 2
mov dword [ebp - 0x7c], edx
mov eax, dword [ebp - 0x7c]
push eax
call fcn.00470706
add esp, 4
mov dword [ebp - 0xdc], eax
mov ecx, dword [ebp - 0xdc]
mov dword [ebp - 0xe0], ecx
mov edx, dword [ebp - 0xe0]
push edx
mov eax, dword [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x268]
call fcn.00401490
cmp dword [ebp - 0x38], 0
je 0x43d2ab
movzx ecx, byte [ebp - 0x2b]
push ecx
lea ecx, [ebp - 0x250]
call fcn.0042ae80
lea ecx, [ebp - 0x250]
call fcn.004311a0
mov byte [ebp - 4], 8
push 0
push 0
push 0
lea edx, [ebp - 0x250]
push edx
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x1d8], esp
lea eax, [ebp - 0x238]
push eax
call fcn.00402220
call fcn.0042d9a0
add esp, 0x28
push 0x4afc48
lea ecx, [ebp - 0x298]
call fcn.00413e80
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x298]
push ecx
lea edx, [ebp - 0x250]
push edx
lea eax, [ebp - 0x2f8]
push eax
call fcn.0042d3d0
add esp, 0xc
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp - 0x80]
mov dword [ebp - 0xe4], ecx
lea edx, [ebp - 0x19c]
cmp edx, dword [ebp - 0xe4]
je 0x43d1c0
xor eax, eax
mov byte [ebp - 0x15], al
movzx ecx, byte [ebp - 0x15]
push ecx
mov edx, dword [ebp - 0x80]
push edx
lea ecx, [ebp - 0x19c]
call fcn.00430c30
lea ecx, [ebp - 0x2f8]
call fcn.00431070
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x298]
call fcn.00431070
lea eax, [ebp - 0x280]
push eax
lea ecx, [ebp - 0x19c]
push ecx
lea edx, [ebp - 0x310]
push edx
call fcn.0042d3d0
add esp, 0xc
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0xe8], eax
lea ecx, [ebp - 0x58]
cmp ecx, dword [ebp - 0xe8]
je 0x43d22d
xor edx, edx
mov byte [ebp - 0x16], dl
movzx eax, byte [ebp - 0x16]
push eax
mov ecx, dword [ebp - 0x84]
push ecx
lea ecx, [ebp - 0x58]
call fcn.00430c30
lea ecx, [ebp - 0x310]
call fcn.00431070
lea edx, [ebp - 0x268]
push edx
lea eax, [ebp - 0x19c]
push eax
lea ecx, [ebp - 0x328]
push ecx
call fcn.0042d3d0
add esp, 0xc
mov dword [ebp - 0x88], eax
mov edx, dword [ebp - 0x88]
mov dword [ebp - 0xec], edx
lea eax, [ebp - 0xb8]
cmp eax, dword [ebp - 0xec]
je 0x43d291
xor ecx, ecx
mov byte [ebp - 0x17], cl
movzx edx, byte [ebp - 0x17]
push edx
mov eax, dword [ebp - 0x88]
push eax
lea ecx, [ebp - 0xb8]
call fcn.00430c30
lea ecx, [ebp - 0x328]
call fcn.00431070
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x250]
call fcn.00431070
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x268]
call fcn.00431070
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x280]
call fcn.00431070
movzx ecx, byte [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x220]
call fcn.0042ae80
lea ecx, [ebp - 0x220]
call fcn.004311a0
mov byte [ebp - 4], 0xa
movzx edx, byte [ebp - 0x2d]
push edx
lea ecx, [ebp - 0x208]
call fcn.0042ae80
lea ecx, [ebp - 0x208]
call fcn.004311a0
mov byte [ebp - 4], 0xb
cmp dword [0x4cd1d8], 0
je 0x43d5a1
movzx eax, byte [ebp - 0x2e]
push eax
lea ecx, [ebp - 0x1f0]
call fcn.0042ae80
lea ecx, [ebp - 0x1f0]
call fcn.004311a0
mov byte [ebp - 4], 0xc
movzx ecx, byte [ebp - 0x2f]
push ecx
lea ecx, [ebp - 0x1cc]
call fcn.0042ae80
lea ecx, [ebp - 0x1cc]
call fcn.004311a0
mov byte [ebp - 4], 0xd
movzx edx, byte [ebp - 0x30]
push edx
lea ecx, [ebp - 0x1b4]
call fcn.0042ae80
lea ecx, [ebp - 0x1b4]
call fcn.004311a0
mov byte [ebp - 4], 0xe
push 0
push 0
push 0
lea eax, [ebp - 0x1f0]
push eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x1d0], esp
lea edx, [ebp - 0x58]
push edx
call fcn.00402220
call fcn.0042d9a0
add esp, 0x28
push str.crnfile.rnt.can
lea ecx, [ebp - 0x2b0]
call fcn.00413e80
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x2b0]
push eax
lea ecx, [ebp - 0x1f0]
push ecx
lea edx, [ebp - 0x340]
push edx
call fcn.0042d3d0
add esp, 0xc
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0xf0], eax
lea ecx, [ebp - 0x1cc]
cmp ecx, dword [ebp - 0xf0]
je 0x43d407
xor edx, edx
mov byte [ebp - 0x18], dl
movzx eax, byte [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x8c]
push ecx
lea ecx, [ebp - 0x1cc]
call fcn.00430c30
lea ecx, [ebp - 0x340]
call fcn.00431070
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x2b0]
call fcn.00431070
push str.crsfile.rnt.can
lea ecx, [ebp - 0x2c8]
call fcn.00413e80
mov byte [ebp - 4], 0x10
lea edx, [ebp - 0x2c8]
push edx
lea eax, [ebp - 0x1f0]
push eax
lea ecx, [ebp - 0x358]
push ecx
call fcn.0042d3d0
add esp, 0xc
mov dword [ebp - 0x90], eax
mov edx, dword [ebp - 0x90]
mov dword [ebp - 0xf4], edx
lea eax, [ebp - 0x1b4]
cmp eax, dword [ebp - 0xf4]
je 0x43d48e
xor ecx, ecx
mov byte [ebp - 0x19], cl
movzx edx, byte [ebp - 0x19]
push edx
mov eax, dword [ebp - 0x90]
push eax
lea ecx, [ebp - 0x1b4]
call fcn.00430c30
lea ecx, [ebp - 0x358]
call fcn.00431070
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x2c8]
call fcn.00431070
lea ecx, [ebp - 0x58]
mov dword [ebp - 0xf8], ecx
lea edx, [ebp - 0x220]
cmp edx, dword [ebp - 0xf8]
je 0x43d4d8
xor eax, eax
mov byte [ebp - 0x1a], al
movzx ecx, byte [ebp - 0x1a]
push ecx
lea edx, [ebp - 0x58]
push edx
lea ecx, [ebp - 0x220]
call fcn.004309f0
lea eax, [ebp - 0xb8]
mov dword [ebp - 0xfc], eax
lea ecx, [ebp - 0x208]
cmp ecx, dword [ebp - 0xfc]
je 0x43d50e
xor edx, edx
mov byte [ebp - 0x1b], dl
movzx eax, byte [ebp - 0x1b]
push eax
lea ecx, [ebp - 0xb8]
push ecx
lea ecx, [ebp - 0x208]
call fcn.004309f0
lea edx, [ebp - 0x1cc]
mov dword [ebp - 0x100], edx
lea eax, [ebp - 0x58]
cmp eax, dword [ebp - 0x100]
je 0x43d53e
xor ecx, ecx
mov byte [ebp - 0x1c], cl
movzx edx, byte [ebp - 0x1c]
push edx
lea eax, [ebp - 0x1cc]
push eax
lea ecx, [ebp - 0x58]
call fcn.004309f0
lea ecx, [ebp - 0x1b4]
mov dword [ebp - 0x104], ecx
lea edx, [ebp - 0xb8]
cmp edx, dword [ebp - 0x104]
je 0x43d574
xor eax, eax
mov byte [ebp - 0x1d], al
movzx ecx, byte [ebp - 0x1d]
push ecx
lea edx, [ebp - 0x1b4]
push edx
lea ecx, [ebp - 0xb8]
call fcn.004309f0
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x1b4]
call fcn.00431070
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x1cc]
call fcn.00431070
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x1f0]
call fcn.00431070
lea ecx, [ebp - 0x58]
call fcn.00430cc0
mov dword [ebp - 0x108], eax
push 0x4afc9c
push 0x116
mov eax, dword [ebp - 0x108]
push eax
call fcn.0044dad0
test eax, eax
je 0x43d669
lea ecx, [ebp - 0x58]
call fcn.00430cc0
mov dword [ebp - 0x10c], eax
mov ecx, dword [ebp - 0x10c]
push ecx
call fcn.0044ff30
add esp, 4
lea ecx, [ebp - 0x58]
call fcn.00430cc0
mov dword [ebp - 0x110], eax
mov eax, dword [ebp - 0x110]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43d669
push str..bak11
lea ecx, [ebp - 0x58]
push ecx
lea edx, [ebp - 0x2e0]
push edx
call fcn.0040f840
add esp, 0xc
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x2e0]
call fcn.00430cc0
mov dword [ebp - 0x114], eax
lea ecx, [ebp - 0x58]
call fcn.00430cc0
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x114]
push eax
mov ecx, dword [ebp - 0x118]
push ecx
call fcn.00453010
add esp, 8
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x2e0]
call fcn.00431070
lea ecx, [ebp - 0x58]
call fcn.00430cc0
mov dword [ebp - 0x11c], eax
push 1
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x11c]
push eax
call fcn.00450800
add esp, 0x10
test eax, eax
je 0x43d69b
mov ecx, dword [ebp - 0x24]
add ecx, 1
mov dword [ebp - 0x24], ecx
lea ecx, [ebp - 0xb8]
call fcn.00430cc0
mov dword [ebp - 0x120], eax
push 1
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x120]
push eax
call fcn.00450920
add esp, 0x10
test eax, eax
je 0x43d6d0
mov ecx, dword [ebp - 0x24]
add ecx, 1
mov dword [ebp - 0x24], ecx
cmp dword [0x4cd1d8], 0
je 0x43d746
lea ecx, [ebp - 0x220]
call fcn.00430cc0
mov dword [ebp - 0x124], eax
lea ecx, [ebp - 0x58]
call fcn.00430cc0
mov dword [ebp - 0x128], eax
mov edx, dword [ebp - 0x124]
push edx
mov eax, dword [ebp - 0x128]
push eax
call fcn.00453010
add esp, 8
lea ecx, [ebp - 0x208]
call fcn.00430cc0
mov dword [ebp - 0x12c], eax
lea ecx, [ebp - 0xb8]
call fcn.00430cc0
mov dword [ebp - 0x130], eax
mov ecx, dword [ebp - 0x12c]
push ecx
mov edx, dword [ebp - 0x130]
push edx
call fcn.00453010
add esp, 8
cmp dword [0x4cd1dc], 0
je 0x43d855
cmp dword [ebp - 0x38], 0
je 0x43d855
lea eax, [ebp - 0x238]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x98], ecx
mov edx, dword [ebp - 0x3c]
cmp dword [edx + 0x14], 8
jb 0x43d784
mov dword [ebp - 0x94], 1
jmp 0x43d78e
mov dword [ebp - 0x94], 0
mov al, byte [ebp - 0x94]
mov byte [ebp - 0x1e], al
movzx ecx, byte [ebp - 0x1e]
test ecx, ecx
je 0x43d7b6
mov edx, dword [ebp - 0x3c]
mov eax, dword [edx]
mov dword [ebp - 0x134], eax
mov ecx, dword [ebp - 0x134]
mov dword [ebp - 0x98], ecx
mov edx, dword [ebp - 0x98]
mov dword [ebp - 0x138], edx
mov eax, dword [ebp - 0x138]
mov dword [ebp - 0x144], eax
lea ecx, [ebp - 0x19c]
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0xa0], edx
mov eax, dword [ebp - 0x40]
cmp dword [eax + 0x14], 8
jb 0x43d7f5
mov dword [ebp - 0x9c], 1
jmp 0x43d7ff
mov dword [ebp - 0x9c], 0
mov cl, byte [ebp - 0x9c]
mov byte [ebp - 0x1f], cl
movzx edx, byte [ebp - 0x1f]
test edx, edx
je 0x43d827
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax]
mov dword [ebp - 0x13c], ecx
mov edx, dword [ebp - 0x13c]
mov dword [ebp - 0xa0], edx
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x140], eax
mov ecx, dword [ebp - 0x140]
mov dword [ebp - 0x148], ecx
mov edx, dword [ebp - 0x144]
push edx
mov eax, dword [ebp - 0x148]
push eax
call fcn.00453010
add esp, 8
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x14c], ecx
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x208]
call fcn.00431070
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x220]
call fcn.00431070
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x19c]
call fcn.00431070
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x238]
call fcn.00431070
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xb8]
call fcn.00431070
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00431070
mov eax, dword [ebp - 0x14c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret