Function at 0x44dc20
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x5512ec]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x2c], edx
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x34], 0
push edi
test esi, esi
je 0x44e31f
mov eax, dword [esi]
test eax, eax
je 0x44e31f
cmp dword [esi + 8], 0
je 0x44e31f
cmp dword [esi + 0xc], 0
je 0x44e31f
inc eax
push 8
push eax
call fcn.004b6706
mov ebx, eax
add esp, 8
mov dword [ebp - 0x1c], ebx
test ebx, ebx
je 0x44e31f
inc dword [0x55a7b8]
xor eax, eax
mov ecx, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [ebp - 0x38], eax
cmp dword [esi], eax
jbe 0x44dddd
jmp 0x44dcc6
mov ecx, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea ebx, [eax*4]
mov eax, dword [esi + 8]
mov dword [ebp - 0x48], ebx
mov edi, dword [ebx + eax]
test edi, edi
jne 0x44dcde
xor esi, esi
jmp 0x44dd43
cmp byte [edi], 0
jne 0x44dcf3
push 2
push 1
call fcn.004b6706
add esp, 8
mov esi, eax
jmp 0x44dd3d
push 0
push 0
push 0xffffffffffffffff
push edi
push 0
push 0xfde9
call ecx
mov ebx, eax
cmp ebx, 1
jle 0x44dd3b
push 2
push ebx
call fcn.004b6706
mov esi, eax
add esp, 8
test esi, esi
je 0x44dd3b
mov eax, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push ebx
push esi
push 0xffffffffffffffff
push edi
push 0
push 0xfde9
call eax
cmp eax, ebx
je 0x44dd3d
push esi
call fcn.004d1211
add esp, 4
xor esi, esi
mov ecx, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x28]
shl eax, 3
mov dword [ebp - 0x3c], eax
mov dword [eax + edx + 4], esi
mov eax, dword [ebx + 0xc]
mov ebx, dword [ebp - 0x48]
mov ebx, dword [ebx + eax]
test ebx, ebx
je 0x44ddc0
cmp byte [ebx], 0
jne 0x44dd78
push 2
push 1
call fcn.004b6706
add esp, 8
mov esi, eax
jmp 0x44ddc2
push 0
push 0
push 0xffffffffffffffff
push ebx
push 0
push 0xfde9
call ecx
mov edi, eax
cmp edi, 1
jle 0x44ddc0
push 2
push edi
call fcn.004b6706
mov esi, eax
add esp, 8
test esi, esi
je 0x44ddc0
mov eax, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push edi
push esi
push 0xffffffffffffffff
push ebx
push 0
push 0xfde9
call eax
cmp eax, edi
je 0x44ddc2
push esi
call fcn.004d1211
add esp, 4
xor esi, esi
mov eax, dword [ebp - 0x3c]
mov ebx, dword [ebp - 0x1c]
mov dword [eax + ebx], esi
mov eax, dword [ebp - 0x38]
mov esi, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x38], eax
cmp eax, dword [esi]
jb 0x44dcc0
lea eax, [ebx + eax*8]
mov dword [eax + 4], 0x542acc
push 0xc23
mov dword [ebp - 0x3c], eax
call fcn.0041e970
mov edi, eax
add esp, 4
test edi, edi
jne 0x44de0a
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor esi, esi
jmp 0x44de87
cmp byte [edi], 0
jne 0x44de25
push 2
push 1
call fcn.004b6706
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
add esp, 8
mov esi, eax
jmp 0x44de87
push 0
push 0
push 0xffffffffffffffff
push edi
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ebx, eax
cmp ebx, 1
jg 0x44de48
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
jmp 0x44de82
push 2
push ebx
call fcn.004b6706
mov esi, eax
add esp, 8
test esi, esi
jne 0x44de61
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
jmp 0x44de82
push ebx
push esi
push 0xffffffffffffffff
push edi
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
push 0xfde9
call edi
cmp eax, ebx
je 0x44de84
push esi
call fcn.004d1211
add esp, 4
xor esi, esi
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x3c]
mov ecx, 0x515960
cmp dword [ebp - 0x30], 0
mov dword [eax], esi
lea eax, [ebp - 0x18]
push eax
push 0x5154b0
push 3
mov eax, 0x515970
push 0
cmove eax, ecx
push eax
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x44dec1
mov edx, dword [ebp - 0x18]
test edx, edx
jne 0x44df10
mov eax, 0xc0083de1
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
call fcn.0044b6b0
push eax
push str.CoCreateInstance_for_FileOpenDialog_failed:__s
call fcn.0044b0b0
add esp, 8
mov edx, dword [ebp - 0x1c]
push edx
call fcn.004d1211
mov ecx, dword [ebp - 0x18]
add esp, 4
test ecx, ecx
je 0x44def6
mov eax, dword [ecx]
push ecx
mov eax, dword [eax + 8]
call eax
dec dword [0x55a7b8]
mov eax, dword [ebp - 0x24]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a8b60
mov esp, ebp
pop ebp
ret
mov ecx, dword [edx]
push ebx
mov ebx, dword [ebp - 0x28]
mov eax, dword [ebx]
inc eax
push eax
mov eax, dword [ecx + 0x10]
push edx
call eax
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x44df91
lea eax, [ebp - 0x20]
mov dword [ebp - 0x14], 0x374de290
push eax
push 0
push 0
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], 0x4565123f
push eax
mov dword [ebp - 0xc], 0xc4396491
mov dword [ebp - 8], 0x7b465e92
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
js 0x44e02b
lea eax, [ebp - 0x34]
push eax
push 0x5150b0
push 0
push dword [ebp - 0x20]
call dword [sym.imp.SHELL32.dll_SHCreateItemFromParsingName]
test eax, eax
js 0x44df83
mov eax, dword [ebp - 0x18]
push dword [ebp - 0x34]
push eax
mov ecx, dword [eax]
mov eax, dword [ecx + 0x2c]
call eax
push dword [ebp - 0x20]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x44e02b
cmp byte [eax], 0
jne 0x44dfa6
push 2
push 1
call fcn.004b6706
add esp, 8
mov esi, eax
jmp 0x44dff2
push 0
push 0
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
call edi
mov edi, eax
cmp edi, 1
jle 0x44dff0
push 2
push edi
call fcn.004b6706
mov esi, eax
add esp, 8
test esi, esi
je 0x44dff0
mov edx, dword [ebp - 0x2c]
push edi
push esi
push 0xffffffffffffffff
push edx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, edi
je 0x44dff2
push esi
call fcn.004d1211
add esp, 4
xor esi, esi
lea eax, [ebp - 0x34]
mov dword [ebp - 0x20], esi
push eax
push 0x5150b0
push 0
push esi
call dword [sym.imp.SHELL32.dll_SHCreateItemFromParsingName]
test eax, eax
js 0x44e019
mov eax, dword [ebp - 0x18]
push dword [ebp - 0x34]
push eax
mov ecx, dword [eax]
mov eax, dword [ecx + 0x30]
call eax
push dword [ebp - 0x20]
call fcn.004d1211
add esp, 4
mov dword [ebp - 0x20], 0
mov esi, dword [ebx + 4]
test esi, esi
je 0x44e08a
cmp byte [esi], 0
je 0x44e08a
push 0
push 0
push 0xffffffffffffffff
push esi
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ebx, eax
cmp ebx, 1
jg 0x44e056
xor edi, edi
jmp 0x44e0a8
push 2
push ebx
call fcn.004b6706
mov edi, eax
add esp, 8
test edi, edi
je 0x44e0a8
push ebx
push edi
push 0xffffffffffffffff
push esi
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, ebx
je 0x44e09c
push edi
call fcn.004d1211
add esp, 4
xor edi, edi
jmp 0x44e0a8
push 2
push 1
call fcn.004b6706
mov edi, eax
add esp, 8
test edi, edi
je 0x44e0a8
mov eax, dword [ebp - 0x18]
push edi
push eax
mov ecx, dword [eax]
mov eax, dword [ecx + 0x3c]
call eax
mov ebx, dword [ebp - 0x28]
mov ebx, dword [ebx + 8]
test ebx, ebx
je 0x44e11b
mov ebx, dword [ebx]
test ebx, ebx
jne 0x44e0bf
xor esi, esi
jmp 0x44e139
cmp byte [ebx], 0
je 0x44e11b
push 0
push 0
push 0xffffffffffffffff
push ebx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [ebp - 0x2c], eax
cmp eax, 1
jg 0x44e0e4
xor esi, esi
jmp 0x44e139
push 2
push eax
call fcn.004b6706
mov esi, eax
add esp, 8
test esi, esi
je 0x44e139
push dword [ebp - 0x2c]
push esi
push 0xffffffffffffffff
push ebx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, dword [ebp - 0x2c]
je 0x44e12d
push esi
call fcn.004d1211
add esp, 4
xor esi, esi
jmp 0x44e139
push 2
push 1
call fcn.004b6706
mov esi, eax
add esp, 8
test esi, esi
je 0x44e139
mov eax, dword [ebp - 0x18]
push esi
push eax
mov ecx, dword [eax]
mov eax, dword [ecx + 0x58]
call eax
mov eax, dword [ebp - 0x40]
test eax, eax
jne 0x44e144
xor edx, edx
jmp 0x44e146
mov edx, dword [eax]
mov eax, dword [ebp - 0x18]
push edx
push eax
mov ecx, dword [eax]
mov eax, dword [ecx + 0x14]
call eax
mov eax, dword [ebp - 0x18]
push dword [0x5a2ae4]
push eax
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
call eax
mov edx, dword [ebp - 0x40]
mov ebx, eax
mov dword [ebp - 0x30], ebx
test edx, edx
je 0x44e17b
mov eax, dword [ebp - 0x18]
push edx
push eax
mov ecx, dword [eax]
mov eax, dword [ecx + 0x18]
call eax
push esi
call fcn.004d1211
add esp, 4
push edi
call fcn.004d1211
mov edi, dword [ebp - 0x28]
xor esi, esi
add esp, 4
cmp dword [edi], esi
jbe 0x44e1ce
mov ebx, dword [ebp - 0x1c]
nop dword [eax]
push dword [ebx + esi*8 + 4]
call fcn.004d1211
add esp, 4
mov dword [ebx + esi*8 + 4], 0
push dword [ebx + esi*8]
call fcn.004d1211
mov dword [ebx + esi*8], 0
add esp, 4
inc esi
cmp esi, dword [edi]
jb 0x44e1a0
mov ebx, dword [ebp - 0x30]
mov edi, dword [ebp - 0x1c]
push dword [edi + esi*8]
call fcn.004d1211
add esp, 4
mov dword [edi + esi*8], 0
push edi
call fcn.004d1211
add esp, 4
mov dword [ebp - 0x1c], 0
test ebx, ebx
js 0x44e2fd
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x44]
push edx
push eax
mov ecx, dword [eax]
mov eax, dword [ecx + 0x50]
call eax
test eax, eax
js 0x44dedb
mov eax, dword [ebp - 0x44]
lea edx, [ebp - 0x20]
push edx
push 0x80058000
push eax
mov ecx, dword [eax]
mov eax, dword [ecx + 0x14]
call eax
test eax, eax
js 0x44e2d3
mov edi, dword [ebp - 0x20]
cmp word [edi], 0
jne 0x44e25f
push 1
push 1
call fcn.004b6706
add esp, 8
mov dword [ebp - 0x24], eax
push dword [ebp - 0x20]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, dword [ebp - 0x44]
push eax
mov ecx, dword [eax]
mov eax, dword [ecx + 8]
call eax
jmp 0x44dedb
mov ebx, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push edi
push 0
push 0xfde9
call ebx
mov esi, eax
cmp esi, 1
jle 0x44e2b3
push 1
push esi
call fcn.004b6706
add esp, 8
mov dword [ebp - 0x24], eax
test eax, eax
je 0x44e2b3
push 0
push 0
push esi
push eax
push 0xffffffffffffffff
push edi
push 0
push 0xfde9
call ebx
cmp eax, esi
je 0x44e2ba
push dword [ebp - 0x24]
call fcn.004d1211
add esp, 4
mov dword [ebp - 0x24], 0
push dword [ebp - 0x20]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, dword [ebp - 0x44]
push eax
mov ecx, dword [eax]
mov eax, dword [ecx + 8]
call eax
jmp 0x44dedb
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
call fcn.0044b6b0
push eax
push str.Unable_to_access_file_path:__s
call fcn.0044b0b0
mov eax, dword [ebp - 0x44]
add esp, 8
mov ecx, dword [eax]
push eax
mov eax, dword [ecx + 8]
call eax
jmp 0x44dedb
cmp bx, 0x4c7
je 0x44dedb
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
call fcn.0044b6b0
push eax
push str.Could_not_show_FileOpenDialog:__s
jmp 0x44ded3
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a8b60
mov esp, ebp
pop ebp
ret