Function at 0x10050850
Capabilities:
Terminate process

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 8
mov eax, dword [0x100b8998]
mov ecx, dword fs:[0x2c]
mov ebp, 0x5a98690
mov edi, 0xb5895a9f
mov eax, dword [ecx + eax*4]
mov al, byte [eax + 0x1598]
mov byte [esp + 2], al
mov eax, 0xb42815c3
cmp eax, 0x2e178915
jg 0x100508c5
cmp eax, 0xc3802c91
jg 0x1005091c
cmp eax, 0xb5895a9e
jg 0x10050983
cmp eax, 0x82a210cc
je 0x10050b2c
cmp eax, 0xb42815c3
jne 0x1005087f
mov al, byte [esp + 2]
mov ecx, eax
xor cl, 0xfe
test cl, al
mov eax, 0xc6503212
setne byte [esp + 1]
jmp 0x1005087f
cmp eax, 0x57ef1c10
jle 0x10050958
cmp eax, 0x6009033e
jg 0x100509a3
cmp eax, 0x57ef1c11
je 0x10050a4f
cmp eax, 0x58007f5c
jne 0x1005087f
mov eax, dword [0x100b8998]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
lea esi, [eax + 0x159c]
mov ecx, dword [esi]
call fcn.1005049e
mov ecx, esi
xor edx, edx
call fcn.100341de
mov eax, 0xc3802c92
jmp 0x1005087f
cmp eax, 0x5a9868f
jle 0x100509ca
cmp eax, 0x5a98690
je 0x100509f3
cmp eax, 0x100aba2a
jne 0x1005087f
mov cl, byte [esp]
mov edx, 0x82a210cc
mov eax, ecx
xor al, 0xfe
test al, cl
mov eax, 0x58007f5c
cmove eax, edx
jmp 0x1005087f
cmp eax, 0x2e178916
je 0x10050add
cmp eax, 0x2e8a6d51
je 0x10050ac9
cmp eax, 0x51785aa4
jne 0x1005087f
mov eax, 0xb5895a9f
jmp 0x1005087f
cmp eax, 0xb5895a9f
je 0x10050a86
cmp eax, 0xbfab2cf1
jne 0x1005087f
mov eax, 0x5a98690
jmp 0x1005087f
cmp eax, 0x6009033f
je 0x10050abf
cmp eax, 0x69d591fa
jne 0x1005087f
mov cl, byte [esp + 3]
mov eax, 0x100aba2a
mov byte [esp], cl
jmp 0x1005087f
cmp eax, 0xc6503212
jne 0x10050b1a
mov al, byte [esp + 1]
mov ecx, 0x2e178916
mov byte [esp], al
mov eax, 0x100aba2a
cmp byte [esp + 1], 0
cmovne eax, ecx
jmp 0x1005087f
mov eax, dword [0x100b94dc]
mov ecx, dword [0x100b94d8]
mov esi, 0xbfab2cf1
lea edx, [eax - 1]
imul edx, eax
mov eax, edx
xor eax, 0xfffffffe
test eax, edx
sete bl
cmp ecx, 0xa
setl bh
xor bh, bl
mov ebx, 0x6009033f
cmovne esi, ebx
test eax, edx
mov edx, dword fs:[0x2c]
mov eax, esi
cmove eax, ebx
cmp ecx, 0xa
mov ecx, dword [0x100b8998]
cmovge eax, esi
mov ecx, dword [edx + ecx*4]
mov ecx, dword [ecx + 0x159c]
mov dword [esp + 4], ecx
jmp 0x1005087f
mov eax, dword [0x100b94dc]
mov ecx, dword [0x100b94d8]
mov esi, 0x51785aa4
lea edx, [eax - 1]
imul edx, eax
mov eax, edx
xor eax, 0xfffffffe
test eax, edx
sete bl
cmp ecx, 0xa
setl bh
xor bh, bl
cmovne esi, edi
test eax, edx
mov eax, esi
cmove eax, edi
jmp 0x10050b0f
mov eax, dword [0x100b94dc]
mov ecx, dword [0x100b94d8]
mov esi, 0x51785aa4
lea edx, [eax - 1]
imul edx, eax
mov eax, edx
xor eax, 0xfffffffe
test eax, edx
sete bl
cmp ecx, 0xa
setl bh
xor bh, bl
mov ebx, 0x69d591fa
cmovne esi, ebx
test eax, edx
mov eax, esi
cmove eax, ebx
jmp 0x10050b0f
mov eax, 0x2e8a6d51
jmp 0x1005087f
cmp dword [esp + 4], 0
mov eax, 0x57ef1c11
setne byte [esp + 3]
jmp 0x1005087f
mov eax, dword [0x100b94dc]
mov ecx, dword [0x100b94d8]
mov esi, 0xbfab2cf1
lea edx, [eax - 1]
imul edx, eax
mov eax, edx
xor eax, 0xfffffffe
test eax, edx
sete bh
cmp ecx, 0xa
setl bl
xor bl, bh
cmovne esi, ebp
test eax, edx
mov eax, esi
cmove eax, ebp
cmp ecx, 0xa
cmovge eax, esi
jmp 0x1005087f
cmp eax, 0xc3802c92
jne 0x1005087f
push 1
call fcn.100a0b34
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret