Function at 0x100307f8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10063113
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x74
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x1003099c
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x44], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x34], 0x29ca
mov dword [ebp - 0x50], str.kssifee_rnr_nvfcovvct_ydzsruec_grmsynrda_gurxak_ozrq_mytwht_jxahcx_qdyk_ufbfckhm_nvv_ulsmwt_cjrjie
cmp dword [ebp - 0x34], 0x2a21
jle 0x1003090c
push 0x1567
push 0x332
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
and dword [ebp - 0x20], 0
jmp 0x1003086a
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x6b46
jge 0x1003090c
and dword [ebp - 0x24], 0
jmp 0x10030884
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x5990
jge 0x10030907
and dword [ebp - 0x18], 0
jmp 0x1003089a
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x6ec1
jge 0x10030902
and dword [ebp - 0x1c], 0
jmp 0x100308b0
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x17f4
jge 0x10030900
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
and ecx, dword [ebp - 0x24]
and eax, ecx
cdq
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], edx
push dword [ebp - 0x60]
push dword [ebp - 0x64]
lea ecx, [ebp - 0x84]
call fcn.10001a65
pop ecx
pop ecx
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
call fcn.1000511b
push eax
call fcn.100497ec
pop ecx
lea ecx, [ebp - 0x84]
call fcn.10005111
jmp 0x100308a9
jmp 0x10030893
jmp 0x1003087d
jmp 0x10030863
mov eax, dword [ebp - 0x40]
movzx eax, byte [eax]
test eax, eax
je 0x10030931
mov byte [ebp - 0x11], 0
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x1003092f
push 0x59a
push 0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
jmp 0x1003095b
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
movzx eax, byte [eax]
test eax, eax
je 0x1003095b
push 0x7bbb
push 0
push 0x3928
call fcn.1002e127
add esp, 0xc
and dword [ebp - 4], 0
cmp dword [ebp - 0x34], 0x299e
jge 0x10030971
push dword [ebp - 0x50]
call fcn.100497ec
pop ecx
jmp 0x1003098d
or dword [ebp - 4], 0xffffffff
jmp 0x10030997
jmp 0x10030a81
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x38], 0x6c6c
mov dword [ebp - 0x54], str.akmbofjpe_njdtol_nvj_kmxblnep
cmp dword [ebp - 0x38], 0x6f29
jle 0x10030a23
and dword [ebp - 0x28], 0
jmp 0x100309c6
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x6201
jge 0x10030a23
and dword [ebp - 0x2c], 0
jmp 0x100309dc
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x745e
jge 0x10030a21
and dword [ebp - 0x30], 0
jmp 0x100309f2
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x74da
jge 0x10030a1f
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
shl eax, cl
xor eax, dword [ebp - 0x30]
cdq
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], edx
push dword [ebp - 0x68]
push dword [ebp - 0x6c]
mov ecx, 0x1007d818
call fcn.1000513b
jmp 0x100309eb
jmp 0x100309d5
jmp 0x100309bf
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 4], 2
cmp dword [ebp - 0x38], 0x688d
jge 0x10030a46
mov edx, dword [ebp - 0x54]
mov ecx, 0x1007d818
call fcn.100077d7
jmp 0x10030a62
or dword [ebp - 4], 0xffffffff
jmp 0x10030a6c
push dword [ebp - 0x58]
push 0
push dword [ebp - 0x5c]
push 0x89a
call fcn.1002e511
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