Function at 0x416004
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff6c
push ebx
mov dword [ebp - 0x6c], edx
mov dword [ebp - 0x68], eax
mov eax, 0x7cfa8c
call fcn.007b7c14
mov edx, dword [ebp - 0x68]
cmp byte [edx + 0x452], 0
je 0x416272
mov ecx, dword [ebp - 0x68]
cmp byte [ecx + 0x430], 0
jne 0x416272
mov eax, dword [0x7e8f34]
mov eax, dword [eax]
call fcn.00526980
mov dword [ebp - 0x90], eax
fild dword [ebp - 0x90]
fmul dword [0x416680]
fstp dword [ebp - 0x70]
mov edx, dword [0x7e8f34]
mov eax, dword [edx]
call fcn.00526978
mov dword [ebp - 0x94], eax
fild dword [ebp - 0x94]
fld xword [0x416684]
fmulp st(1)
fstp dword [ebp - 0x74]
mov eax, dword [ebp - 0x68]
call fcn.0046f808
mov dword [ebp - 0x78], eax
xor edx, edx
mov dword [ebp - 0x7c], edx
mov ecx, dword [ebp - 0x7c]
cmp ecx, dword [ebp - 0x78]
jge 0x4161d8
mov word [ebp - 0x54], 0xc
mov edx, 0x7cdc4c
lea eax, [ebp - 8]
call fcn.007c61ac
inc dword [ebp - 0x48]
push dword [eax]
mov edx, dword [ebp - 0x7c]
mov eax, dword [ebp - 0x68]
call fcn.0046f7dc
mov eax, dword [eax]
pop edx
call fcn.004bf6a0
push eax
dec dword [ebp - 0x48]
lea eax, [ebp - 8]
mov edx, 2
call fcn.007c633c
pop ecx
test cl, cl
je 0x4161c9
mov word [ebp - 0x54], 0x18
mov edx, 0x7cdc53
lea eax, [ebp - 0xc]
call fcn.007c61ac
inc dword [ebp - 0x48]
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x7c]
mov eax, dword [ebp - 0x68]
call fcn.0046f7dc
add eax, 8
pop edx
call fcn.007c64a0
test eax, eax
jne 0x416160
mov edx, 0x7cdc58
lea eax, [ebp - 0x10]
call fcn.007c61ac
inc dword [ebp - 0x48]
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x7c]
mov eax, dword [ebp - 0x68]
call fcn.0046f7dc
add eax, 8
pop edx
call fcn.007c64a0
test eax, eax
setne al
and eax, 1
push eax
dec dword [ebp - 0x48]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.007c633c
pop ecx
test ecx, ecx
jne 0x416160
xor eax, eax
jmp 0x416165
mov eax, 1
push eax
dec dword [ebp - 0x48]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.007c633c
pop ecx
test cl, cl
mov edx, dword [ebp - 0x7c]
mov eax, dword [ebp - 0x68]
call fcn.0046f7dc
fild dword [eax + 0x40]
fmul dword [ebp - 0x70]
call fcn.007bf0d8
push eax
mov edx, dword [ebp - 0x7c]
mov eax, dword [ebp - 0x68]
call fcn.0046f7dc
pop edx
call fcn.00545c50
mov edx, dword [ebp - 0x7c]
mov eax, dword [ebp - 0x68]
call fcn.0046f7dc
fild dword [eax + 0x44]
fmul dword [ebp - 0x74]
call fcn.007bf0d8
push eax
mov edx, dword [ebp - 0x7c]
mov eax, dword [ebp - 0x68]
call fcn.0046f7dc
pop edx
call fcn.00545c84
inc dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x7c]
cmp ecx, dword [ebp - 0x78]
jl 0x41609f
mov eax, dword [0x7e8f34]
mov eax, dword [eax]
call fcn.00526980
mov ebx, eax
sar ebx, 1
jns 0x4161ed
adc ebx, 0
mov eax, dword [ebp - 0x68]
mov edx, dword [eax + 0x3dc]
sub ebx, dword [edx + 0x48]
sar ebx, 1
jns 0x416200
adc ebx, 0
mov ecx, dword [0x7e8f34]
mov eax, dword [ecx]
call fcn.00526980
sar eax, 1
jns 0x416214
adc eax, 0
add ebx, eax
mov edx, ebx
add edx, 0x64
mov ecx, dword [ebp - 0x68]
mov eax, dword [ecx + 0x3dc]
call fcn.00545c50
mov edx, dword [0x7e8f34]
mov eax, dword [edx]
call fcn.00526978
mov edx, eax
mov ecx, dword [ebp - 0x68]
mov eax, dword [ecx + 0x3dc]
sub edx, dword [eax + 0x4c]
sar edx, 1
jns 0x41624b
adc edx, 0
mov ecx, dword [ebp - 0x68]
mov eax, dword [ecx + 0x3dc]
call fcn.00545c84
mov edx, dword [ebp - 0x68]
mov byte [edx + 0x430], 1
jmp 0x416272
mov ecx, dword [0x7e8f30]
mov eax, dword [ecx]
call fcn.00529984
mov edx, dword [sym.KDEMR.exe__F_PtMain]
mov ecx, dword [edx]
cmp byte [ecx + 0x47c], 0
je 0x416265
mov byte [ebp - 0x7d], 1
mov word [ebp - 0x54], 0x30
mov edx, 0x7e9938
lea eax, [ebp - 4]
call fcn.007c5354
inc dword [ebp - 0x48]
inc dword [ebp - 0x48]
mov word [ebp - 0x54], 0x24
mov word [ebp - 0x54], 0x3c
mov edx, str.ZBRService.exe
lea eax, [ebp - 0x14]
xor ecx, ecx
call fcn.007c5314
inc dword [ebp - 0x48]
inc dword [ebp - 0x48]
lea edx, [ebp - 0x14]
lea eax, [ebp - 4]
call fcn.007c5508
sub dword [ebp - 0x48], 2
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00402554
mov word [ebp - 0x54], 0x48
xor ecx, ecx
mov dword [ebp - 0x18], ecx
lea edx, [ebp - 4]
lea eax, [ebp - 0x18]
call fcn.0044987c
lea ecx, [ebp - 0x18]
inc dword [ebp - 0x48]
mov eax, dword [ecx]
mov dl, 1
call fcn.004a3c5c
test al, al
jne 0x41631e
push 0x7e9794
call fcn.00405fe4
pop ecx
cmp dword [eax + 0xdc], 1
je 0x41631e
xor ecx, ecx
jmp 0x416323
mov ecx, 1
push ecx
dec dword [ebp - 0x48]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.007c633c
pop ecx
test cl, cl
je 0x41633d
mov byte [ebp - 0x7d], 0
mov eax, dword [sym.KDEMR.exe__F_PtMain]
mov edx, dword [eax]
mov ecx, dword [edx + 0x480]
cmp ecx, 4
ja case.default.0x416353
jmp dword [ecx*4 + 0x41635a]
mov edx, 0x7cdc94
lea eax, [ebp - 0x20]
xor ecx, ecx
call fcn.007c5314
inc dword [ebp - 0x48]
lea eax, [ebp - 0x20]
inc dword [ebp - 0x48]
push dword [eax]
mov word [ebp - 0x54], 0x54
mov edx, 0x7cdc6b
lea eax, [ebp - 0x1c]
xor ecx, ecx
call fcn.007c5314
inc dword [ebp - 0x48]
lea edx, [ebp - 0x1c]
inc dword [ebp - 0x48]
push dword [edx]
push 0x7e982c
call fcn.00406958
pop ecx
pop edx
pop ecx
call fcn.0040c7e4
sub dword [ebp - 0x48], 2
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.00402554
sub dword [ebp - 0x48], 2
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00402554
jmp case.default.0x416353
mov edx, 0x7cdcde
lea eax, [ebp - 0x28]
xor ecx, ecx
call fcn.007c5314
inc dword [ebp - 0x48]
lea eax, [ebp - 0x28]
inc dword [ebp - 0x48]
push dword [eax]
mov word [ebp - 0x54], 0x60
mov edx, 0x7cdc9f
lea eax, [ebp - 0x24]
xor ecx, ecx
call fcn.007c5314
inc dword [ebp - 0x48]
lea edx, [ebp - 0x24]
inc dword [ebp - 0x48]
push dword [edx]
push 0x7e982c
call fcn.00406958
pop ecx
pop edx
pop ecx
call fcn.0040c7e4
sub dword [ebp - 0x48], 2
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.00402554
sub dword [ebp - 0x48], 2
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.00402554
cmp byte [ebp - 0x7d], 0
je case.default.0x416353
mov eax, dword [sym.KDEMR.exe__F_PtMain]
mov eax, dword [eax]
call fcn.0054f634
push eax
call sub.USER32.DLL_DestroyWindow
call fcn.00406ad4
call sub.KERNEL32.DLL_GetCurrentProcess
mov dword [ebp - 0x84], eax
push 0
push dword [ebp - 0x84]
call sub.KERNEL32.DLL_TerminateProcess
jmp case.default.0x416353
mov edx, 0x7cdd16
lea eax, [ebp - 0x30]
xor ecx, ecx
call fcn.007c5314
inc dword [ebp - 0x48]
lea edx, [ebp - 0x30]
inc dword [ebp - 0x48]
push dword [edx]
mov word [ebp - 0x54], 0x6c
mov edx, 0x7cdce3
lea eax, [ebp - 0x2c]
xor ecx, ecx
call fcn.007c5314
inc dword [ebp - 0x48]
lea eax, [ebp - 0x2c]
inc dword [ebp - 0x48]
push dword [eax]
push 0x7e982c
call fcn.00406958
pop ecx
pop edx
pop ecx
call fcn.0040c7e4
sub dword [ebp - 0x48], 2
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.00402554
sub dword [ebp - 0x48], 2
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.00402554
cmp byte [0x7d264c], 0
je case.default.0x416353
cmp byte [ebp - 0x7d], 0
je case.default.0x416353
mov ecx, dword [sym.KDEMR.exe__F_PtMain]
mov eax, dword [ecx]
call fcn.0054f634
push eax
call sub.USER32.DLL_DestroyWindow
call fcn.00406ad4
call sub.KERNEL32.DLL_GetCurrentProcess
mov dword [ebp - 0x88], eax
push 0
push dword [ebp - 0x88]
call sub.KERNEL32.DLL_TerminateProcess
jmp case.default.0x416353
mov edx, 0x7cdd48
lea eax, [ebp - 0x38]
xor ecx, ecx
call fcn.007c5314
inc dword [ebp - 0x48]
lea edx, [ebp - 0x38]
inc dword [ebp - 0x48]
push dword [edx]
mov word [ebp - 0x54], 0x78
mov edx, 0x7cdd1b
lea eax, [ebp - 0x34]
xor ecx, ecx
call fcn.007c5314
inc dword [ebp - 0x48]
lea eax, [ebp - 0x34]
inc dword [ebp - 0x48]
push dword [eax]
push 0x7e982c
call fcn.00406958
pop ecx
pop edx
pop ecx
call fcn.0040c7e4
sub dword [ebp - 0x48], 2
lea eax, [ebp - 0x38]
mov edx, 2
call fcn.00402554
sub dword [ebp - 0x48], 2
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.00402554
jmp case.default.0x416353
mov edx, 0x7cdd86
lea eax, [ebp - 0x40]
xor ecx, ecx
call fcn.007c5314
inc dword [ebp - 0x48]
lea eax, [ebp - 0x40]
inc dword [ebp - 0x48]
push dword [eax]
mov word [ebp - 0x54], 0x84
mov edx, 0x7cdd4d
lea eax, [ebp - 0x3c]
xor ecx, ecx
call fcn.007c5314
inc dword [ebp - 0x48]
lea edx, [ebp - 0x3c]
inc dword [ebp - 0x48]
push dword [edx]
push 0x7e982c
call fcn.00406958
pop ecx
pop edx
pop ecx
call fcn.0040c7e4
sub dword [ebp - 0x48], 2
lea eax, [ebp - 0x40]
mov edx, 2
call fcn.00402554
sub dword [ebp - 0x48], 2
lea eax, [ebp - 0x3c]
mov edx, 2
call fcn.00402554
cmp byte [0x7d264c], 0
je case.default.0x416353
mov eax, dword [sym.KDEMR.exe__F_PtMain]
mov eax, dword [eax]
call fcn.0054f634
push eax
call sub.USER32.DLL_DestroyWindow
call fcn.00406ad4
call sub.KERNEL32.DLL_GetCurrentProcess
mov dword [ebp - 0x8c], eax
push 0
push dword [ebp - 0x8c]
call sub.KERNEL32.DLL_TerminateProcess
sub dword [ebp - 0x48], 2
lea eax, [ebp - 4]
mov edx, 2
call fcn.00402554
mov ecx, dword [ebp - 0x64]
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret