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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x7c
mov ebp, dword [esp + 0x90]
mov eax, dword [0xbcbae0]
xor eax, esp
mov dword [esp + 0x78], eax
mov dword [esp], ecx
mov dword [esp + 0xc], edx
mov eax, dword [ebp + 0x14]
mov ebx, dword [ecx]
mov edi, dword [edx + 0x34]
mov dword [esp + 0x74], eax
mov dword [esp + 0x1c], ebx
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x70], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x6c], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x68], eax
mov eax, dword [ebp]
mov ecx, dword [ebp + 4]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x60], eax
mov esi, dword [edi + 0x30]
test esi, esi
jne 0x808384
cmp dword [edi + 0x3c], 0
je 0x808844
mov edx, fcn.00839eb0
movzx ecx, byte [0xbb20e7]
and edx, 1
inc edx
mov eax, edx
xor eax, fcn.00839eb0
setne al
or al, 4
movzx eax, al
bt ecx, eax
jb 0x8084b7
mov al, byte [0xbb20e7]
mov ecx, edx
mov ah, 1
xor ecx, fcn.00839eb0
setne cl
or cl, 4
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbb20e7], ah
jne 0x8083b1
mov ecx, fcn.00839eb0
movzx eax, al
and ecx, 1
inc ecx
mov edx, ecx
xor edx, fcn.00839eb0
setne dl
or dl, 4
xor dl, 7
movzx edx, dl
bt eax, edx
jae 0x808417
mov eax, ecx
movzx edx, byte [0xbb20e7]
xor eax, fcn.00839eb0
setne al
or al, 4
movzx eax, al
bt edx, eax
jae 0x8083f7
jmp 0x8084b7
xor ecx, fcn.00839eb0
movzx ecx, byte [0xbb20e7]
setne al
or al, 4
movzx eax, al
bt ecx, eax
jb 0x808496
mov eax, fcn.00839eb0
xor ecx, ecx
and eax, 1
inc eax
xor eax, fcn.00839eb0
mov eax, dword [0xbb20d8]
sete cl
xor ecx, 0xfbd5a651
add ecx, 0x31c
xor eax, ecx
mov edx, ecx
mov dword [0xbb20d8], eax
shr edx, 0x1f
not eax
mov ebx, dword [0xbb20dc]
or edx, ecx
and cl, 7
imul edx, eax
lea edi, [edx + edx]
xor ebx, edx
shr edx, 0x1e
mov dword [0xbb20dc], ebx
or edx, edi
not ebx
imul ebx, edx
mov dl, 1
xor dword [0xbb20e0], ebx
shl dl, cl
or byte [0xbb20e7], dl
mov eax, fcn.00839eb0
and eax, 1
inc eax
xor eax, fcn.00839eb0
mov al, 0xfe
setne cl
or cl, 4
xor cl, 7
rol al, cl
and byte [0xbb20e7], al
mov edx, fcn.007c7d50
movzx ecx, byte [0xbb20f3]
and edx, 1
inc edx
mov eax, edx
xor eax, fcn.007c7d50
sete al
or al, 4
movzx eax, al
bt ecx, eax
jb 0x8085c5
mov al, byte [0xbb20f3]
mov ecx, edx
mov ah, 1
xor ecx, fcn.007c7d50
sete cl
or cl, 4
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbb20f3], ah
jne 0x8084e4
mov ecx, fcn.007c7d50
movzx eax, al
and ecx, 1
inc ecx
mov edx, ecx
xor edx, fcn.007c7d50
sete dl
or dl, 4
xor dl, 7
movzx edx, dl
bt eax, edx
jae 0x808547
mov eax, ecx
movzx edx, byte [0xbb20f3]
xor eax, fcn.007c7d50
sete al
or al, 4
movzx eax, al
bt edx, eax
jae 0x80852a
jmp 0x8085c5
xor ecx, fcn.007c7d50
movzx ecx, byte [0xbb20f3]
sete al
or al, 4
movzx eax, al
bt ecx, eax
jb 0x8085a4
mov eax, fcn.007c7d50
xor ecx, ecx
mov dl, 1
and eax, 1
inc eax
xor eax, fcn.007c7d50
mov eax, dword [0xbb20e8]
sete cl
or ecx, 0x14a68130
add ecx, 0xd94
xor eax, ecx
mov dword [0xbb20e8], eax
not eax
imul eax, ecx
and cl, 7
shl dl, cl
xor dword [0xbb20ec], eax
or byte [0xbb20f3], dl
mov eax, fcn.007c7d50
and eax, 1
inc eax
xor eax, fcn.007c7d50
mov al, 0xfe
sete cl
or cl, 4
xor cl, 7
rol al, cl
and byte [0xbb20f3], al
mov edx, fcn.00775330
mov edi, fcn.00775330
xor eax, eax
movzx ebx, byte [0xbb212f]
or edx, 2
xor edi, 2
mov ecx, edx
add ecx, edi
sete al
mov ecx, eax
xor ecx, 5
lea eax, [ecx + eax*2]
bt ebx, eax
jb 0x80880a
mov al, byte [0xbb212f]
mov ebx, edx
xor ecx, ecx
mov ah, 1
add ebx, edi
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 [0xbb212f], ah
jne 0x8085fb
mov ecx, fcn.00775330
mov edx, fcn.00775330
xor ebx, ebx
movzx eax, al
or ecx, 2
xor edx, 2
mov edi, ecx
add edi, edx
sete bl
mov edi, ebx
xor ebx, 5
lea ebx, [ebx + edi*2]
xor bl, 7
movzx edi, bl
bt eax, edi
jae 0x808670
mov edi, ecx
xor eax, eax
add edi, edx
movzx edi, byte [0xbb212f]
sete al
mov ebx, eax
xor ebx, 5
lea eax, [ebx + eax*2]
bt edi, eax
jae 0x80864e
jmp 0x80880a
xor eax, eax
add ecx, edx
movzx edx, byte [0xbb212f]
sete al
mov ecx, eax
xor ecx, 5
lea eax, [ecx + eax*2]
bt edx, eax
jb 0x8087de
mov eax, fcn.00775330
mov ecx, fcn.00775330
xor edx, edx
xor ecx, 2
or eax, 2
add eax, ecx
sete dl
mov eax, edx
xor eax, 0x94cbdc6d
lea ecx, [eax + edx*2 + 0x500]
mov eax, dword [0xbb2100]
mov edx, ecx
shr edx, 0x1f
or edx, ecx
xor eax, ecx
and cl, 7
mov dword [0xbb2100], eax
not eax
imul edx, eax
mov eax, dword [0xbb2104]
lea edi, [edx + edx]
xor eax, edx
shr edx, 0x1e
mov dword [0xbb2104], eax
or edi, edx
not eax
mov edx, dword [0xbb2108]
imul eax, edi
lea edi, [eax*4]
xor edx, eax
shr eax, 0x1d
mov dword [0xbb2108], edx
or edi, eax
not edx
mov eax, dword [0xbb210c]
imul edx, edi
lea edi, [edx*8]
xor eax, edx
shr edx, 0x1c
mov dword [0xbb210c], eax
or edi, edx
not eax
mov edx, dword [0xbb2110]
imul eax, edi
mov edi, eax
shl edi, 4
xor edx, eax
shr eax, 0x1b
mov dword [0xbb2110], edx
or eax, edi
not edx
imul edx, eax
mov eax, dword [0xbb2114]
mov edi, edx
shl edi, 5
xor eax, edx
shr edx, 0x1a
mov dword [0xbb2114], eax
or edx, edi
not eax
imul eax, edx
mov edx, dword [0xbb2118]
mov edi, eax
shl edi, 6
xor edx, eax
shr eax, 0x19
mov dword [0xbb2118], edx
or eax, edi
not edx
imul edx, eax
mov eax, dword [0xbb211c]
mov edi, edx
shl edi, 7
xor eax, edx
shr edx, 0x18
mov dword [0xbb211c], eax
or edx, edi
not eax
imul eax, edx
mov edx, dword [0xbb2120]
mov edi, eax
shl edi, 8
xor edx, eax
shr eax, 0x17
mov dword [0xbb2120], edx
or eax, edi
not edx
mov ebx, dword [0xbb2124]
imul edx, eax
mov edi, edx
shl edi, 9
xor ebx, edx
shr edx, 0x16
mov dword [0xbb2124], ebx
or edx, edi
not ebx
imul ebx, edx
mov dl, 1
xor dword [0xbb2128], ebx
shl dl, cl
or byte [0xbb212f], dl
mov eax, fcn.00775330
mov ecx, fcn.00775330
xor edx, edx
xor ecx, 2
or eax, 2
add eax, ecx
sete dl
mov eax, edx
xor eax, 5
lea ecx, [eax + edx*2]
mov al, 0xfe
xor cl, 7
rol al, cl
and byte [0xbb212f], al
mov eax, dword [esp + 0xc]
movzx ecx, byte [eax]
call fcn.008031e0
test esi, esi
mov ecx, 0xbb20e8
mov edx, 0xbb20d8
cmove edx, ecx
push eax
push edx
push 0xbb2100
push dword [esp + 0xc]
call fcn.00782570
add esp, 0x10
mov ebx, 1
xor edx, edx
jmp 0x8096dc
mov ecx, dword [esp]
call fcn.007ebd10
mov dword [esp + 8], eax
cmp byte [esp + 0x60], 0xc
mov esi, dword [esp + 0xc]
jne 0x80887a
mov eax, dword [esi + 0x1c]
mov ecx, dword [esp + 8]
mov edx, 0x64
push dword [eax]
push dword [esp + 0x68]
call fcn.007c57e0
add esp, 8
mov byte [esp + 0x60], 0xe
mov eax, dword [esi + 4]
test eax, 0x400
je 0x8088a8
mov ecx, dword [esp]
lea eax, [esp + 0x60]
mov edx, esi
push eax
call fcn.0080ebb0
add esp, 4
test eax, eax
js 0x8088a5
mov ecx, eax
xor edx, edx
mov ebx, eax
jmp 0x8096dc
mov eax, dword [esi + 4]
test eax, 0x2000
je 0x8088cc
mov edi, dword [esp]
lea eax, [esp + 0x60]
mov edx, esi
mov ecx, edi
push eax
call fcn.0080ef30
add esp, 4
xor edx, edx
xor ebx, ebx
jmp 0x8095fc
cmp dword [esi + 0x30], 0
jne 0x809745
cmp dword [edi + 0x34], 0
jne 0x808bef
mov edx, fcn.0079e400
movzx ecx, byte [0xbb2143]
not edx
and edx, 1
mov eax, edx
add eax, fcn.0079e400
sete al
or al, 4
movzx eax, al
bt ecx, eax
jb 0x808a2e
mov al, byte [0xbb2143]
mov ecx, edx
mov ah, 1
add ecx, fcn.0079e400
sete cl
or cl, 4
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbb2143], ah
jne 0x80890e
mov ecx, fcn.0079e400
movzx eax, al
not ecx
and ecx, 1
mov edx, ecx
add edx, fcn.0079e400
sete dl
or dl, 4
xor dl, 7
movzx edx, dl
bt eax, edx
jae 0x808975
mov eax, ecx
movzx edx, byte [0xbb2143]
add eax, fcn.0079e400
sete al
or al, 4
movzx eax, al
bt edx, eax
jae 0x808955
jmp 0x808a2e
add ecx, fcn.0079e400
movzx ecx, byte [0xbb2143]
sete al
or al, 4
movzx eax, al
bt ecx, eax
jb 0x808a0c
mov eax, fcn.0079e400
xor ecx, ecx
not eax
and eax, 1
add eax, fcn.0079e400
mov eax, dword [0xbb2130]
sete cl
or ecx, 0x1988bbb0
add ecx, 0x14
xor eax, ecx
mov dword [0xbb2130], eax
not eax
mov edx, dword [0xbb2134]
imul eax, ecx
and cl, 7
lea esi, [eax + eax]
xor edx, eax
shr eax, 0x1e
mov dword [0xbb2134], edx
or esi, eax
not edx
mov eax, dword [0xbb2138]
imul edx, esi
lea esi, [edx*4]
xor eax, edx
shr edx, 0x1d
mov dword [0xbb2138], eax
or esi, edx
not eax
mov dl, 1
imul eax, esi
mov esi, dword [esp + 0xc]
shl dl, cl
xor dword [0xbb213c], eax
or byte [0xbb2143], dl
mov eax, fcn.0079e400
not eax
and eax, 1
add eax, fcn.0079e400
mov al, 0xfe
sete cl
or cl, 4
xor cl, 7
rol al, cl
and byte [0xbb2143], al
mov edx, 0x788c50
xor eax, eax
movzx ebx, byte [0xbb2167]
imul edx, edx
and edx, 3
cmp edx, 3
sete al
mov ecx, eax
xor ecx, 3
lea eax, [eax + ecx*2]
bt ebx, eax
jb 0x808bc9
mov al, byte [0xbb2167]
xor ecx, ecx
cmp edx, 3
mov ah, 1
sete cl
mov esi, ecx
not esi
and esi, 3
lea ecx, [ecx + esi*2]
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbb2167], ah
jne 0x808a5e
mov ecx, 0x788c50
xor edx, edx
movzx eax, al
imul ecx, ecx
and ecx, 3
cmp ecx, 3
sete dl
mov esi, edx
not esi
and esi, 3
lea edx, [edx + esi*2]
xor dl, 7
movzx edx, dl
bt eax, edx
jae 0x808ad3
mov esi, dword [esp + 0xc]
xor eax, eax
cmp ecx, 3
movzx ebx, byte [0xbb2167]
sete al
mov edx, eax
xor edx, 3
lea eax, [eax + edx*2]
bt ebx, eax
jae 0x808ab2
jmp 0x808bc9
xor eax, eax
cmp ecx, 3
movzx edx, byte [0xbb2167]
mov esi, dword [esp + 0xc]
sete al
mov ecx, eax
xor ecx, 3
lea eax, [eax + ecx*2]
bt edx, eax
jb 0x808b9f
mov ecx, 0x788c50
xor eax, eax
imul ecx, ecx
and ecx, 3
cmp ecx, 3
sete al
mov ecx, eax
not ecx
and ecx, 0x81b
lea ecx, [eax + ecx*2 - 0xad2d960]
mov eax, dword [0xbb2150]
mov edx, ecx
shr edx, 0x1f
or edx, ecx
xor eax, ecx
and cl, 7
mov dword [0xbb2150], eax
not eax
imul edx, eax
mov eax, dword [0xbb2154]
lea esi, [edx + edx]
xor eax, edx
shr edx, 0x1e
mov dword [0xbb2154], eax
or esi, edx
not eax
mov edx, dword [0xbb2158]
imul eax, esi
lea esi, [eax*4]
xor edx, eax
shr eax, 0x1d
mov dword [0xbb2158], edx
or esi, eax
not edx
mov eax, dword [0xbb215c]
imul edx, esi
lea esi, [edx*8]
xor eax, edx
shr edx, 0x1c
mov dword [0xbb215c], eax
or esi, edx
not eax
mov dl, 1
imul eax, esi
mov esi, dword [esp + 0xc]
shl dl, cl
xor dword [0xbb2160], eax
or byte [0xbb2167], dl
mov ecx, 0x788c50
xor eax, eax
imul ecx, ecx
and ecx, 3
cmp ecx, 3
sete al
mov ecx, eax
not ecx
and ecx, 3
lea ecx, [eax + ecx*2]
mov al, 0xfe
xor cl, 7
rol al, cl
and byte [0xbb2167], al
push 0xbb2130
push 1
push dword [esp + 8]
call fcn.007f2440
add esp, 0xc
push 0xbb2150
push 1
push dword [esp + 8]
call fcn.007f2440
add esp, 0xc
mov al, byte [esi]
cmp al, 0x84
je 0x808e92
cmp al, 0x86
je 0x808e92
cmp al, 0x85
jne 0x809227
mov eax, dword [esi + 8]
mov ecx, dword [esp]
mov edx, edi
mov dword [edi + 8], eax
mov eax, dword [esi + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [esi + 0x3c]
mov dword [edi + 0x3c], eax
lea eax, [esp + 0x60]
push eax
call fcn.007d5f00
add esp, 4
test eax, eax
mov dword [esi + 0x3c], 0
jne 0x80889a
mov dword [esi + 0x34], 0
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
test eax, eax
mov ecx, dword [edi + 0xc]
mov dword [esi + 0xc], ecx
jne 0x808c5d
mov dword [esp + 4], 0
jmp 0x808c91
mov ecx, dword [esp + 8]
mov edx, 0x14
push eax
call fcn.007edd80
add esp, 4
mov dword [esp + 4], eax
mov eax, dword [esi + 0xc]
test eax, eax
je 0x808c91
mov ecx, dword [esp + 8]
mov edx, 0x98
push eax
inc eax
push eax
push dword [esi + 8]
call fcn.007c5800
add esp, 0xc
mov ebx, fcn.00797480
mov esi, fcn.00797480
xor eax, eax
movzx edx, byte [0xbb2177]
or ebx, 2
xor esi, 2
mov ecx, ebx
add ecx, esi
sete al
mov ecx, eax
xor ecx, 5
lea eax, [ecx + eax*2]
bt edx, eax
jb 0x808ded
mov al, byte [0xbb2177]
mov edx, ebx
xor ecx, ecx
add edx, esi
sete cl
mov edx, ecx
xor edx, 5
lea ecx, [edx + ecx*2]
mov dl, 1
xor cl, 7
shl dl, cl
or dl, al
lock cmpxchg byte [0xbb2177], dl
jne 0x808cc7
mov ecx, fcn.00797480
mov edx, fcn.00797480
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, 5
lea ebx, [ebx + esi*2]
xor bl, 7
movzx esi, bl
bt eax, esi
jae 0x808d3c
mov esi, ecx
xor eax, eax
add esi, edx
movzx esi, byte [0xbb2177]
sete al
mov ebx, eax
xor ebx, 5
lea eax, [ebx + eax*2]
bt esi, eax
jae 0x808d1a
jmp 0x808ded
xor eax, eax
add ecx, edx
movzx edx, byte [0xbb2177]
sete al
mov ecx, eax
xor ecx, 5
lea eax, [ecx + eax*2]
bt edx, eax
jb 0x808dc1
mov ecx, fcn.00797480
mov edx, fcn.00797480
xor eax, eax
xor edx, 2
or ecx, 2
add ecx, edx
sete al
mov edx, eax
xor edx, 0x25b213bd
lea ecx, [edx + eax*2]
lea eax, [edx + eax*2 + 0x800]
mov edx, dword [0xbb2168]
and cl, 7
xor edx, eax
mov dword [0xbb2168], edx
not edx
mov ebx, dword [0xbb216c]
imul edx, eax
lea esi, [edx + edx]
xor ebx, edx
shr edx, 0x1e
mov dword [0xbb216c], ebx
or esi, edx
not ebx
mov dl, 1
imul ebx, esi
shl dl, cl
xor dword [0xbb2170], ebx
or byte [0xbb2177], dl
mov eax, fcn.00797480
mov ecx, fcn.00797480
xor edx, edx
xor ecx, 2
or eax, 2
add eax, ecx
sete dl
mov eax, edx
xor eax, 5
lea ecx, [eax + edx*2]
mov al, 0xfe
xor cl, 7
rol al, cl
and byte [0xbb2177], al
push 0xbb2168
push 1
mov esi, dword [esp + 8]
push esi
call fcn.007f2440
add esp, 0xc
mov ecx, esi
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x60]
mov edx, esi
push eax
call fcn.007d5f00
add esp, 4
mov ebx, eax
mov eax, dword [esi + 0x34]
mov dword [esi + 0x34], edi
movsx edx, word [edi + 2]
movsx ecx, word [esi + 2]
mov dword [esp + 0x18], eax
call fcn.00810830
mov word [esi + 2], ax
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x808e71
mov ecx, dword [eax + 0xc]
lea edx, [esp + 0x5c]
call fcn.00802ca0
test eax, eax
je 0x808e71
mov ecx, dword [esp + 0x5c]
test ecx, ecx
jle 0x808e71
mov eax, dword [esp + 0xc]
mov edx, ecx
sar edx, 0x1f
movzx esi, word [eax + 2]
call fcn.007b2640
cmp si, ax
mov esi, dword [esp + 0xc]
jle 0x808e71
mov word [esi + 2], ax
mov edx, dword [esp + 4]
test edx, edx
jne 0x808e81
mov edi, dword [esp]
jmp 0x8095eb
mov ecx, dword [esp + 8]
call fcn.007ebd40
mov edi, dword [esp]
jmp 0x8095eb
cmp byte [esp + 0x60], 1
jne 0x808ea2
mov eax, dword [esp + 0x64]
mov ebx, dword [esp]
jmp 0x808edb
mov ebx, dword [esp]
mov edx, 0x64
mov eax, dword [ebx + 0x28]
mov dword [esp + 4], eax
lea eax, [eax + 1]
mov ecx, dword [esp + 8]
mov dword [ebx + 0x28], eax
push 0
push dword [esp + 8]
call fcn.007c57e0
add esp, 8
mov ecx, esi
mov dword [esi + 0x14], eax
call fcn.00802bd0
or byte [eax + 4], 0x20
mov eax, dword [esp + 4]
mov dword [esp + 4], eax
lea ecx, [esp + 0x44]
mov edx, 1
push eax
call fcn.007f24c0
add esp, 4
lea eax, [esp + 0x44]
mov ecx, ebx
mov edx, edi
push eax
call fcn.007d5f00
add esp, 4
test eax, eax
je 0x808f0f
mov ebx, eax
xor edx, edx
jmp 0x8096dc
mov edx, fcn.00788620
movzx ecx, byte [0xbb219b]
imul edx, edx
and edx, 3
cmp edx, 2
sete al
xor al, 5
add al, 0x44
and al, 7
movzx eax, al
bt ecx, eax
jb 0x8090ae
mov al, byte [0xbb219b]
cmp edx, 2
mov ah, 1
sete cl
xor cl, 5
add cl, 0x44
and cl, 7
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbb219b], ah
jne 0x808f3e
mov ecx, fcn.00788620
movzx eax, al
imul ecx, ecx
and ecx, 3
cmp ecx, 2
sete dl
xor dl, 5
add dl, 0x44
and dl, 7
xor dl, 7
movzx edx, dl
bt eax, edx
jae 0x808fa8
cmp ecx, 2
movzx edx, byte [0xbb219b]
sete al
xor al, 5
add al, 0x44
and al, 7
movzx eax, al
bt edx, eax
jae 0x808f88
jmp 0x8090ae
cmp ecx, 2
movzx ecx, byte [0xbb219b]
sete al
xor al, 5
add al, 0x44
and al, 7
movzx eax, al
bt ecx, eax
jb 0x809087
mov eax, fcn.00788620
xor ecx, ecx
imul eax, eax
and eax, 3
cmp eax, 2
mov eax, dword [0xbb2180]
sete cl
xor ecx, 0x5be0ca4d
add ecx, 0xb44
mov edx, ecx
xor eax, ecx
shr edx, 0x1f
mov dword [0xbb2180], eax
not eax
or edx, ecx
and cl, 7
imul edx, eax
mov eax, dword [0xbb2184]
lea esi, [edx + edx]
xor eax, edx
shr edx, 0x1e
mov dword [0xbb2184], eax
or esi, edx
not eax
mov edx, dword [0xbb2188]
imul eax, esi
lea esi, [eax*4]
xor edx, eax
shr eax, 0x1d
mov dword [0xbb2188], edx
or esi, eax
not edx
mov eax, dword [0xbb218c]
imul edx, esi
lea esi, [edx*8]
xor eax, edx
shr edx, 0x1c
mov dword [0xbb218c], eax
or esi, edx
not eax
mov edx, dword [0xbb2190]
imul eax, esi
mov esi, eax
shl esi, 4
xor edx, eax
shr eax, 0x1b
mov dword [0xbb2190], edx
or eax, esi
not edx
mov esi, dword [esp + 0xc]
imul edx, eax
xor dword [0xbb2194], edx
mov dl, 1
shl dl, cl
or byte [0xbb219b], dl
mov eax, fcn.00788620
imul eax, eax
and eax, 3
cmp eax, 2
mov al, 0xfe
sete cl
xor cl, 5
add cl, 0x44
and cl, 7
xor cl, 7
rol al, cl
and byte [0xbb219b], al
movzx ecx, byte [esi]
mov dword [esi + 0x34], 0
mov edx, dword [esi + 0x3c]
mov dword [esi + 0x3c], 0
cmp ecx, 0x86
sete al
mov dword [esp + 0x10], edx
inc al
mov byte [esp + 0x44], al
call fcn.008031e0
push eax
push 0xbb2180
push 1
mov ebx, dword [esp + 0xc]
push ebx
call fcn.007f2440
add esp, 0x10
lea eax, [esp + 0x44]
mov ecx, ebx
mov edx, esi
push eax
call fcn.007d5f00
add esp, 4
mov edx, dword [esi + 0x30]
mov ecx, dword [esp + 0x1c]
mov ebx, eax
call fcn.007c00f0
mov eax, dword [esi + 0x34]
mov dword [esi + 0x34], edi
mov dword [esi + 0x30], 0
cmp byte [esi], 0x84
mov dword [esp + 0x18], eax
jne 0x809135
movsx edx, word [edi + 2]
movsx ecx, word [esi + 2]
call fcn.00810830
mov word [esi + 2], ax
mov edx, dword [esi + 0x3c]
mov edi, esi
mov esi, dword [esp + 0x1c]
mov ecx, esi
call fcn.007c00e0
mov eax, dword [esp + 0x10]
mov dword [edi + 0x3c], eax
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
cmp byte [esp + 0x60], 1
jne 0x80916d
mov esi, dword [esp + 0xc]
mov edi, dword [esp]
jmp 0x8095eb
cmp byte [esi + 0x51], 0
mov edi, dword [esp]
je 0x80917f
mov esi, dword [esp + 0xc]
jmp 0x8095eb
mov ecx, edi
call fcn.007efdc0
mov dword [esp + 0x10], eax
mov edi, eax
mov ecx, dword [esp]
call fcn.007efdc0
mov dword [esp + 0x14], eax
mov esi, dword [esp + 0xc]
mov ecx, dword [esp]
mov edx, esi
push edi
call fcn.00809ac0
add esp, 4
mov edi, dword [esp + 8]
mov edx, 0x25
mov ecx, edi
push dword [esp + 0x10]
push dword [esp + 8]
call fcn.007c57e0
add esp, 8
mov ecx, edi
call fcn.007f2430
mov dword [esp + 0x20], eax
lea eax, [esp + 0x60]
mov edx, esi
mov ecx, dword [esp]
push dword [esp + 0x10]
push dword [esp + 0x18]
push eax
push 0
push 0
push dword [esp + 0x18]
call fcn.0080bdc0
add esp, 0x18
mov edx, dword [esp + 0x14]
mov ecx, edi
call fcn.007f04f0
mov ecx, edi
mov edx, 5
push dword [esp + 0x20]
push dword [esp + 8]
call fcn.007c57e0
add esp, 8
mov edx, dword [esp + 0x10]
mov ecx, edi
mov edi, dword [esp]
call fcn.007f04f0
jmp 0x8095d4
mov ecx, dword [esp]
mov edx, 0x64
mov ebx, dword [ecx + 0x28]
lea eax, [ebx + 2]
mov dword [ecx + 0x28], eax
mov ecx, dword [esp + 8]
push 0
push ebx
call fcn.007c57e0
add esp, 8
mov ecx, esi
mov dword [esi + 0x14], eax
mov esi, ebx
call fcn.00802bd0
or byte [eax + 4], 0x20
lea ebx, [esp + 0x2c]
mov edx, 1
mov ecx, ebx
push esi
call fcn.007f24c0
add esp, 4
mov ecx, dword [esp]
mov edx, edi
push ebx
call fcn.007d5f00
add esp, 4
test eax, eax
jne 0x808f06
mov edx, fcn.0082a070
lea eax, [esi + 1]
mov dword [esp + 4], esi
mov dword [esp + 0x10], eax
mov eax, fcn.0082a070
and edx, 1
xor edx, eax
xor eax, eax
movzx esi, byte [0xbb21bb]
cmp edx, 0xffffffff
sete al
mov ecx, eax
xor ecx, 5
lea eax, [ecx + eax*2]
bt esi, eax
mov esi, dword [esp + 8]
jb 0x809444
mov al, byte [0xbb21bb]
xor ebx, ebx
cmp edx, 0xffffffff
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 [0xbb21bb], ah
jne 0x8092c4
mov ecx, fcn.0082a070
mov edx, fcn.0082a070
movzx eax, al
and ecx, 1
xor ecx, edx
xor edx, edx
cmp ecx, 0xffffffff
sete dl
mov ebx, edx
xor ebx, 5
lea edx, [ebx + edx*2]
xor dl, 7
movzx edx, dl
bt eax, edx
jae 0x809335
xor eax, eax
cmp ecx, 0xffffffff
movzx ebx, byte [0xbb21bb]
sete al
mov edx, eax
xor edx, 5
lea eax, [edx + eax*2]
bt ebx, eax
jae 0x809314
jmp 0x809444
xor eax, eax
cmp ecx, 0xffffffff
movzx edx, byte [0xbb21bb]
sete al
mov ecx, eax
xor ecx, 5
lea eax, [ecx + eax*2]
bt edx, eax
jb 0x809418
mov ecx, fcn.0082a070
mov eax, fcn.0082a070
and ecx, 1
xor ecx, eax
xor eax, eax
cmp ecx, 0xffffffff
sete al
mov ecx, eax
xor ecx, 0xd9301ec5
lea ecx, [ecx + eax*2 + 0x270]
mov eax, dword [0xbb21a0]
mov edx, ecx
shr edx, 0x1f
or edx, ecx
xor eax, ecx
and cl, 7
mov dword [0xbb21a0], eax
not eax
imul edx, eax
mov eax, dword [0xbb21a4]
lea ebx, [edx + edx]
xor eax, edx
shr edx, 0x1e
mov dword [0xbb21a4], eax
or ebx, edx
not eax
mov edx, dword [0xbb21a8]
imul eax, ebx
lea ebx, [eax*4]
xor edx, eax
shr eax, 0x1d
mov dword [0xbb21a8], edx
or ebx, eax
not edx
mov eax, dword [0xbb21ac]
imul edx, ebx
lea ebx, [edx*8]
xor eax, edx
shr edx, 0x1c
mov dword [0xbb21ac], eax
or ebx, edx
not eax
mov edx, dword [0xbb21b0]
imul eax, ebx
mov ebx, eax
shl ebx, 4
xor edx, eax
shr eax, 0x1b
mov dword [0xbb21b0], edx
or eax, ebx
not edx
imul edx, eax
xor dword [0xbb21b4], edx
mov dl, 1
shl dl, cl
or byte [0xbb21bb], dl
mov ecx, fcn.0082a070
mov eax, fcn.0082a070
and ecx, 1
xor ecx, eax
xor eax, eax
cmp ecx, 0xffffffff
sete al
mov ecx, eax
xor ecx, 5
lea ecx, [ecx + eax*2]
mov al, 0xfe
xor cl, 7
rol al, cl
and byte [0xbb21bb], al
mov ecx, esi
mov edx, 0x64
push 0
mov esi, dword [esp + 0x14]
push esi
call fcn.007c57e0
add esp, 8
mov ebx, dword [esp + 0xc]
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x34], 0
mov eax, dword [ebx + 0x3c]
mov dword [ebx + 0x3c], 0
mov dword [esp + 0x30], esi
movzx ecx, byte [ebx]
mov dword [esp + 0x14], eax
call fcn.008031e0
push eax
push 0xbb21a0
push 1
mov esi, dword [esp + 0xc]
push esi
call fcn.007f2440
add esp, 0x10
lea eax, [esp + 0x2c]
mov ecx, esi
mov edx, ebx
push eax
mov esi, ebx
call fcn.007d5f00
add esp, 4
mov ebx, eax
mov eax, dword [esi + 0x34]
mov dword [esi + 0x34], edi
mov dword [esp + 0x18], eax
movzx eax, word [edi + 2]
cmp word [esi + 2], ax
jle 0x8094c4
mov word [esi + 2], ax
mov edx, dword [esi + 0x3c]
mov ecx, dword [esp + 0x1c]
call fcn.007c00e0
mov edi, dword [esp]
mov eax, dword [esp + 0x14]
mov ecx, edi
mov dword [esi + 0x3c], eax
call fcn.007efdc0
mov ecx, edi
mov dword [esp + 0x14], eax
call fcn.007efdc0
mov dword [esp + 0x20], eax
mov ecx, edi
mov edx, esi
mov edi, dword [esp + 0x14]
push edi
call fcn.00809ac0
add esp, 4
mov ecx, dword [esp + 8]
mov edx, 0x25
push edi
push dword [esp + 8]
call fcn.007c57e0
add esp, 8
mov ecx, dword [esp]
call fcn.007f1720
mov dword [esp + 0x24], eax
mov edx, 0x7e
mov edi, dword [esp + 8]
mov ecx, edi
push eax
push dword [esp + 8]
call fcn.007c57e0
add esp, 8
mov dword [esp + 0x28], eax
mov ecx, edi
mov edx, 0x1d
push 0
mov edi, dword [esp + 0x28]
push edi
push dword [esp + 0x28]
push dword [esp + 0x1c]
call fcn.007826e0
add esp, 0x10
mov ecx, dword [esp]
mov edx, edi
mov edi, ecx
call fcn.007f0bc0
lea eax, [esp + 0x60]
mov ecx, edi
mov edx, esi
push dword [esp + 0x14]
push dword [esp + 0x24]
push eax
push 0
push 0
push dword [esp + 0x18]
call fcn.0080bdc0
add esp, 0x18
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x20]
call fcn.007f04f0
mov ecx, dword [esp + 8]
mov edx, 5
push dword [esp + 0x28]
push dword [esp + 8]
call fcn.007c57e0
add esp, 8
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x14]
call fcn.007f04f0
mov ecx, dword [esp + 8]
mov edx, 0x74
push 0
push dword [esp + 0x14]
call fcn.007c57e0
add esp, 8
mov ecx, dword [esp + 8]
mov edx, 0x74
push 0
push dword [esp + 8]
call fcn.007c57e0
add esp, 8
cmp dword [esi + 0x38], 0
jne 0x8095f8
mov ecx, edi
call fcn.00809770
mov edx, dword [esp + 0x18]
cmp dword [edi + 0x24], 0
jne 0x8096dc
test byte [esi + 4], 0x20
je 0x8096dc
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x18], edx
mov ecx, dword [esp + 0x1c]
mov edi, dword [eax]
mov edx, edi
push 1
call fcn.007ec320
add esp, 4
test eax, eax
mov dword [esp + 0x10], eax
jne 0x80963b
mov ebx, 7
jmp 0x8096d8
test edi, edi
mov dword [esp + 4], edi
mov dword [esp + 0x14], ebx
jle 0x809681
mov edi, dword [esp + 0x10]
xor esi, esi
add edi, 0x14
mov ecx, dword [esp]
mov edx, dword [esp + 0xc]
push esi
call fcn.00810880
add esp, 4
test eax, eax
mov dword [edi], eax
jne 0x80966f
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 8]
mov dword [edi], eax
inc esi
add edi, 4
cmp esi, dword [esp + 4]
jne 0x809650
mov esi, dword [esp + 0xc]
test esi, esi
je 0x8096cb
mov edi, dword [esi + 0x14]
test edi, edi
js 0x8096c6
mov ebx, esi
mov esi, dword [esp + 8]
mov edx, edi
mov ecx, esi
push dword [esp + 4]
call fcn.007ebf30
add esp, 4
mov ecx, dword [esp + 0x10]
call fcn.00804e40
mov ecx, esi
mov esi, ebx
mov edx, edi
push 0xfffffffffffffff7
push eax
call fcn.00782820
add esp, 8
mov dword [ebx + 0x14], 0xffffffff
mov edi, dword [ebx + 0x18]
test edi, edi
jns 0x809708
mov esi, dword [esi + 0x34]
jmp 0x80967d
mov ecx, dword [esp + 0x10]
call fcn.007a1cb0
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x1c]
mov dword [ebp + 8], eax
mov eax, dword [esp + 0x6c]
mov dword [ebp + 0xc], eax
call fcn.007c0190
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.00980459
mov eax, ebx
add esp, 0x7c
pop esi
pop edi
pop ebx
pop ebp
ret
mov esi, dword [esp + 8]
mov edx, edi
mov ecx, esi
push dword [esp + 4]
call fcn.007ebf30
add esp, 4
mov ecx, dword [esp + 0x10]
call fcn.00804e40
mov ecx, esi
mov esi, ebx
mov edx, edi
push 0xfffffffffffffff7
push eax
call fcn.00782820
add esp, 8
mov dword [ebx + 0x18], 0xffffffff
mov esi, dword [ebx + 0x34]
jmp 0x80967d
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.00980459
mov ecx, dword [esp]
mov edx, esi
add esp, 0x7c
pop esi
pop edi
pop ebx
pop ebp
jmp 0x80fa10
push ebp
push ebx
push edi
push esi
sub esp, 0x90
mov eax, dword [0xbcbae0]
mov edi, edx
mov esi, ecx
xor eax, esp
mov dword [esp + 0x8c], eax
mov eax, dword [ecx + 8]
mov ebx, dword [ecx]
mov dword [esp + 0x18], eax
call fcn.007efdc0
mov ecx, esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], esi
call fcn.007efdc0
mov ebp, dword [edi + 0x30]
mov cl, byte [edi]
mov esi, dword [edi + 0x34]
mov dword [esp + 0x44], eax
mov edx, dword [ebp]
cmp cl, 0x85
mov dword [esp + 0x20], esi
mov byte [esp + 0x28], cl
mov dword [esp + 0x24], edx
je 0x80fb0d
cmp byte [ebx + 0x51], 0
jne 0x80fb0d
mov esi, 1
mov eax, dword [edi + 0x1c]
cmp esi, dword [eax]
jg 0x80fb0d
cmp dword [esp + 0x24], 0
jg 0x80fa92
xor eax, eax
jmp 0x80faa9
lea ecx, [ebp + 4]
xor eax, eax
movzx edx, word [ecx + 0x10]
cmp esi, edx
je 0x80faa9
inc eax
add ecx, 0x14
cmp eax, dword [esp + 0x24]
jl 0x80fa97
cmp eax, dword [esp + 0x24]
jne 0x80fb02
mov ecx, ebx
mov edx, 0x98
push 0
call fcn.007d8c20
add esp, 4
test eax, eax
jne 0x80face
mov ebx, 7
jmp 0x81080d
or byte [eax + 5], 4
mov dword [eax + 8], esi
mov edx, ebp
mov ecx, dword [esp + 0x1c]
push eax
call fcn.007d8ad0
add esp, 4
test eax, eax
mov dword [edi + 0x30], eax
jne 0x80faef
xor ebp, ebp
jmp 0x80fb02
mov ecx, dword [esp + 0x24]
mov ebp, eax
lea eax, [ecx + ecx*4]
inc ecx
mov dword [esp + 0x24], ecx
mov word [ebp + eax*4 + 0x14], si
inc esi
cmp byte [ebx + 0x51], 0
je 0x80fa7c
mov esi, dword [esp + 0x24]
mov dword [esp], edi
mov ecx, ebx
lea edx, [esi*4 + 4]
push 0
call fcn.0078dcd0
add esp, 4
mov dword [esp + 0x50], eax
test eax, eax
mov eax, 0
je 0x80fb64
mov edi, dword [esp + 0x50]
test esi, esi
mov dword [edi], esi
jle 0x80fb58
lea eax, [ebp + 4]
mov ecx, 1
movzx edx, word [eax + 0x10]
add eax, 0x14
dec edx
cmp ecx, esi
mov dword [edi + ecx*4], edx
lea ecx, [ecx + 1]
jne 0x80fb46
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp]
call fcn.008108c0
mov esi, dword [esp]
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x10], 0
mov dword [esp + 0x58], eax
mov edx, ebp
mov dword [esi + 0x30], ebp
mov ecx, dword [edi]
push 0
call fcn.007f4030
add esp, 4
cmp byte [esp + 0x28], 0x85
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x54], ebx
mov dword [ecx + 0x30], eax
jne 0x80fba2
mov ebx, dword [esp + 0x14]
xor esi, esi
jmp 0x80fc14
mov eax, dword [esi + 0x1c]
mov ebp, dword [edi + 0x2c]
mov ecx, dword [esp + 0x18]
mov edx, 0x45
mov esi, dword [eax]
lea eax, [ebp + esi + 1]
inc ebp
mov dword [edi + 0x2c], eax
mov dword [esp + 8], ebp
push ebp
push 0
call fcn.007c57e0
add esp, 8
mov ecx, ebx
mov edx, esi
push 1
call fcn.007ec320
add esp, 4
test eax, eax
je 0x80fc0c
mov ebp, eax
test esi, esi
jle 0x80fc08
mov ebx, esi
mov esi, dword [esp + 0x1c]
xor edi, edi
mov edx, dword [esp]
mov ecx, esi
push edi
call fcn.00810880
add esp, 4
mov dword [ebp + edi*4 + 0x14], eax
mov eax, dword [ebp + 0x10]
mov byte [eax + edi], 0
inc edi
cmp edi, ebx
jne 0x80fbea
mov dword [esp + 0x10], ebp
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 8]
mov edx, 0x83a490
movzx ecx, byte [0xbb228f]
imul edx, edx
and edx, 3
cmp edx, 1
seta al
or al, 6
movzx eax, al
bt ecx, eax
jb 0x80fd1b
mov al, byte [0xbb228f]
cmp edx, 1
mov ah, 1
seta cl
or cl, 6
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbb228f], ah
jne 0x80fc3f
mov ecx, 0x83a490
movzx eax, al
imul ecx, ecx
and ecx, 3
cmp ecx, 1
seta dl
or dl, 6
xor dl, 7
movzx edx, dl
bt eax, edx
jae 0x80fc99
cmp ecx, 1
movzx edx, byte [0xbb228f]
seta al
or al, 6
movzx eax, al
bt edx, eax
jae 0x80fc7d
jmp 0x80fd1b
cmp ecx, 1
movzx edx, byte [0xbb228f]
seta al
or al, 6
movzx eax, al
bt edx, eax
jb 0x80fcfa
mov eax, 0x83a490
xor ecx, ecx
imul eax, eax
and eax, 3
cmp eax, 1
mov eax, dword [0xbb2284]
seta cl
or ecx, 0x869c1246
add ecx, 0x1220
mov edx, ecx
xor eax, ecx
shr edx, 0x1f
mov dword [0xbb2284], eax
not eax
or edx, ecx
and cl, 7
imul edx, eax
xor dword [0xbb2288], edx
mov dl, 1
shl dl, cl
or byte [0xbb228f], dl
mov eax, 0x83a490
imul eax, eax
and eax, 3
cmp eax, 1
mov al, 0xfe
seta cl
or cl, 6
xor cl, 7
rol al, cl
and byte [0xbb228f], al
mov ebp, dword [esp]
mov dword [esp + 8], esi
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x20]
mov dword [ebp + 0x34], 0
mov dword [esi + 0x38], 0
mov ecx, edi
mov edx, ebp
push 0xbb2284
push dword [ebp + 0x30]
call fcn.00802f00
add esp, 8
cmp dword [esi + 0x34], 0
mov esi, dword [esp + 0x18]
jne 0x80fe85
mov edx, fcn.00775160
movzx ecx, byte [0xbb229b]
imul edx, edx
and edx, 3
cmp edx, 2
sete al
not al
and al, 5
movzx eax, al
bt ecx, eax
jb 0x80fe68
mov al, byte [0xbb229b]
cmp edx, 2
mov ah, 1
sete cl
not cl
and cl, 5
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbb229b], ah
jne 0x80fd87
mov ecx, fcn.00775160
movzx eax, al
imul ecx, ecx
and ecx, 3
cmp ecx, 2
sete dl
not dl
and dl, 5
xor dl, 7
movzx edx, dl
bt eax, edx
jae 0x80fde7
cmp ecx, 2
movzx edx, byte [0xbb229b]
sete al
not al
and al, 5
movzx eax, al
bt edx, eax
jae 0x80fdc9
jmp 0x80fe68
cmp ecx, 2
movzx ecx, byte [0xbb229b]
sete al
not al
and al, 5
movzx eax, al
bt ecx, eax
jb 0x80fe45
mov eax, fcn.00775160
xor ecx, ecx
mov edi, dword [0xbb2290]
mov dl, 1
imul eax, eax
and eax, 3
cmp eax, 2
sete cl
xor ecx, 0x38ed32ed
add ecx, 0x1020
xor edi, ecx
mov dword [0xbb2290], edi
not edi
imul edi, ecx
and cl, 7
shl dl, cl
xor dword [0xbb2294], edi
or byte [0xbb229b], dl
mov eax, fcn.00775160
imul eax, eax
and eax, 3
cmp eax, 2
mov al, 0xfe
sete cl
not cl
and cl, 5
xor cl, 7
rol al, cl
and byte [0xbb229b], al
mov edi, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ecx, edi
push 0xbb2290
push dword [edx + 0x30]
call fcn.00802f00
add esp, 8
mov ebp, dword [esp]
mov ecx, edi
mov edx, ebp
push ebx
call fcn.00809ac0
add esp, 4
cmp byte [esp + 0x28], 0x85
mov dword [esp + 4], 0
je 0x80fea5
xor ebx, ebx
jmp 0x80fef7
mov eax, dword [ebp + 8]
mov ebx, 0
test eax, eax
je 0x80fef7
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp]
mov ebx, dword [eax + 0x2c]
lea ebp, [ebx + 1]
add ebx, 2
mov dword [eax + 0x2c], ebx
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x80fece
inc eax
jmp 0x80fed1
mov eax, dword [ecx + 8]
mov ecx, esi
mov edx, 0x4d
push ebp
push eax
call fcn.007c57e0
add esp, 8
mov ecx, esi
mov edx, 0x4d
push ebx
mov dword [esp + 8], ebp
push ebp
call fcn.007c57e0
add esp, 8
mov eax, fcn.0079a0d0
mov edx, 3
mov dword [esp + 0x30], ebx
mov ebp, dword [esp + 0x1c]
sub edx, eax
xor eax, eax
movzx esi, byte [0xbb22ab]
mov ecx, edx
xor ecx, fcn.0079a0d0
sete al
mov ecx, eax
not ecx
lea eax, [eax + ecx*2 + 4]
and al, 7
movzx eax, al
bt esi, eax
jb 0x810079
mov al, byte [0xbb22ab]
mov esi, edx
xor ebx, ebx
mov ah, 1
xor esi, fcn.0079a0d0
sete bl
mov ecx, ebx
not ecx
lea ecx, [ebx + ecx*2 + 4]
and cl, 7
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbb22ab], ah
jne 0x80ff3a
mov edx, fcn.0079a0d0
mov ecx, 3
movzx eax, al
sub ecx, edx
xor edx, edx
mov esi, ecx
xor esi, fcn.0079a0d0
sete dl
mov ebx, edx
not ebx
lea edx, [edx + ebx*2 + 4]
and dl, 7
xor dl, 7
movzx edx, dl
bt eax, edx
jae 0x80ffc2
mov edx, ecx
xor eax, eax
movzx esi, byte [0xbb22ab]
xor edx, fcn.0079a0d0
sete al
mov edx, eax
not edx
lea eax, [eax + edx*2 + 4]
and al, 7
movzx eax, al
bt esi, eax
jae 0x80ff97
jmp 0x810079
xor eax, eax
xor ecx, fcn.0079a0d0
movzx edx, byte [0xbb22ab]
sete al
mov ecx, eax
not ecx
lea eax, [eax + ecx*2 + 4]
and al, 7
movzx eax, al
bt edx, eax
jb 0x81004a
mov eax, fcn.0079a0d0
mov ecx, 3
sub ecx, eax
xor eax, eax
xor ecx, fcn.0079a0d0
sete al
mov ecx, eax
not ecx
and ecx, 0x43
lea ecx, [eax + ecx*2 + 0x591cfa4]
mov eax, dword [0xbb229c]
xor eax, ecx
mov dword [0xbb229c], eax
not eax
mov edx, dword [0xbb22a0]
imul eax, ecx
and cl, 7
lea esi, [eax + eax]
xor edx, eax
shr eax, 0x1e
mov dword [0xbb22a0], edx
or esi, eax
not edx
mov al, 1
imul edx, esi
shl al, cl
xor dword [0xbb22a4], edx
or byte [0xbb22ab], al
mov eax, fcn.0079a0d0
mov ecx, 3
sub ecx, eax
xor eax, eax
xor ecx, fcn.0079a0d0
sete al
mov ecx, eax
not ecx
lea ecx, [eax + ecx*2 + 4]
mov al, 0xfe
and cl, 7
xor cl, 7
rol al, cl
and byte [0xbb22ab], al
mov edx, 0x8326f0
xor eax, eax
movzx esi, byte [0xbb22b7]
not edx
and edx, 1
mov ecx, edx
add ecx, 0x8326f0
sete al
mov ecx, eax
xor ecx, 1
lea eax, [eax + ecx*2 + 6]
and al, 7
movzx eax, al
bt esi, eax
jb 0x8101da
mov al, byte [0xbb22b7]
mov esi, edx
xor ecx, ecx
mov ah, 1
add esi, 0x8326f0
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 [0xbb22b7], ah
jne 0x8100b3
mov ecx, 0x8326f0
xor edx, edx
movzx eax, al
not ecx
and ecx, 1
mov esi, ecx
add esi, 0x8326f0
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 0x81013c
mov edx, ecx
xor eax, eax
movzx esi, byte [0xbb22b7]
add edx, 0x8326f0
sete al
mov edx, eax
xor edx, 1
lea eax, [eax + edx*2 + 6]
and al, 7
movzx eax, al
bt esi, eax
jae 0x810110
jmp 0x8101da
xor eax, eax
add ecx, 0x8326f0
movzx edx, byte [0xbb22b7]
sete al
mov ecx, eax
xor ecx, 1
lea eax, [eax + ecx*2 + 6]
and al, 7
movzx eax, al
bt edx, eax
jb 0x8101ad
mov ecx, 0x8326f0
xor eax, eax
mov esi, dword [0xbb22ac]
mov dl, 1
not ecx
and ecx, 1
add ecx, 0x8326f0
sete al
mov ecx, eax
not ecx
and ecx, 0x91
lea ecx, [eax + ecx*2 + 0x20b5994e]
xor esi, ecx
mov dword [0xbb22ac], esi
not esi
imul esi, ecx
and cl, 7
shl dl, cl
xor dword [0xbb22b0], esi
or byte [0xbb22b7], dl
mov eax, 0x8326f0
xor ecx, ecx
not eax
and eax, 1
add eax, 0x8326f0
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 [0xbb22b7], al
mov edx, fcn.00821cb0
mov esi, fcn.00821cb0
xor eax, eax
movzx edi, byte [0xbb22c3]
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 + 2]
bt edi, eax
mov edi, dword [esp]
jb 0x810330
mov al, byte [0xbb22c3]
mov edi, edx
xor ecx, ecx
mov ah, 1
add edi, esi
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 [0xbb22c3], ah
jne 0x810214
mov ecx, fcn.00821cb0
mov edx, fcn.00821cb0
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, [esi + ebx*2 + 2]
xor bl, 7
movzx esi, bl
bt eax, esi
jae 0x81028f
mov edi, dword [esp]
mov esi, ecx
xor eax, eax
add esi, edx
movzx esi, byte [0xbb22c3]
sete al
mov ebx, eax
xor ebx, 1
lea eax, [eax + ebx*2 + 2]
bt esi, eax
jae 0x81026c
jmp 0x810330
xor eax, eax
add ecx, edx
movzx edx, byte [0xbb22c3]
sete al
mov ecx, eax
xor ecx, 1
lea eax, [eax + ecx*2 + 2]
bt edx, eax
jb 0x810300
mov ecx, fcn.00821cb0
mov edx, fcn.00821cb0
xor eax, eax
mov esi, dword [0xbb22b8]
xor edx, 2
or ecx, 2
add ecx, edx
sete al
mov ecx, eax
not ecx
and ecx, 0x611
lea ecx, [eax + ecx*2 - 0x28464f9e]
mov edx, ecx
xor esi, ecx
shr edx, 0x1f
mov dword [0xbb22b8], esi
not esi
or edx, ecx
and cl, 7
imul edx, esi
xor dword [0xbb22bc], edx
mov dl, 1
shl dl, cl
or byte [0xbb22c3], dl
mov eax, fcn.00821cb0
mov ecx, fcn.00821cb0
xor edx, edx
xor ecx, 2
or eax, 2
add eax, ecx
sete dl
mov eax, edx
xor eax, 1
lea ecx, [edx + eax*2 + 2]
mov al, 0xfe
xor cl, 7
rol al, cl
and byte [0xbb22c3], al
mov edi, dword [esp]
mov edx, dword [edi + 0x3c]
mov ecx, dword [esp + 0x54]
call fcn.007c00e0
mov dword [edi + 0x3c], 0
mov esi, edi
mov edi, ebp
mov edx, 0xd
mov eax, dword [ebp + 0x2c]
lea ebp, [eax + 1]
lea ebx, [eax + 2]
lea ecx, [eax + 3]
lea eax, [eax + 4]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x34], ebp
mov dword [esp + 0x48], ebx
mov dword [esp + 0x40], eax
mov dword [edi + 0x2c], eax
lea ecx, [esp + 0x74]
push ebp
call fcn.007f24c0
add esp, 4
lea ecx, [esp + 0x5c]
mov edx, 0xd
push ebx
call fcn.007f24c0
add esp, 4
movzx ecx, byte [esi]
call fcn.008031e0
push eax
push 0xbb229c
push 1
push edi
call fcn.007f2440
add esp, 0x10
mov ebp, dword [esp + 0x18]
mov ecx, ebp
call fcn.007f2430
inc eax
mov ecx, ebp
mov edx, 0xd
push eax
push 0
mov esi, dword [esp + 0x3c]
push esi
call fcn.007c5800
add esp, 0xc
mov ebx, dword [esp + 0x20]
mov ecx, dword [esp + 4]
mov dword [esp + 0x3c], eax
mov dword [ebx + 8], ecx
push 0xbb22ac
push 1
push edi
call fcn.007f2440
add esp, 0xc
lea eax, [esp + 0x74]
mov ecx, edi
mov edx, ebx
push eax
call fcn.007d5f00
add esp, 4
mov edx, esi
mov esi, dword [esp]
mov ecx, ebp
call fcn.007f6140
mov edx, dword [esp + 0x3c]
mov ecx, ebp
call fcn.007ebd40
mov ecx, ebp
call fcn.007f2430
inc eax
mov ecx, ebp
mov edx, 0xd
push eax
push 0
mov ebx, dword [esp + 0x50]
push ebx
call fcn.007c5800
add esp, 0xc
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0xc]
mov dword [esp + 0x3c], eax
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x38], edx
mov dword [esi + 8], ecx
mov dword [esi + 0xc], 0
push 0xbb22b8
push 1
push edi
call fcn.007f2440
add esp, 0xc
lea eax, [esp + 0x5c]
mov ecx, edi
mov edx, esi
push eax
call fcn.007d5f00
add esp, 4
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x38]
mov edx, ebx
mov dword [esi + 8], eax
mov dword [esi + 0xc], ecx
mov ecx, ebp
call fcn.007f6140
mov ecx, edi
mov edx, esi
push dword [esp + 0x14]
mov ebp, dword [esp + 0x14]
push ebp
push dword [esp + 0x10]
push dword [esp + 0x18]
mov eax, dword [esp + 0xb4]
push eax
lea eax, [esp + 0x88]
push eax
call fcn.008109c0
add esp, 0x18
mov bl, byte [esp + 0x28]
mov dword [esp + 4], eax
mov bh, bl
or bh, 1
cmp bh, 0x85
mov byte [esp + 0x38], bh
jne 0x810503
mov ecx, edi
mov edx, esi
push dword [esp + 0x14]
push ebp
push dword [esp + 0x10]
mov edi, dword [esp + 0x4c]
push edi
push dword [esp + 0xb4]
lea eax, [esp + 0x70]
push eax
call fcn.008109c0
add esp, 0x18
mov ecx, ebp
mov esi, eax
call fcn.007a1cb0
cmp bl, 0x87
mov eax, edi
sete cl
jmp 0x81051f
mov ecx, ebp
call fcn.007a1cb0
mov eax, dword [esp + 0x40]
cmp bl, 0x87
sete cl
xor esi, esi
cmp bh, 0x87
je 0x81062b
mov ebp, dword [esp + 0x18]
mov byte [esp + 0x2c], cl
mov edx, 0xc
mov dword [esp + 0x30], esi
mov ecx, ebp
push esi
push eax
call fcn.007c57e0
add esp, 8
mov edi, dword [esp + 0x14]
mov esi, eax
mov ecx, ebp
mov edx, 0xe
push edi
push dword [esp + 0x4c]
call fcn.007c57e0
add esp, 8
mov ecx, ebp
mov edx, esi
mov dword [esp + 8], eax
mov dword [esp + 0x10], esi
call fcn.007ebf10
mov eax, dword [esp + 0x20]
mov ebx, dword [esp]
mov esi, edi
movsx edx, word [eax + 2]
movsx ecx, word [ebx + 2]
call fcn.00810830
mov ecx, dword [esp + 8]
cmp byte [esp + 0x2c], 0
mov edi, dword [esp + 0xc]
mov word [ebx + 2], ax
jne 0x810665
mov dword [esp + 8], ecx
mov ecx, ebp
mov edx, 0xc
push dword [esp + 4]
push edi
call fcn.007c57e0
add esp, 8
mov edi, esi
mov ebx, ebp
mov esi, eax
mov ecx, ebp
mov edx, 0xe
push edi
mov ebp, dword [esp + 0x38]
push ebp
call fcn.007c57e0
add esp, 8
mov dword [esp + 0x2c], esi
mov edx, esi
mov esi, dword [esp + 0xc]
mov ecx, ebx
call fcn.007ebf10
mov eax, dword [esp + 4]
mov edi, dword [esp + 0x10]
mov dword [esp + 0x4c], 0
mov ecx, ebx
mov edx, 0xc
push eax
push esi
call fcn.007c57e0
add esp, 8
mov esi, eax
mov ecx, ebx
mov edx, 0xe
push edi
push ebp
call fcn.007c57e0
add esp, 8
mov edx, dword [esp + 0x44]
mov ecx, ebx
call fcn.007ebf10
cmp byte [esp + 0x28], 0x85
jne 0x8106a2
mov dword [esp + 0xc], esi
jmp 0x8106d4
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0xc]
mov ebp, dword [esp + 0x18]
cmp bl, 0x87
mov dword [esp + 0x30], 0
mov ecx, eax
mov esi, eax
mov dword [esp + 0x10], eax
jne 0x810594
mov eax, dword [esp]
mov ecx, esi
mov dword [esp + 0x30], 0
mov dword [esp + 0x10], esi
movzx eax, word [eax + 2]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x20]
mov dl, 1
mov dword [esp + 0x4c], edx
movzx ecx, word [ecx + 2]
cmp ax, cx
jg 0x810699
mov edi, dword [esp + 0x10]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x34]
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 4]
mov dword [esp + 0x2c], edi
jmp 0x8105e8
mov eax, dword [esp]
mov word [eax + 2], cx
jmp 0x81067c
cmp byte [esp + 0x4c], 0
je 0x8106b0
mov dword [esp + 0xc], esi
inc esi
jmp 0x8106d4
mov ebx, dword [esp + 0x18]
mov edx, 0xe
mov ecx, ebx
push edi
push ebp
call fcn.007c57e0
add esp, 8
mov edx, dword [esp + 0x44]
mov ecx, ebx
mov dword [esp + 0xc], eax
call fcn.007ebf10
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x28], esi
mov ecx, ebx
call fcn.007f2430
mov dword [esp + 4], eax
cmp byte [esp + 0x38], 0x85
mov eax, dword [esp + 0x30]
jne 0x810706
mov ecx, ebx
mov edx, 0xc
push eax
push dword [esp + 0x44]
call fcn.007c57e0
add esp, 8
mov ebp, dword [esp + 0x2c]
mov edx, 0xe
mov ecx, ebx
push ebp
mov esi, dword [esp + 0x4c]
push esi
call fcn.007c57e0
add esp, 8
mov edi, dword [esp + 0x44]
mov ecx, ebx
mov edx, edi
call fcn.007ebf10
mov edx, dword [esp + 0x3c]
mov ecx, ebx
call fcn.007ebd40
mov edx, 0xe
mov ecx, ebx
push dword [esp + 8]
push dword [esp + 0x38]
call fcn.007c57e0
add esp, 8
mov edx, 0xe
mov ecx, ebx
push ebp
push esi
call fcn.007c57e0
add esp, 8
mov ecx, ebx
mov edx, edi
call fcn.007f04f0
mov edx, 0x55
mov ecx, ebx
push 0xfffffffffffffff1
push dword [esp + 0x54]
push 0
push 0
push 0
call fcn.007ebd50
add esp, 0x14
mov edx, 0x56
mov ecx, ebx
push 0xfffffffffffffff7
push dword [esp + 0x5c]
push dword [esp + 0x2c]
push dword [esp + 0x70]
push dword [esp + 0x8c]
call fcn.007ebd50
add esp, 0x14
mov ecx, ebx
mov edx, 1
call fcn.00782720
mov edx, 0x10
mov ecx, ebx
push dword [esp + 4]
push dword [esp + 0x10]
push dword [esp + 0x30]
call fcn.007c5800
add esp, 0xc
mov edx, dword [esp + 0x14]
mov ecx, ebx
call fcn.007f04f0
mov eax, dword [esp]
mov edx, dword [eax + 0x34]
test edx, edx
je 0x8107ec
mov ecx, dword [esp + 0x54]
call fcn.007c0190
mov eax, dword [esp]
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
mov dword [eax + 0x34], ecx
mov dword [ecx + 0x38], eax
mov ecx, edi
call fcn.00809770
xor ebx, ebx
cmp dword [edi + 0x24], 0
setne bl
mov ecx, dword [esp + 0x8c]
xor ecx, esp
call fcn.00980459
mov eax, ebx
add esp, 0x90
pop esi
pop edi
pop ebx
pop ebp
ret