Function at 0x10007930
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x154
push ebx
push esi
push edi
lea edi, [ebp - 0x154]
mov ecx, 0x55
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x30]
add ecx, 0x7ff
and ecx, 0xfffff800
mov dword [ebp - 0x10c], ecx
mov edx, dword [ebp - 0x10c]
push edx
call fcn.10001087
add esp, 4
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x10c]
push eax
push 0
mov ecx, dword [ebp - 8]
push ecx
call fcn.100110a0
add esp, 0xc
mov dword [ebp - 4], 0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x10007d95
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x120]
and edx, 8
test edx, edx
je 0x100079c2
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x10], ecx
jmp 0x1000799d
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x120]
and eax, 0x20
test eax, eax
je 0x10007a21
mov ecx, dword [0xbc320500]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x14], edx
jmp 0x100079e8
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 0
je 0x10007a00
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x11c]
cmp eax, dword [ebp - 0x10]
jne 0x100079fe
jmp 0x10007a00
jmp 0x100079e0
cmp dword [ebp - 0x14], 0
jne 0x10007a1f
push 0xb8070400
push 0xa84c0400
call fcn.1000e1f0
add esp, 8
push 1
call fcn.1000e030
jmp 0x10007a27
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
xor eax, eax
mov al, byte [edx + 0x106]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 4]
and ecx, 0x7ff
add ecx, dword [ebp - 0xc]
cmp ecx, 0x800
jb 0x10007a5b
mov edx, dword [ebp - 4]
add edx, 0x7ff
and edx, 0xfffff800
mov dword [ebp - 4], edx
xor eax, eax
add eax, 0x21
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 8
push ecx
lea edx, [ebp - 0x108]
push edx
call fcn.10010d60
add esp, 0xc
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x108]
push ecx
call fcn.10006820
add esp, 4
mov dword [ebp - 0x110], eax
mov dl, byte [ebp - 0x110]
mov byte [ebp - 0xe8], dl
mov eax, dword [ebp - 0x14]
mov cl, byte [eax + 0x106]
mov byte [ebp - 0x108], cl
movsx edx, byte [ebp - 0xef]
and edx, 2
test edx, edx
je 0x10007c9c
push 0x38030400
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x108]
push ecx
call fcn.10010cd0
add esp, 8
test eax, eax
jne 0x10007b19
mov byte [ebp - 0xe8], 1
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x34]
push eax
lea ecx, [ebp - 0x106]
push ecx
call fcn.100010af
add esp, 8
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x30]
add eax, 0x7ff
and eax, 0xfffff800
push eax
lea ecx, [ebp - 0xfe]
push ecx
call fcn.100010af
add esp, 8
jmp 0x10007c9c
push 0xe4050400
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x108]
push eax
call fcn.10010cd0
add esp, 8
test eax, eax
jne 0x10007be6
mov byte [ebp - 0xe8], 1
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
cmp edx, dword [0xbc320500]
jne 0x10007ba5
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x14]
mov edx, dword [ecx + 0x11c]
mov eax, dword [edx + 0x118]
mov ecx, dword [eax + 0x34]
push ecx
lea edx, [ebp - 0x106]
push edx
call fcn.100010af
add esp, 8
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x14]
mov edx, dword [ecx + 0x11c]
mov eax, dword [edx + 0x118]
mov ecx, dword [eax + 0x30]
add ecx, 0x7ff
and ecx, 0xfffff800
push ecx
lea edx, [ebp - 0xfe]
push edx
call fcn.100010af
add esp, 8
jmp 0x10007be1
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 0x34]
push edx
lea eax, [ebp - 0x106]
push eax
call fcn.100010af
add esp, 8
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
mov eax, dword [edx + 0x30]
add eax, 0x7ff
and eax, 0xfffff800
push eax
lea ecx, [ebp - 0xfe]
push ecx
call fcn.100010af
add esp, 8
jmp 0x10007c9c
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x120]
and eax, 0x20
test eax, eax
je 0x10007c07
mov ecx, dword [0xbc320500]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x114], edx
jmp 0x10007c13
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x114], ecx
mov edx, 1
test edx, edx
je 0x10007c5e
mov eax, dword [ebp - 0x114]
mov ecx, dword [eax + 0x14]
cmp ecx, dword [ebp - 0x14]
jne 0x10007c2c
jmp 0x10007c5e
mov edx, dword [ebp - 0x114]
mov eax, dword [edx]
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0
jne 0x10007c5c
push 0x7c070400
push 0xa84c0400
call fcn.1000e1f0
add esp, 8
push 1
call fcn.1000e030
jmp 0x10007c13
mov ecx, dword [ebp - 0x114]
mov edx, dword [ecx + 0x34]
push edx
lea eax, [ebp - 0x106]
push eax
call fcn.100010af
add esp, 8
mov ecx, dword [ebp - 0x114]
mov edx, dword [ecx + 0x30]
add edx, 0x7ff
and edx, 0xfffff800
push edx
lea eax, [ebp - 0xfe]
push eax
call fcn.100010af
add esp, 8
xor ecx, ecx
add ecx, 0x21
push ecx
lea edx, [ebp - 0x108]
push edx
mov eax, dword [ebp - 8]
add eax, dword [ebp - 4]
push eax
call fcn.10010d60
add esp, 0xc
xor ecx, ecx
add ecx, 0x21
mov edx, dword [ebp - 4]
add edx, ecx
mov dword [ebp - 4], edx
movsx eax, byte [ebp - 0xef]
and eax, 2
test eax, eax
je 0x10007d02
push 0x38030400
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x108]
push edx
call fcn.10010cd0
add esp, 8
test eax, eax
jne 0x10007d02
mov eax, dword [ebp - 8]
add eax, dword [ebp - 4]
mov byte [eax], 0
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
jmp 0x10007d6b
movsx edx, byte [ebp - 0xef]
and edx, 2
test edx, edx
je 0x10007d3f
push 0xe4050400
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x108]
push ecx
call fcn.10010cd0
add esp, 8
test eax, eax
jne 0x10007d3f
mov edx, dword [ebp - 8]
add edx, dword [ebp - 4]
mov byte [edx], 1
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
jmp 0x10007d6b
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x108]
push edx
mov eax, dword [ebp - 0x110]
push eax
mov ecx, dword [ebp - 8]
add ecx, dword [ebp - 4]
push ecx
call fcn.10006700
add esp, 0xc
mov edx, dword [ebp - 4]
add edx, dword [ebp - 0x110]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
and eax, 1
test eax, eax
je 0x10007d87
mov ecx, dword [ebp - 8]
add ecx, dword [ebp - 4]
mov byte [ecx], 0
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x10], ecx
jmp 0x1000799d
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x30]
cmp eax, dword [ebp - 4]
je 0x10007dc4
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x1c]
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x30]
push edx
push 0x38070400
push 0xa84c0400
call fcn.1000e1f0
add esp, 0x14
push 0
push 0
mov eax, dword [ebp + 0xc]
push eax
push 1
mov ecx, dword [ebp - 0x10c]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.100010dc
add esp, 0x18
mov eax, dword [ebp - 0x10c]
shr eax, 0xb
mov ecx, dword [0xb4ea0400]
add ecx, eax
mov dword [0xb4ea0400], ecx
mov edx, dword [ebp - 8]
push edx
call fcn.1000f4b0
add esp, 4
pop edi
pop esi
pop ebx
add esp, 0x154
cmp ebp, esp
call fcn.1000dd50
mov esp, ebp
pop ebp
ret