Function at 0x10030d50
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100654e4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x9c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x1003103c
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x74], eax
lea eax, [ebp + 0x30]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x84]
movzx eax, byte [eax]
test eax, eax
je 0x10030ead
mov dword [ebp - 0x40], 0x6af0
mov dword [ebp - 0x94], 0x1000a71c
cmp dword [ebp - 0x40], 0x6c4b
jle 0x10030e58
push 0
call dword [sym.imp.USER32.dll_CharNextW]
and dword [ebp - 0x18], 0
jmp 0x10030dfa
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x64d5
jge 0x10030e46
and dword [ebp - 0x1c], 0
jmp 0x10030e10
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x5eb9
jge 0x10030e44
mov eax, dword [ebp - 0x18]
xor eax, dword [ebp - 0x1c]
cdq
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xa8], edx
push dword [ebp - 0xa8]
push dword [ebp - 0xac]
mov ecx, 0x1060df18
call fcn.1001b196
jmp 0x10030e09
jmp 0x10030df3
push 0xea8
push 0x1803
push 0
call dword [sym.imp.USER32.dll_EnableMenuItem]
push 0x16e9
push 0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
and dword [ebp - 4], 0
cmp dword [ebp - 0x40], 0x6a99
jge 0x10030e82
mov edx, dword [ebp - 0x94]
mov ecx, 0x1060df18
call fcn.1001d6a1
jmp 0x10030e9e
or dword [ebp - 4], 0xffffffff
jmp 0x10030ea8
jmp 0x1003103a
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x80], eax
push 0
mov ecx, dword [ebp - 0x14]
call fcn.1001b465
cmp dword [eax], 0
je 0x1003102b
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x78]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [ebp - 0x20]
xor ecx, ecx
inc ecx
sub ecx, dword [eax]
jne 0x10030f4f
push 0
mov ecx, dword [ebp - 0x14]
call fcn.1001b465
cmp dword [eax], 0
jne 0x10030f4f
and dword [ebp - 0x48], 0
jmp 0x10030f56
mov dword [ebp - 0x48], 1
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
cmp dword [ebp - 0x48], eax
jg 0x10030f69
mov dword [ebp - 0x30], 1
jmp 0x10030f6d
and dword [ebp - 0x30], 0
cmp dword [ebp - 0x30], 1
ja 0x10030f84
mov eax, dword [ebp - 0x20]
cmp dword [eax], 0
je 0x10030f84
mov dword [ebp - 0x24], 1
jmp 0x10030f88
and dword [ebp - 0x24], 0
cmp dword [ebp - 0x24], 0xe11a796
jge 0x10030f9a
mov dword [ebp - 0x28], 1
jmp 0x10030f9e
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
cmp dword [ebp - 0x28], eax
jl 0x10030fb1
mov dword [ebp - 0x2c], 1
jmp 0x10030fb5
and dword [ebp - 0x2c], 0
push 0
mov ecx, dword [ebp - 0x14]
call fcn.1001b465
mov ecx, dword [ebp - 0x2c]
cmp ecx, dword [eax]
jge 0x10030fcf
mov dword [ebp - 0x34], 1
jmp 0x10030fd3
and dword [ebp - 0x34], 0
push 0
mov ecx, dword [ebp - 0x14]
call fcn.1001b465
mov ecx, dword [ebp - 0x34]
sub ecx, dword [eax]
jne 0x10030fed
mov dword [ebp - 0x3c], 1
jmp 0x10030ff1
and dword [ebp - 0x3c], 0
push 0
mov ecx, dword [ebp - 0x14]
call fcn.1001b465
mov ecx, dword [ebp - 0x3c]
cmp ecx, dword [eax]
jle 0x1003100b
mov dword [ebp - 0x44], 1
jmp 0x1003100f
and dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x80]
mov ecx, dword [ebp - 0x88]
mov ecx, dword [ecx]
imul ecx, dword [ebp - 0x44]
cmp ecx, dword [eax]
jl 0x1003102b
mov dword [ebp - 0x4c], 1
jmp 0x1003102f
and dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x90]
mov ecx, dword [ebp - 0x4c]
mov dword [eax], ecx
jmp 0x10031078
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xa0], eax
push 0
push dword [ebp - 0x98]
push 0xb33
push 0x4372
push dword [ebp - 0xa0]
push 0x7151
push 0x3101
call fcn.10025bcf
add esp, 0x1c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret