Function at 0x42cc00
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42ee0e
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x43ac80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], 1
movzx eax, byte [0x43ebd4]
test eax, eax
jne 0x42cc3f
call fcn.0042ca90
mov ecx, dword [ebp + 8]
cmp ecx, dword [0x43ebd0]
jle 0x42cc54
mov eax, 1
jmp 0x42d13f
mov edx, dword [0x43ebdc]
cmp edx, dword [0x430694]
jne 0x42cedf
lea ecx, [ebp - 0x1c]
call fcn.004016d0
mov dword [ebp - 4], 0
push 0x104
lea ecx, [ebp - 0x1c]
call fcn.004019c0
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x42cc9e
push 0xffffffffffffffff
lea ecx, [ebp - 0x1c]
call fcn.00401a20
jmp 0x42ccbc
mov dword [ebp - 0x50], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00401790
mov eax, dword [ebp - 0x50]
jmp 0x42d13f
lea ecx, [ebp - 0x28]
call fcn.004016d0
mov byte [ebp - 4], 1
push 0x43ec8c
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x54]
push ecx
call fcn.00401850
add esp, 0xc
mov dword [ebp - 0x74], eax
mov edx, dword [ebp - 0x74]
mov dword [ebp - 0x78], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x78]
push eax
lea ecx, [ebp - 0x28]
call fcn.004017b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x54]
call fcn.00401790
push 0
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0x3c]
call fcn.004015c0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x3c]
push ecx
push 0x3021
lea ecx, [ebp - 0x28]
call fcn.004019b0
push eax
mov ecx, 0x43ebd8
call fcn.0040b0b6
test eax, eax
jne 0x42cd6a
mov dword [ebp - 0x58], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3c]
call fcn.00401680
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00401790
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00401790
mov eax, dword [ebp - 0x58]
jmp 0x42d13f
mov ecx, 0x43ebd8
call fcn.0040b3a5
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edx
cmp dword [ebp - 0x20], 0
ja 0x42cd8a
cmp dword [ebp - 0x24], 0
jbe 0x42ceb8
mov dword [ebp - 0x40], 1
cmp dword [ebp - 0x20], 0
ja 0x42cda4
cmp dword [ebp - 0x24], 0xfa000
jb 0x42ce7b
mov ecx, 0x43ebd8
call fcn.0040b46c
push 0x43ec90
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x44]
push eax
call fcn.00401850
add esp, 0xc
mov byte [ebp - 4], 4
push 0x80
lea ecx, [ebp - 0x44]
call fcn.004019b0
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea ecx, [ebp - 0x44]
call fcn.004019b0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x44]
call fcn.004019b0
push eax
lea ecx, [ebp - 0x28]
call fcn.004019b0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x42ce0d
mov dword [ebp - 0x40], 0
lea ecx, [ebp - 0x3c]
push ecx
push 0x3021
lea ecx, [ebp - 0x28]
call fcn.004019b0
push eax
mov ecx, 0x43ebd8
call fcn.0040b0b6
test eax, eax
jne 0x42ce6f
mov dword [ebp - 0x5c], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x44]
call fcn.00401790
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3c]
call fcn.00401680
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00401790
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00401790
mov eax, dword [ebp - 0x5c]
jmp 0x42d13f
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x44]
call fcn.00401790
cmp dword [ebp - 0x40], 0
je 0x42ceb8
mov ecx, 0x43ebd8
call fcn.004016b0
push str._n_n_n_n
mov ecx, 0x43ebd8
call fcn.0040b2ad
push 0x434920
mov ecx, 0x43ebd8
call fcn.0040b2ad
push 0x434924
mov ecx, 0x43ebd8
call fcn.0040b2ad
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3c]
call fcn.00401680
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00401790
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00401790
lea ecx, [ebp - 0x18]
call fcn.004016d0
mov dword [ebp - 4], 5
lea edx, [ebp - 0x18]
push edx
call fcn.0042cb30
add esp, 4
lea ecx, [ebp - 0x10]
call fcn.004016d0
mov byte [ebp - 4], 6
mov ecx, dword [ebp + 0xc]
call fcn.00401a00
movzx eax, al
test eax, eax
je 0x42cf28
mov ecx, dword [ebp + 0x10]
call fcn.00401a00
movzx ecx, al
test ecx, ecx
jne 0x42cfbc
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x60]
push ecx
call fcn.00401850
add esp, 0xc
mov dword [ebp - 0x7c], eax
mov edx, dword [ebp - 0x7c]
mov dword [ebp - 0x80], edx
mov byte [ebp - 4], 7
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x80]
push ecx
lea edx, [ebp - 0x64]
push edx
call fcn.00401850
add esp, 0xc
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x88], eax
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x88]
push ecx
lea ecx, [ebp - 0x10]
call fcn.004017b0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x64]
call fcn.00401790
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x60]
call fcn.00401790
lea ecx, [ebp - 0x10]
call fcn.004019b0
push eax
mov ecx, 0x43ebd8
call fcn.0040b2ad
push 0x434928
mov ecx, 0x43ebd8
call fcn.0040b2ad
cmp dword [ebp + 0x14], 0
je 0x42d104
lea edx, [ebp - 0x18]
push edx
lea ecx, [ebp - 0x10]
call fcn.004017b0
mov ecx, dword [ebp + 0xc]
call fcn.00401a00
movzx eax, al
test eax, eax
je 0x42cff0
mov ecx, dword [ebp + 0x10]
call fcn.00401a00
movzx ecx, al
test ecx, ecx
jne 0x42cffd
push 0x43492c
lea ecx, [ebp - 0x10]
call fcn.004017f0
cmp dword [ebp + 0x14], 0x3e8
jne 0x42d09e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jne 0x42d020
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x48], 0
push 0
push 0
lea edx, [ebp - 0x48]
push edx
push 0x400
mov eax, dword [ebp - 0x4c]
push eax
push 0
push 0x1100
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
push str.GetLastError__:_0x_1_X_____2_s_
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x68]
push edx
call fcn.00401900
add esp, 0xc
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x90], eax
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x48]
push ecx
mov edx, dword [ebp - 0x4c]
push edx
mov ecx, dword [ebp - 0x90]
call fcn.004019b0
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.004024a0
add esp, 0x10
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x68]
call fcn.00401790
jmp 0x42d0f1
push 0x434934
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x6c]
push edx
call fcn.00401900
add esp, 0xc
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x98], eax
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp + 0x14]
push ecx
mov ecx, dword [ebp - 0x98]
call fcn.004019b0
push eax
lea edx, [ebp - 0x10]
push edx
call fcn.004024a0
add esp, 0xc
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x6c]
call fcn.00401790
lea ecx, [ebp - 0x10]
call fcn.004019b0
push eax
mov ecx, 0x43ebd8
call fcn.0040b2ad
mov ecx, 0x43ebd8
call fcn.0040b441
cmp dword [ebp + 0x14], 0
je 0x42d11b
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x70], eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x10]
call fcn.00401790
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00401790
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret