Function at 0x1002f30e
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005e64c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
movzx eax, byte [ebp + 0x24]
test eax, eax
je 0x1002f4c3
lea eax, [ebp + 8]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x2c], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x28]
movzx eax, byte [eax]
test eax, eax
je 0x1002f4a8
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x20], eax
mov eax, dword [0x1007d538]
and eax, 1
jne 0x1002f3a1
mov eax, dword [0x1007d538]
or eax, 1
mov dword [0x1007d538], eax
and dword [ebp - 4], 0
mov ecx, 0x1007d560
call fcn.1001b247
push 0x1005f03f
call fcn.10046aa2
pop ecx
or dword [ebp - 4], 0xffffffff
movzx eax, byte [0x1007d420]
test eax, eax
je 0x1002f401
mov ecx, 0x1007d560
call fcn.100333f5
movzx eax, al
test eax, eax
jne 0x1002f401
push dword [ebp - 0x18]
lea eax, [ebp - 0x1c]
push eax
mov ecx, 0x1007d560
call fcn.1001b21f
lea eax, [ebp - 0x54]
push eax
mov ecx, 0x1007d560
call fcn.1001b14b
push eax
lea ecx, [ebp - 0x1c]
call fcn.1001b234
movzx eax, al
test eax, eax
je 0x1002f401
lea ecx, [ebp - 0x1c]
call fcn.100333fe
mov ecx, dword [ebp - 0x20]
mov eax, dword [eax + 4]
mov dword [ecx], eax
jmp 0x1002f537
mov eax, dword [ebp - 0x18]
push dword [eax]
lea eax, [ebp - 0x6c]
push eax
call fcn.1000f665
pop ecx
pop ecx
mov dword [ebp - 4], 1
push 0
push 0
lea eax, [ebp - 0x6c]
push eax
push dword [ebp - 0x38]
call fcn.1002c51a
add esp, 0x10
mov dword [ebp - 0x24], eax
movzx eax, byte [0x1007d420]
test eax, eax
je 0x1002f44a
mov ecx, 0x1007d560
call fcn.100333f5
movzx eax, al
test eax, eax
jne 0x1002f481
push dword [ebp - 0x18]
mov ecx, 0x1007d560
call fcn.100333b7
mov ecx, dword [ebp - 0x24]
mov dword [eax], ecx
push 0x5ae3
push 0x1007d420
push 1
push 0x1078
push 1
push 0x4767
push 0x10f2
call fcn.1002f25f
add esp, 0x1c
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov dword [eax], ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6c]
call fcn.1001aeb6
jmp 0x1002f537
mov byte [ebp - 0xd], 0
movzx eax, byte [ebp - 0xd]
test eax, eax
je 0x1002f4c1
push 0x9a6
push 0
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x1002f537
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x44], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x3c]
movzx eax, byte [eax]
test eax, eax
je 0x1002f4eb
push 0
push 0
call dword [sym.imp.USER32.dll_CharUpperBuffW]
jmp 0x1002f537
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x14]
mov dword [eax], 1
jmp 0x1002f519
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0
jl 0x1002f537
mov eax, dword [ebp - 0x14]
push dword [eax]
mov ecx, dword [ebp - 0x50]
call fcn.1000a7a3
cmp dword [eax], 0
je 0x1002f535
jmp 0x1002f537
jmp 0x1002f50e
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret