Function at 0x40b897
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14c
movzx eax, byte [ebp + 0x30]
test eax, eax
je 0x40c03c
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xac], eax
lea eax, [ebp + 0x24]
mov dword [ebp - 0x100], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x9c], eax
lea eax, [ebp + 0x2c]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0xfc], eax
lea eax, [ebp + 0x28]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0xf0]
movzx eax, byte [eax]
test eax, eax
je 0x40b9e1
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x110], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0x110]
movzx eax, byte [eax]
test eax, eax
je 0x40b97c
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xbc]
movzx eax, byte [eax]
test eax, eax
je 0x40b97a
push 0
push 0
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
jmp 0x40b9dc
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0x18]
mov dword [eax], 0
jmp 0x40b9bf
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x18]
mov dword [ecx], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax], 2
jge 0x40b9dc
mov eax, dword [ebp - 0x18]
push dword [eax]
mov ecx, dword [ebp - 0xec]
call fcn.0043532a
or dword [eax], 0xffffffff
jmp 0x40b9b4
jmp 0x40c03a
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0xe4]
movzx eax, byte [eax]
test eax, eax
je 0x40ba2e
push 0x1737
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0xa8], 0xfffffff8
mov dword [ebp - 0xb0], 0xffffffff
mov byte [ebp - 0xd], 0
lea eax, [ebp - 0xd]
push eax
push 0
call fcn.0040f80c
pop ecx
pop ecx
push 0x21a2
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0xb0]
push eax
push 0
call fcn.0042780a
add esp, 0x10
push 0
push 0x512a
push 0x4b65
push 0x5765
push 1
push 0x3e20
lea eax, [ebp - 0x28]
push eax
push 0x1661
push 1
push 0x21f7
lea eax, [ebp - 0x1c]
push eax
push 0
call fcn.0042d5d2
add esp, 0x30
push 1
push 1
push 0x4aa8
push 0
push 0x48ee
push 0xb35
push 0x18e0
call fcn.00424e75
add esp, 0x1c
mov eax, dword [ebp - 0x1c]
cmp dword [eax], 0
jne 0x40c03a
mov dword [ebp - 0x98], 0xfffffff7
mov dword [ebp - 0x94], 0xfffffff7
mov dword [ebp - 0x90], 0xfffffff7
mov dword [ebp - 0x8c], 0xfffffff7
mov dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 0x74], 0xabf6a420
mov dword [ebp - 0x20], 0
jmp 0x40bb38
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 3
jge 0x40bb4e
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x11c], 0xb9f9b319
jmp 0x40bb31
push 4
pop eax
shl eax, 1
mov dword [ebp + eax - 0x11c], 0
jmp 0x40bb79
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x11c]
dec eax
push 4
pop ecx
shl ecx, 1
mov dword [ebp + ecx - 0x11c], eax
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x11c], 0xffffffe3
jle 0x40bfb8
mov dword [ebp - 8], 1
mov dword [ebp - 8], 0
jmp 0x40bba3
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 4
jle 0x40bfb3
mov dword [ebp - 4], 0x323d1bca
mov dword [ebp - 0x5c], 3
mov dword [ebp - 0xd8], 0x2c4ee0c6
mov dword [ebp - 0xc], 0
jmp 0x40bbd5
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 4
jge 0x40bbeb
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x14c], 8
jmp 0x40bbce
mov dword [ebp - 0xc], 0
jmp 0x40bbfb
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 1
jge 0x40bc11
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0xc8], 0x489d
jmp 0x40bbf4
mov dword [ebp - 4], 0
jmp 0x40bc21
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 3
jg 0x40bd9d
mov dword [ebp - 0xc0], 0xfffffffb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x120], eax
cmp dword [ebp - 8], 0
jne 0x40bd11
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0x98]
add eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x14], eax
jne 0x40bc6c
mov dword [ebp - 0x88], 1
jmp 0x40bc73
and dword [ebp - 0x88], 0
mov eax, dword [ebp - 0x88]
sub eax, dword [ebp - 8]
cmp eax, 0x458c458a
jge 0x40bc9f
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x98], 0
jne 0x40bc9f
cmp dword [ebp - 0x14], 0
jne 0x40bc9f
and dword [ebp - 0x60], 0
jmp 0x40bca6
mov dword [ebp - 0x60], 1
mov eax, dword [ebp - 4]
cmp dword [ebp - 0x60], eax
je 0x40bcb7
mov dword [ebp - 0x38], 1
jmp 0x40bcbb
and dword [ebp - 0x38], 0
imul eax, dword [ebp - 0x38], 0x865e
test eax, eax
je 0x40bcd5
cmp dword [ebp - 8], 0
je 0x40bcd5
mov dword [ebp - 0x78], 1
jmp 0x40bcd9
and dword [ebp - 0x78], 0
mov eax, dword [ebp - 8]
imul eax, dword [ebp - 0x78]
cmp eax, dword [ebp - 4]
je 0x40bcf1
mov dword [ebp - 0xb8], 1
jmp 0x40bcf8
and dword [ebp - 0xb8], 0
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0x130], eax
push 0xfffffffffffffff9
pop eax
test eax, eax
jne 0x40bd11
and dword [ebp - 0x40], 0
jmp 0x40bd18
mov dword [ebp - 0x40], 1
imul eax, dword [ebp - 0x40], 0
mov ecx, dword [ebp - 4]
add eax, dword [ebp + ecx*4 - 0x98]
cmp eax, dword [ebp - 4]
jl 0x40bd34
mov dword [ebp - 0x68], 1
jmp 0x40bd38
and dword [ebp - 0x68], 0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
add ecx, dword [ebp - 0x68]
cmp dword [ebp + eax*4 - 0x98], ecx
jne 0x40bd5f
cmp dword [ebp - 4], 0
jne 0x40bd5f
mov eax, 0x69d
test eax, eax
jne 0x40bd5f
and dword [ebp - 0x48], 0
jmp 0x40bd66
mov dword [ebp - 0x48], 1
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x48]
mov dword [ebp + eax - 0x14c], ecx
push 1
push 1
push 0
push 0x34a0
push 0x828
push 0x297f
push 0x7946
call fcn.004090f9
add esp, 0x1c
jmp 0x40bc1a
mov dword [ebp - 4], 0
jmp 0x40bdad
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 3
jg 0x40bfae
mov dword [ebp - 0x2c], 0x884bb868
mov dword [ebp - 0x44], 0xffffffff
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x138], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x98]
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x12c], eax
cmp dword [ebp - 4], 0xf5ef7b60
jne 0x40bdff
cmp dword [ebp - 0x2c], 0
jne 0x40bdff
and dword [ebp - 0x50], 0
jmp 0x40be06
mov dword [ebp - 0x50], 1
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x50]
jle 0x40be17
mov dword [ebp - 0x70], 1
jmp 0x40be1b
and dword [ebp - 0x70], 0
cmp dword [ebp - 0x70], 0
je 0x40be2a
mov dword [ebp - 0x58], 1
jmp 0x40be2e
and dword [ebp - 0x58], 0
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x58], eax
jg 0x40be3f
mov dword [ebp - 0x80], 1
jmp 0x40be43
and dword [ebp - 0x80], 0
imul eax, dword [ebp - 0x80], 0xeedf
cmp eax, dword [ebp - 4]
jl 0x40be58
mov dword [ebp - 0x24], 1
jmp 0x40be5c
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x24]
mov dword [ebp + eax*4 - 0x14c], ecx
cmp dword [ebp - 0x24], 0x23d2
jne 0x40be81
cmp dword [ebp - 0x74], 0
je 0x40be81
mov dword [ebp - 0x30], 1
jmp 0x40be85
and dword [ebp - 0x30], 0
mov eax, 0x84d2
sub eax, dword [ebp - 0x30]
jne 0x40be9b
cmp dword [ebp - 0x44], 0
jne 0x40be9b
and dword [ebp - 0x34], 0
jmp 0x40bea2
mov dword [ebp - 0x34], 1
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x34], eax
jl 0x40becc
mov eax, 0xf0ed
test eax, eax
je 0x40becc
push 4
pop eax
imul eax, eax, 3
cmp dword [ebp + eax - 0x98], 0
je 0x40becc
mov dword [ebp - 0x3c], 1
jmp 0x40bed0
and dword [ebp - 0x3c], 0
cmp dword [ebp - 0x3c], 0
jge 0x40bee5
cmp dword [ebp - 0x44], 0
je 0x40bee5
mov dword [ebp - 0x4c], 1
jmp 0x40bee9
and dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x4c], eax
jl 0x40befa
mov dword [ebp - 0x54], 1
jmp 0x40befe
and dword [ebp - 0x54], 0
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 1
jle 0x40bf13
mov dword [ebp - 0x64], 1
jmp 0x40bf17
and dword [ebp - 0x64], 0
imul eax, dword [ebp - 0x64], 0xfffc
test eax, eax
je 0x40bf3a
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x14c], 0
je 0x40bf3a
mov dword [ebp - 0x6c], 1
jmp 0x40bf3e
and dword [ebp - 0x6c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xc8]
cmp dword [ebp - 0x6c], eax
jl 0x40bf5c
mov dword [ebp - 0xd0], 1
jmp 0x40bf63
and dword [ebp - 0xd0], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x11c]
mov dword [ebp - 0x13c], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x128], eax
cmp dword [ebp - 8], 0
jne 0x40bf99
cmp dword [ebp - 8], 0
jne 0x40bf99
and dword [ebp - 0x7c], 0
jmp 0x40bfa0
mov dword [ebp - 0x7c], 1
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0xd8], eax
jmp 0x40bda6
jmp 0x40bb9c
jmp 0x40bb60
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x24]
and eax, 0x40
je 0x40c00f
push 0
push 0x441f
push 0x76af
push 0xc24
push 1
push 0x205f
push 0x7c83
push 1
call fcn.0040ac64
add esp, 0x20
push 1
push 0
lea eax, [ebp - 0x84]
push eax
push 0
push 0xaa2
push 0x23cb
lea eax, [ebp - 0x1c]
push eax
call fcn.00424e75
add esp, 0x1c
jmp 0x40c03a
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x24]
and eax, 0x80
je 0x40c03a
push 0x15f6
push 0
call fcn.00412828
pop ecx
pop ecx
mov eax, dword [ebp - 0x84]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [eax + 0x24]
mov dword [ecx], eax
jmp 0x40c064
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xe0], eax
push 0
push 0x4692
push dword [ebp - 0xe0]
push 0x2dac
push 0x7772
call fcn.0042eda8
add esp, 0x14
mov esp, ebp
pop ebp
ret