Function at 0x404160
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x56800c]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [0x56be3c]
push ebx
push esi
push edi
mov eax, dword [ecx + 0xd0]
mov dword [ebp - 0x14], eax
mov eax, dword [ecx + 0xd4]
mov dword [ebp - 0x10], eax
mov eax, dword [ecx + 0xd8]
mov ecx, dword [ecx + 0xdc]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], ecx
test eax, eax
je 0x4041be
test ecx, ecx
je 0x4041be
lea ecx, [ebp - 0x14]
call fcn.00462040
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
jmp 0x4041d4
lea ecx, [ebp - 0x14]
call fcn.00462130
mov ecx, dword [eax]
mov ebx, dword [eax + 4]
mov edi, dword [eax + 8]
mov esi, dword [eax + 0xc]
mov dword [ebp - 0x18], ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
push 0
push 0
push esi
push edi
push ebx
push dword [ebp - 0x18]
push 0x2cf0000
push 0x4ef17c
push str.SUMATRA_PDF_FRAME
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edi, eax
test edi, edi
je 0x404271
mov ecx, edi
call fcn.00401b40
push 0x4a8
call fcn.004bcd25
add esp, 4
mov ecx, eax
push edi
call fcn.00466eb0
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
push 0
push 0
mov dword [ebp - 0x18], esi
call ebx
push eax
push 0
push edi
mov edi, dword [sym.imp.USER32.dll_CreateWindowExW]
push 0
push 0
push 0
push 0
push 0x40300000
push 0
push str.SUMATRA_PDF_CANVAS
push 0
call edi
mov dword [esi + 0x60], eax
test eax, eax
jne 0x404284
mov ecx, esi
call fcn.00467250
push 0x4a8
push esi
call fcn.004bcfc5
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004bcb15
mov esp, ebp
pop ebp
ret
cmp byte [0x56b080], 0
je 0x4042a1
mov ecx, eax
call fcn.0041efb0
mov ecx, eax
mov dword [esi + 0x4a0], eax
call fcn.0041f010
push 0
push 3
push dword [esi + 0x60]
call dword [sym.imp.USER32.dll_ShowScrollBar]
mov ecx, esi
call fcn.00475fa0
mov dword [esi + 0x120], eax
mov eax, dword [0x56be3c]
cmp byte [eax + 0x70], 0
sete al
mov byte [esi + 0x124], al
test al, al
jne 0x4042e0
push dword [esi + 0x120]
push dword [esi + 0x5c]
call dword [sym.imp.USER32.dll_SetMenu]
push 5
push dword [esi + 0x60]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 0x60]
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0
push 0
call ebx
push eax
push 0
push dword [esi + 0x60]
push SysReAllocString
push SysReAllocString
push SysReAllocString
push SysReAllocString
push SysStringLen
push 0
push str.tooltips_class32
push 8
call edi
mov ecx, esi
mov dword [esi + 0x118], eax
call fcn.0047fd70
mov ecx, esi
call fcn.00465f80
mov ecx, esi
call fcn.00463bb0
mov ecx, esi
call fcn.00404040
mov ecx, esi
call fcn.00462830
mov eax, dword [0x5689b8]
shr eax, 1
test al, 1
je 0x40436c
cmp dword [0x56b084], 0
jne 0x40436c
push 1
push dword [esi + 0x60]
call dword [sym.imp.SHELL32.dll_DragAcceptFiles]
lea eax, [ebp - 0x18]
push eax
call fcn.0040bc80
mov esi, dword [ebp - 0x18]
mov ecx, esi
call fcn.00402310
mov ecx, esi
call fcn.004040d0
cmp dword [0x56b50c], 0
je 0x4043c5
cmp dword [0x56b56c], 0
je 0x4043c5
mov eax, dword [0x56b54c]
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 1
mov dword [ebp - 8], 0
test eax, eax
je 0x4043c5
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push 0
push dword [esi + 0x60]
call eax
mov ecx, dword [0x56be3c]
mov dl, byte [ecx + 0xed]
mov ecx, esi
call fcn.00466810
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004bcb15
mov esp, ebp
pop ebp
ret