Function at 0x430ba3
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1f8
push esi
movzx eax, byte [ebp + 0x38]
test eax, eax
je 0x431695
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x138], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x110], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x140], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x170], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x168], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x108], eax
lea eax, [ebp + 0x30]
mov dword [ebp - 0x178], eax
lea eax, [ebp + 0x40]
mov dword [ebp - 0x100], eax
mov eax, dword [ebp - 0x178]
movzx eax, byte [eax]
test eax, eax
je 0x430cae
mov eax, dword [ebp - 0x168]
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0x170]
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0xec]
movzx eax, byte [eax]
test eax, eax
je 0x430c67
mov byte [ebp - 0xd], 0
movzx eax, byte [ebp - 0xd]
test eax, eax
je 0x430c65
push 0x4ba5
push 1
push 0x36ea
push 1
push 0x17b
push 0x2c3
push 1
call fcn.0042c654
add esp, 0x1c
jmp 0x430ca9
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0x130], eax
mov eax, dword [ebp - 0x130]
movzx eax, byte [eax]
test eax, eax
je 0x430ca9
push 0
push 0
push 1
push 0x1a72
push 0x6e8e
push 0x7360
call fcn.004088aa
add esp, 0x18
jmp 0x431693
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x148], eax
mov eax, dword [ebp - 0x138]
mov dword [ebp - 0x158], eax
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0x150], eax
mov eax, dword [ebp - 0x148]
movzx eax, byte [eax]
test eax, eax
je 0x430d09
push 0x21e5
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
jmp 0x431693
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x17c], eax
mov eax, dword [ebp - 0x150]
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0x158]
mov dword [ebp - 0x44], eax
mov dword [ebp - 8], 0x57d6
push 3
lea ecx, [ebp - 0x54]
call fcn.00437959
mov dword [ebp - 0x20], 0x1d5f49dc
mov dword [ebp - 0xc], 1
mov dword [ebp - 0x24], 0x1f13d464
mov dword [ebp - 0x90], 0x84bafc8d
mov dword [ebp - 0x164], 0
push 0x16a5
lea eax, [ebp - 0x54]
push eax
push 1
lea eax, [ebp - 0x14]
push eax
push 0xf7
push 0x31bf
push 0x100
push 0x7931
push 0
push 0
call fcn.0041ef94
add esp, 0x28
mov dword [ebp - 0x14], 0
jmp 0x430daf
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 2
jge 0x430dc2
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x5c], 8
jmp 0x430da8
cmp dword [ebp - 8], 0
je 0x430e5b
mov eax, dword [ebp - 8]
cmp dword [ebp - 8], eax
je 0x430de0
mov dword [ebp - 0xd4], 1
jmp 0x430de7
and dword [ebp - 0xd4], 0
cmp dword [ebp - 8], 0
jne 0x430df1
cmp dword [ebp - 8], 0
push 1
lea ecx, [ebp - 0x54]
call fcn.00437a47
cmp dword [eax], 0xe7790660
je 0x430e0f
mov dword [ebp - 0xb0], 1
jmp 0x430e16
and dword [ebp - 0xb0], 0
push 2
lea ecx, [ebp - 0x54]
call fcn.00437a47
mov ecx, dword [ebp - 0xb0]
cmp ecx, dword [eax]
jg 0x430e36
mov dword [ebp - 0xdc], 1
jmp 0x430e3d
and dword [ebp - 0xdc], 0
mov eax, dword [ebp - 0xd4]
imul eax, dword [ebp - 0xdc]
cmp eax, dword [ebp - 8]
je 0x430e5b
mov dword [ebp - 0x160], 1
jmp 0x430e62
and dword [ebp - 0x160], 0
push 1
lea ecx, [ebp - 0x54]
call fcn.00437a47
mov esi, dword [ebp - 8]
push 0
lea ecx, [ebp - 0x54]
call fcn.00437a47
mov eax, dword [eax]
lea eax, [esi + eax + 3]
test eax, eax
jne 0x430e8c
mov dword [ebp - 0x68], 1
jmp 0x430e90
and dword [ebp - 0x68], 0
cmp dword [ebp - 0x68], 0xffffffff
ja 0x430eb7
push 2
lea ecx, [ebp - 0x54]
call fcn.00437a47
cmp dword [eax], 0
jne 0x430eb7
mov eax, 0x5a7d
test eax, eax
jne 0x430eb7
and dword [ebp - 0xa8], 0
jmp 0x430ec1
mov dword [ebp - 0xa8], 1
cmp dword [ebp - 0xa8], 0xfffffffc
jl 0x430ed3
mov dword [ebp - 0x70], 1
jmp 0x430ed7
and dword [ebp - 0x70], 0
cmp dword [ebp - 0x70], 0x896e60be
je 0x430eec
mov dword [ebp - 0xc8], 1
jmp 0x430ef3
and dword [ebp - 0xc8], 0
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x1ac], eax
push 1
lea ecx, [ebp - 0x54]
call fcn.00437a47
push 1
lea ecx, [ebp - 0x54]
call fcn.00437a47
xor eax, eax
cmp eax, 1
ja 0x430f29
mov dword [ebp - 0x78], 1
jmp 0x430f2d
and dword [ebp - 0x78], 0
cmp dword [ebp - 0x78], 1
jne 0x430f3f
mov dword [ebp - 0x12c], 1
jmp 0x430f46
and dword [ebp - 0x12c], 0
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1d8], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x60], eax
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x60]
mov dword [ebp + eax - 0x5c], ecx
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x60], eax
jge 0x430f73
mov dword [ebp - 0x80], 1
jmp 0x430f77
and dword [ebp - 0x80], 0
mov esi, dword [ebp - 0x80]
sub esi, 0x6f9cbb95
push 1
lea ecx, [ebp - 0x54]
call fcn.00437a47
cmp esi, dword [eax]
je 0x430f9a
mov dword [ebp - 0xd8], 1
jmp 0x430fa1
and dword [ebp - 0xd8], 0
mov eax, dword [ebp - 0xd8]
sub eax, dword [ebp - 0xc]
je 0x4310eb
mov dword [ebp - 0x15c], 0xac57
mov eax, 0xbbfe
test eax, eax
je 0x43108f
mov dword [ebp - 0x38], 0
jmp 0x430fd7
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 2
jge 0x430fed
mov eax, dword [ebp - 0x38]
mov dword [ebp + eax*4 - 0xe8], 0xe531
jmp 0x430fd0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xe8]
dec eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0xe8], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x5c]
mov dword [ebp - 0x1b0], eax
or eax, 0xffffffff
je 0x431038
push 1
lea ecx, [ebp - 0x54]
call fcn.00437a47
cmp dword [eax], 0
je 0x431038
mov dword [ebp - 0xb8], 1
jmp 0x43103f
and dword [ebp - 0xb8], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xe8]
mov dword [ebp - 0x88], eax
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x88]
mov dword [ebp + eax - 0x5c], ecx
push 4
pop eax
imul eax, eax, 0
imul ecx, dword [ebp - 0x24], 0x3212
sub ecx, dword [ebp - 0x88]
add ecx, dword [ebp - 0xb8]
imul ecx, dword [ebp + eax - 0xe8]
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
jmp 0x4310e6
mov dword [ebp - 0x174], 0xb42d225d
mov dword [ebp - 0x134], 0xb4f7bc72
push 1
push 0
lea eax, [ebp - 0x15c]
push eax
call fcn.00408d23
add esp, 0xc
lea eax, [ebp - 0x134]
push eax
push 0x7992
push 1
lea eax, [ebp - 0x174]
push eax
push 0x7ba5
push 0
push 0xc0d
push 0x3d15
push 0
call fcn.0042fa6f
add esp, 0x24
jmp 0x431295
mov dword [ebp - 0x48], 0x9fa6
mov dword [ebp - 0x34], 0x1ab372c2
cmp dword [ebp - 0x20], 0
je 0x431116
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x5c]
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 0
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x34], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x5c]
cmp dword [ebp - 0x34], eax
jg 0x431137
mov dword [ebp - 0xd0], 1
jmp 0x43113e
and dword [ebp - 0xd0], 0
mov eax, dword [ebp - 0x48]
cmp eax, dword [ebp - 0xd0]
jl 0x431155
mov dword [ebp - 0x98], 1
jmp 0x43115c
and dword [ebp - 0x98], 0
mov eax, dword [ebp - 0x48]
imul eax, dword [ebp - 0x98]
cmp eax, dword [ebp - 8]
jne 0x431288
mov dword [ebp - 0xa0], 1
mov dword [ebp - 0x144], 0x307f0789
mov dword [ebp - 0xc], 0x17
jmp 0x431193
mov eax, dword [ebp - 0xc]
dec eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xfffffff9
jne 0x431286
mov dword [ebp - 0x2c], 0
jmp 0x4311ad
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 1
jge 0x4311c0
mov eax, dword [ebp - 0x2c]
mov dword [ebp + eax*4 - 0x30], 0x6c839c72
jmp 0x4311a6
mov dword [ebp - 0x34], 1
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x30]
cmp dword [ebp - 0x34], eax
jle 0x4311e6
push 7
pop eax
test eax, eax
jne 0x4311e6
and dword [ebp - 0xc0], 0
jmp 0x4311f0
mov dword [ebp - 0xc0], 1
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x30]
cmp dword [ebp - 0xc0], eax
je 0x43120e
mov dword [ebp - 0x13c], 1
jmp 0x431215
and dword [ebp - 0x13c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x30]
mov dword [ebp - 0x1cc], eax
mov eax, dword [ebp - 0x164]
mov dword [ebp - 0x1d4], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x30]
mov dword [ebp - 0x1dc], eax
cmp dword [ebp - 0xa0], 3
jae 0x431256
mov dword [ebp - 0xe0], 1
jmp 0x43125d
and dword [ebp - 0xe0], 0
mov eax, dword [ebp - 0xa0]
cmp dword [ebp - 0xe0], eax
jl 0x431274
mov dword [ebp - 0x64], 1
jmp 0x431278
and dword [ebp - 0x64], 0
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x144], eax
jmp 0x43118c
jmp 0x431295
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x24]
mov dword [ebp + eax - 0x5c], ecx
lea ecx, [ebp - 0x54]
call fcn.00437a2b
mov eax, dword [ebp - 0x17c]
mov eax, dword [eax + 0x38]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
jle 0x431693
mov dword [ebp - 4], 0xfa42
mov dword [ebp - 0x16c], 0xe356ec7e
mov dword [ebp - 0x1e0], 0x609d70ca
mov dword [ebp - 0x1d0], 0xffffffff
mov dword [ebp - 0x1bc], 0
mov dword [ebp - 0x1c0], 0xf039
mov dword [ebp - 0x1c4], 0xededc87a
mov dword [ebp - 0x154], 0x3068
mov dword [ebp - 0x28], 0
jmp 0x431310
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 4
jge 0x431326
mov eax, dword [ebp - 0x28]
mov dword [ebp + eax*4 - 0x1f0], 0xd585ed06
jmp 0x431309
cmp dword [ebp - 4], 0xbf9acf25
jne 0x431338
mov dword [ebp - 0x74], 1
jmp 0x43133c
and dword [ebp - 0x74], 0
mov eax, dword [ebp - 4]
cmp dword [ebp - 4], eax
jl 0x43134d
mov dword [ebp - 0x6c], 1
jmp 0x431351
and dword [ebp - 0x6c], 0
cmp dword [ebp - 0x6c], 0xad5a519d
jb 0x431366
mov dword [ebp - 0x84], 1
jmp 0x43136d
and dword [ebp - 0x84], 0
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x74]
mov dword [ebp - 0x7c], eax
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x7c]
mov dword [ebp + eax - 0x1f0], ecx
mov eax, dword [ebp - 0x7c]
cmp eax, dword [ebp - 0x84]
jle 0x43139d
mov dword [ebp - 0x8c], 1
jmp 0x4313a4
and dword [ebp - 0x8c], 0
mov eax, dword [ebp - 4]
cmp dword [ebp - 0x8c], eax
jle 0x4313bb
mov dword [ebp - 0x94], 1
jmp 0x4313c2
and dword [ebp - 0x94], 0
mov eax, dword [ebp - 4]
cmp dword [ebp - 0x94], eax
jne 0x4313d9
mov dword [ebp - 0x14c], 1
jmp 0x4313e0
and dword [ebp - 0x14c], 0
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c8], eax
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 4]
cmp dword [ebp + eax - 0x1f0], ecx
jg 0x431406
mov dword [ebp - 0x9c], 1
jmp 0x43140d
and dword [ebp - 0x9c], 0
mov eax, dword [ebp - 4]
cmp dword [ebp - 0x9c], eax
jne 0x431424
mov dword [ebp - 0xa4], 1
jmp 0x43142b
and dword [ebp - 0xa4], 0
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x16c], eax
push 0
push 0x6072
push 0
push 0x717f
push 0x6a5b
lea eax, [ebp - 0x154]
push eax
call fcn.004302cd
add esp, 0x18
push 4
push 0x1000
push dword [ebp - 0x40]
mov eax, dword [ebp - 0xcc]
mov ecx, dword [ebp - 0x124]
add ecx, dword [eax + 0xc]
push ecx
push 0x3e26
push 0x491b
call fcn.0040729e
pop ecx
pop ecx
call eax
mov ecx, dword [ebp - 0x44]
mov dword [ecx], eax
mov dword [ebp - 0x1a8], 3
mov dword [ebp - 0x1a4], 3
mov dword [ebp - 0x1a0], 3
mov dword [ebp - 0x19c], 3
lea ecx, [ebp - 0x39]
call fcn.00437a56
push eax
lea eax, [ebp - 0x198]
push eax
lea eax, [ebp - 0x1a8]
push eax
lea ecx, [ebp - 0x1f8]
call fcn.00437a59
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x194]
call fcn.00437a05
push 1
lea ecx, [ebp - 0x188]
call fcn.00437959
mov dword [ebp - 0x1c], 8
mov dword [ebp - 0xf0], 0x462a77b6
lea eax, [ebp - 0x18]
push eax
push 0x1ee3
push 0
lea eax, [ebp - 0x188]
push eax
push 0x4f6f
push 0
push 1
push 0x64c9
call fcn.00422721
add esp, 0x20
mov dword [ebp - 0x18], 0
jmp 0x43153b
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 2
jge 0x431551
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x1b8], 0xffffffff
jmp 0x431534
push 2
lea ecx, [ebp - 0x194]
call fcn.00437a47
cmp dword [eax], 1
jg 0x43156f
mov dword [ebp - 0xac], 1
jmp 0x431576
and dword [ebp - 0xac], 0
push 3
lea ecx, [ebp - 0x194]
call fcn.00437a47
mov esi, dword [ebp - 0xac]
add esi, dword [eax]
push 0
lea ecx, [ebp - 0x188]
call fcn.00437a47
cmp esi, dword [eax]
jne 0x4315a8
mov dword [ebp - 0xb4], 1
jmp 0x4315af
and dword [ebp - 0xb4], 0
push 0
lea ecx, [ebp - 0x188]
call fcn.00437a47
mov ecx, dword [ebp - 0xb4]
cmp ecx, dword [eax]
jle 0x4315d2
mov dword [ebp - 0xbc], 1
jmp 0x4315d9
and dword [ebp - 0xbc], 0
push 0
lea ecx, [ebp - 0x188]
call fcn.00437a47
mov ecx, dword [ebp - 0xbc]
cmp ecx, dword [eax]
je 0x43160b
push 0
lea ecx, [ebp - 0x194]
call fcn.00437a47
cmp dword [eax], 0
jne 0x43160b
and dword [ebp - 0xc4], 0
jmp 0x431615
mov dword [ebp - 0xc4], 1
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0xf0], eax
mov dword [ebp - 0x1c], 0
jmp 0x431631
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 2
jge 0x431647
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x1b8], 0x883e731e
jmp 0x43162a
lea ecx, [ebp - 0x188]
call fcn.00437a2b
lea ecx, [ebp - 0x194]
call fcn.00437a2b
push 0
push 0x1bb5
lea eax, [ebp - 0xcc]
push eax
lea eax, [ebp - 0x44]
push eax
push 0x4e21
push 0x2e87
call fcn.00435187
add esp, 0x18
push dword [ebp - 0x40]
push 0
mov eax, dword [ebp - 0x44]
push dword [eax]
call fcn.0040774a
add esp, 0xc
jmp 0x431704
lea eax, [ebp + 0x28]
mov dword [ebp - 0x114], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0xfc], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp + 0x3c]
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0xf4]
movzx eax, byte [eax]
push eax
push dword [ebp - 0xfc]
push 0x6fb3
push 1
push dword [ebp - 0x104]
push dword [ebp - 0x10c]
mov eax, dword [ebp - 0x114]
push dword [eax]
push dword [ebp - 0x11c]
call fcn.0040922b
add esp, 0x20
pop esi
mov esp, ebp
pop ebp
ret