Function at 0x7ef460
Capabilities:
Terminate process

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [0xbcbae0]
mov edi, ecx
mov ebp, edx
xor eax, esp
mov dword [esp + 0x28], eax
xor eax, eax
mov esi, dword [ecx + 8]
mov ecx, dword [edx + 4]
mov ebx, dword [edx + 0x14]
test cl, 0x20
mov dword [esp], ebx
jne 0x7ef671
test ecx, 0x2000000
je 0x7ef63c
mov edx, fcn.007dead0
movzx ecx, byte [0xbb0357]
not edx
and edx, 1
mov eax, edx
add eax, fcn.007dead0
sete al
or al, 6
movzx eax, al
bt ecx, eax
jb 0x7ef60c
mov al, byte [0xbb0357]
mov ecx, edx
mov ah, 1
add ecx, fcn.007dead0
sete cl
or cl, 6
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbb0357], ah
jne 0x7ef4c7
mov ecx, fcn.007dead0
movzx eax, al
not ecx
and ecx, 1
mov edx, ecx
add edx, fcn.007dead0
sete dl
or dl, 6
xor dl, 7
movzx edx, dl
bt eax, edx
jae 0x7ef52e
mov eax, ecx
movzx edx, byte [0xbb0357]
add eax, fcn.007dead0
sete al
or al, 6
movzx eax, al
bt edx, eax
jae 0x7ef50e
jmp 0x7ef60c
add ecx, fcn.007dead0
movzx ecx, byte [0xbb0357]
sete al
or al, 6
movzx eax, al
bt ecx, eax
jb 0x7ef5ea
mov eax, fcn.007dead0
xor ecx, ecx
not eax
and eax, 1
add eax, fcn.007dead0
mov eax, dword [0xbb0340]
sete cl
or ecx, 0x11e1e9e
add ecx, 0x240
xor eax, ecx
mov dword [0xbb0340], eax
not eax
mov edx, dword [0xbb0344]
imul eax, ecx
and cl, 7
lea ebx, [eax + eax]
xor edx, eax
shr eax, 0x1e
mov dword [0xbb0344], edx
or eax, ebx
not edx
imul edx, eax
mov eax, dword [0xbb0348]
lea ebx, [edx*4]
xor eax, edx
shr edx, 0x1d
mov dword [0xbb0348], eax
or edx, ebx
not eax
imul eax, edx
mov edx, dword [0xbb034c]
lea ebx, [eax*8]
xor edx, eax
shr eax, 0x1c
mov dword [0xbb034c], edx
or eax, ebx
not edx
mov ebx, dword [esp]
imul edx, eax
xor dword [0xbb0350], edx
mov dl, 1
shl dl, cl
or byte [0xbb0357], dl
mov eax, fcn.007dead0
not eax
and eax, 1
add eax, fcn.007dead0
mov al, 0xfe
sete cl
or cl, 6
xor cl, 7
rol al, cl
and byte [0xbb0357], al
push dword [ebx + 0x10]
push 0xbb0340
push 0
push edi
call fcn.007f2440
add esp, 0x10
mov ecx, esi
mov edx, 0xc
push dword [ebp + 0x2c]
push dword [ebp + 0x30]
call fcn.007c57e0
add esp, 8
mov ebx, dword [ebp + 0x1c]
jmp 0x7efd71
or ecx, 0x2000000
mov edx, 0x45
mov dword [ebp + 4], ecx
mov ecx, esi
mov eax, dword [edi + 0x2c]
inc eax
mov dword [edi + 0x2c], eax
mov dword [ebp + 0x30], eax
push eax
push 0
call fcn.007c57e0
add esp, 8
inc eax
mov ecx, esi
mov edx, 0x11
mov dword [ebp + 0x2c], eax
call fcn.007ebd30
mov edx, fcn.00775890
mov ebx, fcn.00775890
mov dword [esp + 0xc], eax
or edx, 2
xor ebx, 2
movzx ecx, byte [0xbb0373]
mov eax, edx
add eax, ebx
sete al
xor al, 5
add al, 0x14
and al, 7
movzx eax, al
bt ecx, eax
jb 0x7ef7eb
mov al, byte [0xbb0373]
mov ecx, edx
mov ah, 1
add ecx, ebx
sete cl
xor cl, 5
add cl, 0x14
and cl, 7
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbb0373], ah
jne 0x7ef6aa
mov ecx, fcn.00775890
mov edx, fcn.00775890
or ecx, 2
xor edx, 2
mov ebx, ecx
add ebx, edx
sete ah
xor ah, 5
add ah, 0x14
and ah, 7
xor ah, 7
movzx ebx, ah
movzx eax, al
bt eax, ebx
jae 0x7ef71c
mov eax, ecx
movzx ebx, byte [0xbb0373]
add eax, edx
sete al
xor al, 5
add al, 0x14
and al, 7
movzx eax, al
bt ebx, eax
jae 0x7ef6fb
jmp 0x7ef7eb
add ecx, edx
movzx ecx, byte [0xbb0373]
sete al
xor al, 5
add al, 0x14
and al, 7
movzx eax, al
bt ecx, eax
jb 0x7ef7c0
mov eax, fcn.00775890
mov edx, fcn.00775890
xor ecx, ecx
xor edx, 2
or eax, 2
add eax, edx
mov eax, dword [0xbb0360]
sete cl
xor ecx, 0x874dfc05
add ecx, 0x214
mov edx, ecx
xor eax, ecx
shr edx, 0x1f
mov dword [0xbb0360], eax
not eax
or edx, ecx
and cl, 7
imul edx, eax
mov eax, dword [0xbb0364]
lea ebx, [edx + edx]
xor eax, edx
shr edx, 0x1e
mov dword [0xbb0364], eax
or ebx, edx
not eax
mov edx, dword [0xbb0368]
imul eax, ebx
lea ebx, [eax*4]
xor edx, eax
shr eax, 0x1d
mov dword [0xbb0368], edx
or ebx, eax
not edx
mov al, 1
imul edx, ebx
shl al, cl
xor dword [0xbb036c], edx
or byte [0xbb0373], al
mov eax, fcn.00775890
mov ecx, fcn.00775890
xor ecx, 2
or eax, 2
add eax, ecx
mov al, 0xfe
sete cl
xor cl, 5
add cl, 0x14
and cl, 7
xor cl, 7
rol al, cl
and byte [0xbb0373], al
mov edx, fcn.007a1b50
mov eax, fcn.007a1b50
movzx ecx, byte [0xbb039b]
mov ebx, dword [esp]
and edx, 1
xor edx, eax
cmp edx, 0xffffffff
sete al
not al
and al, 5
movzx eax, al
bt ecx, eax
jb 0x7ef983
mov al, byte [0xbb039b]
cmp edx, 0xffffffff
mov ah, 1
sete cl
not cl
and cl, 5
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbb039b], ah
jne 0x7ef81f
mov ecx, fcn.007a1b50
mov edx, fcn.007a1b50
movzx eax, al
and ecx, 1
xor ecx, edx
cmp ecx, 0xffffffff
sete dl
not dl
and dl, 5
xor dl, 7
movzx edx, dl
bt eax, edx
jae 0x7ef883
cmp ecx, 0xffffffff
movzx edx, byte [0xbb039b]
sete al
not al
and al, 5
movzx eax, al
bt edx, eax
jae 0x7ef865
jmp 0x7ef983
cmp ecx, 0xffffffff
movzx ecx, byte [0xbb039b]
sete al
not al
and al, 5
movzx eax, al
bt ecx, eax
jb 0x7ef95c
mov edx, fcn.007a1b50
mov eax, fcn.007a1b50
xor ecx, ecx
and edx, 1
xor edx, eax
mov eax, dword [0xbb0380]
cmp edx, 0xffffffff
sete cl
xor ecx, 0x38ecf235
or ecx, 0x880
xor eax, ecx
mov dword [0xbb0380], eax
not eax
mov edx, dword [0xbb0384]
imul eax, ecx
and cl, 5
lea ebx, [eax + eax]
xor edx, eax
shr eax, 0x1e
mov dword [0xbb0384], edx
or ebx, eax
not edx
mov eax, dword [0xbb0388]
imul edx, ebx
lea ebx, [edx*4]
xor eax, edx
shr edx, 0x1d
mov dword [0xbb0388], eax
or ebx, edx
not eax
mov edx, dword [0xbb038c]
imul eax, ebx
lea ebx, [eax*8]
xor edx, eax
shr eax, 0x1c
mov dword [0xbb038c], edx
or ebx, eax
not edx
mov eax, dword [0xbb0390]
imul edx, ebx
mov ebx, edx
shl ebx, 4
xor eax, edx
shr edx, 0x1b
mov dword [0xbb0390], eax
or edx, ebx
not eax
mov ebx, dword [esp]
imul eax, edx
mov dl, 1
xor dword [0xbb0394], eax
shl dl, cl
or byte [0xbb039b], dl
mov ecx, fcn.007a1b50
mov eax, fcn.007a1b50
and ecx, 1
xor ecx, eax
mov al, 0xfe
cmp ecx, 0xffffffff
sete cl
not cl
and cl, 5
xor cl, 7
rol al, cl
and byte [0xbb039b], al
cmp dword [esp + 0xc], 0
mov eax, 0xc1f2c2
mov ecx, 0xbb0360
cmovne ecx, eax
push dword [ebx + 0x10]
push ecx
push 0xbb0380
push 1
push edi
call fcn.007f2440
add esp, 0x14
cmp byte [ebp], 0x88
mov ebx, 1
jne 0x7ef9bc
mov eax, dword [esp]
mov eax, dword [eax + 0x1c]
mov ebx, dword [eax]
mov eax, dword [edi + 0x2c]
lea ecx, [esp + 0x10]
xor edx, edx
inc eax
push eax
call fcn.007f24c0
add esp, 4
add dword [edi + 0x2c], ebx
mov dword [esp + 8], esi
cmp byte [ebp], 0x88
jne 0x7efa06
mov byte [esp + 0x10], 0xa
mov ecx, esi
mov edx, 0x48
mov eax, dword [esp + 0x14]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebx
lea ebx, [ebx + eax - 1]
push ebx
push eax
push 0
call fcn.007c5800
add esp, 0xc
jmp 0x7efa20
mov byte [esp + 0x10], 3
mov ecx, esi
mov edx, 0x45
push dword [esp + 0x14]
push 0
call fcn.007c57e0
add esp, 8
mov ebx, dword [esp]
mov esi, dword [edi]
cmp dword [ebx + 0x3c], 0
je 0x7efba4
mov edx, 0x78dc00
mov dword [esp + 4], edi
mov edi, esi
imul edx, edx
movzx ecx, byte [0xbb03a3]
and edx, 3
cmp edx, 2
sete al
not al
and al, 3
movzx eax, al
bt ecx, eax
jb 0x7efb2d
mov al, byte [0xbb03a3]
cmp edx, 2
mov ah, 1
sete cl
not cl
and cl, 3
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbb03a3], ah
jne 0x7efa62
mov ecx, 0x78dc00
movzx eax, al
imul ecx, ecx
and ecx, 3
cmp ecx, 2
sete dl
not dl
and dl, 3
xor dl, 7
movzx edx, dl
bt eax, edx
jae 0x7efabf
cmp ecx, 2
movzx edx, byte [0xbb03a3]
sete al
not al
and al, 3
movzx eax, al
bt edx, eax
jae 0x7efaa4
jmp 0x7efb2d
cmp ecx, 2
movzx ecx, byte [0xbb03a3]
sete al
not al
and al, 3
movzx eax, al
bt ecx, eax
jb 0x7efb0a
mov eax, 0x78dc00
xor ecx, ecx
imul eax, eax
and eax, 3
cmp eax, 2
mov al, 1
sete cl
xor ecx, 0xaf8af1b
add ecx, 0xc8
xor dword [0xbb039c], ecx
and cl, 7
shl al, cl
or byte [0xbb03a3], al
mov eax, 0x78dc00
imul eax, eax
and eax, 3
cmp eax, 2
mov al, 0xfe
sete cl
not cl
and cl, 3
xor cl, 7
rol al, cl
and byte [0xbb03a3], al
mov esi, ebp
mov ecx, edi
mov edx, 0x98
push 0xbb039c
call fcn.007d8c20
add esp, 4
test eax, eax
jne 0x7efb4e
mov ebx, dword [esp]
xor ebp, ebp
jmp 0x7efb7e
mov ebx, dword [esp]
mov byte [eax + 1], 0x43
mov ebp, eax
mov ecx, edi
mov eax, dword [ebx + 0x3c]
mov edx, dword [eax + 0xc]
push 0
call fcn.007f0780
add esp, 4
mov ecx, dword [esp + 4]
mov edx, 0x34
push ebp
push eax
call fcn.007cff00
add esp, 8
mov ebp, eax
mov eax, dword [ebx + 0x3c]
mov ecx, edi
mov edx, dword [eax + 0xc]
call fcn.007c00e0
mov eax, dword [ebx + 0x3c]
mov edi, dword [esp + 4]
mov dword [eax + 0xc], ebp
mov ebp, esi
mov esi, dword [esp + 8]
lea eax, [esp + 0x10]
jmp 0x7efd11
mov edx, fcn.0077c9f0
xor eax, eax
imul edx, edx
and edx, 3
cmp edx, 1
seta al
mov ecx, eax
xor ecx, 1
lea eax, [eax + ecx*2 + 6]
movzx ecx, byte [0xbb03ab]
and al, 7
movzx eax, al
bt ecx, eax
jb 0x7efce0
mov al, byte [0xbb03ab]
xor ebx, ebx
cmp edx, 1
mov ah, 1
seta bl
mov ecx, ebx
xor ecx, 1
lea ecx, [ebx + ecx*2 + 6]
and cl, 7
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbb03ab], ah
jne 0x7efbda
mov ecx, fcn.0077c9f0
xor edx, edx
movzx eax, al
imul ecx, ecx
and ecx, 3
cmp ecx, 1
seta dl
mov ebx, edx
xor ebx, 1
lea edx, [edx + ebx*2 + 6]
and dl, 7
xor dl, 7
movzx edx, dl
bt eax, edx
jae 0x7efc58
mov ebx, dword [esp]
xor eax, eax
cmp ecx, 1
seta al
mov edx, eax
xor edx, 1
lea eax, [eax + edx*2 + 6]
movzx edx, byte [0xbb03ab]
and al, 7
movzx eax, al
bt edx, eax
jae 0x7efc31
jmp 0x7efce0
xor eax, eax
cmp ecx, 1
movzx edx, byte [0xbb03ab]
seta al
mov ecx, eax
xor ecx, 1
lea eax, [eax + ecx*2 + 6]
and al, 7
movzx eax, al
bt edx, eax
jb 0x7efcb1
mov ecx, fcn.0077c9f0
xor eax, eax
imul ecx, ecx
and ecx, 3
cmp ecx, 1
seta al
mov ecx, eax
not ecx
and ecx, 0x811
lea ecx, [eax + ecx*2 - 0x392f3d12]
mov al, 1
xor dword [0xbb03a4], ecx
and cl, 7
shl al, cl
or byte [0xbb03ab], al
mov eax, fcn.0077c9f0
xor ecx, ecx
imul eax, eax
and eax, 3
cmp eax, 1
seta cl
mov eax, ecx
xor eax, 1
lea ecx, [ecx + eax*2 + 6]
mov al, 0xfe
and cl, 7
xor cl, 7
rol al, cl
and byte [0xbb03ab], al
mov ebx, dword [esp]
mov ecx, esi
mov edx, 0x98
push 0xbb03a4
call fcn.007d8c20
add esp, 4
mov ecx, edi
mov edx, 0x92
push 0
push eax
call fcn.007cff00
add esp, 8
mov esi, dword [esp + 8]
mov dword [ebx + 0x3c], eax
lea eax, [esp + 0x10]
mov dword [ebx + 8], 0
mov ecx, edi
mov edx, ebx
push eax
call fcn.007d5f00
add esp, 4
xor ebx, ebx
test eax, eax
jne 0x7efd71
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x14]
test edx, edx
mov dword [ebp + 0x1c], ebx
je 0x7efd71
mov ecx, esi
call fcn.007ebd40
mov ecx, esi
mov edx, 0x41
push dword [ebp + 0x30]
call fcn.007edd80
add esp, 4
mov ecx, esi
call fcn.007f2430
mov edx, dword [ebp + 0x2c]
dec eax
mov ecx, esi
dec edx
push eax
call fcn.007f24e0
add esp, 4
mov ecx, edi
call fcn.007f24f0
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.00980459
mov eax, ebx
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret