Function at 0x41ff70
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x48c8b0]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
push 0
mov ebx, ecx
push 0x6a
mov dword [ebp - 0x3c], ebx
call fcn.004273a0
mov dword [ebx], vtable.CWimDialog.0
call fcn.00425809
mov ecx, eax
test ecx, ecx
je 0x420251
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx + 0x98], eax
call fcn.00425809
mov ecx, eax
test ecx, ecx
je 0x42025b
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx + 0x9c], eax
call fcn.00425809
mov ecx, eax
test ecx, ecx
je 0x420265
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx + 0xa0], eax
call fcn.00425809
mov ecx, eax
test ecx, ecx
je 0x42026f
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx + 0xa4], eax
call fcn.00425809
mov ecx, eax
test ecx, ecx
je 0x420279
mov eax, dword [ecx]
lea esi, [ebx + 0xac]
mov dword [ebp - 0x38], esi
call dword [eax + 0xc]
add eax, 0x10
lea ecx, [ebx + 0xb4]
mov dword [esi], eax
call fcn.00424630
call fcn.00425809
mov ecx, eax
test ecx, ecx
je 0x420283
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx + 0xc8], eax
call fcn.00425809
mov ecx, eax
test ecx, ecx
je 0x42028d
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx + 0xcc], eax
call fcn.00425809
mov ecx, eax
test ecx, ecx
je 0x420297
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
lea ecx, [ebx + 0xd4]
mov dword [ebx + 0xd0], eax
call fcn.00428826
mov dword [ebx + 0xd4], vtable.CListCtrl.0
call fcn.00425809
mov ecx, eax
test ecx, ecx
je 0x4202a1
mov eax, dword [ecx]
lea edi, [ebx + 0x148]
mov dword [ebp - 0x34], edi
call dword [eax + 0xc]
add eax, 0x10
lea ecx, [ebx + 0x14c]
mov dword [edi], eax
call fcn.00428826
push 0x47c3e0
lea ecx, [ebx + 0x1c0]
mov dword [ebx + method.CProgressCtrl.virtual_0], vtable.CProgressCtrl.0
call fcn.004169c0
lea ecx, [ebx + 0x1c4]
call fcn.00428826
mov dword [ebx + method.CComboBox.virtual_0], vtable.CComboBox.0
mov dword [ebx + 0xb0], 0
call fcn.0042ecac
mov eax, dword [eax + 4]
mov edx, dword [eax + 0x68]
test edx, edx
jne 0x42011d
xor ecx, ecx
jmp 0x420131
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x420122
sub ecx, esi
sar ecx, 1
push ecx
push edx
mov ecx, edi
call fcn.00416dd0
mov edx, edi
mov eax, dword [edx]
mov esi, dword [eax - 0xc]
dec esi
js 0x4202ab
mov ecx, dword [edx]
mov edi, dword [ecx - 0xc]
cmp esi, edi
jg 0x4202ab
cmp word [ecx + esi*2], 0x5c
je 0x4201ef
mov ebx, 1
cmp esi, 0x7ffffffe
jg 0x4202b5
lea eax, [esi + 1]
cmp eax, edi
jle 0x420180
mov ebx, edi
sub ebx, esi
test ebx, ebx
jle 0x4201e3
mov eax, edi
sub edi, esi
sub edi, ebx
sub eax, ebx
inc edi
cmp dword [ecx - 4], 1
mov dword [ebp - 0x40], eax
jle 0x42019f
push dword [ecx - 0xc]
mov ecx, edx
call fcn.00416c30
mov edx, dword [ebp - 0x34]
mov edx, dword [edx]
lea ecx, [edi + edi]
push ecx
lea eax, [ebx + esi]
lea eax, [edx + eax*2]
push eax
push ecx
lea eax, [edx + esi*2]
push eax
call fcn.0043de49
push eax
call fcn.00416820
mov ecx, dword [ebp - 0x40]
add esp, 0x14
test ecx, ecx
js 0x4202ab
mov edx, dword [ebp - 0x34]
mov eax, dword [edx]
cmp ecx, dword [eax - 8]
jg 0x4202ab
mov dword [eax - 0xc], ecx
mov eax, dword [edx]
xor edi, edi
mov word [eax + ecx*2], di
dec esi
jns 0x420148
jmp 0x4202ab
push 0x14
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea edx, [ebp - 0x30]
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x420201
sub edx, ecx
mov ecx, dword [ebp - 0x38]
sar edx, 1
push edx
lea eax, [ebp - 0x30]
push eax
call fcn.00416dd0
mov ecx, dword [ebp - 0x38]
push 5
push str.Temp
call fcn.004165a0
mov esi, dword [ebp - 0x3c]
mov ecx, esi
call fcn.00421f90
mov ecx, dword [ebp - 8]
pop edi
mov dword [0x494b74], esi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043ddbb
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00416fc0
push 0x80004005
call fcn.00416fc0
push 0x80004005
call fcn.00416fc0
push 0x80004005
call fcn.00416fc0
push 0x80004005
call fcn.00416fc0
push 0x80004005
call fcn.00416fc0
push 0x80004005
call fcn.00416fc0
push 0x80004005
call fcn.00416fc0
push 0x80004005
call fcn.00416fc0
push 0x80070057
call fcn.00416fc0
push 0x80070216
call fcn.00416fc0
int3