Function at 0x7c1710
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xa8
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov eax, dword [0xbcbae0]
xor esi, esi
xor eax, ebp
test edx, edx
mov dword [esp + 0xa0], eax
mov dword [esp + 0x9c], edi
mov dword [esp + 0x98], ebx
mov dword [esp + 0x94], 0
je 0x7c33ef
mov eax, dword [ecx + 0x1c]
mov dword [esp + 0x40], edi
mov edi, dword [ecx]
mov dword [esp + 0x14], ebx
mov dword [esp + 4], ecx
mov ebx, edx
mov dword [esp + 0x74], eax
mov eax, dword [ecx + 0x20]
mov dword [esp + 0x18], eax
mov eax, dword [ecx + 0x24]
mov dword [esp + 0x70], eax
mov eax, dword [edi + 0x28]
mov dword [esp + 0x38], eax
call fcn.007c3430
test eax, eax
jne 0x7c33ef
mov edx, fcn.007ebd10
mov dword [esp + 0x30], ebx
xor eax, eax
imul edx, edx
movzx esi, byte [0xbaea7b]
and edx, 3
cmp edx, 3
sete al
mov ecx, eax
xor ecx, 5
lea eax, [ecx + eax*2]
bt esi, eax
mov esi, dword [esp + 4]
jb 0x7c18dc
mov al, byte [0xbaea7b]
xor ebx, ebx
cmp edx, 3
mov ah, 1
sete bl
mov ecx, ebx
xor ecx, 5
lea ecx, [ecx + ebx*2]
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbaea7b], ah
jne 0x7c17c7
mov ecx, fcn.007ebd10
xor edx, edx
movzx eax, al
imul ecx, ecx
and ecx, 3
cmp ecx, 3
sete dl
mov ebx, edx
xor ebx, 5
lea edx, [ebx + edx*2]
xor dl, 7
movzx edx, dl
bt eax, edx
jae 0x7c1834
xor eax, eax
cmp ecx, 3
movzx ebx, byte [0xbaea7b]
sete al
mov edx, eax
xor edx, 5
lea eax, [edx + eax*2]
bt ebx, eax
jae 0x7c1813
jmp 0x7c18dc
xor eax, eax
cmp ecx, 3
movzx edx, byte [0xbaea7b]
sete al
mov ecx, eax
xor ecx, 5
lea eax, [ecx + eax*2]
bt edx, eax
jb 0x7c18b4
mov eax, fcn.007ebd10
xor ecx, ecx
imul eax, eax
and eax, 3
cmp eax, 3
sete cl
mov eax, ecx
xor eax, 0xe9e35bd
lea ecx, [eax + ecx*2 + 0x1000]
mov eax, dword [0xbaea6c]
xor eax, ecx
mov dword [0xbaea6c], eax
not eax
mov edx, dword [0xbaea70]
imul eax, ecx
and cl, 7
lea esi, [eax + eax]
xor edx, eax
shr eax, 0x1e
mov dword [0xbaea70], edx
or eax, esi
not edx
mov esi, dword [esp + 4]
imul edx, eax
xor dword [0xbaea74], edx
mov dl, 1
shl dl, cl
or byte [0xbaea7b], dl
mov eax, fcn.007ebd10
xor ecx, ecx
imul eax, eax
and eax, 3
cmp eax, 3
sete cl
mov eax, ecx
xor eax, 5
lea ecx, [eax + ecx*2]
mov al, 0xfe
xor cl, 7
rol al, cl
and byte [0xbaea7b], al
mov edx, dword [esp + 0x30]
lea eax, [esp + 0x94]
mov dword [esi + 0x1c], 0xbaea6c
mov ecx, edi
mov dword [esi + 0x20], edx
push 0
push eax
call fcn.0079ef80
add esp, 8
test eax, eax
je 0x7c1b44
mov edx, eax
mov eax, fcn.007b2c80
mov edi, 3
movzx ecx, byte [0xbaeaab]
sub edi, eax
mov eax, edi
xor eax, fcn.007b2c80
sete al
not al
and al, 3
movzx eax, al
bt ecx, eax
jb 0x7c1b20
mov al, byte [0xbaeaab]
mov ecx, edi
mov ah, 1
xor ecx, fcn.007b2c80
sete cl
not cl
and cl, 3
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbaeaab], ah
jne 0x7c193a
mov esi, fcn.007b2c80
mov ecx, 3
sub ecx, esi
mov esi, ecx
xor esi, fcn.007b2c80
sete ah
not ah
and ah, 3
xor ah, 7
movzx esi, ah
movzx eax, al
bt eax, esi
jae 0x7c19a9
mov eax, ecx
movzx esi, byte [0xbaeaab]
xor eax, fcn.007b2c80
sete al
not al
and al, 3
movzx eax, al
bt esi, eax
jae 0x7c1987
jmp 0x7c1b20
xor ecx, fcn.007b2c80
movzx ecx, byte [0xbaeaab]
sete al
not al
and al, 3
movzx eax, al
bt ecx, eax
jb 0x7c1af9
mov eax, fcn.007b2c80
mov esi, 3
xor ecx, ecx
sub esi, eax
mov eax, dword [0xbaea80]
xor esi, fcn.007b2c80
sete cl
xor ecx, 0xdc6b5583
add ecx, 0x420
mov esi, ecx
xor eax, ecx
shr esi, 0x1f
mov dword [0xbaea80], eax
not eax
or esi, ecx
and cl, 7
imul esi, eax
mov eax, dword [0xbaea84]
lea edi, [esi + esi]
xor eax, esi
shr esi, 0x1e
mov dword [0xbaea84], eax
or esi, edi
not eax
imul eax, esi
mov esi, dword [0xbaea88]
lea edi, [eax*4]
xor esi, eax
shr eax, 0x1d
mov dword [0xbaea88], esi
or eax, edi
not esi
imul esi, eax
mov eax, dword [0xbaea8c]
lea edi, [esi*8]
xor eax, esi
shr esi, 0x1c
mov dword [0xbaea8c], eax
or esi, edi
not eax
imul eax, esi
mov esi, dword [0xbaea90]
mov edi, eax
shl edi, 4
xor esi, eax
shr eax, 0x1b
mov dword [0xbaea90], esi
or eax, edi
not esi
imul esi, eax
mov eax, dword [0xbaea94]
mov edi, esi
shl edi, 5
xor eax, esi
shr esi, 0x1a
mov dword [0xbaea94], eax
or esi, edi
not eax
imul eax, esi
mov esi, dword [0xbaea98]
mov edi, eax
shl edi, 6
xor esi, eax
shr eax, 0x19
mov dword [0xbaea98], esi
or eax, edi
not esi
imul esi, eax
mov eax, dword [0xbaea9c]
mov edi, esi
shl edi, 7
xor eax, esi
shr esi, 0x18
mov dword [0xbaea9c], eax
or esi, edi
not eax
mov ebx, dword [0xbaeaa0]
imul eax, esi
mov edi, eax
shl edi, 8
xor ebx, eax
shr eax, 0x17
mov dword [0xbaeaa0], ebx
or eax, edi
not ebx
imul ebx, eax
mov ah, 1
xor dword [0xbaeaa4], ebx
shl ah, cl
or byte [0xbaeaab], ah
mov eax, fcn.007b2c80
mov ecx, 3
sub ecx, eax
mov al, 0xfe
xor ecx, fcn.007b2c80
sete cl
not cl
and cl, 3
xor cl, 7
rol al, cl
and byte [0xbaeaab], al
push edx
push 0xbaea80
mov esi, dword [esp + 0xc]
push esi
call fcn.007c0fc0
add esp, 0xc
mov ecx, dword [esp + 0x94]
mov edi, 0xffffffff
jmp 0x7c33d2
mov esi, dword [esp + 0x94]
mov bl, byte [esi]
mov ecx, esi
mov byte [esi], 0
call fcn.0079ccd0
test eax, eax
mov dword [esp + 8], esi
je 0x7c1d94
mov edi, 0x783700
mov edx, eax
movzx ecx, byte [0xbaeadb]
and edi, 1
inc edi
mov eax, edi
xor eax, 0x783700
sete al
not al
and al, 3
movzx eax, al
bt ecx, eax
jb 0x7c1d6f
mov al, byte [0xbaeadb]
mov ecx, edi
mov ah, 1
xor ecx, 0x783700
sete cl
not cl
and cl, 3
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbaeadb], ah
jne 0x7c1b94
mov ecx, 0x783700
and ecx, 1
inc ecx
mov esi, ecx
xor esi, 0x783700
movzx esi, al
sete ah
not ah
and ah, 3
xor ah, 7
movzx eax, ah
bt esi, eax
jae 0x7c1c00
mov eax, ecx
movzx esi, byte [0xbaeadb]
xor eax, 0x783700
sete al
not al
and al, 3
movzx eax, al
bt esi, eax
jae 0x7c1bde
jmp 0x7c1d6f
xor ecx, 0x783700
movzx ecx, byte [0xbaeadb]
sete al
not al
and al, 3
movzx eax, al
bt ecx, eax
jb 0x7c1d4c
mov eax, 0x783700
xor ecx, ecx
and eax, 1
inc eax
xor eax, 0x783700
mov eax, dword [0xbaeab0]
sete cl
xor ecx, 0xbaf28233
add ecx, 0xa10
mov esi, ecx
xor eax, ecx
shr esi, 0x1f
mov dword [0xbaeab0], eax
not eax
or esi, ecx
and cl, 7
imul esi, eax
mov eax, dword [0xbaeab4]
lea edi, [esi + esi]
xor eax, esi
shr esi, 0x1e
mov dword [0xbaeab4], eax
or esi, edi
not eax
imul eax, esi
mov esi, dword [0xbaeab8]
lea edi, [eax*4]
xor esi, eax
shr eax, 0x1d
mov dword [0xbaeab8], esi
or eax, edi
not esi
imul esi, eax
mov eax, dword [0xbaeabc]
lea edi, [esi*8]
xor eax, esi
shr esi, 0x1c
mov dword [0xbaeabc], eax
or esi, edi
not eax
imul eax, esi
mov esi, dword [0xbaeac0]
mov edi, eax
shl edi, 4
xor esi, eax
shr eax, 0x1b
mov dword [0xbaeac0], esi
or eax, edi
not esi
imul esi, eax
mov eax, dword [0xbaeac4]
mov edi, esi
shl edi, 5
xor eax, esi
shr esi, 0x1a
mov dword [0xbaeac4], eax
or esi, edi
not eax
imul eax, esi
mov esi, dword [0xbaeac8]
mov edi, eax
shl edi, 6
xor esi, eax
shr eax, 0x19
mov dword [0xbaeac8], esi
or eax, edi
not esi
imul esi, eax
mov eax, dword [0xbaeacc]
mov edi, esi
shl edi, 7
xor eax, esi
shr esi, 0x18
mov dword [0xbaeacc], eax
or esi, edi
not eax
mov ebx, dword [0xbaead0]
imul eax, esi
mov edi, eax
shl edi, 8
xor ebx, eax
shr eax, 0x17
mov dword [0xbaead0], ebx
or eax, edi
not ebx
imul ebx, eax
mov ah, 1
xor dword [0xbaead4], ebx
shl ah, cl
or byte [0xbaeadb], ah
mov eax, 0x783700
and eax, 1
inc eax
xor eax, 0x783700
mov al, 0xfe
sete cl
not cl
and cl, 3
xor cl, 7
rol al, cl
and byte [0xbaeadb], al
push edx
push 0xbaeab0
mov esi, dword [esp + 0xc]
push esi
call fcn.007c0fc0
add esp, 0xc
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 8]
mov edi, 0xffffffff
jmp 0x7c33d6
mov ecx, esi
mov byte [esp + 0xf], bl
call fcn.007b9540
test eax, eax
je 0x7c1f39
mov edi, fcn.008184c0
mov ebx, fcn.008184c0
mov edx, eax
movzx ecx, byte [0xbaeafb]
or edi, 2
xor ebx, 2
mov eax, edi
add eax, ebx
sete al
or al, 2
movzx eax, al
bt ecx, eax
jb 0x7c1f2e
mov al, byte [0xbaeafb]
mov ecx, edi
mov ah, 1
add ecx, ebx
sete cl
or cl, 2
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbaeafb], ah
jne 0x7c1dda
mov ecx, fcn.008184c0
mov esi, fcn.008184c0
or ecx, 2
xor esi, 2
mov edi, ecx
add edi, esi
sete ah
or ah, 2
xor ah, 7
movzx edi, ah
movzx eax, al
bt eax, edi
jae 0x7c1e3c
mov eax, ecx
movzx edi, byte [0xbaeafb]
add eax, esi
sete al
or al, 2
movzx eax, al
bt edi, eax
jae 0x7c1e1f
jmp 0x7c1f2e
add ecx, esi
movzx ecx, byte [0xbaeafb]
sete al
or al, 2
movzx eax, al
bt ecx, eax
jb 0x7c1f09
mov eax, fcn.008184c0
mov esi, fcn.008184c0
xor ecx, ecx
xor esi, 2
or eax, 2
add eax, esi
mov eax, dword [0xbaeae0]
sete cl
or ecx, 0x1dfada2
xor eax, ecx
mov dword [0xbaeae0], eax
not eax
mov esi, dword [0xbaeae4]
imul eax, ecx
and cl, 3
lea edi, [eax + eax]
xor esi, eax
shr eax, 0x1e
mov dword [0xbaeae4], esi
or edi, eax
not esi
mov eax, dword [0xbaeae8]
imul esi, edi
lea edi, [esi*4]
xor eax, esi
shr esi, 0x1d
mov dword [0xbaeae8], eax
or edi, esi
not eax
mov esi, dword [0xbaeaec]
imul eax, edi
lea edi, [eax*8]
xor esi, eax
shr eax, 0x1c
mov dword [0xbaeaec], esi
or edi, eax
not esi
mov eax, dword [0xbaeaf0]
imul esi, edi
mov edi, esi
shl edi, 4
xor eax, esi
shr esi, 0x1b
mov dword [0xbaeaf0], eax
or esi, edi
not eax
imul eax, esi
xor dword [0xbaeaf4], eax
mov ah, 1
shl ah, cl
or byte [0xbaeafb], ah
mov eax, fcn.008184c0
mov ecx, fcn.008184c0
xor ecx, 2
or eax, 2
add eax, ecx
mov al, 0xfe
sete cl
or cl, 2
xor cl, 7
rol al, cl
and byte [0xbaeafb], al
push edx
push 0xbaeae0
jmp 0x7c1d75
mov edx, fcn.007fc640
mov esi, fcn.007fc640
xor eax, eax
or edx, 2
xor esi, 2
mov ecx, edx
add ecx, esi
movzx ecx, byte [0xbaeb1f]
setne al
bt ecx, eax
jb 0x7c20d6
mov al, byte [0xbaeb1f]
mov ecx, edx
mov ah, 1
add ecx, esi
setne cl
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbaeb1f], ah
jne 0x7c1f67
mov ecx, fcn.007fc640
mov edx, fcn.007fc640
or ecx, 2
xor edx, 2
mov esi, ecx
add esi, edx
setne ah
xor ah, 7
movzx esi, ah
movzx eax, al
bt eax, esi
jae 0x7c1fc0
mov esi, ecx
xor eax, eax
add esi, edx
movzx esi, byte [0xbaeb1f]
setne al
bt esi, eax
jae 0x7c1fa6
jmp 0x7c20d6
xor eax, eax
add ecx, edx
movzx ecx, byte [0xbaeb1f]
setne al
bt ecx, eax
jb 0x7c20b4
mov eax, fcn.007fc640
mov edx, fcn.007fc640
xor ecx, ecx
xor edx, 2
or eax, 2
add eax, edx
mov eax, dword [0xbaeb00]
sete cl
xor ecx, 0xa173c241
add ecx, 0x1178
mov edx, ecx
xor eax, ecx
shr edx, 0x1f
mov dword [0xbaeb00], eax
not eax
or edx, ecx
and cl, 7
imul edx, eax
mov eax, dword [0xbaeb04]
lea esi, [edx + edx]
xor eax, edx
shr edx, 0x1e
mov dword [0xbaeb04], eax
or esi, edx
not eax
mov edx, dword [0xbaeb08]
imul eax, esi
lea esi, [eax*4]
xor edx, eax
shr eax, 0x1d
mov dword [0xbaeb08], edx
or esi, eax
not edx
mov eax, dword [0xbaeb0c]
imul edx, esi
lea esi, [edx*8]
xor eax, edx
shr edx, 0x1c
mov dword [0xbaeb0c], eax
or esi, edx
not eax
mov edx, dword [0xbaeb10]
imul eax, esi
mov esi, eax
shl esi, 4
xor edx, eax
shr eax, 0x1b
mov dword [0xbaeb10], edx
or eax, esi
not edx
mov ebx, dword [0xbaeb14]
imul edx, eax
mov esi, edx
shl esi, 5
xor ebx, edx
shr edx, 0x1a
mov dword [0xbaeb14], ebx
or edx, esi
not ebx
imul ebx, edx
mov dl, 1
xor dword [0xbaeb18], ebx
shl dl, cl
or byte [0xbaeb1f], dl
mov eax, fcn.007fc640
mov ecx, fcn.007fc640
xor ecx, 2
or eax, 2
add eax, ecx
mov al, 0xfe
setne cl
xor cl, 7
rol al, cl
and byte [0xbaeb1f], al
mov edx, dword [esp + 8]
mov esi, dword [esp + 4]
mov dword [esp + 0x58], edi
mov edi, dword [edx + 0x38]
movzx ebx, byte [edx + 9]
mov dword [esi + 0x1c], 0xbaeb00
movzx eax, byte [edi + ebx + 5]
movzx ecx, byte [edi + ebx + 6]
mov dword [esp + 0x28], edi
mov dword [esp + 0x4c], ebx
shl eax, 8
lea eax, [eax + ecx - 1]
movzx ecx, byte [edi + ebx + 3]
mov dword [esp + 0x3c], eax
movzx eax, byte [edx + 8]
shl ecx, 8
test eax, eax
lea eax, [eax*4]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x20], eax
movzx eax, byte [edi + ebx + 4]
lea edx, [ecx + eax]
lea ecx, [ebx + 0xc]
mov dword [esp + 0x24], eax
mov dword [esp + 0x48], ecx
mov dword [esp + 0x54], edx
jne 0x7c23a6
lea ecx, [edi + ebx + 8]
call fcn.0055d990
mov ecx, dword [esp + 0x58]
mov edi, dword [esp + 0x40]
mov ebx, eax
cmp byte [ecx + 0x11], 0
je 0x7c2379
mov edx, fcn.0083a0e0
xor eax, eax
imul edx, edx
and edx, 3
cmp edx, 1
seta al
mov ecx, eax
xor ecx, 1
lea eax, [ecx + eax*2]
movzx ecx, byte [0xbaeb43]
or al, 4
movzx eax, al
bt ecx, eax
jb 0x7c2360
mov al, byte [0xbaeb43]
mov dword [esp + 0x10], ebx
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 [0xbaeb43], ah
jne 0x7c219d
mov ecx, fcn.0083a0e0
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 0x7c2219
mov ebx, dword [esp + 0x10]
xor eax, eax
cmp ecx, 1
seta al
mov edx, eax
xor edx, 1
lea eax, [edx + eax*2]
movzx edx, byte [0xbaeb43]
or al, 4
movzx eax, al
bt edx, eax
jae 0x7c21f3
jmp 0x7c2360
xor eax, eax
cmp ecx, 1
movzx edx, byte [0xbaeb43]
mov ebx, dword [esp + 0x10]
seta al
mov ecx, eax
xor ecx, 1
lea eax, [ecx + eax*2]
or al, 4
movzx eax, al
bt edx, eax
jb 0x7c2335
mov eax, fcn.0083a0e0
xor ecx, ecx
imul eax, eax
and eax, 3
cmp eax, 1
seta cl
mov eax, ecx
xor eax, 0x49f560c9
lea ecx, [eax + ecx*2 + 0xe04]
mov eax, dword [0xbaeb20]
xor eax, ecx
mov dword [0xbaeb20], eax
not eax
mov edx, dword [0xbaeb24]
imul eax, ecx
and cl, 7
lea esi, [eax + eax]
xor edx, eax
shr eax, 0x1e
mov dword [0xbaeb24], edx
or esi, eax
not edx
mov eax, dword [0xbaeb28]
imul edx, esi
lea esi, [edx*4]
xor eax, edx
shr edx, 0x1d
mov dword [0xbaeb28], eax
or esi, edx
not eax
mov edx, dword [0xbaeb2c]
imul eax, esi
lea esi, [eax*8]
xor edx, eax
shr eax, 0x1c
mov dword [0xbaeb2c], edx
or esi, eax
not edx
mov eax, dword [0xbaeb30]
imul edx, esi
mov esi, edx
shl esi, 4
xor eax, edx
shr edx, 0x1b
mov dword [0xbaeb30], eax
or edx, esi
not eax
imul eax, edx
mov edx, dword [0xbaeb34]
mov esi, eax
shl esi, 5
xor edx, eax
shr eax, 0x1a
mov dword [0xbaeb34], edx
or eax, esi
not edx
imul edx, eax
mov eax, dword [0xbaeb38]
mov esi, edx
shl esi, 6
xor eax, edx
shr edx, 0x19
mov dword [0xbaeb38], eax
or edx, esi
not eax
mov esi, dword [esp + 4]
imul eax, edx
mov dl, 1
xor dword [0xbaeb3c], eax
shl dl, cl
or byte [0xbaeb43], dl
mov eax, fcn.0083a0e0
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 [0xbaeb43], al
mov dword [esi + 0x1c], 0xbaeb20
mov ecx, esi
mov edx, ebx
push dword [esp + 0x30]
push 5
call fcn.007c1190
add esp, 8
lea eax, [esp + 0x98]
mov edx, ebx
mov ecx, esi
push edi
push dword [esp + 0x18]
push eax
call fcn.007c1710
add esp, 0xc
mov edx, dword [esp + 0x54]
mov dword [esp + 0x1c], eax
xor eax, eax
mov dword [esp + 0x2c], 0
jmp 0x7c23bf
mov eax, dword [esi + 0x40]
mov dword [esp + 0x1c], 0xffffffff
mov dword [esp + 0x2c], 1
mov dword [eax], 0
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x48]
mov edi, dword [esp + 0x34]
mov ebx, dword [esp + 0x24]
mov ecx, dword [esp + 0x3c]
sub eax, dword [esp + 0x20]
lea edi, [edi + ebx - 1]
test edx, edx
mov ebx, edx
mov dl, byte [esp + 0xf]
movzx ecx, cx
mov dword [esp + 0x50], edi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x48], eax
jne 0x7c2416
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x9c]
mov edx, dword [ebp + 8]
mov dword [edx + 4], ecx
mov dword [edx], eax
mov dword [esi + 0x1c], 0
jmp 0x7c2d9f
lea eax, [eax + ebx*2 - 2]
lea ebx, [ecx + 1]
mov dword [esp + 0x20], 1
add eax, dword [esp + 0x28]
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x38]
lea ebx, [eax - 4]
lea eax, [eax - 5]
mov dword [esp + 0x34], ebx
mov ebx, fcn.007c0040
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x50]
not ebx
and ebx, 1
mov dword [esp + 0x14], ebx
mov ebx, fcn.007f3e10
and ebx, 1
inc ebx
mov dword [esp + 0x60], ebx
mov ebx, dword [ebp + 8]
cmp dword [esi + 0x10], 0
je 0x7c2d7a
mov edx, dword [esp + 0x40]
mov dword [esi + 0x24], eax
mov dword [esp + 0x3c], eax
movzx eax, byte [edx]
movzx ebx, byte [edx + 1]
shl eax, 8
or ebx, eax
cmp ebx, ecx
jbe 0x7c2494
cmp ebx, dword [esp + 0x34]
jbe 0x7c265a
mov edx, fcn.00777840
movzx ecx, byte [0xbaeb73]
imul edx, edx
and edx, 3
cmp edx, 2
sete al
or al, 2
movzx eax, al
bt ecx, eax
jb 0x7c2636
mov al, byte [0xbaeb73]
cmp edx, 2
mov ah, 1
sete cl
or cl, 2
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbaeb73], ah
jne 0x7c24bf
cmp edx, 2
movzx eax, al
sete cl
or cl, 2
xor cl, 7
movzx ecx, cl
bt eax, ecx
jae 0x7c250e
cmp edx, 2
movzx ecx, byte [0xbaeb73]
sete al
or al, 2
movzx eax, al
bt ecx, eax
jae 0x7c24f2
jmp 0x7c2636
cmp edx, 2
movzx ecx, byte [0xbaeb73]
sete al
or al, 2
movzx eax, al
bt ecx, eax
jb 0x7c2620
xor ecx, ecx
cmp edx, 2
mov eax, dword [0xbaeb50]
sete cl
or ecx, 0xb3023292
add ecx, 0x1050
mov esi, ecx
xor eax, ecx
mov dword [esp + 0x20], ecx
shr esi, 0x1f
mov dword [0xbaeb50], eax
not eax
or esi, ecx
mov ecx, dword [0xbaeb54]
imul esi, eax
mov eax, esi
lea edi, [esi + esi]
shr eax, 0x1e
xor ecx, esi
or edi, eax
mov dword [0xbaeb54], ecx
not ecx
mov eax, dword [0xbaeb58]
imul ecx, edi
lea esi, [ecx*4]
xor eax, ecx
shr ecx, 0x1d
mov dword [0xbaeb58], eax
or esi, ecx
not eax
mov ecx, dword [0xbaeb5c]
imul eax, esi
lea esi, [eax*8]
xor ecx, eax
shr eax, 0x1c
mov dword [0xbaeb5c], ecx
or esi, eax
not ecx
mov eax, dword [0xbaeb60]
imul ecx, esi
mov esi, ecx
shl esi, 4
xor eax, ecx
shr ecx, 0x1b
mov dword [0xbaeb60], eax
or ecx, esi
not eax
imul eax, ecx
mov ecx, dword [0xbaeb64]
mov esi, eax
shl esi, 5
xor ecx, eax
shr eax, 0x1a
mov dword [0xbaeb64], ecx
or eax, esi
not ecx
imul ecx, eax
mov eax, dword [0xbaeb68]
mov esi, ecx
shl esi, 6
xor eax, ecx
shr ecx, 0x19
mov dword [0xbaeb68], eax
or ecx, esi
not eax
mov esi, dword [esp + 4]
imul eax, ecx
mov ecx, dword [esp + 0x20]
xor dword [0xbaeb6c], eax
mov al, 1
and cl, 7
shl al, cl
or byte [0xbaeb73], al
cmp edx, 2
mov al, 0xfe
sete cl
or cl, 2
xor cl, 7
rol al, cl
and byte [0xbaeb73], al
push dword [esp + 0x34]
push dword [esp + 0x70]
push ebx
push 0xbaeb50
push esi
call fcn.007c0fc0
add esp, 0x14
mov dword [esp + 0x20], 0
jmp 0x7c2d5b
mov eax, dword [esp + 0x28]
lea ecx, [eax + ebx]
lea eax, [esp + 0x78]
push eax
mov dword [esp + 0x60], ecx
push ecx
mov edi, dword [esp + 0x10]
push edi
call dword [edi + 0x50]
add esp, 0xc
movzx eax, word [esp + 0x8a]
add eax, ebx
cmp eax, dword [esp + 0x38]
jbe 0x7c2882
mov ecx, dword [esp + 0x14]
xor eax, eax
movzx edx, byte [0xbaeb9f]
mov ebx, dword [ebp + 8]
add ecx, fcn.007c0040
sete al
mov ecx, eax
not ecx
lea eax, [ecx + eax*2]
and al, 7
movzx eax, al
bt edx, eax
jb 0x7c2867
mov al, byte [0xbaeb9f]
mov edx, dword [esp + 0x14]
xor ecx, ecx
add edx, fcn.007c0040
sete cl
mov edx, ecx
not edx
lea ecx, [edx + ecx*2]
mov dl, 1
and cl, 7
xor cl, 7
shl dl, cl
or dl, al
lock cmpxchg byte [0xbaeb9f], dl
jne 0x7c26bd
mov edx, dword [esp + 0x14]
xor ecx, ecx
movzx eax, al
add edx, fcn.007c0040
sete cl
mov edx, ecx
not edx
lea ecx, [edx + ecx*2]
mov edx, dword [esp + 0x14]
and cl, 7
xor cl, 7
movzx ecx, cl
bt eax, ecx
jae 0x7c273e
mov ecx, edx
xor eax, eax
movzx edi, byte [0xbaeb9f]
add ecx, fcn.007c0040
sete al
mov ecx, eax
not ecx
lea eax, [ecx + eax*2]
and al, 7
movzx eax, al
bt edi, eax
jae 0x7c2714
jmp 0x7c2867
mov ecx, edx
xor eax, eax
movzx edi, byte [0xbaeb9f]
add ecx, fcn.007c0040
sete al
mov ecx, eax
not ecx
lea eax, [ecx + eax*2]
and al, 7
movzx eax, al
bt edi, eax
jb 0x7c2843
mov ecx, edx
xor eax, eax
add ecx, fcn.007c0040
sete al
mov ecx, eax
xor ecx, 0x8e6a9a47
lea ecx, [ecx + eax*2 + 0x170]
mov eax, dword [0xbaeb80]
mov edx, ecx
shr edx, 0x1f
or edx, ecx
xor eax, ecx
and cl, 7
mov dword [0xbaeb80], eax
not eax
imul edx, eax
mov eax, dword [0xbaeb84]
lea esi, [edx + edx]
xor eax, edx
shr edx, 0x1e
mov dword [0xbaeb84], eax
or esi, edx
not eax
mov edx, dword [0xbaeb88]
imul eax, esi
lea esi, [eax*4]
xor edx, eax
shr eax, 0x1d
mov dword [0xbaeb88], edx
or esi, eax
not edx
mov eax, dword [0xbaeb8c]
imul edx, esi
lea esi, [edx*8]
xor eax, edx
shr edx, 0x1c
mov dword [0xbaeb8c], eax
or esi, edx
not eax
mov edx, dword [0xbaeb90]
imul eax, esi
mov esi, eax
shl esi, 4
xor edx, eax
shr eax, 0x1b
mov dword [0xbaeb90], edx
or eax, esi
not edx
imul edx, eax
mov eax, dword [0xbaeb94]
mov esi, edx
shl esi, 5
xor eax, edx
shr edx, 0x1a
mov dword [0xbaeb94], eax
or edx, esi
not eax
mov esi, dword [esp + 4]
imul eax, edx
mov edx, dword [esp + 0x14]
xor dword [0xbaeb98], eax
mov ah, 1
shl ah, cl
or byte [0xbaeb9f], ah
mov ecx, edx
xor eax, eax
add ecx, fcn.007c0040
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 [0xbaeb9f], al
push 0xbaeb80
push esi
call fcn.007c0fc0
add esp, 8
mov dword [esp + 0x20], 0
jmp 0x7c2d5e
cmp byte [edi + 2], 0
je 0x7c2a89
cmp dword [esp + 0x2c], 0
mov edx, dword [esp + 0x78]
mov edi, dword [esp + 0x7c]
mov ecx, dword [esp + 0x98]
mov eax, dword [esp + 0x9c]
je 0x7c28b4
cmp ecx, edx
sbb eax, edi
jl 0x7c28c0
jmp 0x7c2a73
cmp edx, ecx
mov ecx, edi
sbb ecx, eax
jl 0x7c2a73
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x60]
movzx ecx, byte [0xbaebbf]
mov eax, edx
xor eax, fcn.007f3e10
sete al
or al, 2
movzx eax, al
bt ecx, eax
jb 0x7c2a58
mov al, byte [0xbaebbf]
mov ecx, edx
mov ah, 1
xor ecx, fcn.007f3e10
sete cl
or cl, 2
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbaebbf], ah
jne 0x7c28ec
mov ecx, edx
movzx eax, al
xor ecx, fcn.007f3e10
sete cl
or cl, 2
xor cl, 7
movzx ecx, cl
bt eax, ecx
jae 0x7c2949
mov eax, edx
movzx ecx, byte [0xbaebbf]
xor eax, fcn.007f3e10
sete al
or al, 2
movzx eax, al
bt ecx, eax
jae 0x7c2929
jmp 0x7c2a58
mov eax, edx
movzx ecx, byte [0xbaebbf]
xor eax, fcn.007f3e10
sete al
or al, 2
movzx eax, al
bt ecx, eax
jb 0x7c2a3f
mov eax, edx
xor ecx, ecx
xor eax, fcn.007f3e10
mov eax, dword [0xbaeba0]
sete cl
or ecx, 0x3c370d62
add ecx, 0x528
xor eax, ecx
mov dword [esp + 0x44], ecx
mov dword [0xbaeba0], eax
not eax
mov esi, dword [0xbaeba4]
imul eax, ecx
lea ecx, [eax + eax]
xor esi, eax
shr eax, 0x1e
mov dword [0xbaeba4], esi
or ecx, eax
not esi
mov eax, dword [0xbaeba8]
imul esi, ecx
lea ecx, [esi*4]
xor eax, esi
shr esi, 0x1d
mov dword [0xbaeba8], eax
or ecx, esi
not eax
imul eax, ecx
mov ecx, dword [0xbaebac]
lea esi, [eax*8]
xor ecx, eax
shr eax, 0x1c
mov dword [0xbaebac], ecx
or esi, eax
not ecx
mov eax, dword [0xbaebb0]
imul ecx, esi
mov esi, ecx
shl esi, 4
xor eax, ecx
shr ecx, 0x1b
mov dword [0xbaebb0], eax
or ecx, esi
not eax
imul eax, ecx
mov ecx, dword [0xbaebb4]
mov esi, eax
shl esi, 5
xor ecx, eax
shr eax, 0x1a
mov dword [0xbaebb4], ecx
or eax, esi
not ecx
mov esi, dword [esp + 4]
imul ecx, eax
mov al, 1
xor dword [0xbaebb8], ecx
mov ecx, dword [esp + 0x44]
and cl, 7
shl al, cl
or byte [0xbaebbf], al
xor edx, fcn.007f3e10
mov al, 0xfe
sete cl
or cl, 2
xor cl, 7
rol al, cl
and byte [0xbaebbf], al
push edi
push dword [esp + 0x30]
push 0xbaeba0
push esi
call fcn.007c0fc0
add esp, 0x10
mov edx, dword [esp + 0x78]
mov edi, dword [esp + 0x7c]
mov dword [esp + 0x98], edx
mov dword [esp + 0x9c], edi
mov dword [esp + 0x2c], 0
mov eax, dword [esp + 0x84]
movzx ecx, word [esp + 0x88]
mov edi, dword [esp + 0x58]
cmp eax, ecx
jbe 0x7c2af6
add eax, dword [esp + 0x68]
xor edx, edx
sub eax, ecx
div dword [esp + 0x34]
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x44], eax
movzx eax, word [esp + 0x8a]
lea ecx, [ecx + eax - 4]
call fcn.0055d990
cmp byte [edi + 0x11], 0
je 0x7c2ae5
mov ecx, esi
mov edx, eax
push dword [esp + 0x30]
push 3
mov dword [esp + 0x6c], eax
call fcn.007c1190
mov eax, dword [esp + 0x6c]
add esp, 8
mov ecx, esi
xor edx, edx
push dword [esp + 0x44]
push eax
call fcn.007c0510
add esp, 8
mov eax, dword [esp + 8]
cmp byte [eax + 8], 0
jne 0x7c2d3f
mov ecx, dword [esp + 0x5c]
call fcn.0055d990
cmp byte [edi + 0x11], 0
mov ebx, eax
je 0x7c2b27
mov ecx, esi
mov edx, ebx
push dword [esp + 0x30]
push 5
call fcn.007c1190
add esp, 8
mov ecx, esi
mov edx, ebx
push dword [esp + 0x9c]
push dword [esp + 0x9c]
lea eax, [esp + 0xa0]
push eax
call fcn.007c1710
add esp, 0xc
cmp eax, dword [esp + 0x1c]
mov dword [esp + 0x2c], 0
jne 0x7c2b60
mov esi, dword [esp + 4]
jmp 0x7c2d5b
mov edx, fcn.0079b650
mov esi, eax
xor eax, eax
movzx edi, byte [0xbaebdf]
mov ebx, dword [ebp + 8]
imul edx, edx
and edx, 3
cmp edx, 2
sete al
mov ecx, eax
xor ecx, 1
lea eax, [eax + ecx*2]
or al, 4
movzx eax, al
bt edi, eax
jb 0x7c2d25
mov al, byte [0xbaebdf]
xor ebx, ebx
cmp edx, 2
mov ah, 1
sete bl
mov ecx, ebx
xor ecx, 1
lea ebx, [ebx + ecx*2]
mov cl, 7
or bl, 4
sub cl, bl
shl ah, cl
or ah, al
lock cmpxchg byte [0xbaebdf], ah
jne 0x7c2b9a
xor ecx, ecx
cmp edx, 2
mov ah, 7
sete cl
mov ebx, ecx
xor ebx, 1
lea ecx, [ecx + ebx*2]
mov ebx, dword [ebp + 8]
or cl, 4
sub ah, cl
movzx ecx, ah
movzx eax, al
bt eax, ecx
jae 0x7c2c0c
xor eax, eax
cmp edx, 2
movzx edi, byte [0xbaebdf]
sete al
mov ecx, eax
xor ecx, 1
lea eax, [eax + ecx*2]
or al, 4
movzx eax, al
bt edi, eax
jae 0x7c2be6
jmp 0x7c2d25
xor eax, eax
cmp edx, 2
movzx edi, byte [0xbaebdf]
sete al
mov ecx, eax
xor ecx, 1
lea eax, [eax + ecx*2]
or al, 4
movzx eax, al
bt edi, eax
jb 0x7c2d05
xor eax, eax
cmp edx, 2
sete al
mov ecx, eax
not ecx
and ecx, 0x281
lea ecx, [eax + ecx*2 + 0x7627047c]
mov eax, dword [0xbaebc0]
mov edi, ecx
shr edi, 0x1f
or edi, ecx
xor eax, ecx
and cl, 7
mov dword [0xbaebc0], eax
not eax
imul edi, eax
mov eax, dword [0xbaebc4]
lea ebx, [edi + edi]
xor eax, edi
shr edi, 0x1e
mov dword [0xbaebc4], eax
or ebx, edi
not eax
mov edi, dword [0xbaebc8]
imul eax, ebx
lea ebx, [eax*4]
xor edi, eax
shr eax, 0x1d
mov dword [0xbaebc8], edi
or ebx, eax
not edi
mov eax, dword [0xbaebcc]
imul edi, ebx
lea ebx, [edi*8]
xor eax, edi
shr edi, 0x1c
mov dword [0xbaebcc], eax
or ebx, edi
not eax
mov edi, dword [0xbaebd0]
imul eax, ebx
mov ebx, eax
shl ebx, 4
xor edi, eax
shr eax, 0x1b
mov dword [0xbaebd0], edi
or eax, ebx
not edi
imul edi, eax
mov eax, dword [0xbaebd4]
mov ebx, edi
shl ebx, 5
xor eax, edi
shr edi, 0x1a
mov dword [0xbaebd4], eax
or edi, ebx
not eax
mov ebx, dword [ebp + 8]
imul eax, edi
xor dword [0xbaebd8], eax
mov ah, 1
shl ah, cl
or byte [0xbaebdf], ah
xor eax, eax
cmp edx, 2
mov dl, 0xfe
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 [0xbaebdf], dl
push 0xbaebc0
mov edi, dword [esp + 8]
push edi
call fcn.007c0fc0
add esp, 8
mov dword [esp + 0x1c], esi
mov esi, edi
jmp 0x7c2d5e
movzx eax, word [esp + 0x8a]
mov ecx, dword [esp + 0x10]
lea eax, [ebx + eax - 1]
shl ebx, 0x10
or ebx, eax
mov edx, ebx
call fcn.007c3830
mov ebx, dword [ebp + 8]
mov eax, dword [esp + 0x3c]
mov dl, byte [esp + 0xf]
mov ecx, dword [esp + 0x24]
add dword [esp + 0x40], 0xfffffffe
test eax, eax
lea eax, [eax - 1]
jg 0x7c2465
cmp dword [esp + 0x20], 0
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x9c]
mov dword [ebx + 4], ecx
mov dword [ebx], eax
mov dword [esi + 0x1c], 0
je 0x7c33c8
mov ecx, dword [esp + 8]
mov ebx, dword [esp + 0x18]
cmp dword [esi + 0x10], 0
mov eax, dword [esp + 0x54]
jg 0x7c2dba
mov edi, dword [esp + 0x1c]
jmp 0x7c33d6
cmp byte [ecx + 8], 0
mov ebx, dword [esp + 0x28]
jne 0x7c2e25
mov edx, dword [esi + 0x40]
test eax, eax
mov dword [esp + 0x10], edx
mov dword [edx], 0
je 0x7c2e25
mov esi, dword [esp + 0x50]
mov edi, ecx
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x28]
lea eax, [eax + esi*2]
movzx ecx, byte [ebx + eax]
movzx ebx, byte [edx + eax + 1]
mov eax, dword [esp + 0x28]
shl ecx, 8
or ebx, ecx
lea eax, [eax + ebx]
push eax
push edi
call dword [edi + 0x4c]
add esp, 8
movzx eax, ax
mov ecx, dword [esp + 0x10]
lea eax, [eax + ebx - 1]
shl ebx, 0x10
or ebx, eax
mov edx, ebx
mov ebx, dword [esp + 0x28]
call fcn.007c3830
test esi, esi
lea esi, [esi - 1]
jg 0x7c2ddb
mov ecx, dword [esp + 0x4c]
mov edi, dword [esp + 0x10]
movzx eax, byte [ebx + ecx + 1]
movzx esi, byte [ebx + ecx + 2]
shl eax, 8
or esi, eax
jne 0x7c2e5f
lea edx, [esp + 0x90]
mov ecx, edi
call fcn.007c3870
xor edi, edi
test eax, eax
jne 0x7c2e92
mov ebx, dword [esp + 0x24]
mov esi, dword [esp + 4]
jmp 0x7c30f7
movzx eax, byte [ebx + esi + 2]
movzx ecx, byte [ebx + esi + 3]
shl eax, 8
or ecx, eax
mov eax, esi
lea edx, [esi + ecx - 1]
shl eax, 0x10
mov ecx, edi
or edx, eax
call fcn.007c3830
movzx eax, byte [ebx + esi]
movzx esi, byte [ebx + esi + 1]
shl eax, 8
or esi, eax
jne 0x7c2e5f
jmp 0x7c2e3e
mov esi, dword [esp + 4]
mov ecx, dword [esp + 0x24]
mov ebx, dword [esp + 0x90]
movzx eax, cx
mov edx, ebx
shr edx, 0x10
cmp edx, eax
ja 0x7c30d7
mov esi, fcn.0078dba0
mov eax, fcn.0078dba0
mov dword [esp + 0x24], ecx
and esi, 1
movzx ecx, byte [0xbaec0b]
xor esi, eax
cmp esi, 0xffffffff
setne al
or al, 4
movzx eax, al
bt ecx, eax
jb 0x7c30ba
mov al, byte [0xbaec0b]
cmp esi, 0xffffffff
mov ah, 1
setne cl
or cl, 4
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbaec0b], ah
jne 0x7c2ee4
mov ecx, fcn.0078dba0
mov esi, fcn.0078dba0
and ecx, 1
xor ecx, esi
cmp ecx, 0xffffffff
setne ah
or ah, 4
xor ah, 7
movzx esi, ah
movzx eax, al
bt eax, esi
jae 0x7c2f42
cmp ecx, 0xffffffff
movzx esi, byte [0xbaec0b]
setne al
or al, 4
movzx eax, al
bt esi, eax
jae 0x7c2f26
jmp 0x7c30ba
cmp ecx, 0xffffffff
movzx esi, byte [0xbaec0b]
setne al
or al, 4
movzx eax, al
bt esi, eax
jb 0x7c3095
mov esi, fcn.0078dba0
mov eax, fcn.0078dba0
xor ecx, ecx
and esi, 1
xor esi, eax
mov eax, dword [0xbaebe0]
cmp esi, 0xffffffff
sete cl
xor ecx, 0xb5c076b1
add ecx, 0x204
mov ebx, ecx
xor eax, ecx
mov dword [esp + 0x14], ecx
shr ebx, 0x1f
mov dword [0xbaebe0], eax
not eax
or ebx, ecx
imul ebx, eax
mov eax, dword [0xbaebe4]
lea ecx, [ebx + ebx]
xor eax, ebx
shr ebx, 0x1e
mov dword [0xbaebe4], eax
or ecx, ebx
not eax
imul eax, ecx
mov ecx, dword [0xbaebe8]
lea esi, [eax*4]
xor ecx, eax
shr eax, 0x1d
mov dword [0xbaebe8], ecx
or esi, eax
not ecx
mov eax, dword [0xbaebec]
imul ecx, esi
lea esi, [ecx*8]
xor eax, ecx
shr ecx, 0x1c
mov dword [0xbaebec], eax
or esi, ecx
not eax
mov ecx, dword [0xbaebf0]
imul eax, esi
mov esi, eax
shl esi, 4
xor ecx, eax
shr eax, 0x1b
mov dword [0xbaebf0], ecx
or eax, esi
not ecx
imul ecx, eax
mov eax, dword [0xbaebf4]
mov esi, ecx
shl esi, 5
xor eax, ecx
shr ecx, 0x1a
mov dword [0xbaebf4], eax
or ecx, esi
not eax
imul eax, ecx
mov ecx, dword [0xbaebf8]
mov esi, eax
shl esi, 6
xor ecx, eax
shr eax, 0x19
mov dword [0xbaebf8], ecx
or eax, esi
not ecx
imul ecx, eax
mov eax, dword [0xbaebfc]
mov esi, ecx
shl esi, 7
xor eax, ecx
shr ecx, 0x18
mov dword [0xbaebfc], eax
or ecx, esi
not eax
imul eax, ecx
mov ecx, dword [0xbaec00]
mov esi, eax
shl esi, 8
xor ecx, eax
shr eax, 0x17
mov dword [0xbaec00], ecx
or eax, esi
not ecx
imul ecx, eax
mov al, 1
xor dword [0xbaec04], ecx
mov ecx, dword [esp + 0x14]
and cl, 7
shl al, cl
or byte [0xbaec0b], al
mov ecx, fcn.0078dba0
mov eax, fcn.0078dba0
and ecx, 1
xor ecx, eax
mov al, 0xfe
cmp ecx, 0xffffffff
setne cl
or cl, 4
xor cl, 7
rol al, cl
and byte [0xbaec0b], al
push dword [esp + 0x30]
push edx
push 0xbaebe0
mov esi, dword [esp + 0x10]
push esi
call fcn.007c0fc0
add esp, 0x10
mov ebx, dword [esp + 0x24]
jmp 0x7c30f7
mov ecx, dword [esp + 0x10]
not eax
add edi, eax
add edi, edx
lea edx, [esp + 0x90]
call fcn.007c3870
test eax, eax
mov ecx, ebx
jne 0x7c2e9a
mov eax, dword [esp + 0x10]
cmp dword [eax], 0
je 0x7c3111
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 8]
mov edi, dword [esp + 0x1c]
jmp 0x7c33d6
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x38]
not ebx
or ebx, 0xffff0000
movzx edx, byte [ecx + edx + 7]
add eax, ebx
add eax, edi
cmp eax, edx
je 0x7c3100
mov dword [esp + 0x38], eax
mov eax, fcn.0079c730
mov edi, 3
sub edi, eax
movzx ecx, byte [0xbaec4b]
mov eax, edi
xor eax, fcn.0079c730
sete al
or al, 6
movzx eax, al
bt ecx, eax
jb 0x7c33a8
mov al, byte [0xbaec4b]
mov ecx, edi
mov ah, 1
xor ecx, fcn.0079c730
sete cl
or cl, 6
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbaec4b], ah
jne 0x7c3166
mov esi, fcn.0079c730
mov ecx, 3
sub ecx, esi
mov esi, ecx
xor esi, fcn.0079c730
sete ah
or ah, 6
xor ah, 7
movzx esi, ah
movzx eax, al
bt eax, esi
jae 0x7c31cf
mov eax, ecx
movzx esi, byte [0xbaec4b]
xor eax, fcn.0079c730
sete al
or al, 6
movzx eax, al
bt esi, eax
jae 0x7c31af
jmp 0x7c33a8
xor ecx, fcn.0079c730
movzx ecx, byte [0xbaec4b]
sete al
or al, 6
movzx eax, al
bt ecx, eax
jb 0x7c3383
mov eax, fcn.0079c730
mov esi, 3
xor ecx, ecx
sub esi, eax
xor esi, fcn.0079c730
sete cl
mov eax, ecx
or cl, 6
or eax, 0xb81db776
xor eax, dword [0xbaec10]
mov dword [0xbaec10], eax
not eax
mov esi, dword [0xbaec14]
imul eax, eax, 0xb81db777
lea edi, [eax + eax]
xor esi, eax
shr eax, 0x1e
mov dword [0xbaec14], esi
or edi, eax
not esi
mov eax, dword [0xbaec18]
imul esi, edi
lea edi, [esi*4]
xor eax, esi
shr esi, 0x1d
mov dword [0xbaec18], eax
or edi, esi
not eax
mov esi, dword [0xbaec1c]
imul eax, edi
lea edi, [eax*8]
xor esi, eax
shr eax, 0x1c
mov dword [0xbaec1c], esi
or edi, eax
not esi
mov eax, dword [0xbaec20]
imul esi, edi
mov edi, esi
shl edi, 4
xor eax, esi
shr esi, 0x1b
mov dword [0xbaec20], eax
or esi, edi
not eax
imul eax, esi
mov esi, dword [0xbaec24]
mov edi, eax
shl edi, 5
xor esi, eax
shr eax, 0x1a
mov dword [0xbaec24], esi
or eax, edi
not esi
imul esi, eax
mov eax, dword [0xbaec28]
mov edi, esi
shl edi, 6
xor eax, esi
shr esi, 0x19
mov dword [0xbaec28], eax
or esi, edi
not eax
imul eax, esi
mov esi, dword [0xbaec2c]
mov edi, eax
shl edi, 7
xor esi, eax
shr eax, 0x18
mov dword [0xbaec2c], esi
or eax, edi
not esi
imul esi, eax
mov eax, dword [0xbaec30]
mov edi, esi
shl edi, 8
xor eax, esi
shr esi, 0x17
mov dword [0xbaec30], eax
or esi, edi
not eax
imul eax, esi
mov esi, dword [0xbaec34]
mov edi, eax
shl edi, 9
xor esi, eax
shr eax, 0x16
mov dword [0xbaec34], esi
or eax, edi
not esi
imul esi, eax
mov eax, dword [0xbaec38]
mov edi, esi
shl edi, 0xa
xor eax, esi
shr esi, 0x15
mov dword [0xbaec38], eax
or esi, edi
not eax
mov ebx, dword [0xbaec3c]
imul eax, esi
mov edi, eax
shl edi, 0xb
xor ebx, eax
shr eax, 0x14
mov dword [0xbaec3c], ebx
or eax, edi
not ebx
imul ebx, eax
mov eax, dword [0xbaec40]
mov edi, ebx
shl edi, 0xc
xor eax, ebx
shr ebx, 0x13
mov dword [0xbaec40], eax
or ebx, edi
not eax
imul eax, ebx
xor dword [0xbaec44], eax
mov ah, 1
shl ah, cl
or byte [0xbaec4b], ah
mov eax, fcn.0079c730
mov ecx, 3
sub ecx, eax
mov al, 0xfe
xor ecx, fcn.0079c730
sete cl
or cl, 6
xor cl, 7
rol al, cl
and byte [0xbaec4b], al
push dword [esp + 0x30]
push edx
push dword [esp + 0x40]
push 0xbaec10
mov esi, dword [esp + 0x14]
push esi
call fcn.007c0fc0
add esp, 0x14
jmp 0x7c3100
mov ecx, dword [esp + 8]
mov edi, dword [esp + 0x1c]
mov byte [ecx], dl
mov ebx, dword [esp + 0x18]
call fcn.007a0b90
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x70]
inc edi
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ecx
mov esi, edi
mov ecx, dword [esp + 0xa0]
xor ecx, ebp
call fcn.00980459
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret