Function at 0x42a092
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xec
movzx eax, byte [ebp + 8]
test eax, eax
je 0x42a237
lea eax, [ebp + 0x20]
mov dword [ebp - 0xc8], eax
lea eax, [ebp + 0x30]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp + 0x44]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x40]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0xd0]
movzx eax, byte [eax]
test eax, eax
je 0x42a118
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0xd8], eax
push 0x68bd
push 1
push 0x7747
push 0x6d29
push dword [ebp - 0xd8]
push 0x2c3d
push 0x2f6c
call fcn.0042a531
add esp, 0x1c
jmp 0x42a232
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
movzx eax, byte [eax]
test eax, eax
je 0x42a1f9
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x14]
mov dword [eax], 0
jmp 0x42a17e
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax], 3
jg 0x42a1f7
mov dword [ebp - 0xb0], 0xc9e53e58
push 1
push 0x21d6
push 0
push 0x1d46
push 0x5882
push 0x5a68
push 0x43bd
push 1
push 0x4e69
push 0x3250
push 0x7bff
push 0x6c2e
push 0x2196
push 0x2c8a
push 1
push 0x30b1
push 0x68a1
push 1
push 0x7c9a
lea eax, [ebp - 0xb0]
push eax
push dword [ebp - 0x78]
call fcn.0042053c
add esp, 0x54
jmp 0x42a173
jmp 0x42a232
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xb8]
movzx eax, byte [eax]
test eax, eax
je 0x42a232
push 0
push 0x6cc5
push 0x3e95
push 0x22b7
push 1
push 0
call fcn.004120ae
add esp, 0x18
jmp 0x42a52d
lea eax, [ebp + 0x3c]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0xb4], eax
lea eax, [ebp + 0x2c]
mov dword [ebp - 0x88], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x88]
movzx eax, byte [eax]
test eax, eax
je 0x42a46b
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x4c]
movzx eax, byte [eax]
test eax, eax
je 0x42a434
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov dword [ebp - 0xec], eax
mov eax, 0xaaed6b65
test eax, eax
je 0x42a381
push 0
mov ecx, dword [ebp - 8]
call fcn.00432bfb
cmp dword [eax], 0xd14cd495
jbe 0x42a327
mov dword [ebp - 0x30], 1
jmp 0x42a32b
and dword [ebp - 0x30], 0
push 0
mov ecx, dword [ebp - 8]
call fcn.00432bfb
mov ecx, dword [ebp - 0x30]
cmp ecx, dword [eax]
jne 0x42a345
mov dword [ebp - 0x20], 1
jmp 0x42a349
and dword [ebp - 0x20], 0
push 0
mov ecx, dword [ebp - 8]
call fcn.00432bfb
mov eax, dword [eax]
cmp eax, dword [ebp - 0x20]
jg 0x42a363
mov dword [ebp - 0x18], 1
jmp 0x42a367
and dword [ebp - 0x18], 0
push 0
mov ecx, dword [ebp - 8]
call fcn.00432bfb
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [eax]
jl 0x42a381
mov dword [ebp - 0x28], 1
jmp 0x42a385
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
cmp dword [ebp - 0x28], eax
jge 0x42a398
mov dword [ebp - 0x38], 1
jmp 0x42a39c
and dword [ebp - 0x38], 0
cmp dword [ebp - 0x38], 1
jl 0x42a3b1
mov eax, 0xfa1e
test eax, eax
jne 0x42a3b1
and dword [ebp - 0x1c], 0
jmp 0x42a3b8
mov dword [ebp - 0x1c], 1
push 0
mov ecx, dword [ebp - 8]
call fcn.00432bfb
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [eax]
je 0x42a3d2
mov dword [ebp - 0x24], 1
jmp 0x42a3d6
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
cmp dword [ebp - 0x24], eax
je 0x42a3e9
mov dword [ebp - 0x2c], 1
jmp 0x42a3ed
and dword [ebp - 0x2c], 0
push 0
mov ecx, dword [ebp - 8]
call fcn.00432bfb
mov eax, dword [eax]
sub eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0xc]
cmp eax, dword [ecx]
jge 0x42a40c
mov dword [ebp - 0x34], 1
jmp 0x42a410
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
cmp dword [ebp - 0x34], eax
jle 0x42a423
mov dword [ebp - 0x3c], 1
jmp 0x42a427
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x84]
mov ecx, dword [ebp - 0x3c]
mov dword [eax], ecx
jmp 0x42a466
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x9c]
movzx eax, byte [eax]
test eax, eax
je 0x42a466
push 0x122d
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
jmp 0x42a52d
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0xbc]
movzx eax, byte [eax]
test eax, eax
je 0x42a501
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0x10]
mov dword [eax], 0
jmp 0x42a4df
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
mov eax, dword [ebp - 0x10]
cmp dword [eax], 1
jge 0x42a4ff
mov eax, dword [ebp - 0x10]
push dword [eax]
mov ecx, dword [ebp - 0xe4]
call fcn.00432bfb
mov dword [eax], 0x4edf0ebf
jmp 0x42a4d4
jmp 0x42a52d
mov byte [ebp - 1], 0
push 1
push 0x1cf5
push 0x47f0
push 1
lea eax, [ebp - 1]
push eax
push 1
push 1
push 0x5f5a
push 0xf70
call fcn.0040d553
add esp, 0x24
mov esp, ebp
pop ebp
ret