Function at 0x404f70
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x1c
mov eax, dword [0x9c48d0]
xor eax, esp
mov dword [esp + 0x14], eax
mov eax, dword [0x9f48bc]
mov ecx, dword [eax + 0xd0]
mov edx, dword [eax + 0xd4]
push ebx
push ebp
mov dword [esp + 0xc], ecx
mov ecx, dword [eax + 0xd8]
mov eax, dword [eax + 0xdc]
push esi
push edi
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
test ecx, ecx
je 0x404fd2
test eax, eax
je 0x404fd2
lea esi, [esp + 0x14]
call fcn.00421890
mov ebp, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
jmp 0x404fe6
lea esi, [esp + 0x14]
call fcn.00421980
mov esi, dword [eax]
mov edi, dword [eax + 4]
mov ebx, dword [eax + 8]
mov ebp, dword [eax + 0xc]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
push 0
push 0
push ebp
mov ebp, dword [sym.imp.USER32.dll_CreateWindowExW]
push ebx
push edi
push esi
push 0x2cf0000
push 0x9233f0
push str.SUMATRA_PDF_FRAME
push 0
call ebp
mov ebx, eax
test ebx, ebx
je 0x405077
push 0x4d8
call fcn.00659e93
mov edi, eax
add esp, 4
test edi, edi
je 0x405036
mov eax, ebx
call fcn.0043d0d0
mov esi, eax
jmp 0x405038
xor esi, esi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0
push 0
call edi
push eax
push 0
push ebx
push 0
push 0
push 0
push 0
push 0x40300000
push 0
push str.SUMATRA_PDF_CANVAS
push 0
call ebp
mov dword [esi + 0xc], eax
test eax, eax
jne 0x40508c
mov ebx, esi
call fcn.0043d450
push esi
call fcn.006590fa
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.0065865c
add esp, 0x1c
ret
cmp byte [0x9f43e9], 0
je 0x4050ab
push eax
call fcn.00456d70
add esp, 4
mov ecx, eax
mov dword [esi + 0x4d0], eax
call fcn.00456dd0
mov eax, dword [esi + 0xc]
push 0
push 3
push eax
call dword [sym.imp.USER32.dll_ShowScrollBar]
mov eax, esi
call fcn.0041b140
mov ecx, dword [0x9f48bc]
mov dword [esi + 0x12c], eax
cmp byte [ecx + 0x6c], 0
sete cl
mov byte [esi + 0x130], cl
test cl, cl
jne 0x4050e8
mov edx, dword [esi + 8]
push eax
push edx
call dword [sym.imp.USER32.dll_SetMenu]
mov eax, dword [esi + 0xc]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0xc]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0
push 0
call edi
mov edx, dword [esi + 0xc]
push eax
push 0
push edx
push SysReAllocString
push SysReAllocString
push SysReAllocString
push SysReAllocString
push SysStringLen
push 0
push str.tooltips_class32
push 8
call ebp
mov edi, esi
mov dword [esi + 0x124], eax
call fcn.00429cc0
mov ebx, esi
call fcn.00433250
mov ecx, esi
call fcn.00423f20
mov eax, esi
call fcn.00404ee0
call fcn.00422d10
test byte [0x9e8474], 2
je 0x405174
cmp dword [0x9f43ec], 0
jne 0x405174
mov eax, dword [esi + 0xc]
push 1
push eax
call dword [sym.imp.SHELL32.dll_DragAcceptFiles]
mov ecx, dword [0x9e8478]
push ecx
call fcn.00412bd0
mov dword [eax], esi
call fcn.00402990
call fcn.00455e40
xor ecx, ecx
cmp dword [0x9f4c54], ecx
je 0x4051c7
cmp dword [0x9f4c58], ecx
je 0x4051c7
mov eax, dword [0x9f4c5c]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], 1
mov dword [esp + 0x1c], ecx
cmp eax, ecx
je 0x4051c7
push 0xc
lea edx, [esp + 0x18]
push edx
push 1
push ecx
mov ecx, dword [esi + 0xc]
push ecx
call eax
mov edx, dword [0x9f48bc]
mov bl, byte [edx + 0xed]
push esi
call fcn.00434030
mov ecx, dword [esp + 0x28]
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0065865c
add esp, 0x1c
ret