Function at 0x7e6090
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x50
mov eax, dword [esp + 0x80]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x74]
mov edi, dword [esp + 0x7c]
mov esi, dword [esp + 0x78]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x20], eax
mov ebx, dword [esp + 0x64]
mov eax, dword [0xbcbae0]
xor eax, esp
test edi, edi
mov dword [esp + 0x4c], eax
mov eax, dword [ecx]
mov dword [esp], eax
je 0x7e6345
cmp dword [ebx + 4], 0
mov ebp, ecx
je 0x7e6362
mov edx, fcn.00823380
mov eax, fcn.00823380
movzx ecx, byte [0xbb36b3]
mov ebx, dword [esp]
and edx, 1
xor edx, eax
cmp edx, 0xffffffff
sete al
or al, 2
movzx eax, al
bt ecx, eax
jb 0x7e632e
mov al, byte [0xbb36b3]
cmp edx, 0xffffffff
mov ah, 1
sete cl
or cl, 2
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbb36b3], ah
jne 0x7e6124
mov ecx, fcn.00823380
mov edx, fcn.00823380
movzx eax, al
and ecx, 1
xor ecx, edx
cmp ecx, 0xffffffff
sete dl
or dl, 2
xor dl, 7
movzx edx, dl
bt eax, edx
jae 0x7e6182
cmp ecx, 0xffffffff
movzx edx, byte [0xbb36b3]
sete al
or al, 2
movzx eax, al
bt edx, eax
jae 0x7e6166
jmp 0x7e632e
cmp ecx, 0xffffffff
movzx edx, byte [0xbb36b3]
sete al
or al, 2
movzx eax, al
bt edx, eax
jb 0x7e6309
mov edx, fcn.00823380
mov eax, fcn.00823380
xor ecx, ecx
mov edi, esi
and edx, 1
xor edx, eax
mov eax, dword [0xbb3680]
cmp edx, 0xffffffff
sete cl
or ecx, 0x4b6e58b2
add ecx, 0xa90
mov edx, ecx
xor eax, ecx
shr edx, 0x1f
mov dword [0xbb3680], eax
not eax
or edx, ecx
and cl, 7
imul edx, eax
mov eax, dword [0xbb3684]
lea esi, [edx + edx]
xor eax, edx
shr edx, 0x1e
mov dword [0xbb3684], eax
or edx, esi
not eax
imul eax, edx
mov edx, dword [str._tu__oe]
lea esi, [eax*4]
xor edx, eax
shr eax, 0x1d
mov dword [str._tu__oe], edx
or eax, esi
not edx
imul edx, eax
mov eax, dword [0xbb368c]
lea esi, [edx*8]
xor eax, edx
shr edx, 0x1c
mov dword [0xbb368c], eax
or edx, esi
not eax
imul eax, edx
mov edx, dword [0xbb3690]
mov esi, eax
shl esi, 4
xor edx, eax
shr eax, 0x1b
mov dword [0xbb3690], edx
or eax, esi
not edx
imul edx, eax
mov eax, dword [0xbb3694]
mov esi, edx
shl esi, 5
xor eax, edx
shr edx, 0x1a
mov dword [0xbb3694], eax
or edx, esi
not eax
imul eax, edx
mov edx, dword [0xbb3698]
mov esi, eax
shl esi, 6
xor edx, eax
shr eax, 0x19
mov dword [0xbb3698], edx
or eax, esi
not edx
imul edx, eax
mov eax, dword [0xbb369c]
mov esi, edx
shl esi, 7
xor eax, edx
shr edx, 0x18
mov dword [0xbb369c], eax
or edx, esi
not eax
imul eax, edx
mov edx, dword [0xbb36a0]
mov esi, eax
shl esi, 8
xor edx, eax
shr eax, 0x17
mov dword [0xbb36a0], edx
or eax, esi
not edx
imul edx, eax
mov eax, dword [0xbb36a4]
mov esi, edx
shl esi, 9
xor eax, edx
shr edx, 0x16
mov dword [0xbb36a4], eax
or edx, esi
not eax
imul eax, edx
mov edx, dword [0xbb36a8]
mov esi, eax
shl esi, 0xa
xor edx, eax
shr eax, 0x15
mov dword [0xbb36a8], edx
or eax, esi
not edx
mov esi, edi
imul edx, eax
xor dword [0xbb36ac], edx
mov dl, 1
shl dl, cl
or byte [0xbb36b3], dl
mov ecx, fcn.00823380
mov eax, fcn.00823380
and ecx, 1
xor ecx, eax
mov al, 0xfe
cmp ecx, 0xffffffff
sete cl
or cl, 2
xor cl, 7
rol al, cl
and byte [0xbb36b3], al
push 0xbb3680
push ebp
call fcn.00782570
add esp, 8
xor edx, edx
xor edi, edi
jmp 0x7e7c65
lea eax, [esp + 0x48]
mov ebp, ecx
push eax
push ebx
call fcn.007f4ea0
add esp, 8
mov ecx, eax
test eax, eax
jns 0x7e636b
xor edx, edx
jmp 0x7e656a
mov ecx, 1
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x10]
test edx, edx
je 0x7e635b
mov eax, dword [esp]
cmp byte [eax + 0x51], 0
je 0x7e6388
mov ebx, dword [esp]
xor edi, edi
xor edx, edx
jmp 0x7e7c65
mov dword [esp + 0x18], edi
mov dword [esp + 4], esi
mov edi, ecx
cmp ecx, 1
mov esi, dword [esp]
je 0x7e63bd
mov al, byte [esi + 0xa5]
test al, al
je 0x7e63bd
mov eax, dword [esp + 0x10]
mov ecx, esi
mov edx, dword [eax + 0xc]
call fcn.00774f10
mov edx, dword [esp + 0x10]
mov dword [edx + 0xc], 0
mov ecx, ebp
call fcn.008042f0
cmp byte [esi + 0xa5], 0
je 0x7e63d6
mov ebx, dword [esp]
mov esi, dword [esp + 4]
jmp 0x7e6403
mov esi, dword [esp + 4]
test eax, eax
jne 0x7e63e3
mov ebx, dword [esp]
jmp 0x7e6403
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x7e63ef
mov ebx, dword [esp]
jmp 0x7e6403
mov ebx, dword [esp]
mov eax, dword [eax + 0x48]
mov ecx, dword [ebx + 0x10]
cmp eax, dword [ecx + 0x1c]
mov eax, 1
cmove edi, eax
xor edx, edx
cmp byte [ebx + 0x51], 0
je 0x7e6412
xor edi, edi
jmp 0x7e7c65
mov edx, fcn.007bc190
mov dword [esp + 0x14], edi
xor eax, eax
and edx, 1
inc edx
mov ecx, edx
xor ecx, fcn.007bc190
movzx ecx, byte [0xbb36c3]
setne al
bt ecx, eax
jb 0x7e6539
mov al, byte [0xbb36c3]
mov ecx, edx
mov ah, 1
xor ecx, fcn.007bc190
setne cl
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbb36c3], ah
jne 0x7e6441
mov ecx, fcn.007bc190
movzx eax, al
and ecx, 1
inc ecx
mov edx, ecx
xor edx, fcn.007bc190
setne dl
xor dl, 7
movzx edx, dl
bt eax, edx
jae 0x7e649f
mov edx, ecx
xor eax, eax
xor edx, fcn.007bc190
movzx edx, byte [0xbb36c3]
setne al
bt edx, eax
jae 0x7e6481
jmp 0x7e6539
xor eax, eax
xor ecx, fcn.007bc190
movzx ecx, byte [0xbb36c3]
setne al
bt ecx, eax
jb 0x7e651b
mov eax, fcn.007bc190
xor ecx, ecx
and eax, 1
inc eax
xor eax, fcn.007bc190
mov eax, dword [0xbb36b4]
sete cl
xor ecx, 0xea18d461
add ecx, 0x238
xor eax, ecx
mov edx, ecx
mov dword [0xbb36b4], eax
shr edx, 0x1f
not eax
mov edi, dword [0xbb36b8]
or edx, ecx
and cl, 7
imul edx, eax
lea ebx, [edx + edx]
xor edi, edx
shr edx, 0x1e
mov dword [0xbb36b8], edi
or edx, ebx
not edi
imul edi, edx
mov dl, 1
xor dword [0xbb36bc], edi
shl dl, cl
or byte [0xbb36c3], dl
mov eax, fcn.007bc190
and eax, 1
inc eax
xor eax, fcn.007bc190
mov al, 0xfe
setne cl
xor cl, 7
rol al, cl
and byte [0xbb36c3], al
mov edi, dword [esp + 0x48]
lea ebx, [esp + 0x30]
mov edx, ebp
mov ecx, ebx
push edi
push 0xbb36b4
push dword [esp + 0x1c]
call fcn.00804340
add esp, 0xc
mov ecx, ebx
mov ebx, dword [esp + 0x10]
mov edx, ebx
call fcn.00804380
xor edx, edx
test eax, eax
je 0x7e6574
mov ebx, dword [esp]
xor edi, edi
jmp 0x7e7c65
mov ecx, ebp
mov edx, ebx
mov dword [esp + 0x28], edi
mov dword [esp + 8], ebp
call fcn.008042f0
mov ebx, dword [esp]
test eax, eax
jne 0x7e65ad
xor edx, edx
cmp byte [ebx + 0xa4], 1
je 0x7e65a2
mov ebp, dword [esp + 8]
xor edi, edi
jmp 0x7e7c65
or byte [ebx + 0xa8], 1
xor edx, edx
jmp 0x7e6597
cmp dword [eax + 0x38], 0
mov edi, eax
je 0x7e682d
mov eax, fcn.0079a920
mov edx, 3
movzx edi, byte [0xbb36ff]
mov ebp, dword [esp + 8]
sub edx, eax
xor eax, eax
mov ecx, edx
xor ecx, fcn.0079a920
sete al
mov ecx, eax
xor ecx, 5
lea eax, [ecx + eax*2]
bt edi, eax
jb 0x7e6823
mov al, byte [0xbb36ff]
mov esi, edx
xor ecx, ecx
mov ah, 1
xor esi, fcn.0079a920
sete cl
mov ebx, ecx
xor ebx, 5
lea ecx, [ebx + ecx*2]
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbb36ff], ah
jne 0x7e65f3
mov edx, fcn.0079a920
mov ecx, 3
movzx eax, al
sub ecx, edx
xor edx, edx
mov esi, ecx
xor esi, fcn.0079a920
sete dl
mov ebx, edx
xor ebx, 5
lea edx, [ebx + edx*2]
xor dl, 7
movzx edx, dl
bt eax, edx
jae 0x7e6677
mov ebx, dword [esp]
mov esi, dword [esp + 4]
mov edx, ecx
xor eax, eax
movzx edi, byte [0xbb36ff]
xor edx, fcn.0079a920
sete al
mov edx, eax
xor edx, 5
lea eax, [edx + eax*2]
bt edi, eax
jae 0x7e6651
jmp 0x7e6823
xor eax, eax
xor ecx, fcn.0079a920
movzx edx, byte [0xbb36ff]
mov ebx, dword [esp]
mov esi, dword [esp + 4]
sete al
mov ecx, eax
xor ecx, 5
lea eax, [ecx + eax*2]
bt edx, eax
jb 0x7e67f7
mov eax, fcn.0079a920
mov ecx, 3
sub ecx, eax
xor eax, eax
xor ecx, fcn.0079a920
sete al
mov ecx, eax
xor ecx, 0xa741af1d
lea edx, [ecx + eax*2]
lea ecx, [ecx + eax*2 + 0x80]
mov eax, dword [0xbb36d0]
or edx, 0x81
xor eax, ecx
and cl, 7
mov dword [0xbb36d0], eax
not eax
imul edx, eax
mov eax, dword [0xbb36d4]
lea esi, [edx + edx]
xor eax, edx
shr edx, 0x1e
mov dword [0xbb36d4], eax
or edx, esi
not eax
imul eax, edx
mov edx, dword [0xbb36d8]
lea esi, [eax*4]
xor edx, eax
shr eax, 0x1d
mov dword [0xbb36d8], edx
or eax, esi
not edx
imul edx, eax
mov eax, dword [0xbb36dc]
lea esi, [edx*8]
xor eax, edx
shr edx, 0x1c
mov dword [0xbb36dc], eax
or edx, esi
not eax
imul eax, edx
mov edx, dword [0xbb36e0]
mov esi, eax
shl esi, 4
xor edx, eax
shr eax, 0x1b
mov dword [0xbb36e0], edx
or eax, esi
not edx
imul edx, eax
mov eax, dword [0xbb36e4]
mov esi, edx
shl esi, 5
xor eax, edx
shr edx, 0x1a
mov dword [0xbb36e4], eax
or edx, esi
not eax
imul eax, edx
mov edx, dword [0xbb36e8]
mov esi, eax
shl esi, 6
xor edx, eax
shr eax, 0x19
mov dword [0xbb36e8], edx
or eax, esi
not edx
imul edx, eax
mov eax, dword [0xbb36ec]
mov esi, edx
shl esi, 7
xor eax, edx
shr edx, 0x18
mov dword [0xbb36ec], eax
or edx, esi
not eax
imul eax, edx
mov edx, dword [0xbb36f0]
mov esi, eax
shl esi, 8
xor edx, eax
shr eax, 0x17
mov dword [0xbb36f0], edx
or eax, esi
not edx
mov edi, dword [0xbb36f4]
imul edx, eax
mov esi, edx
shl esi, 9
xor edi, edx
shr edx, 0x16
mov dword [0xbb36f4], edi
or edx, esi
not edi
mov esi, dword [esp + 4]
imul edi, edx
mov dl, 1
xor dword [0xbb36f8], edi
shl dl, cl
or byte [0xbb36ff], dl
mov eax, fcn.0079a920
mov ecx, 3
sub ecx, eax
xor eax, eax
xor ecx, fcn.0079a920
sete al
mov ecx, eax
xor ecx, 5
lea ecx, [ecx + eax*2]
mov al, 0xfe
xor cl, 7
rol al, cl
and byte [0xbb36ff], al
push 0xbb36d0
jmp 0x7e6333
mov edx, dword [esp + 0x28]
mov ecx, ebx
call fcn.007d8f60
test eax, eax
jne 0x7e6849
mov ebp, dword [esp + 8]
xor edx, edx
xor edi, edi
jmp 0x7e7c65
mov edx, 0x77e1e0
mov dword [esp + 0xc], eax
imul edx, edx
movzx ecx, byte [0xbb370f]
and edx, 3
cmp edx, 3
sete al
not al
add al, 0xa0
and al, 7
movzx eax, al
bt ecx, eax
jb 0x7e698d
mov al, byte [0xbb370f]
cmp edx, 3
mov ah, 1
sete cl
not cl
add cl, 0xa0
and cl, 7
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbb370f], ah
jne 0x7e687c
mov ecx, 0x77e1e0
movzx eax, al
imul ecx, ecx
and ecx, 3
cmp ecx, 3
sete dl
not dl
add dl, 0xa0
and dl, 7
xor dl, 7
movzx edx, dl
bt eax, edx
jae 0x7e68e4
cmp ecx, 3
movzx edx, byte [0xbb370f]
sete al
not al
add al, 0xa0
and al, 7
movzx eax, al
bt edx, eax
jae 0x7e68c4
jmp 0x7e698d
cmp ecx, 3
movzx ecx, byte [0xbb370f]
sete al
not al
add al, 0xa0
and al, 7
movzx eax, al
bt ecx, eax
jb 0x7e6967
mov eax, 0x77e1e0
xor ecx, ecx
imul eax, eax
and eax, 3
cmp eax, 3
mov eax, dword [0xbb3700]
sete cl
xor ecx, 0x90d08aaf
add ecx, 0x2a0
xor eax, ecx
mov edx, ecx
mov dword [0xbb3700], eax
shr edx, 0x1f
not eax
mov ebp, dword [0xbb3704]
or edx, ecx
and cl, 7
imul edx, eax
lea ebx, [edx + edx]
xor ebp, edx
shr edx, 0x1e
mov dword [0xbb3704], ebp
or ebx, edx
not ebp
mov dl, 1
imul ebp, ebx
mov ebx, dword [esp]
shl dl, cl
xor dword [0xbb3708], ebp
or byte [0xbb370f], dl
mov eax, 0x77e1e0
imul eax, eax
and eax, 3
cmp eax, 3
mov al, 0xfe
sete cl
not cl
add cl, 0xa0
and cl, 7
xor cl, 7
rol al, cl
and byte [0xbb370f], al
mov ebp, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, ebp
push dword [edi]
push 0xbb3700
call fcn.007f5270
add esp, 8
test eax, eax
je 0x7e69b5
mov edx, dword [esp + 0xc]
xor edi, edi
jmp 0x7e7c65
cmp byte [ebp + 0xc8], 1
ja 0x7e6bf8
mov ecx, dword [esp + 0x14]
mov eax, dword [ebx + 0x10]
mov edx, dword [esp + 0xc]
shl ecx, 4
mov ecx, dword [eax + ecx + 0xc]
add ecx, 0x28
call fcn.007bf720
test eax, eax
je 0x7e6bf8
cmp dword [esp + 0x1c], 0
mov edi, 0
jne 0x7e6be0
mov edx, 0x78ffe0
movzx ecx, byte [0xbb372f]
not edx
and edx, 1
mov eax, edx
add eax, 0x78ffe0
sete al
not al
and al, 3
movzx eax, al
bt ecx, eax
jb 0x7e6bc1
mov al, byte [0xbb372f]
mov ecx, edx
mov ah, 1
add ecx, 0x78ffe0
sete cl
not cl
and cl, 3
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbb372f], ah
jne 0x7e6a24
mov ecx, 0x78ffe0
movzx eax, al
not ecx
and ecx, 1
mov edx, ecx
add edx, 0x78ffe0
sete dl
not dl
and dl, 3
xor dl, 7
movzx edx, dl
bt eax, edx
jae 0x7e6a9a
mov ebx, dword [esp]
mov esi, dword [esp + 4]
xor edi, edi
mov eax, ecx
movzx edx, byte [0xbb372f]
add eax, 0x78ffe0
sete al
not al
and al, 3
movzx eax, al
bt edx, eax
jae 0x7e6a78
jmp 0x7e6bc1
add ecx, 0x78ffe0
movzx ecx, byte [0xbb372f]
sete al
not al
and al, 3
movzx eax, al
bt ecx, eax
jb 0x7e6b94
mov eax, 0x78ffe0
xor ecx, ecx
not eax
and eax, 1
add eax, 0x78ffe0
mov eax, dword [0xbb3710]
sete cl
xor ecx, 0x4f6a538b
add ecx, 0x10c0
mov edx, ecx
xor eax, ecx
shr edx, 0x1f
mov dword [0xbb3710], eax
not eax
or edx, ecx
and cl, 7
imul edx, eax
mov eax, dword [0xbb3714]
lea esi, [edx + edx]
xor eax, edx
shr edx, 0x1e
mov dword [0xbb3714], eax
or esi, edx
not eax
mov edx, dword [0xbb3718]
imul eax, esi
lea esi, [eax*4]
xor edx, eax
shr eax, 0x1d
mov dword [0xbb3718], edx
or esi, eax
not edx
mov eax, dword [0xbb371c]
imul edx, esi
lea esi, [edx*8]
xor eax, edx
shr edx, 0x1c
mov dword [0xbb371c], eax
or esi, edx
not eax
mov edx, dword [0xbb3720]
imul eax, esi
mov esi, eax
shl esi, 4
xor edx, eax
shr eax, 0x1b
mov dword [0xbb3720], edx
or eax, esi
not edx
mov edi, dword [0xbb3724]
imul edx, eax
mov esi, edx
shl esi, 5
xor edi, edx
shr edx, 0x1a
mov dword [0xbb3724], edi
or edx, esi
not edi
imul edi, edx
mov dl, 1
xor dword [0xbb3728], edi
shl dl, cl
or byte [0xbb372f], dl
mov eax, 0x78ffe0
not eax
and eax, 1
add eax, 0x78ffe0
mov al, 0xfe
sete cl
xor edi, edi
not cl
and cl, 3
xor cl, 7
rol al, cl
and byte [0xbb372f], al
mov ebx, dword [esp]
mov esi, dword [esp + 4]
push dword [esp + 0x28]
push 0xbb3710
mov ebp, dword [esp + 0x10]
push ebp
call fcn.00782570
add esp, 0xc
mov edx, dword [esp + 0xc]
jmp 0x7e7c65
mov ebp, dword [esp + 8]
mov edx, dword [esp + 0x14]
mov ecx, ebp
call fcn.007f31f0
mov edx, dword [esp + 0xc]
jmp 0x7e7c65
mov edx, fcn.0077b7f0
mov esi, fcn.0077b7f0
xor eax, eax
movzx ebx, byte [0xbb373f]
or edx, 2
xor esi, 2
mov ecx, edx
add ecx, esi
sete al
mov ecx, eax
xor ecx, 1
lea eax, [ecx + eax*2]
or al, 4
movzx eax, al
bt ebx, eax
jb 0x7e6d6c
mov al, byte [0xbb373f]
mov ebx, edx
xor ecx, ecx
mov ah, 1
add ebx, esi
sete 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 [0xbb373f], ah
jne 0x7e6c33
mov ecx, fcn.0077b7f0
mov edx, fcn.0077b7f0
xor ebx, ebx
movzx eax, al
or ecx, 2
xor edx, 2
mov esi, ecx
add esi, edx
sete bl
mov esi, ebx
xor ebx, 1
lea ebx, [ebx + esi*2]
or bl, 4
xor bl, 7
movzx esi, bl
bt eax, esi
jae 0x7e6cb3
mov esi, ecx
xor eax, eax
add esi, edx
movzx esi, byte [0xbb373f]
sete al
mov ebx, eax
xor ebx, 1
lea eax, [ebx + eax*2]
or al, 4
movzx eax, al
bt esi, eax
jae 0x7e6c8c
jmp 0x7e6d6c
xor eax, eax
add ecx, edx
movzx edx, byte [0xbb373f]
sete al
mov ecx, eax
xor ecx, 1
lea eax, [ecx + eax*2]
or al, 4
movzx eax, al
bt edx, eax
jb 0x7e6d3d
mov eax, fcn.0077b7f0
mov ecx, fcn.0077b7f0
xor edx, edx
mov esi, dword [0xbb3730]
xor ecx, 2
or eax, 2
add eax, ecx
sete dl
mov eax, edx
xor eax, 0x857277c9
lea ecx, [eax + edx*2 + 0x44]
xor esi, ecx
mov edx, ecx
mov dword [0xbb3730], esi
shr edx, 0x1f
not esi
mov ebx, dword [0xbb3734]
or edx, ecx
and cl, 7
imul edx, esi
lea esi, [edx + edx]
xor ebx, edx
shr edx, 0x1e
mov dword [0xbb3734], ebx
or esi, edx
not ebx
mov dl, 1
imul ebx, esi
shl dl, cl
xor dword [str._NMr], ebx
or byte [0xbb373f], dl
mov eax, fcn.0077b7f0
mov ecx, fcn.0077b7f0
xor edx, edx
xor ecx, 2
or eax, 2
add eax, ecx
sete dl
mov eax, edx
xor eax, 1
lea ecx, [eax + edx*2]
mov al, 0xfe
or cl, 4
xor cl, 7
rol al, cl
and byte [0xbb373f], al
mov ebx, dword [edi]
push 7
push 0xbb3730
push ebx
call fcn.00777e50
add esp, 0xc
mov esi, dword [esp + 4]
test eax, eax
jne 0x7e6ff6
mov edx, fcn.0079a2a0
mov eax, fcn.0079a2a0
movzx edi, byte [0xbb376b]
mov ebx, dword [esp]
and edx, 1
xor edx, eax
xor eax, eax
cmp edx, 0xffffffff
sete al
mov ecx, eax
xor ecx, 1
lea eax, [eax + ecx*2]
or al, 4
movzx eax, al
bt edi, eax
jb 0x7e6fdf
mov al, byte [0xbb376b]
xor ecx, ecx
cmp edx, 0xffffffff
mov ah, 1
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 [0xbb376b], ah
jne 0x7e6dc6
mov ecx, fcn.0079a2a0
mov edx, fcn.0079a2a0
mov ah, 7
and ecx, 1
xor ecx, edx
xor edx, edx
cmp ecx, 0xffffffff
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 0x7e6e4b
mov ebx, dword [esp]
mov esi, dword [esp + 4]
xor eax, eax
cmp ecx, 0xffffffff
movzx edi, byte [0xbb376b]
sete al
mov edx, eax
xor edx, 1
lea eax, [eax + edx*2]
or al, 4
movzx eax, al
bt edi, eax
jae 0x7e6e25
jmp 0x7e6fdf
xor eax, eax
cmp ecx, 0xffffffff
movzx edx, byte [0xbb376b]
sete al
mov ecx, eax
xor ecx, 1
lea eax, [eax + ecx*2]
or al, 4
movzx eax, al
bt edx, eax
jb 0x7e6fa9
mov ecx, fcn.0079a2a0
mov eax, fcn.0079a2a0
and ecx, 1
xor ecx, eax
xor eax, eax
cmp ecx, 0xffffffff
sete al
mov ecx, eax
not ecx
and ecx, 0x211
lea ecx, [eax + ecx*2 + 0x6475dc64]
mov eax, dword [0xbb3740]
mov edx, ecx
shr edx, 0x1f
or edx, ecx
xor eax, ecx
and cl, 7
mov dword [0xbb3740], eax
not eax
imul edx, eax
mov eax, dword [0xbb3744]
lea esi, [edx + edx]
xor eax, edx
shr edx, 0x1e
mov dword [0xbb3744], eax
or esi, edx
not eax
mov edx, dword [0xbb3748]
imul eax, esi
lea esi, [eax*4]
xor edx, eax
shr eax, 0x1d
mov dword [0xbb3748], edx
or esi, eax
not edx
mov eax, dword [0xbb374c]
imul edx, esi
lea esi, [edx*8]
xor eax, edx
shr edx, 0x1c
mov dword [0xbb374c], eax
or esi, edx
not eax
mov edx, dword [0xbb3750]
imul eax, esi
mov esi, eax
shl esi, 4
xor edx, eax
shr eax, 0x1b
mov dword [0xbb3750], edx
or eax, esi
not edx
mov ebx, dword [0xbb3754]
imul edx, eax
mov esi, edx
shl esi, 5
xor ebx, edx
shr edx, 0x1a
mov dword [0xbb3754], ebx
or edx, esi
not ebx
imul ebx, edx
mov edx, dword [0xbb3758]
mov esi, ebx
shl esi, 6
xor edx, ebx
shr ebx, 0x19
mov dword [0xbb3758], edx
or ebx, esi
not edx
mov edi, dword [0xbb375c]
imul edx, ebx
mov esi, edx
shl esi, 7
xor edi, edx
shr edx, 0x18
mov dword [0xbb375c], edi
or edx, esi
not edi
imul edi, edx
mov edx, dword [0xbb3760]
mov esi, edi
shl esi, 8
xor edx, edi
shr edi, 0x17
mov dword [0xbb3760], edx
or edi, esi
not edx
imul edx, edi
xor dword [0xbb3764], edx
mov dl, 1
shl dl, cl
or byte [0xbb376b], dl
mov ecx, fcn.0079a2a0
mov eax, fcn.0079a2a0
mov dl, 0xfe
and ecx, 1
xor ecx, eax
xor eax, eax
cmp ecx, 0xffffffff
sete al
mov ecx, eax
xor ecx, 1
lea eax, [eax + ecx*2]
mov cl, 7
or al, 4
sub cl, al
rol dl, cl
and byte [0xbb376b], dl
mov ebx, dword [esp]
mov esi, dword [esp + 4]
push 0xbb3740
mov ebp, dword [esp + 0xc]
push ebp
call fcn.00782570
add esp, 8
jmp 0x7e69aa
mov eax, dword [edi + 0xc]
cmp dword [esp + 0x20], 0x41
je 0x7e7535
test eax, eax
je 0x7e7535
mov edx, fcn.0079f200
xor eax, eax
movzx edi, byte [0xbb3777]
not edx
and edx, 1
mov ecx, edx
add ecx, fcn.0079f200
sete al
mov ecx, eax
xor ecx, 1
lea eax, [eax + ecx*2 + 2]
bt edi, eax
jb 0x7e7164
mov al, byte [0xbb3777]
mov esi, edx
xor ecx, ecx
mov ah, 1
add esi, fcn.0079f200
sete cl
mov ebx, ecx
xor ebx, 1
lea ecx, [ecx + ebx*2 + 2]
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbb3777], ah
jne 0x7e7041
mov ecx, fcn.0079f200
xor edx, edx
movzx eax, al
not ecx
and ecx, 1
mov esi, ecx
add esi, fcn.0079f200
sete dl
mov ebx, edx
xor ebx, 1
lea edx, [edx + ebx*2 + 2]
xor dl, 7
movzx edx, dl
bt eax, edx
jae 0x7e70c3
mov esi, dword [esp + 4]
mov edx, ecx
xor eax, eax
movzx edi, byte [0xbb3777]
add edx, fcn.0079f200
sete al
mov edx, eax
xor edx, 1
lea eax, [eax + edx*2 + 2]
bt edi, eax
jae 0x7e709c
jmp 0x7e7164
xor eax, eax
add ecx, fcn.0079f200
movzx edx, byte [0xbb3777]
sete al
mov ecx, eax
xor ecx, 1
lea eax, [eax + ecx*2 + 2]
bt edx, eax
jb 0x7e7136
mov ecx, fcn.0079f200
xor eax, eax
mov esi, dword [0xbb376c]
not ecx
and ecx, 1
add ecx, fcn.0079f200
sete al
mov ecx, eax
not ecx
and ecx, 0x6e5
lea ecx, [eax + ecx*2 - 0x7edf36ee]
mov edx, ecx
xor esi, ecx
shr edx, 0x1f
mov dword [0xbb376c], esi
not esi
or edx, ecx
and cl, 7
imul edx, esi
xor dword [0xbb3770], edx
mov dl, 1
shl dl, cl
or byte [0xbb3777], dl
mov eax, fcn.0079f200
xor ecx, ecx
not eax
and eax, 1
add eax, fcn.0079f200
sete cl
mov eax, ecx
xor eax, 1
lea ecx, [ecx + eax*2 + 2]
mov al, 0xfe
xor cl, 7
rol al, cl
and byte [0xbb3777], al
mov esi, dword [esp + 4]
mov edx, fcn.007ebd40
xor eax, eax
movzx edi, byte [0xbb3783]
mov ebp, dword [esp + 8]
mov ebx, dword [esp]
imul edx, edx
and edx, 3
cmp edx, 1
seta al
mov ecx, eax
not ecx
lea eax, [eax + ecx*2]
and al, 7
movzx eax, al
bt edi, eax
mov edi, 0
jb 0x7e72cb
mov al, byte [0xbb3783]
xor ecx, ecx
cmp edx, 1
mov ah, 1
seta cl
mov ebx, ecx
not ebx
lea ecx, [ecx + ebx*2]
and cl, 7
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbb3783], ah
jne 0x7e71a4
mov ecx, fcn.007ebd40
xor edx, edx
movzx eax, al
imul ecx, ecx
and ecx, 3
cmp ecx, 1
seta dl
mov ebx, edx
not ebx
lea edx, [edx + ebx*2]
and dl, 7
xor dl, 7
movzx edx, dl
bt eax, edx
jae 0x7e7226
mov ebp, dword [esp + 8]
mov ebx, dword [esp]
mov esi, dword [esp + 4]
xor edi, edi
xor eax, eax
cmp ecx, 1
seta al
mov edx, eax
not edx
lea eax, [eax + edx*2]
movzx edx, byte [0xbb3783]
and al, 7
movzx eax, al
bt edx, eax
jae 0x7e7201
jmp 0x7e72cb
xor eax, eax
cmp ecx, 1
movzx edx, byte [0xbb3783]
seta al
mov ecx, eax
not ecx
lea eax, [eax + ecx*2]
and al, 7
movzx eax, al
bt edx, eax
jb 0x7e7294
mov ecx, fcn.007ebd40
xor eax, eax
mov esi, dword [0xbb3778]
imul ecx, ecx
and ecx, 3
cmp ecx, 1
seta al
mov ecx, eax
not ecx
and ecx, 7
lea ecx, [eax + ecx*2 - 0x54efb058]
mov edx, ecx
xor esi, ecx
shr edx, 0x1f
mov dword [0xbb3778], esi
not esi
or edx, ecx
and cl, 7
imul edx, esi
xor dword [0xbb377c], edx
mov dl, 1
shl dl, cl
or byte [0xbb3783], dl
mov eax, fcn.007ebd40
xor ecx, ecx
imul eax, eax
and eax, 3
cmp eax, 1
seta cl
xor edi, edi
mov eax, ecx
not eax
lea ecx, [ecx + eax*2]
mov al, 0xfe
and cl, 7
xor cl, 7
rol al, cl
and byte [0xbb3783], al
mov ebp, dword [esp + 8]
mov ebx, dword [esp]
mov esi, dword [esp + 4]
mov edx, 0x98b2cc
xor eax, eax
imul edx, edx
and edx, 3
cmp edx, 3
sete al
mov ecx, eax
xor ecx, 1
lea eax, [eax + ecx*2 + 2]
movzx ecx, byte [0xbb37bb]
bt ecx, eax
jb 0x7e7505
mov al, byte [0xbb37bb]
xor ecx, ecx
cmp edx, 3
mov ah, 1
sete cl
mov ebx, ecx
xor ebx, 1
lea ecx, [ecx + ebx*2 + 2]
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbb37bb], ah
jne 0x7e72fc
mov ecx, 0x98b2cc
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 + 2]
xor dl, 7
movzx edx, dl
bt eax, edx
jae 0x7e7379
mov ebp, dword [esp + 8]
mov ebx, dword [esp]
mov esi, dword [esp + 4]
xor edi, edi
xor eax, eax
cmp ecx, 3
sete al
mov edx, eax
xor edx, 1
lea eax, [eax + edx*2 + 2]
movzx edx, byte [0xbb37bb]
bt edx, eax
jae 0x7e7357
jmp 0x7e7505
xor eax, eax
cmp ecx, 3
movzx edx, byte [0xbb37bb]
sete al
mov ecx, eax
xor ecx, 1
lea eax, [eax + ecx*2 + 2]
bt edx, eax
jb 0x7e74cf
mov ecx, 0x98b2cc
xor eax, eax
imul ecx, ecx
and ecx, 3
cmp ecx, 3
sete al
mov ecx, eax
not ecx
and ecx, 0x401
lea ecx, [eax + ecx*2 - 0x5f56b45e]
mov eax, dword [0xbb3790]
mov edx, ecx
shr edx, 0x1f
or edx, ecx
xor eax, ecx
and cl, 7
mov dword [0xbb3790], eax
not eax
imul edx, eax
mov eax, dword [0xbb3794]
lea esi, [edx + edx]
xor eax, edx
shr edx, 0x1e
mov dword [0xbb3794], eax
or esi, edx
not eax
mov edx, dword [0xbb3798]
imul eax, esi
lea esi, [eax*4]
xor edx, eax
shr eax, 0x1d
mov dword [0xbb3798], edx
or esi, eax
not edx
mov eax, dword [0xbb379c]
imul edx, esi
lea esi, [edx*8]
xor eax, edx
shr edx, 0x1c
mov dword [0xbb379c], eax
or esi, edx
not eax
mov edx, dword [0xbb37a0]
imul eax, esi
mov esi, eax
shl esi, 4
xor edx, eax
shr eax, 0x1b
mov dword [0xbb37a0], edx
or eax, esi
not edx
mov ebx, dword [0xbb37a4]
imul edx, eax
mov esi, edx
shl esi, 5
xor ebx, edx
shr edx, 0x1a
mov dword [0xbb37a4], ebx
or edx, esi
not ebx
imul ebx, edx
mov edx, dword [0xbb37a8]
mov esi, ebx
shl esi, 6
xor edx, ebx
shr ebx, 0x19
mov dword [0xbb37a8], edx
or ebx, esi
not edx
mov edi, dword [0xbb37ac]
imul edx, ebx
mov esi, edx
shl esi, 7
xor edi, edx
shr edx, 0x18
mov dword [0xbb37ac], edi
or edx, esi
not edi
imul edi, edx
mov edx, dword [0xbb37b0]
mov esi, edi
shl esi, 8
xor edx, edi
shr edi, 0x17
mov dword [0xbb37b0], edx
or edi, esi
not edx
imul edx, edi
xor dword [0xbb37b4], edx
mov dl, 1
shl dl, cl
or byte [0xbb37bb], dl
mov eax, 0x98b2cc
xor ecx, ecx
imul eax, eax
and eax, 3
cmp eax, 3
sete cl
xor edi, edi
mov eax, ecx
xor eax, 1
lea ecx, [ecx + eax*2 + 2]
mov al, 0xfe
xor cl, 7
rol al, cl
and byte [0xbb37bb], al
mov ebp, dword [esp + 8]
mov ebx, dword [esp]
mov esi, dword [esp + 4]
cmp dword [esp + 0x20], 0x21
mov eax, 0xbb376c
mov ecx, 0xbb3778
cmove ecx, eax
push 0
push dword [esp + 0x14]
push ecx
push 0xbb3790
push ebp
call fcn.00782570
add esp, 0x14
mov edx, dword [esp + 0xc]
jmp 0x7e7c65
cmp dword [esp + 0x20], 0x41
jne 0x7e77e3
test eax, eax
jne 0x7e77e3
mov edx, fcn.007c79f0
xor eax, eax
movzx edi, byte [0xbb37f3]
not edx
and edx, 1
mov ecx, edx
add ecx, fcn.007c79f0
sete al
mov ecx, eax
not ecx
lea eax, [ecx + eax*2]
and al, 7
movzx eax, al
bt edi, eax
jb 0x7e77c3
mov al, byte [0xbb37f3]
mov esi, edx
xor ecx, ecx
mov ah, 1
add esi, fcn.007c79f0
sete cl
mov ebx, ecx
not ebx
lea ecx, [ebx + ecx*2]
and cl, 7
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbb37f3], ah
jne 0x7e7580
mov ecx, fcn.007c79f0
xor edx, edx
movzx eax, al
not ecx
and ecx, 1
mov esi, ecx
add esi, fcn.007c79f0
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 0x7e7607
mov esi, dword [esp + 4]
mov edx, ecx
xor eax, eax
movzx edi, byte [0xbb37f3]
add edx, fcn.007c79f0
sete al
mov edx, eax
not edx
lea eax, [edx + eax*2]
and al, 7
movzx eax, al
bt edi, eax
jae 0x7e75dd
jmp 0x7e77c3
xor eax, eax
add ecx, fcn.007c79f0
movzx edx, byte [0xbb37f3]
sete al
mov ecx, eax
not ecx
lea eax, [ecx + eax*2]
and al, 7
movzx eax, al
bt edx, eax
jb 0x7e7794
mov eax, fcn.007c79f0
xor ecx, ecx
not eax
and eax, 1
add eax, fcn.007c79f0
sete cl
mov eax, ecx
xor eax, 0xde19e6f
lea ecx, [eax + ecx*2 + 0x320]
mov eax, dword [0xbb37c0]
xor eax, ecx
mov dword [0xbb37c0], eax
not eax
mov edx, dword [0xbb37c4]
imul eax, ecx
and cl, 7
lea esi, [eax + eax]
xor edx, eax
shr eax, 0x1e
mov dword [0xbb37c4], edx
or esi, eax
not edx
mov eax, dword [0xbb37c8]
imul edx, esi
lea esi, [edx*4]
xor eax, edx
shr edx, 0x1d
mov dword [0xbb37c8], eax
or esi, edx
not eax
mov edx, dword [0xbb37cc]
imul eax, esi
lea esi, [eax*8]
xor edx, eax
shr eax, 0x1c
mov dword [0xbb37cc], edx
or esi, eax
not edx
mov eax, dword [0xbb37d0]
imul edx, esi
mov esi, edx
shl esi, 4
xor eax, edx
shr edx, 0x1b
mov dword [0xbb37d0], eax
or edx, esi
not eax
imul eax, edx
mov edx, dword [0xbb37d4]
mov esi, eax
shl esi, 5
xor edx, eax
shr eax, 0x1a
mov dword [0xbb37d4], edx
or eax, esi
not edx
mov edi, dword [0xbb37d8]
imul edx, eax
mov esi, edx
shl esi, 6
xor edi, edx
shr edx, 0x19
mov dword [0xbb37d8], edi
or edx, esi
not edi
imul edi, edx
mov edx, dword [0xbb37dc]
mov esi, edi
shl esi, 7
xor edx, edi
shr edi, 0x18
mov dword [0xbb37dc], edx
or edi, esi
not edx
mov ebx, dword [0xbb37e0]
imul edx, edi
mov esi, edx
shl esi, 8
xor ebx, edx
shr edx, 0x17
mov dword [0xbb37e0], ebx
or edx, esi
not ebx
imul ebx, edx
mov edx, dword [0xbb37e4]
mov esi, ebx
shl esi, 9
xor edx, ebx
shr ebx, 0x16
mov dword [0xbb37e4], edx
or ebx, esi
not edx
mov edi, dword [0xbb37e8]
imul edx, ebx
mov esi, edx
shl esi, 0xa
xor edi, edx
shr edx, 0x15
mov dword [0xbb37e8], edi
or edx, esi
not edi
imul edi, edx
mov dl, 1
xor dword [0xbb37ec], edi
shl dl, cl
or byte [0xbb37f3], dl
mov eax, fcn.007c79f0
xor ecx, ecx
not eax
and eax, 1
add eax, fcn.007c79f0
sete cl
mov eax, ecx
not eax
lea ecx, [eax + ecx*2]
mov al, 0xfe
and cl, 7
xor cl, 7
rol al, cl
and byte [0xbb37f3], al
mov esi, dword [esp + 4]
push 0
push dword [esp + 0x14]
push 0xbb37c0
mov ebp, dword [esp + 0x14]
push ebp
call fcn.00782570
add esp, 0x10
mov ebx, dword [esp]
jmp 0x7e69aa
mov eax, dword [esp + 8]
cmp byte [eax + 0xc8], 1
ja 0x7e7b82
mov esi, dword [esp]
mov edx, dword [edi + 0x48]
mov ebp, edi
mov ecx, esi
call fcn.007825f0
mov ecx, dword [esi + 0x10]
mov edi, eax
shl eax, 4
cmp dword [esp + 0x18], 0
mov esi, dword [ecx + eax]
mov eax, esi
je 0x7e781a
mov eax, dword [ecx + 0x10]
xor ecx, ecx
cmp edi, 1
mov edx, 5
setne cl
cmp dword [esp + 0x18], 0
lea ecx, [ecx + ecx + 5]
cmove edx, ecx
mov ecx, dword [esp + 8]
push eax
push ebx
push dword [esp + 0x14]
call fcn.007f4a50
add esp, 0xc
test eax, eax
je 0x7e7859
mov ebp, dword [esp + 8]
mov ebx, dword [esp]
mov esi, dword [esp + 4]
jmp 0x7e69aa
mov edx, 0x7756f0
mov eax, 0x7756f0
movzx ebx, byte [0xbb3817]
and edx, 1
xor edx, eax
xor eax, eax
cmp edx, 0xffffffff
sete al
mov ecx, eax
not ecx
lea eax, [eax + ecx*2]
and al, 7
movzx eax, al
bt ebx, eax
jb 0x7e79ff
mov al, byte [0xbb3817]
xor ecx, ecx
cmp edx, 0xffffffff
mov ah, 1
sete cl
mov ebx, ecx
not ebx
lea ecx, [ecx + ebx*2]
and cl, 7
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbb3817], ah
jne 0x7e7891
mov ecx, 0x7756f0
mov edx, 0x7756f0
movzx eax, al
and ecx, 1
xor ecx, edx
xor edx, edx
cmp ecx, 0xffffffff
sete dl
mov ebx, edx
not ebx
lea edx, [edx + ebx*2]
and dl, 7
xor dl, 7
movzx edx, dl
bt eax, edx
jae 0x7e790a
xor eax, eax
cmp ecx, 0xffffffff
movzx ebx, byte [0xbb3817]
sete al
mov edx, eax
not edx
lea eax, [eax + edx*2]
and al, 7
movzx eax, al
bt ebx, eax
jae 0x7e78e5
jmp 0x7e79ff
xor eax, eax
cmp ecx, 0xffffffff
movzx edx, byte [0xbb3817]
sete al
mov ecx, eax
not ecx
lea eax, [eax + ecx*2]
and al, 7
movzx eax, al
bt edx, eax
jb 0x7e79d1
mov ecx, 0x7756f0
mov eax, 0x7756f0
and ecx, 1
xor ecx, eax
xor eax, eax
cmp ecx, 0xffffffff
sete al
mov ecx, eax
not ecx
and ecx, 0x417
lea ecx, [eax + ecx*2 + 0x29c87368]
mov eax, dword [0xbb3800]
xor eax, ecx
mov dword [0xbb3800], eax
not eax
mov edx, dword [0xbb3804]
imul eax, ecx
and cl, 7
lea ebx, [eax + eax]
xor edx, eax
shr eax, 0x1e
mov dword [0xbb3804], edx
or ebx, eax
not edx
mov eax, dword [0xbb3808]
imul edx, ebx
lea ebx, [edx*4]
xor eax, edx
shr edx, 0x1d
mov dword [0xbb3808], eax
or ebx, edx
not eax
mov edx, dword [0xbb380c]
imul eax, ebx
lea ebx, [eax*8]
xor edx, eax
shr eax, 0x1c
mov dword [0xbb380c], edx
or ebx, eax
not edx
mov al, 1
imul edx, ebx
shl al, cl
xor dword [0xbb3810], edx
or byte [0xbb3817], al
mov ecx, 0x7756f0
mov eax, 0x7756f0
and ecx, 1
xor ecx, eax
xor eax, eax
cmp ecx, 0xffffffff
sete al
mov ecx, eax
not ecx
lea ecx, [eax + ecx*2]
mov al, 0xfe
and cl, 7
xor cl, 7
rol al, cl
and byte [0xbb3817], al
mov edx, 0x777890
movzx ecx, byte [0xbb3833]
and edx, 1
inc edx
mov eax, edx
xor eax, 0x777890
sete al
or al, 4
movzx eax, al
bt ecx, eax
jb 0x7e7b53
mov al, byte [0xbb3833]
mov ecx, edx
mov ah, 1
xor ecx, 0x777890
sete cl
or cl, 4
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbb3833], ah
jne 0x7e7a2c
mov ecx, 0x777890
movzx eax, al
and ecx, 1
inc ecx
mov edx, ecx
xor edx, 0x777890
sete dl
or dl, 4
xor dl, 7
movzx edx, dl
bt eax, edx
jae 0x7e7a92
mov eax, ecx
movzx edx, byte [0xbb3833]
xor eax, 0x777890
sete al
or al, 4
movzx eax, al
bt edx, eax
jae 0x7e7a72
jmp 0x7e7b53
xor ecx, 0x777890
movzx ecx, byte [0xbb3833]
sete al
or al, 4
movzx eax, al
bt ecx, eax
jb 0x7e7b32
mov eax, 0x777890
xor ecx, ecx
and eax, 1
inc eax
xor eax, 0x777890
mov eax, dword [0xbb3820]
sete cl
or ecx, 0x79d6f8b8
add ecx, 0xc04
mov edx, ecx
xor eax, ecx
shr edx, 0x1f
mov dword [0xbb3820], eax
not eax
or edx, ecx
and cl, 7
imul edx, eax
mov eax, dword [0xbb3824]
lea ebx, [edx + edx]
xor eax, edx
shr edx, 0x1e
mov dword [0xbb3824], eax
or ebx, edx
not eax
mov edx, dword [0xbb3828]
imul eax, ebx
lea ebx, [eax*4]
xor edx, eax
shr eax, 0x1d
mov dword [0xbb3828], edx
or ebx, eax
not edx
mov al, 1
imul edx, ebx
shl al, cl
xor dword [0xbb382c], edx
or byte [0xbb3833], al
mov eax, 0x777890
and eax, 1
inc eax
xor eax, 0x777890
mov al, 0xfe
sete cl
or cl, 4
xor cl, 7
rol al, cl
and byte [0xbb3833], al
mov ecx, dword [esp + 8]
cmp edi, 1
mov eax, 0xbb3800
mov ebx, 0xbb3820
mov edx, 0x12
cmove ebx, eax
push esi
push 0
push ebx
call fcn.007f4a50
add esp, 0xc
test eax, eax
mov edi, ebp
jne 0x7e7849
mov ecx, dword [esp]
mov ebp, edi
mov edx, 0x24
push 0
call fcn.0077efb0
add esp, 4
test eax, eax
mov dword [esp + 0x1c], eax
je 0x7e7849
mov edi, dword [esp + 0x20]
cmp edi, 0x41
sete byte [esp + 0x18]
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp]
mov dword [ebx], eax
mov eax, dword [esp + 0x10]
mov ecx, esi
mov edx, dword [eax + 0x10]
call fcn.0077edc0
mov edx, dword [esp + 0x14]
mov dword [ebx + 4], eax
mov ecx, dword [esi + 0x10]
shl edx, 4
cmp edi, 0x21
mov ecx, dword [ecx + edx + 0xc]
mov dl, 2
mov dword [ebx + 0x14], ecx
mov ecx, dword [ebp + 0x48]
mov dword [ebx + 0x18], ecx
mov ecx, dword [esp + 0x2c]
mov byte [ebx + 8], cl
sete cl
or cl, byte [esp + 0x18]
sub dl, cl
mov byte [ebx + 9], dl
mov edx, dword [esp + 8]
cmp byte [edx + 0xc8], 2
jb 0x7e7c2b
mov edx, eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 8]
push dword [eax + 0x10]
call fcn.007f6a90
add esp, 4
mov eax, dword [esp + 4]
mov dword [esp + 4], 0
jmp 0x7e7c3c
mov ecx, dword [esp]
mov edx, dword [esp + 4]
push 1
call fcn.007f0780
add esp, 4
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
mov ebp, dword [esp + 8]
mov dword [esp + 0x24], 0
xor edx, edx
mov ebx, dword [esp]
mov esi, dword [esp + 4]
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], ecx
mov dword [ebp + 0xec], edi
mov ecx, ebx
call fcn.00774f10
mov edx, dword [esp + 0x10]
mov ecx, ebx
call fcn.007c0320
mov edx, dword [esp + 0x24]
mov ecx, ebx
call fcn.007c0430
mov ecx, ebx
mov edx, esi
call fcn.007c00e0
cmp dword [ebp + 0xec], 0
je 0x7e7ca7
mov ecx, dword [esp + 0x4c]
xor ecx, esp
call fcn.00980459
add esp, 0x50
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, dword [esp + 0x4c]
xor ecx, esp
call fcn.00980459
mov ecx, ebx
mov edx, edi
add esp, 0x50
pop esi
pop edi
pop ebx
pop ebp
jmp fcn.00774e00