Function at 0x42f790
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x648433
mov eax, dword fs:[0]
push eax
sub esp, 0x2ac
mov eax, dword [0x6c3afc]
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
lea esi, [ebp - 0x2c]
mov edi, ecx
call fcn.00432620
mov dword [ebp - 0x2a4], eax
xor ebx, ebx
lea esi, [ebp - 0x48]
mov dword [ebp - 4], ebx
call fcn.00432680
add edi, 0xac
mov ecx, eax
mov eax, edi
lea esi, [ebp - 0x64]
mov byte [ebp - 4], 1
mov dword [ebp - 0x2b0], edi
call fcn.0040ad10
push 0x690880
push eax
lea eax, [ebp - 0x80]
push eax
mov byte [ebp - 4], 2
call fcn.0040ac00
add esp, 0xc
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x2a4]
push ecx
push eax
lea edx, [ebp - 0xd4]
push edx
call fcn.0040ada0
add esp, 0xc
mov edi, 8
cmp dword [ebp - 0x6c], edi
jb 0x42f83e
mov eax, dword [ebp - 0x80]
push eax
call fcn.004effaf
add esp, 4
mov esi, 7
xor ecx, ecx
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x70], ebx
mov word [ebp - 0x80], cx
cmp dword [ebp - 0x50], edi
jb 0x42f860
mov edx, dword [ebp - 0x64]
push edx
call fcn.004effaf
add esp, 4
xor eax, eax
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], ax
cmp dword [ebp - 0x34], edi
jb 0x42f87d
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.004effaf
add esp, 4
xor edx, edx
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], dx
mov byte [ebp - 4], 8
cmp dword [ebp - 0x18], edi
jb 0x42f89e
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004effaf
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], cx
cmp dword [ebp - 0xc4], ebx
je 0x42f8d6
mov eax, dword [ebp - 0xd4]
cmp dword [ebp - 0xc0], edi
jae 0x42f8c6
lea eax, [ebp - 0xd4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne al
cmp al, bl
jne 0x42f8ee
cmp dword [ebp - 0xc0], edi
jb 0x430271
mov edx, dword [ebp - 0xd4]
push edx
jmp 0x430269
lea eax, [ebp - 0xd4]
push eax
lea ecx, [ebp - 0xb8]
call fcn.00434a70
mov byte [ebp - 4], 9
cmp dword [ebp - 0xa8], ebx
jne 0x42f93c
cmp dword [ebp - 0xa4], edi
jb 0x42f923
mov ecx, dword [ebp - 0xb8]
push ecx
call fcn.004effaf
add esp, 4
xor edx, edx
cmp dword [ebp - 0xc0], edi
mov dword [ebp - 0xa4], esi
mov dword [ebp - 0xa8], ebx
jmp 0x430259
lea esi, [ebp - 0x9c]
call fcn.00432680
mov ecx, eax
mov eax, dword [ebp - 0x2b0]
lea esi, [ebp - 0x48]
mov byte [ebp - 4], 0xa
call fcn.0040ad10
push 0x690880
push eax
lea ecx, [ebp - 0x2c]
push ecx
mov byte [ebp - 4], 0xb
call fcn.0040ac00
add esp, 0xc
push str.pre.json
push eax
lea edx, [ebp - 0x160]
push edx
mov byte [ebp - 4], 0xc
call fcn.0040ac00
add esp, 0xc
cmp dword [ebp - 0x18], edi
jb 0x42f99b
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004effaf
add esp, 4
mov esi, 7
xor ecx, ecx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], cx
cmp dword [ebp - 0x34], edi
jb 0x42f9bd
mov edx, dword [ebp - 0x48]
push edx
call fcn.004effaf
add esp, 4
xor eax, eax
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], ax
cmp dword [ebp - 0x88], edi
jb 0x42f9e0
mov ecx, dword [ebp - 0x9c]
push ecx
call fcn.004effaf
add esp, 4
lea eax, [ebp - 0x2a0]
call fcn.004371c0
mov edx, dword [ebp + 8]
push edx
sub esp, 0x1c
mov byte [ebp - 4], 0x11
mov esi, esp
mov dword [ebp - 0x2a8], esp
call fcn.00432a40
sub esp, 0x1c
mov ecx, esp
mov byte [ebp - 4], 0x12
mov dword [ebp - 0x2a4], esp
push 0xffffffffffffffff
push ebx
lea edx, [ebp - 0xb8]
mov esi, 7
xor eax, eax
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], ebx
push edx
mov word [ecx], ax
call fcn.00403240
sub esp, 0x1c
mov ecx, esp
mov byte [ebp - 4], 0x13
mov dword [ebp - 0x2b4], esp
push 0xffffffffffffffff
push ebx
lea edx, [ebp - 0x160]
xor eax, eax
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], ebx
push edx
mov word [ecx], ax
call fcn.00403240
sub esp, 0x1c
mov ecx, esp
mov byte [ebp - 4], 0x14
mov dword [ebp - 0x2ac], esp
push 0xffffffffffffffff
push ebx
lea edx, [ebp - 0xd4]
xor eax, eax
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], ebx
push edx
mov word [ecx], ax
call fcn.00403240
lea ecx, [ebp - 0x2a0]
mov byte [ebp - 4], 0x11
call fcn.004385d0
lea eax, [ebp - 0x9c]
push eax
call fcn.0042f4a0
add esp, 4
push str.Default
push eax
lea ecx, [ebp - 0x2c]
push ecx
mov byte [ebp - 4], 0x15
call fcn.0040ac00
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x1b8]
mov byte [ebp - 4], 0x16
call fcn.00403240
cmp dword [ebp - 0x18], edi
jb 0x42fadb
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004effaf
add esp, 4
xor eax, eax
mov byte [ebp - 4], 0x11
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
cmp dword [ebp - 0x88], edi
jb 0x42fb06
mov ecx, dword [ebp - 0x9c]
push ecx
call fcn.004effaf
add esp, 4
lea esi, [ebp - 0x9c]
call fcn.004327a0
mov dword [ebp - 0x2a8], eax
lea esi, [ebp - 0x80]
mov byte [ebp - 4], 0x17
call fcn.00432770
mov dword [ebp - 0x2a4], eax
mov byte [ebp - 4], 0x18
mov edi, dword [0x6ce720]
cmp edi, ebx
jne 0x42fb69
push 0x138
call fcn.004eff75
add esp, 4
mov dword [ebp - 0x2ac], eax
mov byte [ebp - 4], 0x19
cmp eax, ebx
je 0x42fb5b
mov esi, eax
call fcn.00434ee0
jmp 0x42fb5d
xor eax, eax
mov edi, eax
mov byte [ebp - 4], 0x18
mov dword [0x6ce720], edi
lea ebx, [ebp - 0x64]
call fcn.004351b0
mov byte [ebp - 4], 0x1a
mov edx, dword [ebp - 0x2a4]
push edx
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.0040ada0
add esp, 0xc
mov byte [ebp - 4], 0x1b
mov ecx, dword [ebp - 0x2a8]
push ecx
push eax
lea edx, [ebp - 0x2c]
push edx
call fcn.0040ada0
add esp, 0xc
push 0xffffffffffffffff
xor ebx, ebx
push ebx
push eax
lea ecx, [ebp - 0x1f0]
mov byte [ebp - 4], 0x1c
call fcn.00403240
mov esi, 8
cmp dword [ebp - 0x18], esi
jb 0x42fbcc
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004effaf
add esp, 4
xor ecx, ecx
mov edi, 7
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], cx
cmp dword [ebp - 0x34], esi
jb 0x42fbee
mov edx, dword [ebp - 0x48]
push edx
call fcn.004effaf
add esp, 4
xor eax, eax
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], ax
cmp dword [ebp - 0x50], esi
jb 0x42fc0b
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.004effaf
add esp, 4
xor edx, edx
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], dx
cmp dword [ebp - 0x6c], esi
jb 0x42fc28
mov eax, dword [ebp - 0x80]
push eax
call fcn.004effaf
add esp, 4
xor ecx, ecx
mov byte [ebp - 4], 0x11
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x70], ebx
mov word [ebp - 0x80], cx
cmp dword [ebp - 0x88], esi
jb 0x42fc4f
mov edx, dword [ebp - 0x9c]
push edx
call fcn.004effaf
add esp, 4
lea esi, [ebp - 0x9c]
call fcn.00432560
mov dword [ebp - 0x2a4], eax
lea esi, [ebp - 0x80]
mov byte [ebp - 4], 0x1d
call fcn.00432770
mov dword [ebp - 0x2a8], eax
mov byte [ebp - 4], 0x1e
mov edi, dword [0x6ce720]
cmp edi, ebx
jne 0x42fcb2
push 0x138
call fcn.004eff75
add esp, 4
mov dword [ebp - 0x2ac], eax
mov byte [ebp - 4], 0x1f
cmp eax, ebx
je 0x42fca4
mov esi, eax
call fcn.00434ee0
jmp 0x42fca6
xor eax, eax
mov edi, eax
mov byte [ebp - 4], 0x1e
mov dword [0x6ce720], edi
lea ebx, [ebp - 0x64]
call fcn.004351b0
mov byte [ebp - 4], 0x20
mov ecx, dword [ebp - 0x2a8]
push ecx
push eax
lea edx, [ebp - 0x48]
push edx
call fcn.0040ada0
add esp, 0xc
mov byte [ebp - 4], 0x21
mov ecx, dword [ebp - 0x2a4]
push ecx
push eax
lea edx, [ebp - 0x2c]
push edx
call fcn.0040ada0
add esp, 0xc
push 0xffffffffffffffff
xor ebx, ebx
push ebx
push eax
lea ecx, [ebp - 0x20c]
mov byte [ebp - 4], 0x22
call fcn.00403240
mov esi, 8
cmp dword [ebp - 0x18], esi
jb 0x42fd15
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004effaf
add esp, 4
xor ecx, ecx
mov edi, 7
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], cx
cmp dword [ebp - 0x34], esi
jb 0x42fd37
mov edx, dword [ebp - 0x48]
push edx
call fcn.004effaf
add esp, 4
xor eax, eax
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], ax
cmp dword [ebp - 0x50], esi
jb 0x42fd54
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.004effaf
add esp, 4
xor edx, edx
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], dx
cmp dword [ebp - 0x6c], esi
jb 0x42fd71
mov eax, dword [ebp - 0x80]
push eax
call fcn.004effaf
add esp, 4
xor ecx, ecx
mov byte [ebp - 4], 0x11
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x70], ebx
mov word [ebp - 0x80], cx
cmp dword [ebp - 0x88], esi
jb 0x42fd98
mov edx, dword [ebp - 0x9c]
push edx
call fcn.004effaf
add esp, 4
lea esi, [ebp - 0x9c]
call fcn.00432650
mov dword [ebp - 0x2a4], eax
lea esi, [ebp - 0x80]
mov byte [ebp - 4], 0x23
call fcn.00432770
mov dword [ebp - 0x2a8], eax
mov byte [ebp - 4], 0x24
mov edi, dword [0x6ce720]
cmp edi, ebx
jne 0x42fdfb
push 0x138
call fcn.004eff75
add esp, 4
mov dword [ebp - 0x2ac], eax
mov byte [ebp - 4], 0x25
cmp eax, ebx
je 0x42fded
mov esi, eax
call fcn.00434ee0
jmp 0x42fdef
xor eax, eax
mov edi, eax
mov byte [ebp - 4], 0x24
mov dword [0x6ce720], edi
lea ebx, [ebp - 0x64]
call fcn.004351b0
mov byte [ebp - 4], 0x26
mov ecx, dword [ebp - 0x2a8]
push ecx
push eax
lea edx, [ebp - 0x48]
push edx
call fcn.0040ada0
add esp, 0xc
mov byte [ebp - 4], 0x27
mov ecx, dword [ebp - 0x2a4]
push ecx
push eax
lea edx, [ebp - 0x2c]
push edx
call fcn.0040ada0
add esp, 0xc
push 0xffffffffffffffff
xor esi, esi
push esi
push eax
lea ecx, [ebp - 0x1d4]
mov byte [ebp - 4], 0x28
call fcn.00403240
mov ebx, 8
cmp dword [ebp - 0x18], ebx
jb 0x42fe5e
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004effaf
add esp, 4
xor ecx, ecx
mov edi, 7
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], esi
mov word [ebp - 0x2c], cx
cmp dword [ebp - 0x34], ebx
jb 0x42fe80
mov edx, dword [ebp - 0x48]
push edx
call fcn.004effaf
add esp, 4
xor eax, eax
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], esi
mov word [ebp - 0x48], ax
cmp dword [ebp - 0x50], ebx
jb 0x42fe9d
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.004effaf
add esp, 4
xor edx, edx
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], esi
mov word [ebp - 0x64], dx
cmp dword [ebp - 0x6c], ebx
jb 0x42feba
mov eax, dword [ebp - 0x80]
push eax
call fcn.004effaf
add esp, 4
xor ecx, ecx
mov byte [ebp - 4], 0x11
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x70], esi
mov word [ebp - 0x80], cx
cmp dword [ebp - 0x88], ebx
jb 0x42fee1
mov edx, dword [ebp - 0x9c]
push edx
call fcn.004effaf
add esp, 4
mov al, byte [ebp + 0xc]
lea ecx, [ebp - 0x2c]
push ecx
mov byte [ebp - 0x210], al
call fcn.0042ef30
add esp, 4
push eax
lea edi, [ebp - 0xf0]
mov byte [ebp - 4], 0x29
call fcn.004319f0
add esp, 4
mov byte [ebp - 4], 0x2b
cmp dword [ebp - 0x18], ebx
jb 0x42ff1e
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004effaf
add esp, 4
push esi
push 1
lea ecx, [ebp - 0xf0]
xor eax, eax
push ecx
mov edi, 7
lea ecx, [ebp - 0x2a0]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], esi
mov word [ebp - 0x2c], ax
call fcn.00437ff0
test al, al
je 0x4301c8
lea edx, [ebp - 0x10c]
push edx
call fcn.0042f4a0
add esp, 4
mov byte [ebp - 4], 0x2c
cmp dword [ebp - 0xfc], esi
jne 0x42ffac
cmp dword [ebp - 0xf8], ebx
jb 0x42ff7e
mov eax, dword [ebp - 0x10c]
push eax
call fcn.004effaf
add esp, 4
xor ecx, ecx
cmp dword [ebp - 0xdc], 0x10
mov dword [ebp - 0xf8], edi
mov dword [ebp - 0xfc], esi
mov word [ebp - 0x10c], cx
jb 0x4301e0
mov edx, dword [ebp - 0xf0]
push edx
jmp 0x4301d8
lea esi, [ebp - 0x64]
call fcn.00432680
mov ecx, eax
mov eax, dword [ebp - 0x2b0]
lea esi, [ebp - 0x48]
mov byte [ebp - 4], 0x2d
call fcn.0040ad10
push 0x690880
push eax
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 0x2e
call fcn.0040ac00
add esp, 0xc
push 0x690598
push eax
lea ecx, [ebp - 0x144]
push ecx
mov byte [ebp - 4], 0x2f
call fcn.0040ac00
add esp, 0xc
cmp dword [ebp - 0x18], ebx
jb 0x430008
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004effaf
add esp, 4
mov esi, 7
xor edi, edi
xor eax, eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x2c], ax
cmp dword [ebp - 0x34], ebx
jb 0x43002c
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.004effaf
add esp, 4
xor edx, edx
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], edi
mov word [ebp - 0x48], dx
mov byte [ebp - 4], 0x33
cmp dword [ebp - 0x50], ebx
jb 0x43004d
mov eax, dword [ebp - 0x64]
push eax
call fcn.004effaf
add esp, 4
mov dword [ebp - 0x50], esi
xor ecx, ecx
lea esi, [ebp - 0x9c]
mov dword [ebp - 0x54], edi
mov word [ebp - 0x64], cx
call fcn.00432590
mov ecx, eax
lea eax, [ebp - 0x10c]
lea esi, [ebp - 0x17c]
mov byte [ebp - 4], 0x34
call fcn.0040ad10
push 0x688728
push eax
lea edx, [ebp - 0x198]
push edx
mov byte [ebp - 4], 0x35
call fcn.0040ac00
add esp, 0xc
lea ecx, [ebp - 0xb8]
push ecx
push eax
lea edx, [ebp - 0x128]
push edx
mov byte [ebp - 4], 0x36
call fcn.0040ad50
add esp, 0xc
cmp dword [ebp - 0x184], ebx
jb 0x4300c6
mov eax, dword [ebp - 0x198]
push eax
call fcn.004effaf
add esp, 4
mov esi, 7
xor ecx, ecx
mov dword [ebp - 0x184], esi
mov dword [ebp - 0x188], edi
mov word [ebp - 0x198], cx
cmp dword [ebp - 0x168], ebx
jb 0x4300f7
mov edx, dword [ebp - 0x17c]
push edx
call fcn.004effaf
add esp, 4
xor eax, eax
mov dword [ebp - 0x168], esi
mov dword [ebp - 0x16c], edi
mov word [ebp - 0x17c], ax
mov byte [ebp - 4], 0x3a
cmp dword [ebp - 0x88], ebx
jb 0x430127
mov ecx, dword [ebp - 0x9c]
push ecx
call fcn.004effaf
add esp, 4
lea eax, [ebp - 0x128]
push eax
lea ecx, [ebp - 0x144]
xor edx, edx
push ecx
mov dword [ebp - 0x88], esi
mov dword [ebp - 0x8c], edi
mov word [ebp - 0x9c], dx
call fcn.00436430
add esp, 8
cmp dword [ebp - 0x114], ebx
jb 0x430169
mov edx, dword [ebp - 0x128]
push edx
call fcn.004effaf
add esp, 4
xor eax, eax
mov dword [ebp - 0x114], esi
mov dword [ebp - 0x118], edi
mov word [ebp - 0x128], ax
cmp dword [ebp - 0x130], ebx
jb 0x430195
mov ecx, dword [ebp - 0x144]
push ecx
call fcn.004effaf
add esp, 4
xor edx, edx
mov dword [ebp - 0x130], esi
mov dword [ebp - 0x134], edi
mov word [ebp - 0x144], dx
cmp dword [ebp - 0xf8], ebx
jb 0x4301c1
mov eax, dword [ebp - 0x10c]
push eax
call fcn.004effaf
add esp, 4
mov edi, 7
xor esi, esi
cmp dword [ebp - 0xdc], 0x10
jb 0x4301e0
mov ecx, dword [ebp - 0xf0]
push ecx
call fcn.004effaf
add esp, 4
lea eax, [ebp - 0x2a0]
mov dword [ebp - 0xdc], 0xf
mov dword [ebp - 0xe0], esi
mov byte [ebp - 0xf0], 0
call fcn.004372d0
cmp dword [ebp - 0x14c], ebx
jb 0x430219
mov edx, dword [ebp - 0x160]
push edx
call fcn.004effaf
add esp, 4
xor eax, eax
mov dword [ebp - 0x14c], edi
mov dword [ebp - 0x150], esi
mov word [ebp - 0x160], ax
cmp dword [ebp - 0xa4], ebx
jb 0x430245
mov ecx, dword [ebp - 0xb8]
push ecx
call fcn.004effaf
add esp, 4
xor edx, edx
cmp dword [ebp - 0xc0], ebx
mov dword [ebp - 0xa4], edi
mov dword [ebp - 0xa8], esi
mov word [ebp - 0xb8], dx
jb 0x430271
mov eax, dword [ebp - 0xd4]
push eax
call fcn.004effaf
add esp, 4
xor eax, eax
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.005dd8e2
mov esp, ebp
pop ebp
ret 8