Function at 0x451a10
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50edcd
mov eax, dword fs:[0]
push eax
sub esp, 0x27c
mov eax, dword [0x568cb8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x284], ecx
mov dword [ebp - 0x280], 0
mov eax, dword [0x56d1d4]
push eax
call dword [0x53c2e8]
add esp, 4
mov ecx, dword [0x56d1d4]
push ecx
call fcn.0050b2b0
add esp, 4
mov dword [ebp - 0x23c], 0x100
xor edx, edx
mov word [ebp - 0x21c], dx
push 0x206
push 0
lea eax, [ebp - 0x21a]
push eax
call fcn.004b83b0
add esp, 0xc
push 0x519980
push 0x519988
lea ecx, [ebp - 0x21c]
push ecx
call fcn.004b8cec
add esp, 0xc
push 0
push 0
push 0
push 0
push 0
mov edx, dword [ebp - 0x23c]
push edx
push 0x10ce0000
lea eax, [ebp - 0x21c]
push eax
push 0
call fcn.004520e0
mov ecx, eax
call dword [0x53c2e4]
call fcn.004520e0
mov ecx, eax
call dword [0x53c2e0]
mov ecx, dword [ebp + 8]
push ecx
call fcn.004520e0
mov ecx, eax
call fcn.00475890
mov edx, dword [ebp + 0xc]
push edx
call fcn.004520e0
mov ecx, eax
call fcn.004758b0
push 1
push 0
call fcn.004520e0
mov ecx, eax
call dword [0x53c2dc]
lea ecx, [ebp - 0x238]
call fcn.00469dc0
mov dword [ebp - 4], 0
push str.KZInstall.exe
lea ecx, [ebp - 0x26c]
call fcn.00403370
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x280]
or eax, 1
mov dword [ebp - 0x280], eax
lea ecx, [ebp - 0x238]
push ecx
lea edx, [ebp - 0x26c]
push edx
call fcn.0050d3a0
add esp, 8
movzx eax, al
test eax, eax
je 0x451b82
lea ecx, [ebp - 0x238]
call fcn.00451d70
test eax, eax
jbe 0x451b82
mov dword [ebp - 0x288], 1
jmp 0x451b8c
mov dword [ebp - 0x288], 0
mov cl, byte [ebp - 0x288]
mov byte [ebp - 0x24d], cl
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x280]
and edx, 1
je 0x451bbc
and dword [ebp - 0x280], 0xfffffffe
lea ecx, [ebp - 0x26c]
call fcn.00402b40
movzx eax, byte [ebp - 0x24d]
test eax, eax
je 0x451c8c
push 4
push 0x5199ac
push 0x5199c0
call fcn.004520e0
mov ecx, eax
call dword [0x53c2d8]
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
mov dword [ebp - 0x240], eax
cmp dword [ebp - 0x240], 6
jne 0x451c78
lea ecx, [ebp - 0x248]
push ecx
lea ecx, [ebp - 0x238]
call fcn.00457840
jmp 0x451c22
push 0
lea edx, [ebp - 0x274]
push edx
lea ecx, [ebp - 0x248]
call fcn.00451db0
lea eax, [ebp - 0x27c]
push eax
lea ecx, [ebp - 0x238]
call fcn.0045ca00
push eax
lea ecx, [ebp - 0x248]
call fcn.00451df0
movzx ecx, al
test ecx, ecx
je 0x451c76
lea ecx, [ebp - 0x248]
call fcn.00451d90
mov edx, dword [eax]
push edx
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x24c], eax
push 0
mov eax, dword [ebp - 0x24c]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x451c0e
jmp 0x451c8c
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x238]
call fcn.00451d10
jmp 0x451ce0
push 1
push 1
call fcn.004520e0
mov ecx, eax
call dword [0x53c2dc]
call dword [0x53c2d4]
call dword [0x53c2d0]
push 1
push 0
call fcn.004520e0
mov ecx, eax
call dword [0x53c2dc]
call fcn.004520e0
mov ecx, eax
call fcn.00475910
mov ecx, dword [ebp - 0x284]
mov byte [ecx], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x238]
call fcn.00451d10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b8307
mov esp, ebp
pop ebp
ret 8