Function at 0x41ba19
Capabilities:
Get common file path

Disassembly:
push 0xc4
mov eax, 0x42419e
call fcn.0042193f
mov ebx, ecx
push 0xc8
push dword [ebx]
call dword [sym.imp.USER32.dll_LoadMenuW]
push eax
push dword [ebx + 4]
mov dword [ebx + 0x3cc], eax
call dword [sym.imp.USER32.dll_SetMenu]
push 0xca
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0xc9
push dword [ebx + 4]
mov dword [ebx + 0x14], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebx + 0x10], eax
xor ecx, ecx
lea eax, [ebp - 0xd0]
mov dword [ebp - 0xd0], 0x26
push eax
push ecx
push 0x1061
push dword [ebx + 0x14]
mov dword [ebp - 0xc8], ecx
mov dword [ebp - 0xc4], 0x4021f0
mov dword [ebp - 0xb4], ecx
call dword [sym.imp.USER32.dll_SendMessageW]
push 0xd2
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0xcc
push dword [ebx + 4]
mov dword [ebx + 0x378], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0xce
push dword [ebx + 4]
mov dword [ebx + 0x37c], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0xd0
push dword [ebx + 4]
mov dword [ebx + 0x380], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0xd4
push dword [ebx + 4]
mov dword [ebx + 0x384], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push 3
push dword [ebx + 4]
lea esi, [ebx + 0x388]
mov dword [esi], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push 5
push dword [ebx + 4]
lea edi, [ebx + 0x38c]
mov dword [edi], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push 4
push dword [ebx + 4]
mov dword [ebx + 0x390], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebx + 0x394], eax
lea eax, [ebx + 0x16c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea ecx, [ebx + 8]
call dword [sym.imp.MFC42u.dll_CString::Empty]
push 0x420
xor eax, eax
push eax
push 0x1036
push dword [ebx + 0x14]
mov dword [ebx + 0x64], eax
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [ebx + 0x5c]
call dword [sym.imp.MFC42u.dll_CString::Empty]
lea ecx, [ebx + 0x60]
call dword [sym.imp.MFC42u.dll_CString::Empty]
xor eax, eax
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x30], eax
push eax
push eax
push eax
push eax
lea eax, [ebx + 0x34]
push eax
call dword [sym.imp.USER32.dll_SetRect]
xor eax, eax
mov dword [ebx + 0x18], 0x21
inc eax
push eax
push 0
push 0x445
push dword [ebx + 0x37c]
mov dword [ebx + 0x58], eax
mov dword [ebx + 0x374], eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 1
push 0x459
push dword [ebx + 0x37c]
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 0x20]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x30]
push eax
push dword [ebx + 0x390]
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x40]
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x50]
push eax
push dword [ebx + 0x394]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x28]
sub ecx, dword [ebp - 0x20]
sub eax, dword [ebp - 0x30]
cmp ecx, eax
jle 0x41bc24
lea esi, [ebp - 0x20]
lea edi, [ebp - 0x30]
jmp 0x41bc2a
lea esi, [ebp - 0x30]
lea edi, [ebp - 0x20]
mov ecx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x38]
sub ecx, dword [ebp - 0x50]
sub eax, dword [ebp - 0x40]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
cmp eax, ecx
jle 0x41bc46
lea esi, [ebp - 0x40]
lea edi, [ebp - 0x50]
jmp 0x41bc4c
lea esi, [ebp - 0x50]
lea edi, [ebp - 0x40]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x20]
push ecx
push eax
lea ecx, [ebx + 0x388]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.00420a82
push ecx
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebx + 0x390]
call fcn.00420a82
push ecx
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebx + 0x38c]
call fcn.00420a82
push ecx
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebx + 0x394]
call fcn.00420a82
xor edi, edi
lea ecx, [ebp - 0x90]
push 0x4021f0
mov dword [ebx + 0x398], edi
mov dword [ebx + 0x39c], edi
mov dword [ebx + 0x3a0], edi
call dword [sym.imp.MFC42u.dll_CString::CString_1]
push eax
lea ecx, [ebx + 0x3ac]
mov dword [ebp - 4], edi
call dword [0x42e224]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x90]
call dword [sym.imp.MFC42u.dll_CString::CString]
mov ecx, ebx
mov dword [ebx + 0x3b0], edi
mov dword [ebx + 0x3a4], edi
mov dword [ebx + 0x3a8], edi
call fcn.0041c26a
mov ecx, ebx
call fcn.0041c363
lea esi, [ebx + 0x3b8]
mov dword [ebx + 0x168], edi
push 0x4021f0
mov ecx, esi
call dword [0x42e228]
lea ecx, [ebx + 0x3bc]
push 0x4021f0
call dword [0x42e228]
push 0x4021f0
lea ecx, [ebx + 0x3c0]
call dword [0x42e228]
push 0x24
mov dword [ebx + 0x3c8], edi
mov dword [ebx + 0x3c4], edi
mov dword [ebx + 0x1c], edi
call dword [sym.imp.MFC42u.dll_operatornew]
pop ecx
mov dword [ebp - 0xa4], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x41bd62
mov ecx, eax
call fcn.0040ea85
mov edi, eax
or dword [ebp - 4], 0xffffffff
test edi, edi
je 0x41bda3
mov eax, dword [edi]
push dword [ebx + 4]
push 0x4021f0
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x42e58c]
mov ecx, edi
call esi
test eax, eax
jns 0x41bd9b
mov eax, dword [edi]
push 1
mov esi, dword [eax]
mov ecx, esi
call dword [0x42e58c]
mov ecx, edi
call esi
xor edi, edi
lea esi, [ebx + 0x3b8]
jmp 0x41bda5
xor edi, edi
mov dword [ebx + 0x1c], edi
lea ecx, [ebx + 0x3bc]
mov eax, dword [ecx]
xor edi, edi
mov dword [ebx + 0x20], edi
mov dword [ebx + 0x28], edi
cmp dword [eax - 8], edi
je 0x41bdc6
push ecx
mov ecx, esi
call dword [0x42e224]
mov edx, dword [esi]
cmp dword [edx - 8], edi
je 0x41be06
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x41bdd2
sub ecx, esi
sar ecx, 1
lea eax, [ecx - 1]
test eax, eax
js 0x41be06
cmp word [edx + eax*2], 0x2e
je 0x41bdf4
sub eax, 1
jns 0x41bde8
test eax, eax
js 0x41be06
inc eax
mov ecx, ebx
push eax
push edx
call fcn.0041c4ea
test eax, eax
jns 0x41be15
cmp dword [ebx + 0x1c], edi
je 0x41be15
push dword [ebx + 0x1c]
mov ecx, ebx
call fcn.0041d669
push 0xd5
push dword [0x42b748]
call dword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov dword [ebx + 0x3d0], eax
lea edi, [ebp - 0x60]
xor eax, eax
stosd dword es:[edi], eax
push 0x2c
pop esi
push esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
push eax
lea eax, [ebp - 0x8c]
push eax
call sub.msvcrt.dll_memset
xor eax, eax
mov dword [ebp - 0x8c], esi
lea edi, [ebp - 0xa0]
add esp, 0xc
stosd dword es:[edi], eax
xor ecx, ecx
mov dword [ebp - 0x84], ecx
push 0x32
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
pop eax
push ecx
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], eax
lea eax, [ebp - 0x60]
push eax
push ecx
push 0x30
mov dword [ebp - 0x98], 0x258
mov dword [ebp - 0x94], 0x1c2
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
test eax, eax
je 0x41bec0
mov eax, dword [ebp - 0x58]
cmp eax, 0x28a
jle 0x41bead
add eax, 0xffffffce
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x54]
cmp eax, 0x1f4
jle 0x41bec0
add eax, 0xffffffce
mov dword [ebp - 0x94], eax
lea esi, [ebp - 0xa0]
lea edi, [ebp - 0x70]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x8c]
push eax
push dword [ebx + 4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [sym.imp.USER32.dll_SetWindowPlacement]
push 0x18f
push dword [ebx]
call dword [sym.imp.USER32.dll_LoadIconW]
mov esi, eax
test esi, esi
je 0x41bf0e
push esi
push 0xffffffffffffffde
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetClassLongW]
push esi
xor eax, eax
push eax
push 0x80
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
call fcn.004218ee
ret 0x10