Function at 0x40c7f4
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
movzx eax, byte [ebp + 0x40]
test eax, eax
je 0x40caf1
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp + 0x5c]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp + 0x60]
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x84], eax
lea eax, [ebp + 0x64]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp + 0x4c]
mov dword [ebp - 0xd4], eax
lea eax, [ebp + 0x30]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x58]
mov dword [ebp - 0x104], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp + 0x48]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0x9c]
movzx eax, byte [eax]
test eax, eax
je 0x40ca63
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0x4c]
movzx eax, byte [eax]
test eax, eax
je 0x40c8c9
mov byte [ebp - 9], 0
movzx eax, byte [ebp - 9]
test eax, eax
je 0x40c8c4
push 0x1638
push 0
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x40ca5e
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x40c912
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 0x1a
je 0x40ca5e
mov dword [ebp - 8], 8
mov dword [ebp - 0x74], 0x1d99ea5d
mov eax, 0xffff
test eax, eax
je 0x40c946
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x40c946
mov dword [ebp - 0x18], 1
jmp 0x40c94a
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
cmp eax, dword [ecx]
jl 0x40c96c
mov eax, 0xf5aa05d7
test eax, eax
je 0x40c96c
mov dword [ebp - 0xcc], 1
jmp 0x40c973
and dword [ebp - 0xcc], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
cmp dword [eax], ecx
jl 0x40c991
mov dword [ebp - 0x6c], 1
jmp 0x40c995
and dword [ebp - 0x6c], 0
mov eax, dword [ebp - 8]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x130], eax
cmp dword [ebp - 8], 0
jne 0x40c9c5
push 4
pop eax
test eax, eax
jne 0x40c9c5
and dword [ebp - 0x2c], 0
jmp 0x40c9cc
mov dword [ebp - 0x2c], 1
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x2c], eax
jg 0x40c9e3
mov eax, 0x626a9d9e
test eax, eax
jne 0x40c9e3
and dword [ebp - 0x24], 0
jmp 0x40c9ea
mov dword [ebp - 0x24], 1
cmp dword [ebp - 0x24], 0x7c42
jge 0x40c9fc
mov dword [ebp - 0x1c], 1
jmp 0x40ca00
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x1c]
jge 0x40ca13
mov dword [ebp - 0x20], 1
jmp 0x40ca17
and dword [ebp - 0x20], 0
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x20], eax
jge 0x40ca28
mov dword [ebp - 0x10], 1
jmp 0x40ca2c
and dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x120]
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x10]
jne 0x40ca4a
mov dword [ebp - 0x28], 1
jmp 0x40ca4e
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
add eax, dword [ebp - 0x28]
mov dword [ebp - 0x74], eax
jmp 0x40c907
jmp 0x40caec
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0x94], eax
push dword [ebp - 0x94]
push dword [ebp - 0xe4]
push dword [ebp - 0x34]
push 0x437d
push dword [ebp - 0x10c]
push dword [ebp - 0xa4]
push 0
push dword [ebp - 0xec]
push dword [ebp - 0xac]
push 0x14ed
call fcn.0040d61f
add esp, 0x28
jmp 0x40ccae
mov eax, dword [ebp + 0x50]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp + 0x44]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x3c]
mov dword [ebp - 0x38], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x48], eax
lea eax, [ebp + 0x54]
mov dword [ebp - 0x118], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x118]
movzx eax, byte [eax]
test eax, eax
je 0x40cc57
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x60]
movzx eax, byte [eax]
test eax, eax
je 0x40cbd4
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
movzx eax, byte [eax]
test eax, eax
je 0x40cbcf
push 1
push 1
push 1
push 0
push 0x7f03
push 0x4dca
push 0x2b16
push 0x1af9
push 0x2ad
call fcn.00411aa2
add esp, 0x24
jmp 0x40cc55
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xc0]
push dword [eax]
mov ecx, dword [ebp - 0xc8]
call fcn.0042713b
mov ecx, dword [ebp - 0x30]
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, dword [ebp - 0xd0]
mov ecx, dword [ebp - 0x30]
mov ecx, dword [ecx]
mov dword [eax], ecx
jmp 0x40ccae
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0x100], eax
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x110], eax
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0x108], eax
push 0
push dword [ebp - 0xf8]
push 0x6dd2
push dword [ebp - 0x100]
push dword [ebp - 0x108]
push dword [ebp - 0x110]
call fcn.0040add4
add esp, 0x18
mov esp, ebp
pop ebp
ret