Function at 0x40ea86
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
movzx eax, byte [ebp + 0x24]
test eax, eax
je 0x40ec8f
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x58], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x20], eax
lea eax, [ebp + 0x30]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x78], eax
lea eax, [ebp + 0x2c]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x50]
movzx eax, byte [eax]
test eax, eax
je 0x40eb36
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x28]
movzx eax, byte [eax]
test eax, eax
je 0x40eb0d
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
jmp 0x40eb31
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
movzx eax, byte [eax]
test eax, eax
je 0x40eb31
push 0x127e
call dword [sym.imp.KERNEL32.dll_ExitProcess]
jmp 0x40ec8d
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
test eax, eax
je 0x40ec42
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 4]
mov dword [eax], 1
jmp 0x40eb90
mov eax, dword [ebp - 4]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jl 0x40ec40
mov dword [ebp - 0x2c], 0xa0734f09
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x5c], 1
mov dword [ebp - 0x34], 0x12a3cc92
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x54], 0xce028f4e
mov dword [ebp - 0x64], 0xfffffff9
mov dword [ebp - 0x3c], 6
mov dword [ebp - 8], 0
jmp 0x40ebe4
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 4
jge 0x40ebfa
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0xa0], 7
jmp 0x40ebdd
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x34]
push eax
push 0x3469
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x44]
push eax
push 0x484
push dword [ebp - 4]
push 0x3137
push 1
push 0
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x64]
push eax
push dword [ebp - 0x6c]
call fcn.00419248
add esp, 0x3c
jmp 0x40eb85
jmp 0x40ec8d
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [eax], 1
jmp 0x40ec64
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0xc]
mov dword [ecx], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
jl 0x40ec8d
push 1
push 1
push 0x7145
push 1
push 0x9ec
push 0x1de1
push 0
call fcn.0040cfca
add esp, 0x1c
jmp 0x40ec59
jmp 0x40ecd2
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x84], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x8c], eax
push 1
push 0x94c
push dword [ebp - 0x84]
push 0x2204
push 0x5603
push 0x4cfc
push 0x28f4
mov eax, dword [ebp - 0x8c]
push dword [eax]
call fcn.00409c36
add esp, 0x20
mov esp, ebp
pop ebp
ret