Function at 0x43a05b
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x410
lea ebp, [esp - 4]
mov eax, dword [0x49a010]
xor eax, ebp
mov dword [ebp + 0x410], eax
push 0x40
mov eax, 0x47d3f3
call fcn.0044b114
push 1
mov esi, ecx
call fcn.0040fa32
mov ecx, eax
call fcn.00442e80
lea eax, [ebp - 0x2c]
xor ebx, ebx
push eax
push dword [esi + 4]
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
call dword [sym.imp.USER32.dll_GetClientRect]
push 1
push 0x3e8
call fcn.004296de
mov eax, dword [esi + 4]
mov dword [0x49becc], eax
mov eax, dword [0x49501c]
pop ecx
pop ecx
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
mov ecx, esi
mov dword [ebp - 4], ebx
call fcn.0043a001
mov eax, dword [ebp - 0x1c]
cmp dword [eax - 8], ebx
jne 0x43a268
lea ecx, [esi + 0x750]
push 0x4874bc
call fcn.0040e910
cmp dword [0x49c23c], ebx
jne 0x43a2bb
xor eax, eax
mov edi, 0x206
push edi
mov word [ebp], ax
lea eax, [ebp + 2]
push ebx
push eax
call fcn.00449bc0
xor eax, eax
push edi
mov word [ebp + 0x208], ax
lea eax, [ebp + 0x20a]
push ebx
push eax
call fcn.00449bc0
add esp, 0x18
push 0x104
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, ebx
je 0x43a1a7
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x10]
call fcn.0041077d
push ebx
push 0x5c
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.0043809e
inc eax
push eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
call fcn.0040f6b8
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.0040e8c0
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.0040bf88
push str.360360Safe
push dword [ebp - 0x10]
lea eax, [ebp + 0x208]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
cmp eax, ebx
jne 0x43a1b4
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call fcn.0040bf88
mov eax, dword [esi]
push 1
push esi
call dword [eax + 0x10]
jmp 0x43a2bb
lea eax, [ebp + 0x208]
push eax
lea ecx, [ebp - 0x14]
call fcn.0041077d
lea eax, [ebp - 0x14]
push eax
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.00439c31
lea ecx, [ebp - 0x14]
mov edi, eax
call fcn.0040bf88
cmp edi, ebx
je 0x43a19c
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x10]
mov ecx, esi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
call fcn.0043781c
cmp eax, ebx
je 0x43a19c
mov eax, dword [0x49c290]
mov ecx, dword [ebp - 0x14]
shl eax, 0x14
cdq
cmp ecx, edx
jg 0x43a211
jl 0x43a19c
mov ecx, dword [ebp - 0x18]
cmp ecx, eax
jb 0x43a19c
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call fcn.0040bf88
lea eax, [ebp + 0x208]
push eax
lea ecx, [esi + 0x750]
call fcn.0040e910
mov eax, dword [esi]
push ebx
push esi
call dword [eax + 0x10]
push 0x208
push ebx
mov edi, 0x49bed0
push edi
call fcn.00449bc0
add esp, 0xc
push dword [esi + 0x750]
push 0x104
push edi
call fcn.004380d0
mov dword [esi + 0x754], 1
cmp eax, ebx
jmp 0x43a2a5
mov eax, dword [esi]
push ebx
push esi
call dword [eax + 0x10]
lea eax, [ebp - 0x1c]
lea ecx, [esi + 0x750]
push eax
call fcn.0040e8c0
push 0x208
push ebx
mov edi, 0x49bed0
push edi
call fcn.00449bc0
add esp, 0xc
push dword [esi + 0x750]
push 0x104
push edi
call fcn.004380d0
test eax, eax
jl 0x43a2bb
push 1
push edi
push 0x3922
push dword [0x49bcb0]
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, esi
call fcn.004390f4
cmp dword [0x49c23c], ebx
jne 0x43a2f0
push dword [esi + 4]
lea edi, [esi + 0x758]
mov ecx, edi
call fcn.00418c89
push ebx
push ebx
mov ecx, edi
call fcn.00438d23
mov eax, dword [esi + 0x75c]
mov dword [0x49bec8], eax
jmp 0x43a32c
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x40e
push dword [esi + 4]
call edi
push ebx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x3f6
push dword [esi + 4]
call edi
push ebx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x3f7
push dword [esi + 4]
call edi
push ebx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x2c]
mov edi, dword [sym.imp.USER32.dll_MoveWindow]
push 1
lea eax, [eax + ecx - 0xbd]
push 0x43
cdq
push 0xbd
sub eax, edx
push 0xce
sar eax, 1
push eax
push dword [esi + 0xec]
call edi
push 1
push 0x14
push 0x5c
push 0x13c
push 0x12
push dword [esi + 0x1b4]
call edi
xor eax, eax
lea edi, [ebp - 0x4c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x4c]
push eax
push dword [esi + 0x1b4]
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x4c]
push eax
lea ecx, [esi + 4]
call fcn.0041e7f7
push 1
push 0x14
push 0x5c
push 0x13d
push 0x70
push dword [esi + 0x544]
call dword [sym.imp.USER32.dll_MoveWindow]
xor eax, eax
lea edi, [ebp - 0x3c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x3c]
push eax
push dword [esi + 0x544]
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x3c]
push eax
lea ecx, [esi + 4]
call fcn.0041e7f7
mov eax, dword [ebp - 0x44]
push 5
push ebx
push ebx
push dword [ebp - 0x38]
add eax, 5
push eax
push ebx
push dword [esi + 0x544]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 1
push 0x14
push 0x8c
push 0x13e
push 0x1f4
push dword [esi + 0x47c]
call dword [sym.imp.USER32.dll_MoveWindow]
push 0x2000000
push ebx
push ebx
lea ecx, [esi + 0x84]
call fcn.004389be
lea ecx, [ebp - 0x1c]
call fcn.0040bf88
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x410]
xor ecx, ebp
call fcn.00449c3a
add ebp, 0x414
leave
ret 8