Function at 0x450330
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x55da1b
mov eax, dword fs:[0]
push eax
sub esp, 0x138
mov eax, dword [0x5bc9cc]
xor eax, esp
mov dword [esp + 0x130], eax
push ebx
push esi
push edi
mov eax, dword [0x5bc9cc]
xor eax, esp
push eax
lea eax, [esp + 0x148]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x7c], 0
je 0x450532
cmp dword [ebx + 0x80], 0
je 0x450532
cmp dword [ebx + 0x88], 0
mov dword [ebx + 0xb8], 1
je 0x4503a7
lea eax, [ebx + 0x84]
call fcn.00441f30
fld1
fcom qword [0x5c1020]
fnstsw ax
test ah, 0x44
jp 0x4503d1
fcomp qword [0x5c1028]
fnstsw ax
test ah, 0x44
jp 0x4503d3
call fcn.0050b8e1
push 0
push 0x1d3
jmp 0x4503df
fstp st(0)
call fcn.0050b8e1
push 0
push 0x1d6
mov eax, dword [eax + 8]
lea edi, [ebx + 0x84]
push edi
call fcn.00443e90
push edi
push 0x1ac
lea esi, [ebx + 0x22c]
call fcn.004691d0
push edi
push 0x1af
lea esi, [ebx + 0x2c8]
call fcn.004691d0
lea edi, [ebx + 0x424]
push 0x190
push 0xd
mov esi, edi
call fcn.0041c890
push 0x2bc
lea esi, [ebx + 0x42c]
push 0xd
call fcn.0041c890
add esp, 0x10
test edi, edi
je 0x450440
mov edi, dword [edi + 4]
mov eax, dword [ebx + 0x388]
push 1
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0x30
push eax
call edi
lea esi, [ebx + 0x368]
mov eax, 0x5a5a5a
call fcn.0041a870
lea eax, [ebx + 0x42c]
test eax, eax
je 0x450471
mov eax, dword [eax + 4]
mov ecx, dword [ebx + 0x3f0]
push 1
push eax
push 0x30
push ecx
call edi
call fcn.0050d22b
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x450499
push 0x80004005
call fcn.00402660
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
push 0x82
lea ecx, [esp + 0x38]
push ecx
mov dword [esp + 0x158], 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [esp + 0x34]
lea edx, [eax + 1]
jmp 0x4504d0
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4504d0
sub eax, edx
push eax
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0x18]
call fcn.00450be0
push 0x10
lea eax, [esp + 0x14]
push eax
call fcn.00450b50
mov esi, dword [esp + 0x10]
mov ecx, esi
call fcn.00499880
test eax, eax
mov dword [ebx + 0x1b8], eax
jne 0x450539
lea eax, [esi - 0x10]
mov dword [esp + 0x150], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x450532
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x4506d6
push 0x558
mov ecx, ebx
call fcn.00509f54
test eax, eax
je 0x450564
mov edx, dword [eax + 0x20]
lea ecx, [esp + 0x14]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0x14]
push eax
mov ecx, ebx
call fcn.0050c13a
fld1
xor eax, eax
fld st(0)
mov dword [esp + 0x24], eax
fld qword [0x5c1020]
xor ecx, ecx
fucom st(1)
mov edx, 0x1b6
mov esi, 0xf7
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], esi
fnstsw ax
fstp st(1)
test ah, 0x44
jp 0x4505b9
fxch st(1)
fcomp qword [0x5c1028]
fnstsw ax
test ah, 0x44
jp 0x4505bb
mov ecx, dword [esp + 0x18]
fstp st(0)
mov edx, dword [esp + 0x14]
push ecx
push edx
lea eax, [esp + 0x2c]
push eax
jmp 0x4505f7
fstp st(1)
fmul qword [0x587688]
call fcn.00530bd0
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
sub ecx, eax
mov eax, dword [esp + 0x20]
sub eax, edi
sub eax, 0xf7
cdq
sub eax, edx
mov esi, eax
sar esi, 1
xor eax, eax
test esi, esi
setle al
sub eax, 1
and eax, esi
add eax, edi
push eax
push ecx
lea ecx, [esp + 0x2c]
push ecx
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [ebx + 0x20]
lea edx, [esp + 0x24]
push edx
push eax
mov eax, dword [ebx + 0x1b8]
mov edx, ebx
call fcn.00499ca0
mov eax, dword [ebx + 0x1b8]
mov edi, dword [ebx + 0x1bc]
add esp, 8
push eax
call fcn.0044fed0
mov ecx, dword [ebx + 0x80]
mov dword [ebx + 0xc0], ebx
mov esi, dword [ecx + 0x10]
lea ecx, [ebx + 0xbc]
call fcn.00463190
lea esi, [ebx + 0xd8]
push 0x56f328
mov ecx, esi
call fcn.0050bb0d
push 0x56df44
mov ecx, esi
call fcn.0050bb0d
push 0x56f184
mov ecx, esi
call fcn.0050bb0d
push 0x56f198
mov ecx, esi
call fcn.0050bb0d
push 0x56db44
mov ecx, esi
call fcn.0050bb0d
push 0x56f51c
mov ecx, esi
call fcn.0050bb0d
push ebx
mov ecx, 0x56f184
call fcn.00473cb0
push ebx
mov ecx, 0x56f198
call fcn.00473cb0
mov dword [esp + 0x150], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4506d1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x148]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x130]
xor ecx, esp
call fcn.0052944d
mov esp, ebp
pop ebp
ret