Function at 0x1044e41
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x480
mov eax, dword [0x1061184]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 0x47c], eax
call fcn.01043764
xor ebx, ebx
cmp eax, ebx
jl 0x1045052
cmp dword [esi], ebx
jne 0x1044e84
mov eax, 0x80004003
jmp 0x1045052
cmp edi, ebx
je 0x1044f20
mov eax, dword [0x1061024]
push 0xf761
lea ecx, [ebp - 0x470]
mov dword [ebp - 0x470], eax
call fcn.010086cc
test eax, eax
jne 0x1044ec2
mov esi, 0x80004005
lea ecx, [ebp - 0x470]
call fcn.010061d0
mov eax, esi
jmp 0x1045052
push dword [ebp - 0x470]
lea ecx, [ebp - 0x478]
call fcn.01005dd3
mov eax, dword [eax]
mov ecx, dword [edi]
push eax
push ebx
push edi
call dword [ecx + 0xc]
push dword [ebp - 0x478]
mov dword [ebp - 0x474], eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp dword [ebp - 0x474], ebx
jge 0x1044eff
mov esi, dword [ebp - 0x474]
jmp 0x1044eb0
fldz
mov eax, dword [edi]
push ebx
push ecx
push ecx
fstp qword [esp]
push edi
call dword [eax + 0x10]
cmp eax, ebx
jge 0x1044f15
mov esi, eax
jmp 0x1044eb0
lea ecx, [ebp - 0x470]
call fcn.010061d0
mov ecx, esi
cmp byte [esi + 0x20], bl
je 0x1044f3a
push ebx
call fcn.01043264
cmp eax, ebx
jl 0x1045052
jmp 0x1045050
call fcn.01044a88
cmp eax, ebx
jl 0x1045052
mov eax, dword [esi + 4]
lea ecx, [ebp - 0x46c]
push ecx
push eax
mov dword [ebp - 0x46c], ebx
call fcn.010432f1
mov dword [ebp - 0x478], eax
cmp eax, ebx
mov eax, dword [ebp - 0x46c]
jge 0x1044f82
cmp eax, ebx
je 0x1044f77
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x478]
jmp 0x1045052
cmp eax, ebx
je 0x1044e7a
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x2c]
mov edi, eax
cmp edi, ebx
mov eax, dword [ebp - 0x46c]
jge 0x1044fae
cmp eax, ebx
je 0x1044fa7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, edi
jmp 0x1045052
push dword [ebp - 0x47c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x30]
mov edi, eax
cmp edi, ebx
jge 0x1044fc8
mov eax, dword [ebp - 0x46c]
jmp 0x1044f9d
mov eax, dword [esi + 4]
mov ecx, dword [eax]
push 0x2710
push eax
call dword [ecx + 0x58]
mov edi, eax
cmp edi, ebx
jl 0x1044fc0
cmp byte [esi + 0x29], bl
je 0x104507a
mov ecx, dword [esi]
add ecx, 0x148
call fcn.01045234
mov edi, eax
cmp edi, ebx
je 0x1045063
mov eax, dword [edi]
cmp eax, ebx
je 0x104502b
mov edx, dword [esi]
push dword [edx + 0x188]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x38]
mov esi, eax
cmp esi, ebx
jge 0x104502b
mov eax, dword [ebp - 0x46c]
cmp eax, ebx
je 0x1044ebb
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x1044ebb
mov edi, dword [edi]
mov eax, dword [ebp - 0x46c]
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x20]
mov esi, eax
cmp esi, ebx
jl 0x1045012
mov eax, dword [ebp - 0x46c]
cmp eax, ebx
je 0x1045050
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0100f14b
leave
ret 8
mov eax, dword [ebp - 0x46c]
cmp eax, ebx
je 0x1045073
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, 0x80070057
jmp 0x1045052
mov eax, dword [0x1061024]
mov esi, 0x104
push esi
lea ecx, [ebp - 0x470]
mov dword [ebp - 0x470], eax
call fcn.01007539
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea ecx, [ebp - 0x470]
test eax, eax
jne 0x10450c4
call fcn.010061d0
mov eax, dword [ebp - 0x46c]
cmp eax, ebx
je 0x10450bd
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, 0x80004005
jmp 0x1045052
push 0xffffffffffffffff
call fcn.01008355
push 0x5c
pop eax
push dword [ebp - 0x470]
lea ecx, [ebp - 0x468]
mov word [ebp - 0x10], ax
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
call fcn.01010072
lea ecx, [ebp - 0x468]
test eax, eax
jne 0x1045100
call fcn.0100fcf8
lea ecx, [ebp - 0x470]
jmp 0x10450a8
lea eax, [ebp - 0x474]
push eax
call fcn.010104dc
push 0x100462c
lea ecx, [ebp - 0x478]
call fcn.010133a5
lea eax, [ebp - 0x478]
push eax
lea eax, [ebp - 0x474]
push eax
lea eax, [ebp - 0x480]
push eax
call fcn.01026852
push dword [eax]
lea ecx, [ebp - 0x47c]
call fcn.01005dd3
lea ecx, [ebp - 0x480]
call fcn.010061d0
lea ecx, [ebp - 0x478]
call fcn.010061d0
mov eax, dword [ebp - 0x46c]
push dword [ebp - 0x47c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
push dword [ebp - 0x47c]
mov esi, eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea ecx, [ebp - 0x474]
call fcn.010061d0
lea ecx, [ebp - 0x468]
call fcn.0100fcf8
lea ecx, [ebp - 0x470]
call fcn.010061d0
jmp 0x104503c