Function at 0x1091b30
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10dafb5
mov eax, dword fs:[0]
push eax
sub esp, 0x168
mov eax, dword [0x115e76c]
xor eax, ebp
mov dword [ebp - 0x20], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x15c], ecx
xor eax, eax
cmp dword [ebp + 8], 0
setne al
mov dword [ebp - 0x138], eax
cmp dword [ebp - 0x138], 0
jne 0x1091b8d
push 0xff
push 0x1134d58
call fcn.0100a6d0
test eax, eax
je 0x1091b8d
int3
cmp dword [ebp - 0x138], 0
jne 0x1091b9b
call fcn.010062d0
xor edx, edx
jne 0x1091b61
mov eax, dword [ebp - 0x15c]
cmp dword [eax + 8], 0
jne 0x1091bbf
push 0x100
push 0x1134d90
call fcn.0100a6d0
test eax, eax
je 0x1091bbf
int3
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x15c]
add ecx, 0x1c
call fcn.010087c0
movzx ecx, al
test ecx, ecx
je 0x1091bfe
cmp dword [ebp - 0x18], 0
je 0x1091bfe
push 0
mov edx, dword [ebp - 0x15c]
add edx, 0x1c
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
mov ecx, dword [ebp - 0x18]
call fcn.01067ee0
mov edx, dword [ebp - 0x15c]
mov ecx, dword [edx + 8]
call fcn.010087c0
movzx eax, al
test eax, eax
je 0x1091c57
mov ecx, dword [ebp - 0x15c]
add ecx, 0x1c
call fcn.010087c0
movzx ecx, al
test ecx, ecx
jne 0x1091c44
mov ecx, dword [ebp - 0x15c]
add ecx, 0x1c
call fcn.0101b260
push eax
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0xc]
call edx
push 0
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, dword [ebp + 8]
mov eax, dword [edx]
call eax
jmp 0x1092031
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0xc], 0
jne 0x1091c65
jmp 0x1092031
mov dword [ebp - 0x1c], 0
jmp 0x1091c77
mov edx, dword [ebp - 0x1c]
add edx, 1
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x15c]
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [eax + 4]
jge 0x1091c9e
push 0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
add eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0xc]
call fcn.01019010
jmp 0x1091c6e
lea edx, [ebp - 0x12c]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x1091cc2
cmp dword [ebp - 0x10], 0x104
jb 0x1091cc7
jmp 0x1092031
lea eax, [ebp - 0x12c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp - 0x134], eax
cmp dword [ebp - 0x134], 0
jge 0x1091cf7
push 0x11c
push 0x1134dc8
call fcn.0100a6d0
test eax, eax
je 0x1091cf7
int3
mov edx, dword [ebp - 0x134]
mov byte [ebp + edx - 0x12c], 0x5c
mov eax, dword [ebp - 0x134]
add eax, 1
mov dword [ebp - 0x134], eax
mov ecx, dword [ebp - 0x134]
mov byte [ebp + ecx - 0x12c], 0
lea ecx, [ebp - 0x130]
call fcn.0100f000
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.0100f000
mov byte [ebp - 4], 1
mov dword [ebp - 0x1c], 0
jmp 0x1091d52
mov edx, dword [ebp - 0x1c]
add edx, 1
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x15c]
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [eax + 4]
jge 0x1091fe9
push 1
mov edx, dword [ebp - 0x134]
push edx
lea eax, [ebp - 0x12c]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x130]
push edx
mov eax, dword [ebp - 0x15c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x15c]
mov eax, dword [edx + 8]
call eax
test eax, eax
jne 0x1091d9b
jmp 0x1091fe9
lea ecx, [ebp - 0x130]
call fcn.0101b260
mov dword [ebp - 0x14c], eax
lea ecx, [ebp - 0x130]
call fcn.010088a0
shl eax, 1
push eax
lea ecx, [ebp - 0x14]
call fcn.01011320
mov dword [ebp - 0x150], eax
mov ecx, dword [ebp - 0x14c]
movsx edx, byte [ecx]
test edx, edx
je 0x1091e76
mov eax, dword [ebp - 0x14c]
movsx ecx, byte [eax]
cmp ecx, 0x26
jne 0x1091dff
mov edx, dword [ebp - 0x150]
mov byte [edx], 0x26
mov eax, dword [ebp - 0x150]
add eax, 1
mov dword [ebp - 0x150], eax
mov ecx, dword [ebp - 0x14c]
movsx edx, byte [ecx]
push edx
call fcn.010a8940
add esp, 4
test eax, eax
je 0x1091e43
mov eax, dword [ebp - 0x150]
mov ecx, dword [ebp - 0x14c]
mov dl, byte [ecx]
mov byte [eax], dl
mov eax, dword [ebp - 0x150]
add eax, 1
mov dword [ebp - 0x150], eax
mov ecx, dword [ebp - 0x14c]
add ecx, 1
mov dword [ebp - 0x14c], ecx
mov edx, dword [ebp - 0x150]
mov eax, dword [ebp - 0x14c]
mov cl, byte [eax]
mov byte [edx], cl
mov edx, dword [ebp - 0x150]
add edx, 1
mov dword [ebp - 0x150], edx
mov eax, dword [ebp - 0x14c]
add eax, 1
mov dword [ebp - 0x14c], eax
jmp 0x1091dc8
mov ecx, dword [ebp - 0x150]
mov byte [ecx], 0
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.01011680
mov edx, dword [ebp - 0x15c]
mov eax, dword [edx + 0x14]
mov ecx, dword [ebp - 0x1c]
lea eax, [ecx + eax + 1]
xor edx, edx
mov ecx, 0x10
div ecx
mov dword [ebp - 0x13c], edx
cmp dword [ebp - 0x13c], 0xa
jle 0x1091ed0
mov edx, dword [ebp - 0x13c]
push edx
push 0x1134e00
push 0xa
lea eax, [ebp - 0x148]
push eax
call fcn.010a4bb0
add esp, 0x10
jmp 0x1091f0e
cmp dword [ebp - 0x13c], 0xa
jne 0x1091ef1
push str.10
push 0xa
lea ecx, [ebp - 0x148]
push ecx
call fcn.010140c0
add esp, 0xc
jmp 0x1091f0e
mov edx, dword [ebp - 0x13c]
push edx
push str._d
push 0xa
lea eax, [ebp - 0x148]
push eax
call fcn.010a4bb0
add esp, 0x10
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x160], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x164], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
add eax, 1
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
add eax, 1
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], eax
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x148]
push eax
lea ecx, [ebp - 0x154]
call fcn.01009620
mov dword [ebp - 0x168], eax
mov ecx, dword [ebp - 0x168]
mov dword [ebp - 0x16c], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x16c]
push edx
lea eax, [ebp - 0x158]
push eax
call fcn.010923d0
add esp, 0xc
mov dword [ebp - 0x170], eax
mov ecx, dword [ebp - 0x170]
mov dword [ebp - 0x174], ecx
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x174]
call fcn.0101b260
push eax
mov edx, dword [ebp - 0x160]
push edx
push 0x400
mov eax, dword [ebp - 0x164]
push eax
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0xc]
call fcn.010194d0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x158]
call fcn.01009720
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x154]
call fcn.01009720
jmp 0x1091d49
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
sub eax, 1
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], eax
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0xc]
call fcn.01019250
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x20], eax
mov edx, dword [ebp + 8]
mov dword [edx + 0x18], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.01009720
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x130]
call fcn.01009720
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.0109d5d0
mov esp, ebp
pop ebp
ret 4