Function at 0x1011d120
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1016cfa6
mov eax, dword fs:[0]
push eax
sub esp, 0x650
mov eax, dword [0x101bd92c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x65c], eax
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.10098090
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x420], ax
lea eax, [ebp - 0x41e]
push eax
call fcn.10098090
push str.py.markov.dat
push esi
lea eax, [ebp - 0x420]
push 0x101917a4
push eax
call fcn.10091da4
push 0x4e24
push str.1.0.1.0701
push str.__SYS_PY_M_MARKOVE__
push 0x101917dc
lea eax, [ebp - 0x218]
push str._s_s_s_d
push eax
call fcn.10091da4
add esp, 0x40
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x420]
push eax
mov ecx, edi
call fcn.1011cc10
mov dword [edi + 0x14], eax
test eax, eax
je 0x1011d1fa
mov eax, 1
jmp 0x1011d3f9
push str.py.markov.dat
push dword [ebp - 0x65c]
lea eax, [ebp - 0x420]
push 0x101917a4
push eax
call fcn.10091da4
push 0x4e24
push str.1.0.1.0701
push str.__SYS_PY_M_MARKOVE__
push 0x101917dc
lea eax, [ebp - 0x218]
push str._sBACK_s_s_d
push eax
call fcn.10091da4
add esp, 0x28
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x420]
push eax
mov ecx, edi
call fcn.1011cc10
mov dword [edi + 0x14], eax
test eax, eax
jne 0x1011d1f0
push str.py.markov.dat
push ebx
lea eax, [ebp - 0x420]
push 0x101917a4
push eax
call fcn.10091da4
push 0x4e24
push str.1.0.1.0701
push str.__SYS_PY_M_MARKOVE__
push 0x101917dc
lea eax, [ebp - 0x218]
push str._sUSER_s_s_d
push eax
call fcn.10091da4
add esp, 0x28
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x420]
push eax
mov ecx, edi
call fcn.1011cc10
mov dword [edi + 0x14], eax
test eax, eax
jne 0x1011d1f0
push ebx
lea ecx, [ebp - 0x658]
call fcn.10004410
push 0xd
push str.py.markov.dat
lea ecx, [ebp - 0x658]
mov dword [ebp - 4], 0
call fcn.10004660
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x628], ax
lea eax, [ebp - 0x626]
push eax
call fcn.10098090
add esp, 0xc
lea eax, [ebp - 0x628]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x628]
push eax
lea ecx, [ebp - 0x640]
call fcn.10004410
push 0xd
push str.py.markov.dat
lea ecx, [ebp - 0x640]
mov byte [ebp - 4], 1
call fcn.10004660
cmp dword [ebp - 0x62c], 8
lea ecx, [ebp - 0x640]
cmovae ecx, dword [ebp - 0x640]
cmp dword [ebp - 0x644], 8
lea eax, [ebp - 0x658]
cmovae eax, dword [ebp - 0x658]
push ecx
push eax
call fcn.1000e180
push 0x4e24
push str.1.0.1.0701
push str.__SYS_PY_M_MARKOVE__
push 0x101917dc
lea eax, [ebp - 0x218]
push str._sTEMP_s_s_d
push eax
call fcn.10091da4
add esp, 0x20
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x420]
push eax
mov ecx, edi
call fcn.1011cc10
xor ebx, ebx
test eax, eax
setne bl
cmp dword [ebp - 0x62c], 8
mov dword [edi + 0x14], eax
jb 0x1011d3c3
push dword [ebp - 0x640]
call fcn.10091747
add esp, 4
xor eax, eax
cmp dword [ebp - 0x644], 8
mov dword [ebp - 0x62c], 7
mov dword [ebp - 0x630], 0
mov word [ebp - 0x640], ax
jb 0x1011d3f7
push dword [ebp - 0x658]
call fcn.10091747
add esp, 4
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1009174c
mov esp, ebp
pop ebp
ret 0xc