Function at 0x45dba0
Capabilities:
Get common file path
Hide graphical window

Disassembly:
sub esp, 0x18
lea eax, [esp + 8]
push ebx
push ebp
push esi
mov esi, ecx
push edi
push eax
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov edi, dword [esi + 4]
xor ebp, ebp
mov dword [esi + 0x454], ebp
mov eax, dword [0x547e68]
cmp eax, ebp
lea ebx, [esi + 0x41c]
jne 0x45dbd8
mov dword [0x547e68], ebp
lea edx, [ebx + 0x1c]
push edx
push 0x547e38
push 0x55e2f8
call fcn.0041ae50
push ebp
push eax
push ebp
push ebp
push 0x54000000
lea eax, [esp + 0x2c]
push ebp
push eax
push edi
mov ecx, ebx
call fcn.00424bb0
mov ecx, dword [esi + 4]
push 0x403
push ecx
lea ecx, [esi + 0x4ac]
call fcn.00516600
mov edx, dword [esi + 4]
cmp ebx, ebp
mov dword [esi + 0x498], eax
mov dword [esi + 0x538], edx
mov dword [esp + 0x14], ebp
je 0x45dc35
lea ecx, [esi + 0x420]
jmp 0x45dc37
xor ecx, ecx
mov ecx, dword [ecx]
push ecx
push eax
call dword [sym.imp.USER32.dll_SetParent]
mov edx, dword [esi + 0x498]
lea edi, [esi + 0x43c]
mov ecx, edi
mov dword [edi], edx
call fcn.0042dc40
mov eax, dword [esi + 4]
push 0xe800
push 0x5600094c
push ebp
push 0x100
push eax
call fcn.00411430
push 0xe800
mov dword [esi + 0x4a0], eax
mov eax, dword [esi + 4]
push 0x5600094c
push ebp
push 0x104
push eax
call fcn.00411430
add esp, 0x28
mov dword [esi + 0x49c], eax
mov eax, dword [esi + 0x4a0]
push ebp
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
push 1
push 0x416
push eax
call ebp
mov ecx, dword [esi + 0x4a0]
push 0
push 1
push 0x416
push ecx
call ebp
mov edx, dword [esi + 0x4a0]
push 0
push 1
push 0x416
push edx
call ebp
mov eax, dword [esi + 0x4a0]
push 0
push 1
push 0x416
push eax
call ebp
mov eax, dword [esi + 0x5cc]
test eax, eax
jne 0x45dd12
mov ecx, dword [esi + 0x49c]
push 0
push 0
push 0x416
push ecx
call ebp
mov edx, dword [esi + 0x4a0]
push 0
push 0
push 0x416
push edx
call ebp
test ebx, ebx
je 0x45dd1e
lea eax, [esi + 0x420]
jmp 0x45dd20
xor eax, eax
mov eax, dword [eax]
lea ebp, [esi + 0x24]
push ebp
mov dword [esp + 0x14], eax
lea ecx, [ebp + 8]
push ecx
push 0x55e2f8
call fcn.0040f8b0
mov edx, dword [esp + 0x10]
mov eax, dword [0x55e300]
push 0
push 0x414350
push edx
push 0x66
push eax
call fcn.0044a980
test ebx, ebx
je 0x45dd5d
lea eax, [esi + 0x420]
jmp 0x45dd5f
xor eax, eax
mov ecx, dword [eax]
mov edx, dword [esi + 0x28]
lea ebx, [esi + 0x28]
push ecx
push edx
call dword [sym.imp.USER32.dll_SetParent]
mov eax, ebp
mov ecx, edi
neg eax
sbb eax, eax
and eax, ebx
mov eax, dword [eax]
mov dword [edi + 4], eax
call fcn.0042dc40
test edi, edi
je 0x45dd8c
lea eax, [edi - 0x20]
jmp 0x45dd8e
xor eax, eax
mov edx, dword [eax + 4]
lea ecx, [edi + 8]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
test byte [edi + 0x44], 1
je 0x45ddab
mov ecx, edi
call fcn.00446750
jmp 0x45ddbc
mov eax, dword [edi + 0x44]
shr eax, 2
test al, 1
je 0x45ddbc
mov ecx, edi
call fcn.0042de60
mov ecx, edi
call fcn.0042dc40
mov ecx, dword [edi]
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x45dddb
mov edx, dword [edi]
push 5
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [edi + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [edi + 0x20]
xor eax, eax
cmp ecx, eax
je 0x45ddf3
mov dword [edi + 0x20], eax
mov ecx, edi
mov dword [edi + 0x48], eax
call fcn.0042dc40
mov ecx, dword [esi + 0x420]
push 0xffffffffffffffec
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
or ecx, 0x10000
cmp eax, ecx
je 0x45de28
mov edx, dword [esi + 0x420]
push ecx
push 0xffffffffffffffec
push edx
call dword [sym.imp.USER32.dll_SetWindowLongW]
neg ebp
sbb ebp, ebp
and ebp, ebx
mov eax, dword [ebp]
push eax
call fcn.00407630
add esp, 4
lea ecx, [esp + 0x14]
push ecx
push 0
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov edx, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_SetTimer]
push 0
push 0x3e8
push 0x7d0
push edx
mov dword [esi + 0x5b0], 1
call edi
mov eax, dword [esi + 4]
push 0
push 0xfa
push 0x7d2
push eax
call edi
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x18
ret 0x10