Function at 0x100346a4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005c6c9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0xa4
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x1003486b
lea eax, [ebp + 0x20]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x34], 0x21a9
mov dword [ebp - 0x54], str.rdyp_xxzpwrfq_vryhstw
cmp dword [ebp - 0x34], 0x232f
jle 0x1003477c
push 0x4cc
push 0
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
and dword [ebp - 0x30], 0
jmp 0x10034730
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x6fd8
jge 0x1003477c
and dword [ebp - 0x20], 0
jmp 0x10034746
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x564b
jge 0x1003477a
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0x20]
cdq
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], edx
push dword [ebp - 0x94]
push dword [ebp - 0x98]
mov ecx, 0x10077178
call fcn.1000b0cd
jmp 0x1003473f
jmp 0x10034729
mov eax, dword [ebp - 0x60]
movzx eax, byte [eax]
test eax, eax
je 0x100347d8
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x80]
mov eax, dword [eax]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0xa8]
call fcn.1003508b
mov ecx, dword [ebp - 0x68]
mov cx, word [ecx]
mov word [eax], cx
jmp 0x10034826
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x18]
mov dword [eax], 0
jmp 0x10034809
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x18]
mov dword [ecx], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax], 1
jge 0x10034826
mov eax, dword [ebp - 0x18]
push dword [eax]
mov ecx, dword [ebp - 0x4c]
call fcn.10001510
mov dword [eax], 0x1db95674
jmp 0x100347fe
and dword [ebp - 4], 0
cmp dword [ebp - 0x34], 0x1f8b
jge 0x10034840
mov edx, dword [ebp - 0x54]
mov ecx, 0x10077178
call fcn.1000ca72
jmp 0x1003485c
or dword [ebp - 4], 0xffffffff
jmp 0x10034866
jmp 0x10034a3e
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x6c], eax
lea eax, [ebp + 0x24]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
movzx eax, byte [eax]
test eax, eax
je 0x100348dd
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x1c]
mov dword [eax], 0
jmp 0x100348b8
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x1c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x1c]
cmp dword [eax], 3
jge 0x100348d8
mov eax, dword [ebp - 0x1c]
push dword [eax]
mov ecx, dword [ebp - 0x84]
call fcn.10001510
mov dword [eax], 0xcff0
jmp 0x100348ad
jmp 0x10034a3e
mov dword [ebp - 0x14], 0x6db50520
push 1
lea ecx, [ebp - 0xb4]
call fcn.10001471
mov dword [ebp - 4], 2
mov dword [ebp - 0x38], 0x7731
mov dword [ebp - 0x8c], str.bjtgljwu_estzul_bzowxxa_ohnweshg_rgdquyqgq
cmp dword [ebp - 0x38], 0x789c
jle 0x1003497a
and dword [ebp - 0x2c], 0
jmp 0x1003491f
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x1db2
jge 0x1003496d
and dword [ebp - 0x24], 0
jmp 0x10034935
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x1fbe
jge 0x1003496b
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x24]
shl eax, cl
cdq
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa0], edx
push dword [ebp - 0xa0]
push dword [ebp - 0xa4]
mov ecx, 0x10077178
call fcn.1000b0cd
jmp 0x1003492e
jmp 0x10034918
push 0x185b
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov byte [ebp - 4], 3
cmp dword [ebp - 0x38], 0x7642
jge 0x10034997
mov edx, dword [ebp - 0x8c]
mov ecx, 0x10077178
call fcn.1000ca72
jmp 0x100349b3
mov dword [ebp - 4], 2
jmp 0x100349c3
mov dword [ebp - 0x28], 0
jmp 0x100349d3
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 1
jge 0x100349ef
push dword [ebp - 0x28]
lea ecx, [ebp - 0xb4]
call fcn.10001510
mov dword [eax], 1
jmp 0x100349cc
mov dword [ebp - 0x14], 0x2d5e48d3
mov dword [ebp - 0x14], 0
jmp 0x10034a06
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jg 0x10034a2f
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xb4]
push eax
push 0
push 0x6fab
push 0
push 0x19da
call fcn.1002d9de
add esp, 0x18
jmp 0x100349ff
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb4]
call fcn.100014f4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret