Function at 0x1007dc79
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d8377
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x25c
push ebx
push esi
push edi
mov dword [ebp - 0x250], ecx
mov eax, dword [ebp - 0x250]
cmp dword [eax + 8], 0
jne 0x1007dcc0
push 0xe6
push str.filelist.cpp
call fcn.100b0670
test eax, eax
je 0x1007dcc0
int3
xor ecx, ecx
test ecx, ecx
jne 0x1007dca0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x250]
add ecx, 0x1c
call fcn.100acbf6
test eax, eax
je 0x1007dd02
cmp dword [ebp - 0x10], 0
je 0x1007dd02
push 0
mov ecx, dword [ebp - 0x250]
add ecx, 0x1c
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp - 0x10]
call fcn.100bd6cf
mov ecx, dword [ebp - 0x250]
mov ecx, dword [ecx + 8]
call fcn.100acbf6
test eax, eax
je 0x1007dd51
mov ecx, dword [ebp - 0x250]
add ecx, 0x1c
call fcn.100acbf6
test eax, eax
jne 0x1007dd40
mov ecx, dword [ebp - 0x250]
add ecx, 0x1c
call fcn.100acc14
push eax
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp + 8]
call dword [eax + 0xc]
push 0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov ecx, dword [ebp + 8]
call dword [edx]
jmp 0x1007e0e9
mov eax, dword [ebp + 8]
cmp dword [eax + 0xc], 0
jne 0x1007dd5f
jmp 0x1007e0e9
mov dword [ebp - 0x228], 0
jmp 0x1007dd7a
mov ecx, dword [ebp - 0x228]
add ecx, 1
mov dword [ebp - 0x228], ecx
mov edx, dword [ebp - 0x250]
mov eax, dword [ebp - 0x228]
cmp eax, dword [edx + 4]
jge 0x1007dda7
push 0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
add edx, dword [ebp - 0x228]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
call fcn.100bd334
jmp 0x1007dd6b
lea ecx, [ebp - 0x218]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x220], 0
jge 0x1007dde9
push 0xfe
push str.filelist.cpp
call fcn.100b0670
test eax, eax
je 0x1007dde9
int3
xor eax, eax
test eax, eax
jne 0x1007ddcc
mov ecx, dword [ebp - 0x220]
mov word [ebp + ecx*2 - 0x218], 0x5c
mov edx, dword [ebp - 0x220]
add edx, 1
mov dword [ebp - 0x220], edx
mov eax, dword [ebp - 0x220]
mov word [ebp + eax*2 - 0x218], 0
lea ecx, [ebp - 0x21c]
call fcn.100acad7
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x224]
call fcn.100acad7
mov byte [ebp - 4], 1
mov dword [ebp - 0x228], 0
jmp 0x1007de5a
mov ecx, dword [ebp - 0x228]
add ecx, 1
mov dword [ebp - 0x228], ecx
mov edx, dword [ebp - 0x250]
mov eax, dword [ebp - 0x228]
cmp eax, dword [edx + 4]
jge 0x1007e09e
push 1
mov ecx, dword [ebp - 0x220]
push ecx
lea edx, [ebp - 0x218]
push edx
mov eax, dword [ebp - 0x228]
push eax
lea ecx, [ebp - 0x21c]
push ecx
mov ecx, dword [ebp - 0x250]
call fcn.1007da7d
test eax, eax
jne 0x1007dea1
jmp 0x1007e09e
lea ecx, [ebp - 0x21c]
call fcn.100acc14
mov dword [ebp - 0x240], eax
lea ecx, [ebp - 0x21c]
call fcn.100acbca
shl eax, 1
push eax
lea ecx, [ebp - 0x224]
call fcn.1006a88b
mov dword [ebp - 0x244], eax
mov edx, dword [ebp - 0x240]
xor eax, eax
mov ax, word [edx]
test eax, eax
je 0x1007df79
mov ecx, dword [ebp - 0x240]
xor edx, edx
mov dx, word [ecx]
cmp edx, 0x26
jne 0x1007df0e
mov eax, dword [ebp - 0x244]
mov word [eax], 0x26
mov ecx, dword [ebp - 0x244]
add ecx, 2
mov dword [ebp - 0x244], ecx
xor edx, edx
test edx, edx
je 0x1007df44
mov eax, dword [ebp - 0x244]
mov ecx, dword [ebp - 0x240]
mov dx, word [ecx]
mov word [eax], dx
mov eax, dword [ebp - 0x244]
add eax, 2
mov dword [ebp - 0x244], eax
mov ecx, dword [ebp - 0x240]
add ecx, 2
mov dword [ebp - 0x240], ecx
mov edx, dword [ebp - 0x244]
mov eax, dword [ebp - 0x240]
mov cx, word [eax]
mov word [edx], cx
mov edx, dword [ebp - 0x244]
add edx, 2
mov dword [ebp - 0x244], edx
mov eax, dword [ebp - 0x240]
add eax, 2
mov dword [ebp - 0x240], eax
jmp 0x1007ded1
mov ecx, dword [ebp - 0x244]
mov word [ecx], 0
push 0xffffffffffffffff
lea ecx, [ebp - 0x224]
call fcn.1006a9c7
mov edx, dword [ebp - 0x250]
mov eax, dword [edx + 0x14]
mov ecx, dword [ebp - 0x228]
lea eax, [ecx + eax + 1]
xor edx, edx
mov ecx, 0xa
div ecx
push edx
push str._d
lea edx, [ebp - 0x23c]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x23c]
push ecx
lea ecx, [ebp - 0x248]
call fcn.1006a161
mov dword [ebp - 0x254], eax
mov edx, dword [ebp - 0x254]
mov dword [ebp - 0x258], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x258]
push eax
lea ecx, [ebp - 0x24c]
push ecx
call fcn.1006a4a5
mov dword [ebp - 0x25c], eax
mov edx, dword [ebp - 0x25c]
mov dword [ebp - 0x260], edx
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x260]
call fcn.100acc14
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x264], ecx
mov edx, dword [ebp - 0x264]
push edx
push 0x400
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x268], ecx
mov edx, dword [ebp - 0x268]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
add ecx, 1
mov edx, dword [ebp + 8]
mov dword [edx + 8], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
add ecx, 1
mov edx, dword [ebp + 8]
mov dword [edx + 4], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
call fcn.100bd824
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24c]
call fcn.1006a0d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x248]
call fcn.1006a0d0
jmp 0x1007de4b
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
sub edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + 8], edx
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0xc]
call fcn.100bd589
mov edx, dword [ebp + 8]
mov dword [edx + 0x20], eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x224]
call fcn.1006a0d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x21c]
call fcn.1006a0d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4