Function at 0x1001f17c
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x1001f248
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x5c], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x70]
movzx eax, byte [eax]
test eax, eax
je 0x1001f1f8
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x44]
mov ecx, dword [ecx]
add ecx, dword [eax]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
mov dword [eax], ecx
jmp 0x1001f243
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0
jmp 0x1001f226
mov eax, dword [ebp - 8]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 2
jge 0x1001f243
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 0x28]
call fcn.1000e00f
mov dword [eax], 0xa684
jmp 0x1001f21b
jmp 0x1001f40b
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x38], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
movzx eax, byte [eax]
test eax, eax
je 0x1001f400
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [eax], 0
jmp 0x1001f284
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
mov eax, dword [ebp - 0x10]
cmp dword [eax], 1
jg 0x1001f3fe
mov dword [ebp - 0x48], 0x244d
cmp dword [ebp - 0x48], 0xe4b
jge 0x1001f3e0
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x10008f00
call fcn.10050e4b
add esp, 0xc
mov dword [ebp - 0x1c], 1
jmp 0x1001f2c9
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x18]
dec eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x50], 0
je 0x1001f329
lea eax, [ebp - 0x14]
push eax
push 0x100089d4
call fcn.10050e4b
pop ecx
pop ecx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x14]
dec eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x58], 0
je 0x1001f327
lea eax, [ebp - 0x60]
push eax
push 0x100089d4
call fcn.10050e4b
pop ecx
pop ecx
mov eax, dword [ebp - 0x60]
cmp eax, dword [ebp - 0x68]
jge 0x1001f325
lea eax, [ebp - 0x1c]
push eax
mov ecx, 0x1266e614
call fcn.10032956
jmp 0x1001f2ec
jmp 0x1001f2c2
lea eax, [ebp - 0x7c]
push eax
mov ecx, 0x1266e614
call fcn.1000e113
push eax
lea eax, [ebp - 0x84]
push eax
mov ecx, 0x1266e614
call fcn.100329d1
push dword [eax]
lea eax, [ebp - 0x80]
push eax
mov ecx, 0x1266e614
call fcn.1000e113
push dword [eax]
lea ecx, [ebp - 0x88]
call fcn.10035fd4
pop ecx
pop ecx
mov ecx, eax
call fcn.10032dbd
push eax
mov ecx, 0x1266e614
call fcn.100329e0
mov ecx, 0x1266e614
call fcn.10032a39
push eax
push 0x10008a0c
call fcn.10051040
pop ecx
pop ecx
and dword [ebp - 0xc], 0
jmp 0x1001f39e
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
mov ecx, 0x1266e614
call fcn.10032a39
cmp dword [ebp - 0xc], eax
jae 0x1001f3d8
cmp dword [ebp - 0xc], 0
je 0x1001f3bb
push 0x20
call fcn.100520f4
pop ecx
push dword [ebp - 0xc]
mov ecx, 0x1266e614
call fcn.1000e00f
push dword [eax]
push 0x100089d4
call fcn.10051040
pop ecx
pop ecx
jmp 0x1001f397
push 0xa
call fcn.100520f4
pop ecx
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x1001f3f9
push 0x244d
push 0
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x1001f279
jmp 0x1001f40b
push 0x1404
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov esp, ebp
pop ebp
ret