Function at 0x42c9d0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4af2d9
mov eax, dword fs:[0]
push eax
sub esp, 0x128
push esi
push edi
mov eax, dword [0x4caef0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xc8], ecx
mov ecx, 0x4d5ad4
call fcn.00416200
test eax, eax
jne 0x42ca15
xor eax, eax
jmp 0x42d291
mov dword [0x4d5324], 0
push 0xffffffffffffffff
mov eax, dword [0x4d5320]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x42ca38
xor eax, eax
jmp 0x42d291
mov ecx, dword [ebp - 0xc8]
mov ecx, dword [ecx + 0x490]
call fcn.004240b0
push eax
mov ecx, dword [ebp - 0xc8]
call fcn.00433580
mov dword [ebp - 0x14], 1
mov ecx, 0x4d5ad4
call fcn.00435e60
mov edi, dword [ebp - 0xc8]
add edi, 0x818
mov ecx, 0x188
mov esi, eax
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x28]
call fcn.0040a290
mov dword [ebp - 4], 0
cmp dword [ebp - 0x14], 0
je 0x42caae
mov edx, dword [ebp - 0xc8]
add edx, 0x48c
push edx
lea ecx, [ebp - 0x28]
call fcn.0040a370
mov dword [ebp - 0x14], 0
jmp 0x42caec
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0xc8]
call fcn.0042b640
test eax, eax
jne 0x42caec
mov ecx, dword [0x4d5320]
push ecx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov dword [ebp - 0x70], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0040a350
mov eax, dword [ebp - 0x70]
jmp 0x42d291
lea edx, [ebp - 0x28]
push edx
lea ecx, [ebp - 0x24]
call fcn.0040a2b0
mov byte [ebp - 4], 1
mov eax, dword [0x4d5328]
sub eax, dword [0x4d5330]
mov ecx, dword [0x4d532c]
sbb ecx, dword [0x4d5334]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], ecx
lea edx, [ebp - 0x54]
push edx
mov ecx, 0x4d57c8
call fcn.00424720
mov byte [ebp - 4], 2
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0x40000000
mov dword [ebp - 0x58], 0
lea ecx, [ebp - 0x54]
call fcn.00416200
test eax, eax
jbe 0x42cb80
lea ecx, [ebp - 0x54]
call fcn.00435e60
mov ecx, dword [eax]
mov dword [ebp - 0x64], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x60], edx
cmp dword [ebp - 0x60], 1
jb 0x42cb76
ja 0x42cb74
cmp dword [ebp - 0x64], 0
jbe 0x42cb76
jmp 0x42cb80
lea ecx, [ebp - 0x54]
call fcn.00435e80
jmp 0x42cb47
push ecx
mov ecx, esp
mov dword [ebp - 0x74], esp
lea eax, [ebp - 0x24]
push eax
call fcn.0040a2b0
mov dword [ebp - 0xcc], eax
call fcn.00427ee0
add esp, 4
mov dword [ebp - 0xd0], eax
cmp dword [ebp - 0xd0], 0
je 0x42cc7a
cmp dword [ebp - 0x60], 1
jb 0x42cc7a
ja 0x42cbc6
cmp dword [ebp - 0x64], 0
jbe 0x42cc7a
push ecx
mov ecx, esp
mov dword [ebp - 0x78], esp
push 0x4be078
call fcn.0040a2d0
mov dword [ebp - 0xd4], eax
mov ecx, dword [ebp - 0xc8]
call fcn.0042b800
mov dword [ebp - 0xd8], eax
cmp dword [ebp - 0xd8], 2
jne 0x42cc24
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x54]
call fcn.00414990
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.0040a350
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0040a350
jmp 0x42d03f
push 1
mov ecx, dword [ebp - 0xc8]
add ecx, 0x1e4
call fcn.00423c40
mov ecx, dword [0x4d5320]
push ecx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov dword [ebp - 0x7c], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x54]
call fcn.00414990
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.0040a350
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0040a350
mov eax, dword [ebp - 0x7c]
jmp 0x42d291
lea ecx, [ebp - 0x20]
call fcn.0040a290
mov byte [ebp - 4], 3
lea edx, [ebp - 0x28]
push edx
lea ecx, [ebp - 0x20]
call fcn.0040a370
push 1
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebp - 0x20]
call fcn.0040a5c0
mov dword [ebp - 0xdc], eax
push 0x4be074
mov ecx, dword [ebp - 0xdc]
push ecx
call fcn.00435190
add esp, 8
mov byte [ebp - 0x7d], al
lea ecx, [ebp - 0x84]
call fcn.0040a350
movzx edx, byte [ebp - 0x7d]
test edx, edx
je 0x42cce0
push 0x4be0c4
lea ecx, [ebp - 0x20]
call fcn.00434e10
lea eax, [ebp - 0x88]
push eax
mov ecx, dword [ebp - 0xc8]
call fcn.0042c890
mov dword [ebp - 0xe0], eax
mov ecx, dword [ebp - 0xe0]
mov dword [ebp - 0xe4], ecx
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0xe4]
push edx
lea ecx, [ebp - 0x20]
call fcn.00434df0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x88]
call fcn.0040a350
push ecx
mov ecx, esp
mov dword [ebp - 0x8c], esp
lea eax, [ebp - 0x20]
push eax
call fcn.0040a2b0
mov dword [ebp - 0xe8], eax
call fcn.00427830
add esp, 4
mov dword [ebp - 0xec], eax
cmp dword [ebp - 0xec], 0
je 0x42cd88
push ecx
mov ecx, esp
mov dword [ebp - 0x90], esp
lea edx, [ebp - 0x28]
push edx
call fcn.0040a2b0
mov dword [ebp - 0xf0], eax
call fcn.00427890
add esp, 4
mov dword [ebp - 0xf4], eax
cmp dword [ebp - 0xf4], 0
jne 0x42ce5c
push ecx
mov ecx, esp
mov dword [ebp - 0x94], esp
push 0x4be0c8
call fcn.0040a2d0
mov dword [ebp - 0xf8], eax
mov ecx, dword [ebp - 0xc8]
call fcn.0042b800
mov dword [ebp - 0xfc], eax
cmp dword [ebp - 0xfc], 2
jne 0x42cdf5
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call fcn.0040a350
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x54]
call fcn.00414990
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.0040a350
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0040a350
jmp 0x42d03f
push 1
mov ecx, dword [ebp - 0xc8]
add ecx, 0x1e4
call fcn.00423c40
mov eax, dword [0x4d5320]
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov dword [ebp - 0x98], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call fcn.0040a350
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x54]
call fcn.00414990
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.0040a350
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0040a350
mov eax, dword [ebp - 0x98]
jmp 0x42d291
mov ecx, dword [ebp - 0x30]
push ecx
mov edx, dword [ebp - 0x34]
push edx
push ecx
mov ecx, esp
mov dword [ebp - 0x9c], esp
lea eax, [ebp - 0x28]
push eax
call fcn.0040a2b0
mov dword [ebp - 0x100], eax
call fcn.00428140
add esp, 0xc
mov dword [ebp - 0x104], eax
cmp dword [ebp - 0x104], 0
je 0x42cf6c
push ecx
mov ecx, esp
mov dword [ebp - 0xa0], esp
push 0x4be0f4
call fcn.0040a2d0
mov dword [ebp - 0x108], eax
mov ecx, dword [ebp - 0xc8]
call fcn.0042b800
mov dword [ebp - 0x10c], eax
cmp dword [ebp - 0x10c], 2
jne 0x42cf04
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call fcn.0040a350
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x54]
call fcn.00414990
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.0040a350
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0040a350
jmp 0x42d03f
mov ecx, dword [0x4d5320]
push ecx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push 1
mov ecx, dword [ebp - 0xc8]
add ecx, 0x1e4
call fcn.00423c40
mov dword [ebp - 0xa4], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call fcn.0040a350
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x54]
call fcn.00414990
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.0040a350
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0040a350
mov eax, dword [ebp - 0xa4]
jmp 0x42d291
lea edx, [ebp - 0x28]
push edx
mov ecx, dword [ebp - 0xc8]
add ecx, 0x48c
call fcn.0040a370
push 1
lea eax, [ebp - 0xac]
push eax
mov ecx, dword [ebp - 0xc8]
add ecx, 0x48c
call fcn.0040a5c0
mov dword [ebp - 0x110], eax
push 0x4be118
mov ecx, dword [ebp - 0x110]
push ecx
call fcn.00435190
add esp, 8
mov byte [ebp - 0xa5], al
lea ecx, [ebp - 0xac]
call fcn.0040a350
movzx edx, byte [ebp - 0xa5]
test edx, edx
je 0x42cfe7
push 0x4be11c
mov ecx, dword [ebp - 0xc8]
add ecx, 0x48c
call fcn.00434e10
mov ecx, dword [ebp - 0xc8]
add ecx, 0x48c
call fcn.0040a8b0
push eax
mov ecx, dword [ebp - 0xc8]
add ecx, 0x4e8
call fcn.00405ea0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call fcn.0040a350
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x54]
call fcn.00414990
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.0040a350
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0040a350
jmp 0x42d04c
mov eax, 1
test eax, eax
jne 0x42ca7b
push 0
mov ecx, dword [ebp - 0xc8]
add ecx, 0x378
call fcn.00423c40
push 1
mov ecx, dword [ebp - 0xc8]
add ecx, 0x324
call fcn.00423c40
mov ecx, dword [ebp - 0xc8]
add ecx, 0x48c
push ecx
lea ecx, [ebp - 0x10]
call fcn.0040a2b0
mov dword [ebp - 4], 5
lea edx, [ebp - 0xb0]
push edx
mov ecx, dword [ebp - 0xc8]
call fcn.0042c890
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x118], eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x118]
push ecx
lea ecx, [ebp - 0x10]
call fcn.00434df0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xb0]
call fcn.0040a350
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x10]
call fcn.0040a8b0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42d1af
push 0x4be120
mov ecx, 0x4d57c8
call fcn.004248a0
push eax
call fcn.00435190
add esp, 8
movzx edx, al
test edx, edx
je 0x42d1af
push ecx
mov ecx, esp
mov dword [ebp - 0xb4], esp
lea eax, [ebp - 0x10]
push eax
call fcn.0040a2b0
mov dword [ebp - 0x11c], eax
mov ecx, dword [ebp - 0xc8]
call fcn.00433030
mov dword [ebp - 0x120], eax
mov ecx, dword [ebp - 0x120]
mov dword [ebp - 0x1c], ecx
push ecx
mov edx, esp
mov dword [ebp - 0xb8], esp
push edx
mov ecx, dword [ebp - 0xc8]
call fcn.0042c990
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x128], eax
mov byte [ebp - 4], 7
push ecx
mov ecx, esp
mov dword [ebp - 0xbc], esp
lea edx, [ebp - 0x10]
push edx
call fcn.0040a2b0
mov dword [ebp - 0x12c], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0xc8]
call fcn.00432e40
mov dword [ebp - 0x130], eax
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0xc8]
add ecx, 0x48c
push ecx
mov edx, esp
mov dword [ebp - 0xc0], esp
push ecx
mov ecx, edx
call fcn.0040a2b0
mov dword [ebp - 0x134], eax
mov ecx, dword [ebp - 0xc8]
call fcn.00433440
cmp dword [ebp - 0x18], 0
je 0x42d1e9
cmp dword [ebp - 0x1c], 0
jne 0x42d1f8
push 1
mov ecx, dword [ebp - 0xc8]
call fcn.00431da0
jmp 0x42d272
push 3
mov ecx, dword [ebp - 0xc8]
call fcn.00431270
push 0x64
mov ecx, dword [ebp - 0xc8]
add ecx, 0x9c
call fcn.00425c80
mov eax, dword [0x4d5328]
mov dword [ebp - 0x6c], eax
mov ecx, dword [0x4d532c]
mov dword [ebp - 0x68], ecx
mov edx, dword [ebp - 0xc8]
mov ecx, dword [edx + 0x490]
call fcn.004240b0
test eax, eax
je 0x42d257
mov ecx, dword [ebp - 0xc8]
call fcn.00433c80
add eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x68]
adc ecx, edx
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], ecx
mov edx, dword [ebp - 0x68]
push edx
mov eax, dword [ebp - 0x6c]
push eax
mov ecx, dword [ebp - 0x68]
push ecx
mov edx, dword [ebp - 0x6c]
push edx
mov ecx, dword [ebp - 0xc8]
call fcn.004313b0
mov dword [ebp - 0xc4], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0040a350
mov eax, dword [ebp - 0xc4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret