Function at 0x7cdd30
Capabilities:
Encode data using xor
Resolve function by parsing pe exports
Terminate process

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x5c
mov dword [esp + 0x3c], edx
mov ebp, ecx
mov edi, dword [esp + 0x78]
mov dl, byte [esp + 0x74]
mov ecx, dword [esp + 0x70]
mov eax, dword [0xbcbae0]
xor eax, esp
test ecx, ecx
mov dword [esp + 0x58], eax
mov eax, dword [ebp]
mov dword [esp + 4], eax
mov dword [esp + 0x34], ecx
jne 0x7cdd6b
test edi, edi
je 0x7cf325
mov ecx, dword [ebp + 0xe4]
test ecx, ecx
je 0x7cf325
test edi, edi
mov dword [esp], ecx
jne 0x7cdd9d
mov eax, dword [esp]
mov ebx, edx
mov ecx, dword [esp + 4]
mov edx, dword [eax]
call fcn.007f5940
mov ecx, dword [esp]
mov edx, ebx
test eax, eax
je 0x7cdd9d
or byte [ecx + 0x25], 0x10
mov eax, dword [esp + 4]
cmp byte [eax + 0xa5], 0
je 0x7cddd7
test edi, edi
je 0x7cddc1
push 0xc1f2c5
push ebp
call fcn.00782570
add esp, 8
jmp 0x7cf325
mov eax, dword [esp + 4]
mov eax, dword [eax + 0xa0]
cmp eax, 1
mov dword [ecx + 0x1c], eax
jne 0x7cddd7
or byte [ecx + 0x24], 1
test dl, dl
jns 0x7ce2a5
mov eax, dword [ecx + 0x24]
test al, 8
je 0x7ce096
mov edx, 0x83a8d0
mov esi, 0x83a8d0
xor eax, eax
movzx edi, byte [0xbb0767]
or edx, 2
xor esi, 2
mov ecx, edx
add ecx, esi
sete al
mov ecx, eax
xor ecx, 1
lea eax, [eax + ecx*2]
or al, 4
movzx eax, al
bt edi, eax
jb 0x7ce08c
mov al, byte [0xbb0767]
mov edi, edx
xor ecx, ecx
mov ah, 1
add edi, esi
sete cl
mov ebx, ecx
xor ebx, 1
lea ebx, [ecx + ebx*2]
mov cl, 7
or bl, 4
sub cl, bl
shl ah, cl
or ah, al
lock cmpxchg byte [0xbb0767], ah
jne 0x7cde25
mov ecx, 0x83a8d0
mov edx, 0x83a8d0
xor ebx, ebx
mov ah, 7
or ecx, 2
xor edx, 2
mov esi, ecx
add esi, edx
sete bl
mov esi, ebx
xor ebx, 1
lea ebx, [esi + ebx*2]
or bl, 4
sub ah, bl
movzx esi, ah
movzx eax, al
bt eax, esi
jae 0x7cdea7
mov esi, ecx
xor eax, eax
add esi, edx
movzx esi, byte [0xbb0767]
sete al
mov ebx, eax
xor ebx, 1
lea eax, [eax + ebx*2]
or al, 4
movzx eax, al
bt esi, eax
jae 0x7cde80
jmp 0x7ce08c
xor eax, eax
add ecx, edx
movzx edx, byte [0xbb0767]
sete al
mov ecx, eax
xor ecx, 1
lea eax, [eax + ecx*2]
or al, 4
movzx eax, al
bt edx, eax
jb 0x7ce05d
mov ecx, 0x83a8d0
mov edx, 0x83a8d0
xor eax, eax
xor edx, 2
or ecx, 2
add ecx, edx
sete al
mov ecx, eax
not ecx
and ecx, 0x999
lea ecx, [eax + ecx*2 - 0x22b61b9c]
mov eax, dword [0xbb0730]
mov edx, ecx
shr edx, 0x1f
or edx, ecx
xor eax, ecx
and cl, 7
mov dword [0xbb0730], eax
not eax
imul edx, eax
mov eax, dword [0xbb0734]
lea esi, [edx + edx]
xor eax, edx
shr edx, 0x1e
mov dword [0xbb0734], eax
or edx, esi
not eax
imul eax, edx
mov edx, dword [0xbb0738]
lea esi, [eax*4]
xor edx, eax
shr eax, 0x1d
mov dword [0xbb0738], edx
or eax, esi
not edx
mov edi, dword [0xbb073c]
imul edx, eax
lea esi, [edx*8]
xor edi, edx
shr edx, 0x1c
mov dword [0xbb073c], edi
or edx, esi
not edi
imul edi, edx
mov edx, dword [0xbb0740]
mov esi, edi
shl esi, 4
xor edx, edi
shr edi, 0x1b
mov dword [0xbb0740], edx
or edi, esi
not edx
mov ebx, dword [0xbb0744]
imul edx, edi
mov esi, edx
shl esi, 5
xor ebx, edx
shr edx, 0x1a
mov dword [0xbb0744], ebx
or edx, esi
not ebx
imul ebx, edx
mov edx, dword [0xbb0748]
mov esi, ebx
shl esi, 6
xor edx, ebx
shr ebx, 0x19
mov dword [0xbb0748], edx
or ebx, esi
not edx
mov edi, dword [0xbb074c]
imul edx, ebx
mov esi, edx
shl esi, 7
xor edi, edx
shr edx, 0x18
mov dword [0xbb074c], edi
or edx, esi
not edi
imul edi, edx
mov edx, dword [0xbb0750]
mov esi, edi
shl esi, 8
xor edx, edi
shr edi, 0x17
mov dword [0xbb0750], edx
or edi, esi
not edx
mov ebx, dword [0xbb0754]
imul edx, edi
mov esi, edx
shl esi, 9
xor ebx, edx
shr edx, 0x16
mov dword [0xbb0754], ebx
or edx, esi
not ebx
imul ebx, edx
mov edx, dword [0xbb0758]
mov esi, ebx
shl esi, 0xa
xor edx, ebx
shr ebx, 0x15
mov dword [0xbb0758], edx
or ebx, esi
not edx
mov edi, dword [0xbb075c]
imul edx, ebx
mov esi, edx
shl esi, 0xb
xor edi, edx
shr edx, 0x14
mov dword [0xbb075c], edi
or edx, esi
not edi
imul edi, edx
mov dl, 1
xor dword [0xbb0760], edi
shl dl, cl
or byte [0xbb0767], dl
mov eax, 0x83a8d0
mov ecx, 0x83a8d0
xor edx, edx
xor ecx, 2
or eax, 2
add eax, ecx
mov cl, 7
sete dl
mov eax, edx
xor eax, 1
lea eax, [edx + eax*2]
mov dl, 0xfe
or al, 4
sub cl, al
rol dl, cl
and byte [0xbb0767], dl
push 0xbb0730
jmp 0x7cddb3
test al, 4
jne 0x7ce28f
mov edx, 0x786500
mov esi, 0x786500
xor eax, eax
or edx, 2
xor esi, 2
mov ecx, edx
add ecx, esi
movzx ecx, byte [0xbb0797]
sete al
bt ecx, eax
jb 0x7ce277
mov al, byte [0xbb0797]
mov ecx, edx
mov ah, 1
add ecx, esi
sete cl
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbb0797], ah
jne 0x7ce0cc
mov ecx, 0x786500
mov edx, 0x786500
or ecx, 2
xor edx, 2
mov esi, ecx
add esi, edx
sete ah
xor ah, 7
movzx esi, ah
movzx eax, al
bt eax, esi
jae 0x7ce125
mov esi, ecx
xor eax, eax
add esi, edx
movzx esi, byte [0xbb0797]
sete al
bt esi, eax
jae 0x7ce10b
jmp 0x7ce277
xor eax, eax
add ecx, edx
movzx ecx, byte [0xbb0797]
sete al
bt ecx, eax
jb 0x7ce255
mov eax, 0x786500
mov edx, 0x786500
xor ecx, ecx
xor edx, 2
or eax, 2
add eax, edx
mov eax, dword [0xbb0770]
sete cl
or ecx, 0x897cb2d8
add ecx, 0x1208
mov edx, ecx
xor eax, ecx
shr edx, 0x1f
mov dword [0xbb0770], eax
not eax
or edx, ecx
and cl, 7
imul edx, eax
mov eax, dword [0xbb0774]
lea esi, [edx + edx]
xor eax, edx
shr edx, 0x1e
mov dword [0xbb0774], eax
or edx, esi
not eax
imul eax, edx
mov edx, dword [0xbb0778]
lea esi, [eax*4]
xor edx, eax
shr eax, 0x1d
mov dword [0xbb0778], edx
or eax, esi
not edx
mov edi, dword [0xbb077c]
imul edx, eax
lea esi, [edx*8]
xor edi, edx
shr edx, 0x1c
mov dword [0xbb077c], edi
or edx, esi
not edi
imul edi, edx
mov edx, dword [0xbb0780]
mov esi, edi
shl esi, 4
xor edx, edi
shr edi, 0x1b
mov dword [0xbb0780], edx
or edi, esi
not edx
mov ebx, dword [0xbb0784]
imul edx, edi
mov esi, edx
shl esi, 5
xor ebx, edx
shr edx, 0x1a
mov dword [0xbb0784], ebx
or edx, esi
not ebx
imul ebx, edx
mov edx, dword [0xbb0788]
mov esi, ebx
shl esi, 6
xor edx, ebx
shr ebx, 0x19
mov dword [0xbb0788], edx
or ebx, esi
not edx
mov edi, dword [0xbb078c]
imul edx, ebx
mov esi, edx
shl esi, 7
xor edi, edx
shr edx, 0x18
mov dword [0xbb078c], edi
or edx, esi
not edi
imul edi, edx
mov dl, 1
xor dword [0xbb0790], edi
shl dl, cl
or byte [0xbb0797], dl
mov eax, 0x786500
mov ecx, 0x786500
xor ecx, 2
or eax, 2
add eax, ecx
mov al, 0xfe
sete cl
xor cl, 7
rol al, cl
and byte [0xbb0797], al
mov eax, dword [esp]
push dword [eax]
push 0xbb0770
push ebp
call fcn.00782570
add esp, 0xc
jmp 0x7cf325
mov ebx, edx
mov edx, dword [esp]
or eax, 0x280
mov dword [ecx + 0x24], eax
mov ecx, ebp
call fcn.007f59b0
mov edx, ebx
mov byte [esp + 0x17], dl
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov edx, dword [eax + 0x48]
call fcn.007825f0
mov ebx, dword [esp]
mov esi, eax
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x7ce2f9
mov edx, dword [esp]
mov ecx, ebp
push eax
push 0
push 4
call fcn.007f5ee0
mov ebx, dword [esp + 0xc]
add esp, 0xc
cmp dword [ebp + 0x24], 0
je 0x7ce2f9
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov edx, dword [eax + 0x18]
call fcn.007c00f0
mov ebx, dword [esp]
mov dword [ebx + 0x18], 0
test byte [ebx + 0x24], 0x60
mov dword [esp + 0x24], esi
je 0x7ce613
cmp word [ebx + 0x2a], 0
jle 0x7ce397
mov dword [esp + 0x20], edi
xor edi, edi
xor esi, esi
mov dword [esp + 0x10], ebp
mov eax, dword [ebx + 4]
lea ebp, [edi + edi*4]
test byte [eax + ebp*4 + 0x10], 0x60
je 0x7ce37d
mov eax, dword [eax + ebp*4 + 4]
mov ecx, dword [esp + 0x10]
mov edx, ebx
push 0
mov dword [esp + 0x10], eax
push eax
push 8
call fcn.007f5ee0
add esp, 0xc
test eax, eax
je 0x7ce37e
mov dword [esp + 8], esi
mov esi, dword [esp + 4]
mov edx, dword [esp + 0xc]
mov ecx, esi
call fcn.007c00e0
mov ecx, esi
mov esi, dword [esp + 8]
mov edx, 0x77
push 0
push 0
call fcn.007d8c70
add esp, 8
mov ecx, dword [ebx + 4]
mov dword [ecx + ebp*4 + 4], eax
jmp 0x7ce37e
inc esi
movsx eax, word [ebx + 0x2a]
inc edi
cmp edi, eax
jl 0x7ce31e
mov ebp, dword [esp + 0x10]
mov edi, dword [esp + 0x20]
test esi, esi
jne 0x7ce613
mov edx, fcn.00782720
xor eax, eax
movzx esi, byte [0xbb07d3]
imul edx, edx
and edx, 3
cmp edx, 3
sete al
mov ecx, eax
xor ecx, 1
lea eax, [eax + ecx*2 + 6]
and al, 7
movzx eax, al
bt esi, eax
jb 0x7ce609
mov al, byte [0xbb07d3]
xor ecx, ecx
cmp edx, 3
mov ah, 1
sete cl
mov ebx, ecx
xor ebx, 1
lea ecx, [ecx + ebx*2 + 6]
and cl, 7
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbb07d3], ah
jne 0x7ce3cd
mov ecx, fcn.00782720
xor edx, edx
movzx eax, al
imul ecx, ecx
and ecx, 3
cmp ecx, 3
sete 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 0x7ce448
xor eax, eax
cmp ecx, 3
movzx esi, byte [0xbb07d3]
sete al
mov edx, eax
xor edx, 1
lea eax, [eax + edx*2 + 6]
and al, 7
movzx eax, al
bt esi, eax
jae 0x7ce421
jmp 0x7ce609
xor eax, eax
cmp ecx, 3
movzx edx, byte [0xbb07d3]
sete al
mov ecx, eax
xor ecx, 1
lea eax, [eax + ecx*2 + 6]
and al, 7
movzx eax, al
bt edx, eax
jb 0x7ce5dd
mov ecx, fcn.00782720
xor eax, eax
imul ecx, ecx
and ecx, 3
cmp ecx, 3
sete al
mov ecx, eax
not ecx
and ecx, 0x171
lea ecx, [eax + ecx*2 + 0x79d6b68e]
mov eax, dword [0xbb07a0]
mov edx, ecx
shr edx, 0x1f
or edx, ecx
xor eax, ecx
and cl, 7
mov dword [0xbb07a0], eax
not eax
imul edx, eax
mov eax, dword [0xbb07a4]
lea esi, [edx + edx]
xor eax, edx
shr edx, 0x1e
mov dword [0xbb07a4], eax
or esi, edx
not eax
mov edx, dword [0xbb07a8]
imul eax, esi
lea esi, [eax*4]
xor edx, eax
shr eax, 0x1d
mov dword [0xbb07a8], edx
or esi, eax
not edx
mov eax, dword [0xbb07ac]
imul edx, esi
lea esi, [edx*8]
xor eax, edx
shr edx, 0x1c
mov dword [0xbb07ac], eax
or esi, edx
not eax
mov edx, dword [0xbb07b0]
imul eax, esi
mov esi, eax
shl esi, 4
xor edx, eax
shr eax, 0x1b
mov dword [0xbb07b0], edx
or eax, esi
not edx
mov edi, dword [0xbb07b4]
imul edx, eax
mov esi, edx
shl esi, 5
xor edi, edx
shr edx, 0x1a
mov dword [0xbb07b4], edi
or edx, esi
not edi
imul edi, edx
mov edx, dword [0xbb07b8]
mov esi, edi
shl esi, 6
xor edx, edi
shr edi, 0x19
mov dword [0xbb07b8], edx
or edi, esi
not edx
mov ebx, dword [0xbb07bc]
imul edx, edi
mov esi, edx
shl esi, 7
xor ebx, edx
shr edx, 0x18
mov dword [0xbb07bc], ebx
or edx, esi
not ebx
imul ebx, edx
mov edx, dword [0xbb07c0]
mov esi, ebx
shl esi, 8
xor edx, ebx
shr ebx, 0x17
mov dword [0xbb07c0], edx
or ebx, esi
not edx
mov edi, dword [0xbb07c4]
imul edx, ebx
mov esi, edx
shl esi, 9
xor edi, edx
shr edx, 0x16
mov dword [0xbb07c4], edi
or edx, esi
not edi
imul edi, edx
mov edx, dword [0xbb07c8]
mov esi, edi
shl esi, 0xa
xor edx, edi
shr edi, 0x15
mov dword [0xbb07c8], edx
or edi, esi
not edx
imul edx, edi
xor dword [0xbb07cc], edx
mov dl, 1
shl dl, cl
or byte [0xbb07d3], dl
mov eax, fcn.00782720
xor ecx, ecx
imul eax, eax
and eax, 3
cmp eax, 3
sete 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 [0xbb07d3], al
push 0xbb07a0
jmp 0x7cddb3
mov ecx, ebx
call fcn.007f5fd0
mov esi, dword [ebx + 8]
jmp 0x7ce629
mov ecx, esi
call fcn.007f6010
mov esi, dword [esi + 0x14]
test esi, esi
jne 0x7ce61f
mov eax, dword [esp + 4]
mov esi, dword [esp]
cmp byte [eax + 0xa5], 0
jne 0x7cf2d5
mov ecx, ebp
call fcn.007ebd10
test eax, eax
mov dword [esp + 0x28], eax
je 0x7cf325
mov dword [esp + 0x20], edi
mov dword [esp + 0x10], ebp
mov ecx, fcn.00789400
xor esi, esi
mov eax, dword [esp + 0x24]
imul ecx, ecx
and ecx, 3
mov dword [esp + 0x1c], eax
mov dword [esp + 0x38], ecx
xor eax, eax
cmp dword [esp + 0x38], 1
mov ebp, dword [esi*4 + 0xb4e6c0]
mov edi, dword [esi*4 + 0xb4f0c4]
mov dword [esp + 0x2c], esi
seta al
mov ecx, eax
xor ecx, 0x12ccbe81
lea edx, [ecx + eax*2 + 0x2a4]
mov eax, 1
xor edx, dword [esi*4 + 0xb4e6d0]
mov ecx, edx
and cl, 7
movzx ebx, cl
shl eax, cl
xor cl, 7
mov dword [esp + 0xc], ebx
mov ebx, 1
shl ebx, cl
movzx ecx, byte [ebp + edi - 1]
mov esi, dword [esp + 0xc]
bt ecx, esi
jb 0x7ce75e
mov dword [esp + 0x30], eax
mov al, byte [ebp + edi - 1]
mov ecx, eax
or cl, bl
lock cmpxchg byte [ebp + edi - 1], cl
jne 0x7ce6de
mov ecx, dword [esp + 0x30]
movzx eax, al
test ebx, eax
je 0x7ce700
movzx eax, byte [ebp + edi - 1]
test ecx, eax
je 0x7ce6f5
jmp 0x7ce75e
movzx eax, byte [ebp + edi - 1]
test ecx, eax
jne 0x7ce758
lea ecx, [edi - 4]
shr ecx, 2
je 0x7ce750
xor eax, eax
mov esi, ebp
mov dword [esp + 0x18], ecx
mov dword [esp + 8], esi
mov ecx, esi
mov esi, dword [esi]
mov dword [esp + 0xc], edx
xor esi, edx
mov dword [ecx], esi
mov ecx, eax
not esi
inc eax
shl dword [esp + 0xc], cl
and cl, 0x1f
xor cl, 0x1f
shr edx, cl
mov ecx, dword [esp + 0x18]
or edx, dword [esp + 0xc]
imul edx, esi
mov esi, dword [esp + 8]
add esi, 4
cmp eax, ecx
jne 0x7ce719
mov eax, dword [esp + 0x30]
or byte [ebp + edi - 1], al
not bl
and byte [ebp + edi - 1], bl
mov esi, dword [esp + 0x2c]
inc esi
cmp esi, 4
jne 0x7ce675
mov edi, dword [esp + 0x28]
mov edx, 0x74
mov ecx, edi
push 0
call fcn.007edd80
add esp, 4
mov eax, dword [esp]
mov edx, 0xbb07f8
mov ecx, 0xbb07d4
mov ebx, 0xbb07ec
cmp dword [eax + 0xc], 0
mov eax, 0xbb07e0
cmove edx, eax
cmove ebx, ecx
cmp dword [esp + 0x20], 0
je 0x7ce95c
mov ebp, dword [esp + 0x10]
mov eax, dword [ebp + 0x2c]
mov ecx, ebp
lea esi, [eax + 1]
mov dword [esp + 8], eax
lea eax, [eax + 3]
mov dword [esp + 0x2c], eax
mov dword [ebp + 0x2c], eax
call fcn.007f0b40
mov ecx, edi
mov edx, 0x61
push dword [esp + 0x1c]
push dword [ebp + 0x5c]
push 1
call fcn.007c5800
add esp, 0xc
mov ecx, edi
mov edx, 0x10
call fcn.00782720
mov ecx, edi
mov dword [ebp + 0x28], 2
call fcn.007f2430
mov dword [esp + 0x18], eax
inc eax
mov ecx, edi
mov edx, 0xd
push eax
push 0
push esi
call fcn.007c5800
add esp, 0xc
cmp dword [ebp + 0x24], 0
mov edi, dword [esp + 0x20]
jne 0x7cf325
mov edx, edi
mov ecx, ebp
push 0x41
call fcn.007f6070
mov edx, dword [esp + 4]
add esp, 4
test eax, eax
je 0x7cf325
movzx ecx, word [eax + 0x2a]
mov word [edx + 0x2c], cx
mov word [edx + 0x2a], cx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 4]
mov edx, eax
mov word [eax + 0x2a], 0
mov dword [eax + 4], 0
call fcn.00774e50
lea ecx, [esp + 0x40]
mov edx, 0xd
push esi
call fcn.007f24c0
add esp, 4
lea eax, [esp + 0x40]
mov ecx, ebp
mov edx, edi
push eax
call fcn.007d5f00
mov edi, dword [esp + 4]
add esp, 4
cmp dword [ebp + 0x24], 0
jne 0x7cf325
mov dword [esp + 0xc], ebx
add dword [esp + 8], 2
mov edx, esi
mov ebx, dword [esp + 0x28]
mov ecx, ebx
call fcn.007f6140
mov edx, dword [esp + 0x18]
mov ecx, ebx
call fcn.007ebd40
mov ecx, ebx
mov edx, 0xe
push dword [esp + 0x44]
call fcn.007edd80
add esp, 4
mov dword [esp + 0x18], eax
mov ecx, ebx
mov edx, 0x5b
mov esi, dword [esp + 8]
push esi
push dword [esp + 0x50]
push dword [esp + 0x50]
call fcn.007c5800
add esp, 0xc
mov ecx, ebx
mov edx, edi
push 0
call fcn.007f6170
add esp, 4
mov edi, dword [esp + 0x2c]
mov ecx, ebx
mov edx, 0x78
push edi
push 1
call fcn.007c57e0
add esp, 8
mov ecx, ebx
mov edx, 0x79
push edi
push esi
push 1
call fcn.007c5800
add esp, 0xc
mov esi, dword [esp + 0x18]
mov ecx, ebx
mov edx, esi
call fcn.007ebf10
mov ecx, ebx
mov edx, esi
call fcn.007ebd40
mov ecx, ebx
mov edx, 0x74
push 1
call fcn.007edd80
add esp, 4
mov ecx, dword [esp + 4]
mov edx, dword [esp]
call fcn.007f6260
jmp 0x7ceaf1
mov dword [esp + 0xc], ebx
mov ebp, dword [esp + 0x10]
cmp byte [esp + 0x17], 0
lea eax, [ebp + 0xbc]
mov ebx, dword [ebp + 0xb4]
cmove eax, dword [esp + 0x34]
mov ecx, dword [eax]
mov esi, ecx
sub esi, ebx
cmp byte [ecx], 0x3b
je 0x7ce988
add esi, dword [eax + 4]
mov edi, fcn.007df4c0
movzx ecx, byte [0xbb0823]
not edi
and edi, 1
mov eax, edi
add eax, fcn.007df4c0
sete al
or al, 4
movzx eax, al
bt ecx, eax
jb 0x7ceadd
mov al, byte [0xbb0823]
mov ecx, edi
mov ah, 1
add ecx, fcn.007df4c0
sete cl
or cl, 4
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbb0823], ah
jne 0x7ce9b6
mov ecx, fcn.007df4c0
not ecx
and ecx, 1
mov edi, ecx
add edi, fcn.007df4c0
movzx edi, al
sete ah
or ah, 4
xor ah, 7
movzx eax, ah
bt edi, eax
jae 0x7cea1d
mov eax, ecx
movzx edi, byte [0xbb0823]
add eax, fcn.007df4c0
sete al
or al, 4
movzx eax, al
bt edi, eax
jae 0x7ce9fd
jmp 0x7ceadd
add ecx, fcn.007df4c0
movzx ecx, byte [0xbb0823]
sete al
or al, 4
movzx eax, al
bt ecx, eax
jb 0x7ceabb
mov eax, fcn.007df4c0
xor ecx, ecx
not eax
and eax, 1
add eax, fcn.007df4c0
mov eax, dword [0xbb0810]
sete cl
or ecx, 0x2d575b00
add ecx, 0x12c
xor eax, ecx
mov dword [0xbb0810], eax
not eax
mov edi, dword [0xbb0814]
imul eax, ecx
and cl, 7
lea ebp, [eax + eax]
xor edi, eax
shr eax, 0x1e
mov dword [0xbb0814], edi
or ebp, eax
not edi
mov eax, dword [0xbb0818]
imul edi, ebp
lea ebp, [edi*4]
xor eax, edi
shr edi, 0x1d
mov dword [0xbb0818], eax
or ebp, edi
not eax
imul eax, ebp
mov ebp, dword [esp + 0x10]
xor dword [0xbb081c], eax
mov ah, 1
shl ah, cl
or byte [0xbb0823], ah
mov eax, fcn.007df4c0
not eax
and eax, 1
add eax, fcn.007df4c0
mov al, 0xfe
sete cl
or cl, 4
xor cl, 7
rol al, cl
and byte [0xbb0823], al
push ebx
push esi
push edx
push 0xbb0810
push dword [esp + 0x14]
call fcn.00782620
add esp, 0x14
mov edx, fcn.00798210
mov dword [esp + 8], eax
mov eax, fcn.00798210
and edx, 1
movzx esi, byte [0xbb0843]
xor edx, eax
xor eax, eax
cmp edx, 0xffffffff
sete al
mov ecx, eax
not ecx
lea eax, [ecx + eax*2]
and al, 7
movzx eax, al
bt esi, eax
jb 0x7cec81
mov al, byte [0xbb0843]
xor ebx, ebx
cmp edx, 0xffffffff
mov ah, 1
sete bl
mov ecx, ebx
not ecx
lea ecx, [ecx + ebx*2]
and cl, 7
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbb0843], ah
jne 0x7ceb2d
mov ecx, fcn.00798210
mov edx, fcn.00798210
movzx eax, al
and ecx, 1
xor ecx, edx
xor edx, edx
cmp ecx, 0xffffffff
sete dl
mov ebx, edx
not ebx
lea edx, [ebx + edx*2]
and dl, 7
xor dl, 7
movzx edx, dl
bt eax, edx
jae 0x7ceba6
xor eax, eax
cmp ecx, 0xffffffff
movzx esi, byte [0xbb0843]
sete al
mov edx, eax
not edx
lea eax, [edx + eax*2]
and al, 7
movzx eax, al
bt esi, eax
jae 0x7ceb81
jmp 0x7cec81
xor eax, eax
cmp ecx, 0xffffffff
movzx edx, byte [0xbb0843]
sete al
mov ecx, eax
not ecx
lea eax, [ecx + eax*2]
and al, 7
movzx eax, al
bt edx, eax
jb 0x7cec53
mov ecx, fcn.00798210
mov eax, fcn.00798210
and ecx, 1
xor ecx, eax
xor eax, eax
cmp ecx, 0xffffffff
sete al
mov ecx, eax
xor ecx, 0x673705ff
lea ecx, [ecx + eax*2 + 0x1000]
mov eax, dword [0xbb0830]
mov edx, ecx
shr edx, 0x1f
or edx, ecx
xor eax, ecx
and cl, 7
mov dword [0xbb0830], eax
not eax
imul edx, eax
mov eax, dword [0xbb0834]
lea esi, [edx + edx]
xor eax, edx
shr edx, 0x1e
mov dword [0xbb0834], eax
or esi, edx
not eax
mov edx, dword [0xbb0838]
imul eax, esi
lea esi, [eax*4]
xor edx, eax
shr eax, 0x1d
mov dword [0xbb0838], edx
or esi, eax
not edx
mov al, 1
imul edx, esi
shl al, cl
xor dword [0xbb083c], edx
or byte [0xbb0843], al
mov ecx, fcn.00798210
mov eax, fcn.00798210
and ecx, 1
xor ecx, eax
xor eax, eax
cmp ecx, 0xffffffff
sete al
mov ecx, eax
not ecx
lea ecx, [ecx + eax*2]
mov al, 0xfe
and cl, 7
xor cl, 7
rol al, cl
and byte [0xbb0843], al
mov edx, fcn.00820860
xor eax, eax
movzx esi, byte [0xbb08ab]
imul edx, edx
and edx, 3
cmp edx, 1
seta al
mov ecx, eax
xor ecx, 1
lea eax, [ecx + eax*2]
or al, 4
movzx eax, al
bt esi, eax
jb 0x7cedd4
mov al, byte [0xbb08ab]
xor ecx, ecx
cmp edx, 1
mov ah, 1
seta cl
mov ebx, ecx
xor ebx, 1
lea ecx, [ebx + ecx*2]
or cl, 4
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbb08ab], ah
jne 0x7cecb6
mov ecx, fcn.00820860
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, [ebx + edx*2]
or dl, 4
xor dl, 7
movzx edx, dl
bt eax, edx
jae 0x7ced2e
xor eax, eax
cmp ecx, 1
movzx esi, byte [0xbb08ab]
seta al
mov edx, eax
xor edx, 1
lea eax, [edx + eax*2]
or al, 4
movzx eax, al
bt esi, eax
jae 0x7ced08
jmp 0x7cedd4
xor eax, eax
cmp ecx, 1
movzx esi, byte [0xbb08ab]
seta al
mov ecx, eax
xor ecx, 0xa5f229e9
lea edx, [ecx + eax*2 + 0xc]
mov eax, edx
and al, 7
movzx eax, al
bt esi, eax
jb 0x7ceda9
mov esi, 0xbb0850
xor eax, eax
mov ebx, dword [esi]
mov ecx, eax
mov ebp, edx
inc eax
shl ebp, cl
xor cl, 0x1f
xor ebx, edx
shr edx, cl
mov dword [esi], ebx
or edx, ebp
not ebx
add esi, 4
imul edx, ebx
cmp eax, 0x16
jne 0x7ced5c
mov eax, fcn.00820860
xor ecx, ecx
imul eax, eax
and eax, 3
cmp eax, 1
seta cl
mov eax, ecx
xor eax, 1
lea ecx, [eax + ecx*2]
mov al, 1
or cl, 4
shl al, cl
or byte [0xbb08ab], al
mov ebp, dword [esp + 0x10]
mov eax, fcn.00820860
xor ecx, ecx
imul eax, eax
and eax, 3
cmp eax, 1
seta cl
mov eax, ecx
xor eax, 1
lea ecx, [eax + ecx*2]
mov al, 0xfe
or cl, 4
xor cl, 7
rol al, cl
and byte [0xbb08ab], al
mov eax, dword [esp]
mov ebx, dword [esp + 4]
mov edi, dword [esp + 0x24]
mov eax, dword [eax]
mov ecx, dword [ebx + 0x10]
shl edi, 4
push dword [ebp + 0x58]
mov esi, dword [esp + 0xc]
push esi
push dword [ebp + 0x5c]
push eax
push eax
push dword [esp + 0x20]
push 0xbb0830
push dword [ecx + edi]
push 0xbb0850
push ebp
call fcn.007f6930
add esp, 0x28
mov ecx, ebx
mov edx, esi
call fcn.00774f10
mov ebx, dword [esp + 0x1c]
mov ecx, ebp
mov edx, ebx
call fcn.007f6a00
mov eax, dword [esp]
test byte [eax + 0x24], 8
je 0x7cf071
mov eax, dword [esp + 4]
mov edx, dword [eax + 0x10]
mov eax, dword [edx + edi + 0xc]
cmp dword [eax + 0x48], 0
jne 0x7cf071
mov eax, fcn.007b8720
mov esi, 3
sub esi, eax
xor eax, eax
mov ecx, esi
xor ecx, fcn.007b8720
movzx ecx, byte [0xbb08df]
setne al
bt ecx, eax
jb 0x7cf060
mov al, byte [0xbb08df]
mov ecx, esi
mov ah, 1
xor ecx, fcn.007b8720
setne cl
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbb08df], ah
jne 0x7cee74
mov esi, fcn.007b8720
mov ecx, 3
sub ecx, esi
mov esi, ecx
xor esi, fcn.007b8720
setne ah
xor ah, 7
movzx esi, ah
movzx eax, al
bt eax, esi
jae 0x7ceed5
mov esi, ecx
xor eax, eax
xor esi, fcn.007b8720
movzx esi, byte [0xbb08df]
setne al
bt esi, eax
jae 0x7ceeb7
jmp 0x7cf060
xor eax, eax
xor ecx, fcn.007b8720
movzx ecx, byte [0xbb08df]
setne al
bt ecx, eax
jb 0x7cf03e
mov eax, fcn.007b8720
mov esi, 3
xor ecx, ecx
mov dword [esp + 0x24], edi
sub esi, eax
mov eax, dword [0xbb08b0]
xor esi, fcn.007b8720
sete cl
xor ecx, 0x3b8ed479
add ecx, 0x408
xor eax, ecx
mov dword [0xbb08b0], eax
not eax
mov esi, dword [0xbb08b4]
imul eax, ecx
and cl, 7
lea edi, [eax + eax]
xor esi, eax
shr eax, 0x1e
mov dword [0xbb08b4], esi
or edi, eax
not esi
mov eax, dword [0xbb08b8]
imul esi, edi
lea edi, [esi*4]
xor eax, esi
shr esi, 0x1d
mov dword [0xbb08b8], eax
or edi, esi
not eax
mov esi, dword [0xbb08bc]
imul eax, edi
lea edi, [eax*8]
xor esi, eax
shr eax, 0x1c
mov dword [0xbb08bc], esi
or edi, eax
not esi
mov eax, dword [0xbb08c0]
imul esi, edi
mov edi, esi
shl edi, 4
xor eax, esi
shr esi, 0x1b
mov dword [0xbb08c0], eax
or esi, edi
not eax
imul eax, esi
mov esi, dword [0xbb08c4]
mov edi, eax
shl edi, 5
xor esi, eax
shr eax, 0x1a
mov dword [0xbb08c4], esi
or eax, edi
not esi
imul esi, eax
mov eax, dword [0xbb08c8]
mov edi, esi
shl edi, 6
xor eax, esi
shr esi, 0x19
mov dword [0xbb08c8], eax
or esi, edi
not eax
imul eax, esi
mov esi, dword [0xbb08cc]
mov edi, eax
shl edi, 7
xor esi, eax
shr eax, 0x18
mov dword [0xbb08cc], esi
or eax, edi
not esi
imul esi, eax
mov eax, dword [0xbb08d0]
mov edi, esi
shl edi, 8
xor eax, esi
shr esi, 0x17
mov dword [0xbb08d0], eax
or esi, edi
not eax
imul eax, esi
mov esi, dword [0xbb08d4]
mov edi, eax
shl edi, 9
xor esi, eax
shr eax, 0x16
mov dword [0xbb08d4], esi
or eax, edi
not esi
mov edi, dword [esp + 0x24]
imul esi, eax
mov ah, 1
xor dword [0xbb08d8], esi
shl ah, cl
or byte [0xbb08df], ah
mov eax, fcn.007b8720
mov ecx, 3
sub ecx, eax
mov al, 0xfe
xor ecx, fcn.007b8720
setne cl
xor cl, 7
rol al, cl
and byte [0xbb08df], al
push dword [edx + edi]
push 0xbb08b0
push ebp
call fcn.007f6930
add esp, 0xc
mov edx, fcn.007c5930
xor eax, eax
movzx esi, byte [0xbb0907]
not edx
and edx, 1
mov ecx, edx
add ecx, fcn.007c5930
sete al
mov ecx, eax
xor ecx, 1
lea eax, [eax + ecx*2]
or al, 4
movzx eax, al
bt esi, eax
jb 0x7cf2a6
mov al, byte [0xbb0907]
mov esi, edx
xor ecx, ecx
mov ah, 1
add esi, fcn.007c5930
sete cl
mov ebx, ecx
xor ebx, 1
lea ebx, [ecx + ebx*2]
mov cl, 7
or bl, 4
sub cl, bl
shl ah, cl
or ah, al
lock cmpxchg byte [0xbb0907], ah
jne 0x7cf0aa
mov ecx, fcn.007c5930
xor edx, edx
mov ah, 7
not ecx
and ecx, 1
mov esi, ecx
add esi, fcn.007c5930
sete dl
mov ebx, edx
xor ebx, 1
lea edx, [edx + ebx*2]
or dl, 4
sub ah, dl
movzx edx, ah
movzx eax, al
bt eax, edx
jae 0x7cf136
mov ebx, dword [esp + 0x1c]
mov edx, ecx
xor eax, eax
movzx esi, byte [0xbb0907]
add edx, fcn.007c5930
sete al
mov edx, eax
xor edx, 1
lea eax, [eax + edx*2]
or al, 4
movzx eax, al
bt esi, eax
jae 0x7cf10b
jmp 0x7cf2a6
xor eax, eax
add ecx, fcn.007c5930
movzx edx, byte [0xbb0907]
mov ebx, dword [esp + 0x1c]
sete al
mov ecx, eax
xor ecx, 1
lea eax, [eax + ecx*2]
or al, 4
movzx eax, al
bt edx, eax
jb 0x7cf27a
mov ecx, fcn.007c5930
xor eax, eax
not ecx
and ecx, 1
add ecx, fcn.007c5930
sete al
mov ecx, eax
not ecx
and ecx, 0x609
lea ecx, [eax + ecx*2 - 0x1359965c]
mov eax, dword [0xbb08e0]
mov edx, ecx
shr edx, 0x1f
or edx, ecx
xor eax, ecx
and cl, 7
mov dword [0xbb08e0], eax
not eax
imul edx, eax
mov eax, dword [0xbb08e4]
lea esi, [edx + edx]
xor eax, edx
shr edx, 0x1e
mov dword [0xbb08e4], eax
or esi, edx
not eax
mov edx, dword [0xbb08e8]
imul eax, esi
lea esi, [eax*4]
xor edx, eax
shr eax, 0x1d
mov dword [0xbb08e8], edx
or esi, eax
not edx
mov eax, dword [0xbb08ec]
imul edx, esi
lea esi, [edx*8]
xor eax, edx
shr edx, 0x1c
mov dword [0xbb08ec], eax
or esi, edx
not eax
mov edx, dword [0xbb08f0]
imul eax, esi
mov esi, eax
shl esi, 4
xor edx, eax
shr eax, 0x1b
mov dword [0xbb08f0], edx
or eax, esi
not edx
imul edx, eax
mov eax, dword [0xbb08f4]
mov esi, edx
shl esi, 5
xor eax, edx
shr edx, 0x1a
mov dword [0xbb08f4], eax
or edx, esi
not eax
imul eax, edx
mov edx, dword [0xbb08f8]
mov esi, eax
shl esi, 6
xor edx, eax
shr eax, 0x19
mov dword [0xbb08f8], edx
or eax, esi
not edx
mov edi, dword [0xbb08fc]
imul edx, eax
mov esi, edx
shl esi, 7
xor edi, edx
shr edx, 0x18
mov dword [0xbb08fc], edi
or edx, esi
not edi
imul edi, edx
mov dl, 1
xor dword [0xbb0900], edi
shl dl, cl
or byte [0xbb0907], dl
mov eax, fcn.007c5930
xor ecx, ecx
mov dl, 0xfe
not eax
and eax, 1
add eax, fcn.007c5930
sete cl
mov eax, ecx
xor eax, 1
lea eax, [ecx + eax*2]
mov cl, 7
or al, 4
sub cl, al
rol dl, cl
and byte [0xbb0907], dl
mov esi, dword [esp]
push dword [esi]
push 0xbb08e0
mov edi, dword [esp + 0xc]
push edi
call fcn.00782620
add esp, 0xc
mov ecx, dword [esp + 0x28]
mov edx, ebx
push eax
call fcn.007f6a30
add esp, 4
cmp byte [edi + 0xa5], 0
je 0x7cf325
mov ecx, dword [esi + 0x48]
mov edx, dword [esi]
add ecx, 8
push esi
call fcn.007bfe40
add esp, 4
test eax, eax
jne 0x7cf338
mov eax, dword [esp + 4]
mov dword [ebp + 0xe4], 0
or byte [eax + 0x18], 1
cmp dword [esi + 0xc], 0
jne 0x7cf325
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x34]
mov ecx, dword [ebp + 0xb4]
cmp dword [eax], 0
cmovne edx, eax
mov edx, dword [edx]
sub edx, ecx
call fcn.007c7ec0
add eax, 0xd
mov dword [esi + 0x34], eax
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.00980459
add esp, 0x5c
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.00980459
mov ecx, dword [esp + 4]
add esp, 0x5c
pop esi
pop edi
pop ebx
pop ebp
jmp fcn.0077e7a0