Function at 0x42dd60
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0xa0
mov eax, dword [0x9c48d0]
xor eax, esp
mov dword [esp + 0x9c], eax
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
xor ebx, ebx
push ebx
push ebx
mov dword [esp + 0x1c], ebp
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
push ebx
push ebx
push SysReAllocString
push SysReAllocString
push SysReAllocString
push SysReAllocString
push 0xc80000
mov eax, str.Document_Properties
call fcn.0044a3e0
push eax
push str.SUMATRA_PDF_PROPERTIES
push ebx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, eax
cmp esi, ebx
jne 0x42ddcf
xor al, al
jmp 0x42df93
mov eax, dword [0x9f4968]
mov dword [edi + 0x58], esi
mov dword [edi + 0x5c], ebp
cmp eax, 2
je 0x42ddf2
cmp eax, 0x17
je 0x42ddf2
cmp eax, 0x1f
je 0x42ddf2
mov dword [esp + 0x10], ebx
cmp eax, 0x25
jne 0x42ddfa
mov dword [esp + 0x10], 1
push 0xffffffffffffffec
push esi
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
cmp byte [esp + 0x10], bl
je 0x42de13
or ecx, 0x500000
jmp 0x42de19
and ecx, 0xffafffff
cmp ecx, eax
je 0x42de27
push ecx
push 0xffffffffffffffec
push esi
call dword [sym.imp.USER32.dll_SetWindowLongW]
lea eax, [esp + 0x68]
push eax
push esi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
call dword [sym.imp.USER32.dll_BeginPaint]
lea ecx, [esp + 0x18]
push ecx
mov ecx, eax
mov ebx, edi
call fcn.0042db80
add esp, 4
lea edx, [esp + 0x68]
push edx
push esi
call dword [sym.imp.USER32.dll_EndPaint]
lea eax, [esp + 0x48]
push eax
xor ebx, ebx
push esi
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
xor edi, edi
xor ebp, ebp
call dword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
je 0x42de9a
mov eax, dword [esp + 0x48]
mov edi, dword [esp + 0x50]
mov ebp, dword [esp + 0x54]
sub edi, eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x2c], eax
sub ebp, eax
lea ecx, [esp + 0x38]
push ecx
push esi
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
call dword [sym.imp.USER32.dll_GetClientRect]
test eax, eax
je 0x42deca
mov eax, dword [esp + 0x40]
sub eax, dword [esp + 0x38]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x44]
sub eax, dword [esp + 0x3c]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x58]
push edx
push eax
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x4c], ebx
call dword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
je 0x42df04
mov edx, dword [esp + 0x58]
mov ebx, dword [esp + 0x60]
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x64]
sub ebx, edx
mov dword [esp + 0x3c], eax
sub ecx, eax
jmp 0x42df0c
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x38]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x4c]
mov dword [eax + 4], edx
mov dword [eax + 8], ebx
lea ebx, [esp + 0x68]
mov dword [eax + 0xc], ecx
call fcn.004518b0
sub edi, dword [esp + 0x60]
add esp, 0x10
add edi, dword [esp + 0x20]
lea eax, [esp + 0x60]
mov dword [esp + 0x10], edi
cmp dword [esp + 0x60], edi
jl 0x42df46
lea eax, [esp + 0x10]
sub ebp, dword [esp + 0x54]
mov ecx, dword [eax]
add ebp, dword [esp + 0x24]
lea eax, [esp + 0x64]
mov dword [esp + 0x10], ebp
cmp dword [esp + 0x64], ebp
jl 0x42df62
lea eax, [esp + 0x10]
mov eax, dword [eax]
push 0
push eax
mov eax, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x34]
push eax
push ecx
push esi
call dword [sym.imp.USER32.dll_MoveWindow]
mov edx, dword [esp + 0x14]
push edx
mov ecx, esi
call fcn.00451d70
add esp, 4
push 5
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
mov al, 1
mov ecx, dword [esp + 0xac]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0065865c
add esp, 0xa0
ret