Function at 0x4e6fd0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x67cb18]
test eax, eax
mov dword [ebp - 0x18], ecx
je 0x4e6fd6
mov eax, dword [0x67ccbc]
test eax, eax
jne 0x4e6fd6
mov eax, dword [0x67b914]
test eax, eax
jne 0x4e6fd6
mov al, byte [0x67dbbc]
test al, al
jne 0x4e6fd6
mov al, byte [0x676079]
test al, al
mov byte [0x67dbbc], 1
mov byte [ebp - 1], 0
je 0x4e6ac0
mov eax, dword [0x67607c]
cmp dword [0x6812a0], eax
jne 0x4e6ac0
lea ecx, [eax + eax*4]
lea edx, [eax + ecx*2]
mov ecx, dword [0x67db18]
shl edx, 5
lea eax, [edx + ecx]
mov dl, byte [eax + 0x1f9a1]
test dl, dl
jne 0x4e6ac6
mov byte [eax + 0x1f9a2], 1
mov eax, dword [0x67607c]
lea ecx, [eax + eax*4]
lea edx, [eax + ecx*2]
mov eax, dword [0x67db18]
shl edx, 5
mov byte [edx + eax + 0x1f9a1], 1
mov byte [ebp - 1], 1
mov ecx, dword [0x67db18]
push ebx
push esi
push edi
xor esi, esi
xor edi, edi
mov dword [ebp - 0xc], edi
mov al, byte [ecx + esi + 0x1e4d6]
test al, al
jne 0x4e6cd5
mov al, byte [edi + ecx + 0x1f8c1]
test al, al
mov al, byte [edi + ecx + 0x1f8fe]
jne 0x4e6ba6
test al, al
jne 0x4e6cc7
mov ecx, esi
call fcn.004e4e40
mov ecx, dword [0x67db18]
call fcn.004c5110
cmp esi, eax
jne 0x4e6b4c
mov ecx, dword [0x68ba40]
push 0
push 0xffffffffffffffff
push 0
push 0xffffffffffffffff
push 0
push 0xffffffffffffffff
push 0
push 0xffffffffffffffff
mov byte [0x676079], 0
mov eax, dword [ecx + 0x20]
mov ecx, dword [eax + 0x180]
push 0xffffffffffffffff
push 0xffffffffffffffff
mov edx, 1
call fcn.004ea100
jmp 0x4e6ccf
mov ecx, dword [0x68ba40]
mov edx, dword [ecx + 0x20]
mov ecx, dword [0x67db18]
mov edi, dword [edx + 0x18]
push esi
call fcn.004c5260
push eax
push edi
push 0x67cce8
call fcn.0060494e
add esp, 0xc
push 0
push 0xffffffffffffffff
push 0x1388
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push esi
push 0xa
push 0xffffffffffffffff
push 0xffffffffffffffff
mov edx, 1
mov ecx, 0x67cce8
call fcn.004ea100
mov ecx, dword [0x67db18]
mov edi, dword [ebp - 0xc]
jmp 0x4e6cd5
test al, al
jne 0x4e6cc7
mov al, byte [edi + ecx + 0x1f8fd]
cmp al, 0xff
lea ebx, [edi + ecx + 0x1f8fd]
jne 0x4e6c25
push esi
call fcn.004c5050
test al, al
je 0x4e6c1d
cmp esi, dword [0x6812a0]
jne 0x4e6c1d
mov eax, dword [0x68ba40]
mov ecx, dword [eax + 0x20]
mov edi, dword [ecx + 0x1c]
mov ecx, dword [0x67db18]
push esi
call fcn.004c5260
push eax
push edi
push 0x67cce8
call fcn.0060494e
add esp, 0xc
push 0
push 0xffffffffffffffff
push 0
push 0xffffffffffffffff
push 0
push 0xffffffffffffffff
push esi
push 0xa
push 0xffffffffffffffff
push 0xffffffffffffffff
mov edx, 1
mov ecx, 0x67cce8
call fcn.004ea100
mov edi, dword [ebp - 0xc]
mov byte [ebx], 7
jmp 0x4e6ccf
test al, al
jne 0x4e6cd5
mov ecx, esi
call fcn.004e4e40
mov ecx, dword [0x67db18]
push esi
call fcn.004c5050
test al, al
je 0x4e6c7c
cmp esi, dword [0x6812a0]
jne 0x4e6c7c
mov edx, dword [0x68ba40]
mov eax, dword [edx + 0x20]
mov ecx, dword [0x67db18]
mov ebx, dword [eax + 0x20]
push esi
call fcn.004c5260
push eax
push ebx
push 0x67cce8
call fcn.0060494e
add esp, 0xc
mov byte [0x676079], 0
jmp 0x4e6ca3
mov ecx, dword [0x68ba40]
mov edx, dword [ecx + 0x20]
mov ecx, dword [0x67db18]
mov ebx, dword [edx + 0x24]
push esi
call fcn.004c5260
push eax
push ebx
push 0x67cce8
call fcn.0060494e
add esp, 0xc
push 0
push 0xffffffffffffffff
push 0
push 0xffffffffffffffff
push 0
push 0xffffffffffffffff
push esi
push 0xa
push 0xffffffffffffffff
push 0xffffffffffffffff
mov edx, 1
mov ecx, 0x67cce8
call fcn.004ea100
jmp 0x4e6ccf
mov byte [edi + ecx + 0x1f8fd], 0xff
mov ecx, dword [0x67db18]
add edi, 0x160
inc esi
cmp edi, 0xb00
mov dword [ebp - 0xc], edi
jl 0x4e6ad0
mov al, byte [0x676079]
test al, al
je 0x4e6d3a
mov eax, dword [0x67607c]
cmp dword [0x6812a0], eax
jne 0x4e6d3a
mov dl, byte [ebp - 1]
test dl, dl
je 0x4e6d3a
lea edx, [eax + eax*4]
lea eax, [eax + edx*2]
shl eax, 5
mov byte [eax + ecx + 0x1f9a2], 0
mov eax, dword [0x67607c]
lea ecx, [eax + eax*4]
lea edx, [eax + ecx*2]
mov eax, dword [0x67db18]
shl edx, 5
mov byte [edx + eax + 0x1f9a1], 0
mov ecx, dword [0x67db18]
xor edi, edi
mov dword [ebp - 0x14], edi
call fcn.004c5110
mov esi, dword [0x67db18]
xor ebx, ebx
cmp eax, ebx
mov byte [ebp - 0xc], 0
jl 0x4e6d8e
cmp eax, 8
jge 0x4e6d8e
push eax
mov ecx, esi
call fcn.004a0210
mov edi, eax
xor ecx, ecx
movsx edx, byte [esi + ecx + 0x1e719]
cmp edx, edi
jne 0x4e6d7d
mov dl, byte [ebp - 0xc]
mov al, 1
shl al, cl
or dl, al
mov byte [ebp - 0xc], dl
inc ecx
cmp ecx, 8
jl 0x4e6d65
mov esi, dword [0x67db18]
mov edi, dword [ebp - 0x14]
xor ebx, ebx
mov eax, dword [ebp - 0xc]
and eax, 0xff
xor ecx, ecx
mov dl, byte [esi + ecx + 0x1e4d6]
test dl, dl
jne 0x4e6daf
mov edx, 1
shl edx, cl
test eax, edx
jne 0x4e6daf
inc edi
inc ecx
cmp ecx, 8
jl 0x4e6d98
mov al, byte [0x676079]
test al, al
mov dword [ebp - 0x14], edi
mov byte [ebp - 1], 0
je 0x4e6dff
mov eax, dword [0x6812a0]
cmp eax, dword [0x67607c]
jne 0x4e6dff
mov eax, dword [0x6812a8]
mov cl, byte [eax + 0xe1]
test cl, cl
jne 0x4e6dff
mov byte [eax + 0xe1], 1
mov ecx, dword [0x6812a8]
mov byte [ecx + 0xe2], 1
mov esi, dword [0x67db18]
mov byte [ebp - 1], 1
push ebx
lea edx, [ebp - 0x10]
push edx
lea edx, [ebp - 8]
lea ecx, [esi + 0x1e73c]
mov dword [ebp - 8], ebx
mov dword [ebp - 0x10], ebx
mov edi, 1
call fcn.004e5380
test al, al
jne 0x4e6e3a
mov ecx, dword [0x67db18]
push ebx
lea eax, [ebp - 0x10]
push eax
lea edx, [ebp - 8]
add ecx, 0x1e788
call fcn.004e6690
mov ecx, dword [0x67db18]
cmp byte [ecx + 0x1e73c], 0xff
je 0x4e6e55
mov al, byte [ecx + 0x1e73d]
test al, al
jne 0x4e6e55
xor edi, edi
cmp dword [ebp - 0x10], ebx
mov edx, 1
je 0x4e6e6b
mov dword [0x67b914], edx
mov dword [0x67db14], ebx
cmp dword [ebp - 8], ebx
je 0x4e6e7c
mov dword [0x67b914], edx
mov dword [0x67db14], edx
cmp edi, ebx
je 0x4e6f0d
cmp dword [ebp - 0x14], ebx
jne 0x4e6f0d
cmp dword [0x67db7c], ebx
mov byte [0x67db4c], 1
mov dword [0x67b914], edx
mov dword [ebp - 8], edx
mov dword [0x67db14], edx
je 0x4e6ee3
call fcn.004c5110
push 1
push ebx
mov edx, 0x7f
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x28], 0x436
mov dword [ebp - 0x30], 0xffffffff
mov dword [ebp - 0x24], 0x18
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], eax
call fcn.00546050
mov edx, 1
mov eax, dword [0x68ba40]
mov ecx, dword [eax + 0x20]
mov ecx, dword [ecx + 0xa50]
push ebx
push 0xffffffffffffffff
push ebx
push 0xffffffffffffffff
push ebx
push 0xffffffffffffffff
push ebx
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
call fcn.004ea100
mov edx, 1
jmp 0x4e6f4d
xor esi, esi
mov al, byte [ecx + esi + 0x1e4d6]
test al, al
jne 0x4e6f2f
push esi
call fcn.004c5050
test al, al
jne 0x4e6f37
mov ecx, dword [0x67db18]
mov edx, 1
inc esi
cmp esi, 8
jl 0x4e6f0f
jmp 0x4e6f3c
mov edx, 1
cmp esi, 8
jne 0x4e6f4d
mov dword [0x67b914], edx
mov dword [0x67db14], ebx
mov eax, dword [ebp - 0x18]
cmp eax, edx
jne 0x4e6f6e
pop edi
pop esi
mov dword [0x67b914], edx
mov dword [0x67db14], edx
mov byte [0x67dbbc], 0
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 2
jne 0x4e6f8d
pop edi
pop esi
mov dword [0x67db14], ebx
mov dword [0x67b914], edx
mov byte [0x67dbbc], 0
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [0x67b914], ebx
jne 0x4e6fcc
mov al, byte [0x676079]
test al, al
je 0x4e6fcc
mov edx, dword [0x6812a0]
cmp edx, dword [0x67607c]
jne 0x4e6fcc
mov al, byte [ebp - 1]
test al, al
je 0x4e6fcc
mov eax, dword [0x6812a8]
mov byte [eax + 0xe1], 0
mov ecx, dword [0x6812a8]
mov byte [ecx + 0xe2], 0
pop edi
pop esi
mov byte [0x67dbbc], 0
pop ebx
mov esp, ebp
pop ebp
ret