Function at 0x1003e4ec
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005c927
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0xf0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x30]
test eax, eax
je 0x1003e96d
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0x40], 0x3d5a
mov dword [ebp - 0x7c], 0x1000b36c
cmp dword [ebp - 0x40], 0x40a6
jle 0x1003e5ed
and dword [ebp - 0x38], 0
jmp 0x1003e583
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0x13b3
jge 0x1003e5ed
and dword [ebp - 0x1c], 0
jmp 0x1003e599
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x747c
jge 0x1003e5eb
and dword [ebp - 0x34], 0
jmp 0x1003e5af
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0x7002
jge 0x1003e5e9
mov eax, dword [ebp - 0x38]
imul eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x34]
shl eax, cl
cdq
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xc8], edx
push dword [ebp - 0xc8]
push dword [ebp - 0xcc]
mov ecx, 0x106040f8
call fcn.1001156c
jmp 0x1003e5a8
jmp 0x1003e592
jmp 0x1003e57c
lea eax, [ebp + 0x14]
mov dword [ebp - 0x54], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x40], 0x39cd
jge 0x1003e60d
mov edx, dword [ebp - 0x7c]
mov ecx, 0x106040f8
call fcn.10013e7d
jmp 0x1003e629
or dword [ebp - 4], 0xffffffff
jmp 0x1003e633
mov eax, dword [ebp - 0x54]
movzx eax, byte [eax]
test eax, eax
je 0x1003e8e1
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], 0x6f25
mov dword [ebp - 0xd0], 0x1000b3a0
cmp dword [ebp - 0x48], 0x6f57
jle 0x1003e751
push 0x15f4
push 0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
and dword [ebp - 0x14], 0
jmp 0x1003e69a
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x798f
jge 0x1003e751
and dword [ebp - 0x2c], 0
jmp 0x1003e6b4
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x298d
jge 0x1003e74c
and dword [ebp - 0x24], 0
jmp 0x1003e6ce
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x3c79
jge 0x1003e747
and dword [ebp - 0x3c], 0
jmp 0x1003e6e4
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0x2b31
jge 0x1003e745
mov eax, dword [ebp - 0x24]
imul eax, dword [ebp - 0x3c]
add eax, dword [ebp - 0x2c]
xor eax, dword [ebp - 0x14]
cdq
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xd4], edx
push dword [ebp - 0xd4]
push dword [ebp - 0xd8]
lea ecx, [ebp - 0x100]
call fcn.1000d0de
pop ecx
pop ecx
mov dword [ebp - 0xa4], eax
mov ecx, dword [ebp - 0xa4]
call fcn.1001154c
push eax
call fcn.1004676f
pop ecx
lea ecx, [ebp - 0x100]
call fcn.10011542
jmp 0x1003e6dd
jmp 0x1003e6c7
jmp 0x1003e6ad
jmp 0x1003e693
mov dword [ebp - 0x44], 0x5559
mov dword [ebp - 0xc4], 0x1000b400
cmp dword [ebp - 0x44], 0x5663
jle 0x1003e809
and dword [ebp - 0x18], 0
jmp 0x1003e77c
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x2257
jge 0x1003e809
and dword [ebp - 0x20], 0
jmp 0x1003e796
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x7a21
jge 0x1003e804
and dword [ebp - 0x28], 0
jmp 0x1003e7ac
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x6db2
jge 0x1003e802
and dword [ebp - 0x30], 0
jmp 0x1003e7c2
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x2364
jge 0x1003e800
mov eax, dword [ebp - 0x18]
cdq
idiv dword [ebp - 0x20]
imul edx, dword [ebp - 0x28]
or edx, dword [ebp - 0x30]
mov eax, edx
cdq
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0xe0], edx
push dword [ebp - 0xe0]
push dword [ebp - 0xe4]
mov ecx, 0x106040f8
call fcn.1001156c
jmp 0x1003e7bb
jmp 0x1003e7a5
jmp 0x1003e78f
jmp 0x1003e775
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x8c], eax
mov dword [ebp - 4], 2
cmp dword [ebp - 0x44], 0x5226
jge 0x1003e832
mov edx, dword [ebp - 0xc4]
mov ecx, 0x106040f8
call fcn.10013e7d
jmp 0x1003e84e
or dword [ebp - 4], 0xffffffff
jmp 0x1003e858
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xdc]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x84]
add eax, dword [ecx]
mov ecx, dword [ebp - 0xb4]
add eax, dword [ecx]
mov ecx, dword [ebp - 0x8c]
mov ecx, dword [ecx]
mov byte [ecx + eax], 0
mov dword [ebp - 4], 4
cmp dword [ebp - 0x48], 0x6cc7
jge 0x1003e8b6
push dword [ebp - 0xd0]
call fcn.1004676f
pop ecx
jmp 0x1003e8d2
or dword [ebp - 4], 0xffffffff
jmp 0x1003e8dc
jmp 0x1003e96b
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x90], eax
push 0
mov eax, dword [ebp - 0x90]
push dword [eax]
mov eax, dword [ebp - 0x98]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xa0]
mov ecx, dword [ecx]
add ecx, dword [eax + 0xc]
mov eax, dword [ebp - 0xa8]
mov eax, dword [eax]
add eax, ecx
push eax
mov ecx, dword [ebp - 0xb0]
call fcn.10041b6f
jmp 0x1003e99a
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0xc0], eax
push dword [ebp - 0xb8]
push 0
push 0x672f
push dword [ebp - 0xc0]
call fcn.1003ec58
add esp, 0x10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret