Function at 0x45a306
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x45a4fa
lea eax, [ebp + 0xc]
mov dword [ebp - 0x50], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x2c], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
movzx eax, byte [eax]
test eax, eax
je 0x45a49d
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
movzx eax, byte [eax]
test eax, eax
je 0x45a389
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
movzx eax, byte [eax]
test eax, eax
je 0x45a384
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_RealizePalette]
jmp 0x45a49b
mov dword [ebp - 4], 0x6568
mov dword [ebp - 8], 0xb5725d36
mov eax, dword [ebp - 4]
mov dword [ebp - 0x68], eax
cmp dword [ebp - 4], 0
je 0x45a3c9
mov eax, dword [ebp - 4]
cmp dword [ebp - 4], eax
jne 0x45a3b4
mov dword [ebp - 0xc], 1
jmp 0x45a3b8
and dword [ebp - 0xc], 0
mov eax, dword [ebp - 4]
cmp dword [ebp - 0xc], eax
jne 0x45a3c9
mov dword [ebp - 0x10], 1
jmp 0x45a3cd
and dword [ebp - 0x10], 0
mov eax, dword [ebp - 4]
cmp dword [ebp - 0x10], eax
jge 0x45a3de
mov dword [ebp - 0x14], 1
jmp 0x45a3e2
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 4]
cmp dword [ebp - 0x14], eax
jge 0x45a3f3
mov dword [ebp - 0x18], 1
jmp 0x45a3f7
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 4]
cmp dword [ebp - 0x18], eax
jl 0x45a408
mov dword [ebp - 0x1c], 1
jmp 0x45a40c
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 4]
cmp dword [ebp - 0x1c], eax
jge 0x45a41d
mov dword [ebp - 0x20], 1
jmp 0x45a421
and dword [ebp - 0x20], 0
mov eax, dword [ebp - 4]
cmp dword [ebp - 0x20], eax
je 0x45a432
mov dword [ebp - 0x44], 1
jmp 0x45a436
and dword [ebp - 0x44], 0
mov eax, dword [ebp - 4]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 4]
cmp eax, 0xfff6
jne 0x45a452
mov dword [ebp - 0x24], 1
jmp 0x45a456
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x24]
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0xfffffff8
jmp 0x45a46c
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x2a
jne 0x45a49b
mov dword [ebp - 0x48], 1
mov dword [ebp - 8], 0x1b
jmp 0x45a489
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x1d
jle 0x45a499
cmp dword [ebp - 0x48], 0
je 0x45a497
jmp 0x45a499
jmp 0x45a482
jmp 0x45a465
jmp 0x45a4f8
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
movzx eax, byte [eax]
test eax, eax
je 0x45a4d5
push 0
push 0xe29
push 0x22d8
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_SetViewportOrgEx]
jmp 0x45a4f8
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
movzx eax, byte [eax]
test eax, eax
je 0x45a4f8
push 0x2121
push 0
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x45a50c
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x64], eax
push 0
push dword [ebp - 0x64]
call fcn.004577c7
pop ecx
pop ecx
mov esp, ebp
pop ebp
ret