Function at 0x813b70
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 [0xbd33e0]
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 0x813bd4
cmp dword [edi + 0x3c], 0
je 0x814094
mov edx, fcn.00845720
movzx ecx, byte [0xbb9a47]
and edx, 1
inc edx
mov eax, edx
xor eax, fcn.00845720
setne al
or al, 4
movzx eax, al
bt ecx, eax
jb 0x813d07
mov al, byte [0xbb9a47]
mov ecx, edx
mov ah, 1
xor ecx, fcn.00845720
setne cl
or cl, 4
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbb9a47], ah
jne 0x813c01
mov ecx, fcn.00845720
movzx eax, al
and ecx, 1
inc ecx
mov edx, ecx
xor edx, fcn.00845720
setne dl
or dl, 4
xor dl, 7
movzx edx, dl
bt eax, edx
jae 0x813c67
mov eax, ecx
movzx edx, byte [0xbb9a47]
xor eax, fcn.00845720
setne al
or al, 4
movzx eax, al
bt edx, eax
jae 0x813c47
jmp 0x813d07
xor ecx, fcn.00845720
movzx ecx, byte [0xbb9a47]
setne al
or al, 4
movzx eax, al
bt ecx, eax
jb 0x813ce6
mov eax, fcn.00845720
xor ecx, ecx
and eax, 1
inc eax
xor eax, fcn.00845720
mov eax, dword [0xbb9a38]
sete cl
xor ecx, 0xfbd5a651
add ecx, 0x31c
xor eax, ecx
mov edx, ecx
mov dword [0xbb9a38], eax
shr edx, 0x1f
not eax
mov ebx, dword [0xbb9a3c]
or edx, ecx
and cl, 7
imul edx, eax
lea edi, [edx + edx]
xor ebx, edx
shr edx, 0x1e
mov dword [0xbb9a3c], ebx
or edx, edi
not ebx
imul ebx, edx
mov dl, 1
xor dword [0xbb9a40], ebx
shl dl, cl
or byte [0xbb9a47], dl
mov eax, fcn.00845720
and eax, 1
inc eax
xor eax, fcn.00845720
mov al, 0xfe
setne cl
or cl, 4
xor cl, 7
rol al, cl
and byte [0xbb9a47], al
mov edx, fcn.007d3650
movzx ecx, byte [0xbb9a53]
and edx, 1
inc edx
mov eax, edx
xor eax, fcn.007d3650
sete al
or al, 4
movzx eax, al
bt ecx, eax
jb 0x813e15
mov al, byte [0xbb9a53]
mov ecx, edx
mov ah, 1
xor ecx, fcn.007d3650
sete cl
or cl, 4
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbb9a53], ah
jne 0x813d34
mov ecx, fcn.007d3650
movzx eax, al
and ecx, 1
inc ecx
mov edx, ecx
xor edx, fcn.007d3650
sete dl
or dl, 4
xor dl, 7
movzx edx, dl
bt eax, edx
jae 0x813d97
mov eax, ecx
movzx edx, byte [0xbb9a53]
xor eax, fcn.007d3650
sete al
or al, 4
movzx eax, al
bt edx, eax
jae 0x813d7a
jmp 0x813e15
xor ecx, fcn.007d3650
movzx ecx, byte [0xbb9a53]
sete al
or al, 4
movzx eax, al
bt ecx, eax
jb 0x813df4
mov eax, fcn.007d3650
xor ecx, ecx
mov dl, 1
and eax, 1
inc eax
xor eax, fcn.007d3650
mov eax, dword [0xbb9a48]
sete cl
or ecx, 0x14a68130
add ecx, 0xd94
xor eax, ecx
mov dword [0xbb9a48], eax
not eax
imul eax, ecx
and cl, 7
shl dl, cl
xor dword [0xbb9a4c], eax
or byte [0xbb9a53], dl
mov eax, fcn.007d3650
and eax, 1
inc eax
xor eax, fcn.007d3650
mov al, 0xfe
sete cl
or cl, 4
xor cl, 7
rol al, cl
and byte [0xbb9a53], al
mov edx, fcn.00780c30
mov edi, fcn.00780c30
xor eax, eax
movzx ebx, byte [0xbb9a8f]
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 0x81405a
mov al, byte [0xbb9a8f]
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 [0xbb9a8f], ah
jne 0x813e4b
mov ecx, fcn.00780c30
mov edx, fcn.00780c30
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 0x813ec0
mov edi, ecx
xor eax, eax
add edi, edx
movzx edi, byte [0xbb9a8f]
sete al
mov ebx, eax
xor ebx, 5
lea eax, [ebx + eax*2]
bt edi, eax
jae 0x813e9e
jmp 0x81405a
xor eax, eax
add ecx, edx
movzx edx, byte [0xbb9a8f]
sete al
mov ecx, eax
xor ecx, 5
lea eax, [ecx + eax*2]
bt edx, eax
jb 0x81402e
mov eax, fcn.00780c30
mov ecx, fcn.00780c30
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 [0xbb9a60]
mov edx, ecx
shr edx, 0x1f
or edx, ecx
xor eax, ecx
and cl, 7
mov dword [0xbb9a60], eax
not eax
imul edx, eax
mov eax, dword [0xbb9a64]
lea edi, [edx + edx]
xor eax, edx
shr edx, 0x1e
mov dword [0xbb9a64], eax
or edi, edx
not eax
mov edx, dword [0xbb9a68]
imul eax, edi
lea edi, [eax*4]
xor edx, eax
shr eax, 0x1d
mov dword [0xbb9a68], edx
or edi, eax
not edx
mov eax, dword [0xbb9a6c]
imul edx, edi
lea edi, [edx*8]
xor eax, edx
shr edx, 0x1c
mov dword [0xbb9a6c], eax
or edi, edx
not eax
mov edx, dword [0xbb9a70]
imul eax, edi
mov edi, eax
shl edi, 4
xor edx, eax
shr eax, 0x1b
mov dword [0xbb9a70], edx
or eax, edi
not edx
imul edx, eax
mov eax, dword [0xbb9a74]
mov edi, edx
shl edi, 5
xor eax, edx
shr edx, 0x1a
mov dword [0xbb9a74], eax
or edx, edi
not eax
imul eax, edx
mov edx, dword [0xbb9a78]
mov edi, eax
shl edi, 6
xor edx, eax
shr eax, 0x19
mov dword [0xbb9a78], edx
or eax, edi
not edx
imul edx, eax
mov eax, dword [0xbb9a7c]
mov edi, edx
shl edi, 7
xor eax, edx
shr edx, 0x18
mov dword [0xbb9a7c], eax
or edx, edi
not eax
imul eax, edx
mov edx, dword [0xbb9a80]
mov edi, eax
shl edi, 8
xor edx, eax
shr eax, 0x17
mov dword [0xbb9a80], edx
or eax, edi
not edx
mov ebx, dword [0xbb9a84]
imul edx, eax
mov edi, edx
shl edi, 9
xor ebx, edx
shr edx, 0x16
mov dword [0xbb9a84], ebx
or edx, edi
not ebx
imul ebx, edx
mov dl, 1
xor dword [0xbb9a88], ebx
shl dl, cl
or byte [0xbb9a8f], dl
mov eax, fcn.00780c30
mov ecx, fcn.00780c30
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 [0xbb9a8f], al
mov eax, dword [esp + 0xc]
movzx ecx, byte [eax]
call fcn.0080ea40
test esi, esi
mov ecx, 0xbb9a48
mov edx, 0xbb9a38
cmove edx, ecx
push eax
push edx
push 0xbb9a60
push dword [esp + 0xc]
call fcn.0078de60
add esp, 0x10
mov ebx, 1
xor edx, edx
jmp 0x814f2c
mov ecx, dword [esp]
call fcn.007f7590
mov dword [esp + 8], eax
cmp byte [esp + 0x60], 0xc
mov esi, dword [esp + 0xc]
jne 0x8140ca
mov eax, dword [esi + 0x1c]
mov ecx, dword [esp + 8]
mov edx, 0x64
push dword [eax]
push dword [esp + 0x68]
call fcn.007d10d0
add esp, 8
mov byte [esp + 0x60], 0xe
mov eax, dword [esi + 4]
test eax, 0x400
je 0x8140f8
mov ecx, dword [esp]
lea eax, [esp + 0x60]
mov edx, esi
push eax
call fcn.0081a3e0
add esp, 4
test eax, eax
js 0x8140f5
mov ecx, eax
xor edx, edx
mov ebx, eax
jmp 0x814f2c
mov eax, dword [esi + 4]
test eax, 0x2000
je 0x81411c
mov edi, dword [esp]
lea eax, [esp + 0x60]
mov edx, esi
mov ecx, edi
push eax
call fcn.0081a760
add esp, 4
xor edx, edx
xor ebx, ebx
jmp 0x814e4c
cmp dword [esi + 0x30], 0
jne 0x814f95
cmp dword [edi + 0x34], 0
jne 0x81443f
mov edx, fcn.007a9d00
movzx ecx, byte [0xbb9aa3]
not edx
and edx, 1
mov eax, edx
add eax, fcn.007a9d00
sete al
or al, 4
movzx eax, al
bt ecx, eax
jb 0x81427e
mov al, byte [0xbb9aa3]
mov ecx, edx
mov ah, 1
add ecx, fcn.007a9d00
sete cl
or cl, 4
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbb9aa3], ah
jne 0x81415e
mov ecx, fcn.007a9d00
movzx eax, al
not ecx
and ecx, 1
mov edx, ecx
add edx, fcn.007a9d00
sete dl
or dl, 4
xor dl, 7
movzx edx, dl
bt eax, edx
jae 0x8141c5
mov eax, ecx
movzx edx, byte [0xbb9aa3]
add eax, fcn.007a9d00
sete al
or al, 4
movzx eax, al
bt edx, eax
jae 0x8141a5
jmp 0x81427e
add ecx, fcn.007a9d00
movzx ecx, byte [0xbb9aa3]
sete al
or al, 4
movzx eax, al
bt ecx, eax
jb 0x81425c
mov eax, fcn.007a9d00
xor ecx, ecx
not eax
and eax, 1
add eax, fcn.007a9d00
mov eax, dword [0xbb9a90]
sete cl
or ecx, 0x1988bbb0
add ecx, 0x14
xor eax, ecx
mov dword [0xbb9a90], eax
not eax
mov edx, dword [0xbb9a94]
imul eax, ecx
and cl, 7
lea esi, [eax + eax]
xor edx, eax
shr eax, 0x1e
mov dword [0xbb9a94], edx
or esi, eax
not edx
mov eax, dword [0xbb9a98]
imul edx, esi
lea esi, [edx*4]
xor eax, edx
shr edx, 0x1d
mov dword [0xbb9a98], eax
or esi, edx
not eax
mov dl, 1
imul eax, esi
mov esi, dword [esp + 0xc]
shl dl, cl
xor dword [0xbb9a9c], eax
or byte [0xbb9aa3], dl
mov eax, fcn.007a9d00
not eax
and eax, 1
add eax, fcn.007a9d00
mov al, 0xfe
sete cl
or cl, 4
xor cl, 7
rol al, cl
and byte [0xbb9aa3], al
mov edx, 0x794550
xor eax, eax
movzx ebx, byte [0xbb9ac7]
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 0x814419
mov al, byte [0xbb9ac7]
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 [0xbb9ac7], ah
jne 0x8142ae
mov ecx, 0x794550
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 0x814323
mov esi, dword [esp + 0xc]
xor eax, eax
cmp ecx, 3
movzx ebx, byte [0xbb9ac7]
sete al
mov edx, eax
xor edx, 3
lea eax, [eax + edx*2]
bt ebx, eax
jae 0x814302
jmp 0x814419
xor eax, eax
cmp ecx, 3
movzx edx, byte [0xbb9ac7]
mov esi, dword [esp + 0xc]
sete al
mov ecx, eax
xor ecx, 3
lea eax, [eax + ecx*2]
bt edx, eax
jb 0x8143ef
mov ecx, 0x794550
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 [0xbb9ab0]
mov edx, ecx
shr edx, 0x1f
or edx, ecx
xor eax, ecx
and cl, 7
mov dword [0xbb9ab0], eax
not eax
imul edx, eax
mov eax, dword [0xbb9ab4]
lea esi, [edx + edx]
xor eax, edx
shr edx, 0x1e
mov dword [0xbb9ab4], eax
or esi, edx
not eax
mov edx, dword [0xbb9ab8]
imul eax, esi
lea esi, [eax*4]
xor edx, eax
shr eax, 0x1d
mov dword [0xbb9ab8], edx
or esi, eax
not edx
mov eax, dword [0xbb9abc]
imul edx, esi
lea esi, [edx*8]
xor eax, edx
shr edx, 0x1c
mov dword [0xbb9abc], eax
or esi, edx
not eax
mov dl, 1
imul eax, esi
mov esi, dword [esp + 0xc]
shl dl, cl
xor dword [0xbb9ac0], eax
or byte [0xbb9ac7], dl
mov ecx, 0x794550
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 [0xbb9ac7], al
push 0xbb9a90
push 1
push dword [esp + 8]
call fcn.007fdcc0
add esp, 0xc
push 0xbb9ab0
push 1
push dword [esp + 8]
call fcn.007fdcc0
add esp, 0xc
mov al, byte [esi]
cmp al, 0x84
je 0x8146e2
cmp al, 0x86
je 0x8146e2
cmp al, 0x85
jne 0x814a77
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.007e17a0
add esp, 4
test eax, eax
mov dword [esi + 0x3c], 0
jne 0x8140ea
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 0x8144ad
mov dword [esp + 4], 0
jmp 0x8144e1
mov ecx, dword [esp + 8]
mov edx, 0x14
push eax
call fcn.007f9600
add esp, 4
mov dword [esp + 4], eax
mov eax, dword [esi + 0xc]
test eax, eax
je 0x8144e1
mov ecx, dword [esp + 8]
mov edx, 0x98
push eax
inc eax
push eax
push dword [esi + 8]
call fcn.007d10f0
add esp, 0xc
mov ebx, fcn.007a2d90
mov esi, fcn.007a2d90
xor eax, eax
movzx edx, byte [0xbb9ad7]
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 0x81463d
mov al, byte [0xbb9ad7]
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 [0xbb9ad7], dl
jne 0x814517
mov ecx, fcn.007a2d90
mov edx, fcn.007a2d90
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 0x81458c
mov esi, ecx
xor eax, eax
add esi, edx
movzx esi, byte [0xbb9ad7]
sete al
mov ebx, eax
xor ebx, 5
lea eax, [ebx + eax*2]
bt esi, eax
jae 0x81456a
jmp 0x81463d
xor eax, eax
add ecx, edx
movzx edx, byte [0xbb9ad7]
sete al
mov ecx, eax
xor ecx, 5
lea eax, [ecx + eax*2]
bt edx, eax
jb 0x814611
mov ecx, fcn.007a2d90
mov edx, fcn.007a2d90
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 [0xbb9ac8]
and cl, 7
xor edx, eax
mov dword [0xbb9ac8], edx
not edx
mov ebx, dword [0xbb9acc]
imul edx, eax
lea esi, [edx + edx]
xor ebx, edx
shr edx, 0x1e
mov dword [0xbb9acc], ebx
or esi, edx
not ebx
mov dl, 1
imul ebx, esi
shl dl, cl
xor dword [0xbb9ad0], ebx
or byte [0xbb9ad7], dl
mov eax, fcn.007a2d90
mov ecx, fcn.007a2d90
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 [0xbb9ad7], al
push 0xbb9ac8
push 1
mov esi, dword [esp + 8]
push esi
call fcn.007fdcc0
add esp, 0xc
mov ecx, esi
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x60]
mov edx, esi
push eax
call fcn.007e17a0
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.0081c060
mov word [esi + 2], ax
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x8146c1
mov ecx, dword [eax + 0xc]
lea edx, [esp + 0x5c]
call fcn.0080e500
test eax, eax
je 0x8146c1
mov ecx, dword [esp + 0x5c]
test ecx, ecx
jle 0x8146c1
mov eax, dword [esp + 0xc]
mov edx, ecx
sar edx, 0x1f
movzx esi, word [eax + 2]
call fcn.007bdf50
cmp si, ax
mov esi, dword [esp + 0xc]
jle 0x8146c1
mov word [esi + 2], ax
mov edx, dword [esp + 4]
test edx, edx
jne 0x8146d1
mov edi, dword [esp]
jmp 0x814e3b
mov ecx, dword [esp + 8]
call fcn.007f75c0
mov edi, dword [esp]
jmp 0x814e3b
cmp byte [esp + 0x60], 1
jne 0x8146f2
mov eax, dword [esp + 0x64]
mov ebx, dword [esp]
jmp 0x81472b
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.007d10d0
add esp, 8
mov ecx, esi
mov dword [esi + 0x14], eax
call fcn.0080e430
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.007fdd40
add esp, 4
lea eax, [esp + 0x44]
mov ecx, ebx
mov edx, edi
push eax
call fcn.007e17a0
add esp, 4
test eax, eax
je 0x81475f
mov ebx, eax
xor edx, edx
jmp 0x814f2c
mov edx, fcn.00793f20
movzx ecx, byte [0xbb9afb]
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 0x8148fe
mov al, byte [0xbb9afb]
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 [0xbb9afb], ah
jne 0x81478e
mov ecx, fcn.00793f20
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 0x8147f8
cmp ecx, 2
movzx edx, byte [0xbb9afb]
sete al
xor al, 5
add al, 0x44
and al, 7
movzx eax, al
bt edx, eax
jae 0x8147d8
jmp 0x8148fe
cmp ecx, 2
movzx ecx, byte [0xbb9afb]
sete al
xor al, 5
add al, 0x44
and al, 7
movzx eax, al
bt ecx, eax
jb 0x8148d7
mov eax, fcn.00793f20
xor ecx, ecx
imul eax, eax
and eax, 3
cmp eax, 2
mov eax, dword [0xbb9ae0]
sete cl
xor ecx, 0x5be0ca4d
add ecx, 0xb44
mov edx, ecx
xor eax, ecx
shr edx, 0x1f
mov dword [0xbb9ae0], eax
not eax
or edx, ecx
and cl, 7
imul edx, eax
mov eax, dword [0xbb9ae4]
lea esi, [edx + edx]
xor eax, edx
shr edx, 0x1e
mov dword [0xbb9ae4], eax
or esi, edx
not eax
mov edx, dword [0xbb9ae8]
imul eax, esi
lea esi, [eax*4]
xor edx, eax
shr eax, 0x1d
mov dword [0xbb9ae8], edx
or esi, eax
not edx
mov eax, dword [0xbb9aec]
imul edx, esi
lea esi, [edx*8]
xor eax, edx
shr edx, 0x1c
mov dword [0xbb9aec], eax
or esi, edx
not eax
mov edx, dword [0xbb9af0]
imul eax, esi
mov esi, eax
shl esi, 4
xor edx, eax
shr eax, 0x1b
mov dword [0xbb9af0], edx
or eax, esi
not edx
mov esi, dword [esp + 0xc]
imul edx, eax
xor dword [0xbb9af4], edx
mov dl, 1
shl dl, cl
or byte [0xbb9afb], dl
mov eax, fcn.00793f20
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 [0xbb9afb], 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.0080ea40
push eax
push 0xbb9ae0
push 1
mov ebx, dword [esp + 0xc]
push ebx
call fcn.007fdcc0
add esp, 0x10
lea eax, [esp + 0x44]
mov ecx, ebx
mov edx, esi
push eax
call fcn.007e17a0
add esp, 4
mov edx, dword [esi + 0x30]
mov ecx, dword [esp + 0x1c]
mov ebx, eax
call fcn.007cb9f0
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 0x814985
movsx edx, word [edi + 2]
movsx ecx, word [esi + 2]
call fcn.0081c060
mov word [esi + 2], ax
mov edx, dword [esi + 0x3c]
mov edi, esi
mov esi, dword [esp + 0x1c]
mov ecx, esi
call fcn.007cb9e0
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 0x8149bd
mov esi, dword [esp + 0xc]
mov edi, dword [esp]
jmp 0x814e3b
cmp byte [esi + 0x51], 0
mov edi, dword [esp]
je 0x8149cf
mov esi, dword [esp + 0xc]
jmp 0x814e3b
mov ecx, edi
call fcn.007fb640
mov dword [esp + 0x10], eax
mov edi, eax
mov ecx, dword [esp]
call fcn.007fb640
mov dword [esp + 0x14], eax
mov esi, dword [esp + 0xc]
mov ecx, dword [esp]
mov edx, esi
push edi
call fcn.00815310
add esp, 4
mov edi, dword [esp + 8]
mov edx, 0x25
mov ecx, edi
push dword [esp + 0x10]
push dword [esp + 8]
call fcn.007d10d0
add esp, 8
mov ecx, edi
call fcn.007fdcb0
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.00817600
add esp, 0x18
mov edx, dword [esp + 0x14]
mov ecx, edi
call fcn.007fbd70
mov ecx, edi
mov edx, 5
push dword [esp + 0x20]
push dword [esp + 8]
call fcn.007d10d0
add esp, 8
mov edx, dword [esp + 0x10]
mov ecx, edi
mov edi, dword [esp]
call fcn.007fbd70
jmp 0x814e24
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.007d10d0
add esp, 8
mov ecx, esi
mov dword [esi + 0x14], eax
mov esi, ebx
call fcn.0080e430
or byte [eax + 4], 0x20
lea ebx, [esp + 0x2c]
mov edx, 1
mov ecx, ebx
push esi
call fcn.007fdd40
add esp, 4
mov ecx, dword [esp]
mov edx, edi
push ebx
call fcn.007e17a0
add esp, 4
test eax, eax
jne 0x814756
mov edx, fcn.008358d0
lea eax, [esi + 1]
mov dword [esp + 4], esi
mov dword [esp + 0x10], eax
mov eax, fcn.008358d0
and edx, 1
xor edx, eax
xor eax, eax
movzx esi, byte [0xbb9b1b]
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 0x814c94
mov al, byte [0xbb9b1b]
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 [0xbb9b1b], ah
jne 0x814b14
mov ecx, fcn.008358d0
mov edx, fcn.008358d0
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 0x814b85
xor eax, eax
cmp ecx, 0xffffffff
movzx ebx, byte [0xbb9b1b]
sete al
mov edx, eax
xor edx, 5
lea eax, [edx + eax*2]
bt ebx, eax
jae 0x814b64
jmp 0x814c94
xor eax, eax
cmp ecx, 0xffffffff
movzx edx, byte [0xbb9b1b]
sete al
mov ecx, eax
xor ecx, 5
lea eax, [ecx + eax*2]
bt edx, eax
jb 0x814c68
mov ecx, fcn.008358d0
mov eax, fcn.008358d0
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 [0xbb9b00]
mov edx, ecx
shr edx, 0x1f
or edx, ecx
xor eax, ecx
and cl, 7
mov dword [0xbb9b00], eax
not eax
imul edx, eax
mov eax, dword [0xbb9b04]
lea ebx, [edx + edx]
xor eax, edx
shr edx, 0x1e
mov dword [0xbb9b04], eax
or ebx, edx
not eax
mov edx, dword [0xbb9b08]
imul eax, ebx
lea ebx, [eax*4]
xor edx, eax
shr eax, 0x1d
mov dword [0xbb9b08], edx
or ebx, eax
not edx
mov eax, dword [0xbb9b0c]
imul edx, ebx
lea ebx, [edx*8]
xor eax, edx
shr edx, 0x1c
mov dword [0xbb9b0c], eax
or ebx, edx
not eax
mov edx, dword [0xbb9b10]
imul eax, ebx
mov ebx, eax
shl ebx, 4
xor edx, eax
shr eax, 0x1b
mov dword [0xbb9b10], edx
or eax, ebx
not edx
imul edx, eax
xor dword [0xbb9b14], edx
mov dl, 1
shl dl, cl
or byte [0xbb9b1b], dl
mov ecx, fcn.008358d0
mov eax, fcn.008358d0
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 [0xbb9b1b], al
mov ecx, esi
mov edx, 0x64
push 0
mov esi, dword [esp + 0x14]
push esi
call fcn.007d10d0
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.0080ea40
push eax
push 0xbb9b00
push 1
mov esi, dword [esp + 0xc]
push esi
call fcn.007fdcc0
add esp, 0x10
lea eax, [esp + 0x2c]
mov ecx, esi
mov edx, ebx
push eax
mov esi, ebx
call fcn.007e17a0
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 0x814d14
mov word [esi + 2], ax
mov edx, dword [esi + 0x3c]
mov ecx, dword [esp + 0x1c]
call fcn.007cb9e0
mov edi, dword [esp]
mov eax, dword [esp + 0x14]
mov ecx, edi
mov dword [esi + 0x3c], eax
call fcn.007fb640
mov ecx, edi
mov dword [esp + 0x14], eax
call fcn.007fb640
mov dword [esp + 0x20], eax
mov ecx, edi
mov edx, esi
mov edi, dword [esp + 0x14]
push edi
call fcn.00815310
add esp, 4
mov ecx, dword [esp + 8]
mov edx, 0x25
push edi
push dword [esp + 8]
call fcn.007d10d0
add esp, 8
mov ecx, dword [esp]
call fcn.007fcfa0
mov dword [esp + 0x24], eax
mov edx, 0x7e
mov edi, dword [esp + 8]
mov ecx, edi
push eax
push dword [esp + 8]
call fcn.007d10d0
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.0078dfd0
add esp, 0x10
mov ecx, dword [esp]
mov edx, edi
mov edi, ecx
call fcn.007fc440
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.00817600
add esp, 0x18
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x20]
call fcn.007fbd70
mov ecx, dword [esp + 8]
mov edx, 5
push dword [esp + 0x28]
push dword [esp + 8]
call fcn.007d10d0
add esp, 8
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x14]
call fcn.007fbd70
mov ecx, dword [esp + 8]
mov edx, 0x74
push 0
push dword [esp + 0x14]
call fcn.007d10d0
add esp, 8
mov ecx, dword [esp + 8]
mov edx, 0x74
push 0
push dword [esp + 8]
call fcn.007d10d0
add esp, 8
cmp dword [esi + 0x38], 0
jne 0x814e48
mov ecx, edi
call fcn.00814fc0
mov edx, dword [esp + 0x18]
cmp dword [edi + 0x24], 0
jne 0x814f2c
test byte [esi + 4], 0x20
je 0x814f2c
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.007f7ba0
add esp, 4
test eax, eax
mov dword [esp + 0x10], eax
jne 0x814e8b
mov ebx, 7
jmp 0x814f28
test edi, edi
mov dword [esp + 4], edi
mov dword [esp + 0x14], ebx
jle 0x814ed1
mov edi, dword [esp + 0x10]
xor esi, esi
add edi, 0x14
mov ecx, dword [esp]
mov edx, dword [esp + 0xc]
push esi
call fcn.0081c0b0
add esp, 4
test eax, eax
mov dword [edi], eax
jne 0x814ebf
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 0x814ea0
mov esi, dword [esp + 0xc]
test esi, esi
je 0x814f1b
mov edi, dword [esi + 0x14]
test edi, edi
js 0x814f16
mov ebx, esi
mov esi, dword [esp + 8]
mov edx, edi
mov ecx, esi
push dword [esp + 4]
call fcn.007f77b0
add esp, 4
mov ecx, dword [esp + 0x10]
call fcn.008106a0
mov ecx, esi
mov esi, ebx
mov edx, edi
push 0xfffffffffffffff7
push eax
call fcn.0078e110
add esp, 8
mov dword [ebx + 0x14], 0xffffffff
mov edi, dword [ebx + 0x18]
test edi, edi
jns 0x814f58
mov esi, dword [esi + 0x34]
jmp 0x814ecd
mov ecx, dword [esp + 0x10]
call fcn.007ad5b0
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.007cba90
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.00989fe9
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.007f77b0
add esp, 4
mov ecx, dword [esp + 0x10]
call fcn.008106a0
mov ecx, esi
mov esi, ebx
mov edx, edi
push 0xfffffffffffffff7
push eax
call fcn.0078e110
add esp, 8
mov dword [ebx + 0x18], 0xffffffff
mov esi, dword [ebx + 0x34]
jmp 0x814ecd
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.00989fe9
mov ecx, dword [esp]
mov edx, esi
add esp, 0x7c
pop esi
pop edi
pop ebx
pop ebp
jmp 0x81b240
push ebp
push ebx
push edi
push esi
sub esp, 0x90
mov eax, dword [0xbd33e0]
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.007fb640
mov ecx, esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], esi
call fcn.007fb640
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 0x81b33d
cmp byte [ebx + 0x51], 0
jne 0x81b33d
mov esi, 1
mov eax, dword [edi + 0x1c]
cmp esi, dword [eax]
jg 0x81b33d
cmp dword [esp + 0x24], 0
jg 0x81b2c2
xor eax, eax
jmp 0x81b2d9
lea ecx, [ebp + 4]
xor eax, eax
movzx edx, word [ecx + 0x10]
cmp esi, edx
je 0x81b2d9
inc eax
add ecx, 0x14
cmp eax, dword [esp + 0x24]
jl 0x81b2c7
cmp eax, dword [esp + 0x24]
jne 0x81b332
mov ecx, ebx
mov edx, 0x98
push 0
call fcn.007e44c0
add esp, 4
test eax, eax
jne 0x81b2fe
mov ebx, 7
jmp 0x81c03d
or byte [eax + 5], 4
mov dword [eax + 8], esi
mov edx, ebp
mov ecx, dword [esp + 0x1c]
push eax
call fcn.007e4370
add esp, 4
test eax, eax
mov dword [edi + 0x30], eax
jne 0x81b31f
xor ebp, ebp
jmp 0x81b332
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 0x81b2ac
mov esi, dword [esp + 0x24]
mov dword [esp], edi
mov ecx, ebx
lea edx, [esi*4 + 4]
push 0
call fcn.007995d0
add esp, 4
mov dword [esp + 0x50], eax
test eax, eax
mov eax, 0
je 0x81b394
mov edi, dword [esp + 0x50]
test esi, esi
mov dword [edi], esi
jle 0x81b388
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 0x81b376
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp]
call fcn.0081c0f0
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.007ff8b0
add esp, 4
cmp byte [esp + 0x28], 0x85
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x54], ebx
mov dword [ecx + 0x30], eax
jne 0x81b3d2
mov ebx, dword [esp + 0x14]
xor esi, esi
jmp 0x81b444
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.007d10d0
add esp, 8
mov ecx, ebx
mov edx, esi
push 1
call fcn.007f7ba0
add esp, 4
test eax, eax
je 0x81b43c
mov ebp, eax
test esi, esi
jle 0x81b438
mov ebx, esi
mov esi, dword [esp + 0x1c]
xor edi, edi
mov edx, dword [esp]
mov ecx, esi
push edi
call fcn.0081c0b0
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 0x81b41a
mov dword [esp + 0x10], ebp
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 8]
mov edx, 0x845d00
movzx ecx, byte [0xbb9bef]
imul edx, edx
and edx, 3
cmp edx, 1
seta al
or al, 6
movzx eax, al
bt ecx, eax
jb 0x81b54b
mov al, byte [0xbb9bef]
cmp edx, 1
mov ah, 1
seta cl
or cl, 6
xor cl, 7
shl ah, cl
or ah, al
lock cmpxchg byte [0xbb9bef], ah
jne 0x81b46f
mov ecx, 0x845d00
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 0x81b4c9
cmp ecx, 1
movzx edx, byte [0xbb9bef]
seta al
or al, 6
movzx eax, al
bt edx, eax
jae 0x81b4ad
jmp 0x81b54b
cmp ecx, 1
movzx edx, byte [0xbb9bef]
seta al
or al, 6
movzx eax, al
bt edx, eax
jb 0x81b52a
mov eax, 0x845d00
xor ecx, ecx
imul eax, eax
and eax, 3
cmp eax, 1
mov eax, dword [0xbb9be4]
seta cl
or ecx, 0x869c1246
add ecx, 0x1220
mov edx, ecx
xor eax, ecx
shr edx, 0x1f
mov dword [0xbb9be4], eax
not eax
or edx, ecx
and cl, 7
imul edx, eax
xor dword [0xbb9be8], edx
mov dl, 1
shl dl, cl
or byte [0xbb9bef], dl
mov eax, 0x845d00
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 [0xbb9bef], 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 0xbb9be4
push dword [ebp + 0x30]
call fcn.0080e760
add esp, 8
cmp dword [esi + 0x34], 0
mov esi, dword [esp + 0x18]
jne 0x81b6b5
mov edx, fcn.00780a60
movzx ecx, byte [0xbb9bfb]
imul edx, edx
and edx, 3
cmp edx, 2
sete al
not al
and al, 5
movzx eax, al
bt ecx, eax
jb 0x81b698
mov al, byte [0xbb9bfb]
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 [0xbb9bfb], ah
jne 0x81b5b7
mov ecx, fcn.00780a60
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 0x81b617
cmp ecx, 2
movzx edx, byte [0xbb9bfb]
sete al
not al
and al, 5
movzx eax, al
bt edx, eax
jae 0x81b5f9
jmp 0x81b698
cmp ecx, 2
movzx ecx, byte [0xbb9bfb]
sete al
not al
and al, 5
movzx eax, al
bt ecx, eax
jb 0x81b675
mov eax, fcn.00780a60
xor ecx, ecx
mov edi, dword [0xbb9bf0]
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 [0xbb9bf0], edi
not edi
imul edi, ecx
and cl, 7
shl dl, cl
xor dword [0xbb9bf4], edi
or byte [0xbb9bfb], dl
mov eax, fcn.00780a60
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 [0xbb9bfb], al
mov edi, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ecx, edi
push 0xbb9bf0
push dword [edx + 0x30]
call fcn.0080e760
add esp, 8
mov ebp, dword [esp]
mov ecx, edi
mov edx, ebp
push ebx
call fcn.00815310
add esp, 4
cmp byte [esp + 0x28], 0x85
mov dword [esp + 4], 0
je 0x81b6d5
xor ebx, ebx
jmp 0x81b727
mov eax, dword [ebp + 8]
mov ebx, 0
test eax, eax
je 0x81b727
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 0x81b6fe
inc eax
jmp 0x81b701
mov eax, dword [ecx + 8]
mov ecx, esi
mov edx, 0x4d
push ebp
push eax
call fcn.007d10d0
add esp, 8
mov ecx, esi
mov edx, 0x4d
push ebx
mov dword [esp + 8], ebp
push ebp
call fcn.007d10d0
add esp, 8
mov eax, fcn.007a59c0
mov edx, 3
mov dword [esp + 0x30], ebx
mov ebp, dword [esp + 0x1c]
sub edx, eax
xor eax, eax
movzx esi, byte [0xbb9c0b]
mov ecx, edx
xor ecx, fcn.007a59c0
sete al
mov ecx, eax
not ecx
lea eax, [eax + ecx*2 + 4]
and al, 7
movzx eax, al
bt esi, eax
jb 0x81b8a9
mov al, byte [0xbb9c0b]
mov esi, edx
xor ebx, ebx
mov ah, 1
xor esi, fcn.007a59c0
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 [0xbb9c0b], ah
jne 0x81b76a
mov edx, fcn.007a59c0
mov ecx, 3
movzx eax, al
sub ecx, edx
xor edx, edx
mov esi, ecx
xor esi, fcn.007a59c0
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 0x81b7f2
mov edx, ecx
xor eax, eax
movzx esi, byte [0xbb9c0b]
xor edx, fcn.007a59c0
sete al
mov edx, eax
not edx
lea eax, [eax + edx*2 + 4]
and al, 7
movzx eax, al
bt esi, eax
jae 0x81b7c7
jmp 0x81b8a9
xor eax, eax
xor ecx, fcn.007a59c0
movzx edx, byte [0xbb9c0b]
sete al
mov ecx, eax
not ecx
lea eax, [eax + ecx*2 + 4]
and al, 7
movzx eax, al
bt edx, eax
jb 0x81b87a
mov eax, fcn.007a59c0
mov ecx, 3
sub ecx, eax
xor eax, eax
xor ecx, fcn.007a59c0
sete al
mov ecx, eax
not ecx
and ecx, 0x43
lea ecx, [eax + ecx*2 + 0x591cfa4]
mov eax, dword [0xbb9bfc]
xor eax, ecx
mov dword [0xbb9bfc], eax
not eax
mov edx, dword [0xbb9c00]
imul eax, ecx
and cl, 7
lea esi, [eax + eax]
xor edx, eax
shr eax, 0x1e
mov dword [0xbb9c00], edx
or esi, eax
not edx
mov al, 1
imul edx, esi
shl al, cl
xor dword [0xbb9c04], edx
or byte [0xbb9c0b], al
mov eax, fcn.007a59c0
mov ecx, 3
sub ecx, eax
xor eax, eax
xor ecx, fcn.007a59c0
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 [0xbb9c0b], al
mov edx, 0x83df50
xor eax, eax
movzx esi, byte [0xbb9c17]
not edx
and edx, 1
mov ecx, edx
add ecx, 0x83df50
sete al
mov ecx, eax
xor ecx, 1
lea eax, [eax + ecx*2 + 6]
and al, 7
movzx eax, al
bt esi, eax
jb 0x81ba0a
mov al, byte [0xbb9c17]
mov esi, edx
xor ecx, ecx
mov ah, 1
add esi, 0x83df50
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 [0xbb9c17], ah
jne 0x81b8e3
mov ecx, 0x83df50
xor edx, edx
movzx eax, al
not ecx
and ecx, 1
mov esi, ecx
add esi, 0x83df50
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 0x81b96c
mov edx, ecx
xor eax, eax
movzx esi, byte [0xbb9c17]
add edx, 0x83df50
sete al
mov edx, eax
xor edx, 1
lea eax, [eax + edx*2 + 6]
and al, 7
movzx eax, al
bt esi, eax
jae 0x81b940
jmp 0x81ba0a
xor eax, eax
add ecx, 0x83df50
movzx edx, byte [0xbb9c17]
sete al
mov ecx, eax
xor ecx, 1
lea eax, [eax + ecx*2 + 6]
and al, 7
movzx eax, al
bt edx, eax
jb 0x81b9dd
mov ecx, 0x83df50
xor eax, eax
mov esi, dword [0xbb9c0c]
mov dl, 1
not ecx
and ecx, 1
add ecx, 0x83df50
sete al
mov ecx, eax
not ecx
and ecx, 0x91
lea ecx, [eax + ecx*2 + 0x20b5994e]
xor esi, ecx
mov dword [0xbb9c0c], esi
not esi
imul esi, ecx
and cl, 7
shl dl, cl
xor dword [0xbb9c10], esi
or byte [0xbb9c17], dl
mov eax, 0x83df50
xor ecx, ecx
not eax
and eax, 1
add eax, 0x83df50
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 [0xbb9c17], al
mov edx, fcn.0082d4f0
mov esi, fcn.0082d4f0
xor eax, eax
movzx edi, byte [0xbb9c23]
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 0x81bb60
mov al, byte [0xbb9c23]
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 [0xbb9c23], ah
jne 0x81ba44
mov ecx, fcn.0082d4f0
mov edx, fcn.0082d4f0
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 0x81babf
mov edi, dword [esp]
mov esi, ecx
xor eax, eax
add esi, edx
movzx esi, byte [0xbb9c23]
sete al
mov ebx, eax
xor ebx, 1
lea eax, [eax + ebx*2 + 2]
bt esi, eax
jae 0x81ba9c
jmp 0x81bb60
xor eax, eax
add ecx, edx
movzx edx, byte [0xbb9c23]
sete al
mov ecx, eax
xor ecx, 1
lea eax, [eax + ecx*2 + 2]
bt edx, eax
jb 0x81bb30
mov ecx, fcn.0082d4f0
mov edx, fcn.0082d4f0
xor eax, eax
mov esi, dword [0xbb9c18]
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 [0xbb9c18], esi
not esi
or edx, ecx
and cl, 7
imul edx, esi
xor dword [0xbb9c1c], edx
mov dl, 1
shl dl, cl
or byte [0xbb9c23], dl
mov eax, fcn.0082d4f0
mov ecx, fcn.0082d4f0
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 [0xbb9c23], al
mov edi, dword [esp]
mov edx, dword [edi + 0x3c]
mov ecx, dword [esp + 0x54]
call fcn.007cb9e0
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.007fdd40
add esp, 4
lea ecx, [esp + 0x5c]
mov edx, 0xd
push ebx
call fcn.007fdd40
add esp, 4
movzx ecx, byte [esi]
call fcn.0080ea40
push eax
push 0xbb9bfc
push 1
push edi
call fcn.007fdcc0
add esp, 0x10
mov ebp, dword [esp + 0x18]
mov ecx, ebp
call fcn.007fdcb0
inc eax
mov ecx, ebp
mov edx, 0xd
push eax
push 0
mov esi, dword [esp + 0x3c]
push esi
call fcn.007d10f0
add esp, 0xc
mov ebx, dword [esp + 0x20]
mov ecx, dword [esp + 4]
mov dword [esp + 0x3c], eax
mov dword [ebx + 8], ecx
push 0xbb9c0c
push 1
push edi
call fcn.007fdcc0
add esp, 0xc
lea eax, [esp + 0x74]
mov ecx, edi
mov edx, ebx
push eax
call fcn.007e17a0
add esp, 4
mov edx, esi
mov esi, dword [esp]
mov ecx, ebp
call fcn.008019a0
mov edx, dword [esp + 0x3c]
mov ecx, ebp
call fcn.007f75c0
mov ecx, ebp
call fcn.007fdcb0
inc eax
mov ecx, ebp
mov edx, 0xd
push eax
push 0
mov ebx, dword [esp + 0x50]
push ebx
call fcn.007d10f0
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 0xbb9c18
push 1
push edi
call fcn.007fdcc0
add esp, 0xc
lea eax, [esp + 0x5c]
mov ecx, edi
mov edx, esi
push eax
call fcn.007e17a0
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.008019a0
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.0081c1f0
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 0x81bd33
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.0081c1f0
add esp, 0x18
mov ecx, ebp
mov esi, eax
call fcn.007ad5b0
cmp bl, 0x87
mov eax, edi
sete cl
jmp 0x81bd4f
mov ecx, ebp
call fcn.007ad5b0
mov eax, dword [esp + 0x40]
cmp bl, 0x87
sete cl
xor esi, esi
cmp bh, 0x87
je 0x81be5b
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.007d10d0
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.007d10d0
add esp, 8
mov ecx, ebp
mov edx, esi
mov dword [esp + 8], eax
mov dword [esp + 0x10], esi
call fcn.007f7790
mov eax, dword [esp + 0x20]
mov ebx, dword [esp]
mov esi, edi
movsx edx, word [eax + 2]
movsx ecx, word [ebx + 2]
call fcn.0081c060
mov ecx, dword [esp + 8]
cmp byte [esp + 0x2c], 0
mov edi, dword [esp + 0xc]
mov word [ebx + 2], ax
jne 0x81be95
mov dword [esp + 8], ecx
mov ecx, ebp
mov edx, 0xc
push dword [esp + 4]
push edi
call fcn.007d10d0
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.007d10d0
add esp, 8
mov dword [esp + 0x2c], esi
mov edx, esi
mov esi, dword [esp + 0xc]
mov ecx, ebx
call fcn.007f7790
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.007d10d0
add esp, 8
mov esi, eax
mov ecx, ebx
mov edx, 0xe
push edi
push ebp
call fcn.007d10d0
add esp, 8
mov edx, dword [esp + 0x44]
mov ecx, ebx
call fcn.007f7790
cmp byte [esp + 0x28], 0x85
jne 0x81bed2
mov dword [esp + 0xc], esi
jmp 0x81bf04
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 0x81bdc4
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 0x81bec9
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 0x81be18
mov eax, dword [esp]
mov word [eax + 2], cx
jmp 0x81beac
cmp byte [esp + 0x4c], 0
je 0x81bee0
mov dword [esp + 0xc], esi
inc esi
jmp 0x81bf04
mov ebx, dword [esp + 0x18]
mov edx, 0xe
mov ecx, ebx
push edi
push ebp
call fcn.007d10d0
add esp, 8
mov edx, dword [esp + 0x44]
mov ecx, ebx
mov dword [esp + 0xc], eax
call fcn.007f7790
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x28], esi
mov ecx, ebx
call fcn.007fdcb0
mov dword [esp + 4], eax
cmp byte [esp + 0x38], 0x85
mov eax, dword [esp + 0x30]
jne 0x81bf36
mov ecx, ebx
mov edx, 0xc
push eax
push dword [esp + 0x44]
call fcn.007d10d0
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.007d10d0
add esp, 8
mov edi, dword [esp + 0x44]
mov ecx, ebx
mov edx, edi
call fcn.007f7790
mov edx, dword [esp + 0x3c]
mov ecx, ebx
call fcn.007f75c0
mov edx, 0xe
mov ecx, ebx
push dword [esp + 8]
push dword [esp + 0x38]
call fcn.007d10d0
add esp, 8
mov edx, 0xe
mov ecx, ebx
push ebp
push esi
call fcn.007d10d0
add esp, 8
mov ecx, ebx
mov edx, edi
call fcn.007fbd70
mov edx, 0x55
mov ecx, ebx
push 0xfffffffffffffff1
push dword [esp + 0x54]
push 0
push 0
push 0
call fcn.007f75d0
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.007f75d0
add esp, 0x14
mov ecx, ebx
mov edx, 1
call fcn.0078e010
mov edx, 0x10
mov ecx, ebx
push dword [esp + 4]
push dword [esp + 0x10]
push dword [esp + 0x30]
call fcn.007d10f0
add esp, 0xc
mov edx, dword [esp + 0x14]
mov ecx, ebx
call fcn.007fbd70
mov eax, dword [esp]
mov edx, dword [eax + 0x34]
test edx, edx
je 0x81c01c
mov ecx, dword [esp + 0x54]
call fcn.007cba90
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.00814fc0
xor ebx, ebx
cmp dword [edi + 0x24], 0
setne bl
mov ecx, dword [esp + 0x8c]
xor ecx, esp
call fcn.00989fe9
mov eax, ebx
add esp, 0x90
pop esi
pop edi
pop ebx
pop ebp
ret