Function at 0x77e940
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xb8
mov esi, dword [esp + 0xd0]
cmp esi, 0xa
setb al
cmp edx, 6
setb ah
or ah, al
mov eax, 0xffffffec
jne 0x77f11b
mov dword [esp + 0x80], edx
mov ebx, dword [esp + 0xcc]
movzx edi, word [ebx]
movzx eax, word [ebx + 2]
movzx ebp, word [ebx + 4]
mov edx, eax
add eax, edi
add eax, ebp
add eax, 6
sub esi, eax
mov dword [esp + 4], esi
jb 0x77f116
mov dword [esp + 0xc], ebp
mov dword [esp + 0x40], ebx
mov eax, dword [esp + 0x80]
lea ebp, [ecx + eax]
add eax, 3
shr eax, 2
lea ebx, [ecx + eax]
mov dword [esp + 0x4c], ebx
add ebx, eax
mov dword [esp + 0x50], ebx
add eax, ebx
cmp eax, ebp
ja 0x77f116
mov dword [esp + 0x34], eax
mov eax, 0xffffffb8
test edi, edi
je 0x77f11b
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x70], ebp
mov ecx, dword [esp + 0xd4]
mov ebp, dword [esp + 0xcc]
lea ebx, [ebp + 6]
lea esi, [edi + ebp]
add esi, 6
movzx ecx, word [ecx + 2]
mov dword [esp + 0x2c], ecx
cmp di, 4
mov dword [esp], esi
mov dword [esp + 0x68], ebx
jb 0x77ea32
mov edi, esi
movzx esi, byte [esi - 1]
test esi, esi
je 0x77eb78
mov ebp, edx
lea ecx, [edi - 4]
mov dword [esp + 0x24], ecx
mov ecx, dword [edi - 4]
bsr ebx, esi
not ebx
add ebx, 9
mov esi, edi
jmp 0x77ea8f
movzx ecx, byte [ebx]
cmp edi, 2
mov ebp, edx
je 0x77ea53
cmp edi, 3
jne 0x77ea66
mov edx, dword [esp + 0xcc]
movzx ebx, byte [edx + 8]
shl ebx, 0x10
or ecx, ebx
jmp 0x77ea5a
mov edx, dword [esp + 0xcc]
movzx ebx, byte [edx + 7]
shl ebx, 8
add ecx, ebx
mov esi, dword [esp]
movzx ebx, byte [esi - 1]
test ebx, ebx
je 0x77f116
bsr ebx, ebx
xor ebx, 0x1f
shl edi, 3
sub ebx, edi
add ebx, 9
mov esi, ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x24], ecx
mov ecx, esi
mov esi, dword [esp]
test ebp, ebp
je 0x77f11b
mov dword [esp + 0x10], ecx
lea ecx, [esi + ebp]
cmp bp, 4
mov dword [esp + 0x6c], ecx
jb 0x77ead0
movzx esi, byte [ecx - 1]
test esi, esi
je 0x77eb78
mov dword [esp + 8], ebx
lea ebp, [ecx - 4]
mov ecx, dword [ecx - 4]
mov dword [esp + 0x30], ecx
bsr ecx, esi
not ecx
add ecx, 9
mov dword [esp + 0x18], ecx
jmp 0x77eb2c
movzx esi, byte [esi]
mov dword [esp + 0x30], esi
cmp ebp, 2
je 0x77eaf3
cmp ebp, 3
jne 0x77eb07
mov edi, dword [esp]
movzx esi, byte [edi + 2]
shl esi, 0x10
mov edx, dword [esp + 0x30]
or edx, esi
jmp 0x77eafa
mov edx, dword [esp + 0x30]
mov edi, dword [esp]
movzx esi, byte [edi + 1]
shl esi, 8
add edx, esi
mov dword [esp + 0x30], edx
movzx esi, byte [ecx - 1]
test esi, esi
je 0x77f116
mov dword [esp + 8], ebx
bsr ecx, esi
xor ecx, 0x1f
shl ebp, 3
sub ecx, ebp
add ecx, 9
mov dword [esp + 0x18], ecx
mov ebp, dword [esp]
mov ebx, dword [esp + 0xc]
test ebx, ebx
je 0x77f11b
mov ecx, dword [esp + 0x6c]
lea eax, [ecx + ebx]
cmp bx, 4
mov dword [esp + 0x1c], ebp
jb 0x77eb82
movzx ebx, byte [eax - 1]
test ebx, ebx
je 0x77eb78
mov esi, dword [esp + 0x3c]
mov ebp, dword [esp + 0x80]
lea ecx, [eax - 4]
mov dword [esp + 0x20], ecx
mov ecx, dword [eax - 4]
mov dword [esp + 0x44], ecx
bsr ecx, ebx
not ecx
add ecx, 9
mov dword [esp + 0x48], ecx
jmp 0x77ebe8
mov eax, 0xffffffff
jmp 0x77f11b
movzx esi, byte [ecx]
mov dword [esp + 0x44], esi
cmp ebx, 2
je 0x77eba2
cmp ebx, 3
jne 0x77ebb3
movzx esi, byte [ecx + 2]
shl esi, 0x10
mov ebx, dword [esp + 0x44]
or ebx, esi
jmp 0x77eba6
mov ebx, dword [esp + 0x44]
movzx esi, byte [ecx + 1]
shl esi, 8
add ebx, esi
mov dword [esp + 0x44], ebx
movzx ebx, byte [eax - 1]
test ebx, ebx
je 0x77f116
mov esi, dword [esp + 0x3c]
mov ebp, dword [esp + 0x80]
bsr ecx, ebx
xor ecx, 0x1f
mov edx, dword [esp + 0xc]
shl edx, 3
sub ecx, edx
add ecx, 9
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x54]
mov edx, eax
push dword [esp + 4]
call fcn.00781040
add esp, 4
cmp eax, 0xffffff88
mov edx, ebp
mov ebx, dword [esp]
mov ebp, dword [esp + 0xd4]
ja 0x77f11b
mov ecx, esi
add edx, esi
add edx, 0xfffffffd
add ebp, 4
add dword [esp + 0x40], 0xa
lea eax, [ebx + 4]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x70]
mov edi, dword [esp + 0x34]
sub eax, edi
cmp eax, 4
setae al
mov dword [esp + 0x88], edx
cmp edi, edx
setb dl
and dl, al
mov eax, dword [esp + 0x6c]
add eax, 4
mov dword [esp + 0x78], eax
cmp dl, 1
mov dword [esp + 0xc], ebp
jne 0x77ef8f
mov eax, dword [esp + 0x54]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x2c]
neg eax
and eax, 0x1f
mov dword [esp + 4], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x98], eax
mov ebx, dword [esp + 0x5c]
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x28], eax
mov edx, edi
mov dword [esp + 0xb4], ebx
mov dword [esp + 0x38], edx
mov esi, dword [esp + 0x10]
mov edi, ecx
mov edx, dword [esp + 8]
mov ecx, edx
shl esi, cl
mov ecx, dword [esp + 4]
shr esi, cl
movzx eax, word [ebp + esi*4]
mov word [edi], ax
movzx ebx, byte [ebp + esi*4 + 2]
add ebx, edx
movzx edx, byte [ebp + esi*4 + 3]
mov esi, dword [esp + 0x10]
mov ecx, ebx
shl esi, cl
mov eax, dword [esp + 4]
mov ecx, eax
shr esi, cl
movzx ecx, word [ebp + esi*4]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x94], edx
mov word [edi + edx], cx
mov edi, dword [esp + 0x30]
mov ecx, dword [esp + 0x18]
shl edi, cl
mov ecx, eax
shr edi, cl
movzx edx, byte [ebp + esi*4 + 2]
add edx, ebx
movzx eax, byte [ebp + esi*4 + 3]
mov dword [esp + 0xb0], eax
movzx eax, word [ebp + edi*4]
mov esi, dword [esp + 0x14]
mov word [esi], ax
movzx ecx, byte [ebp + edi*4 + 2]
add ecx, dword [esp + 0x18]
movzx edi, byte [ebp + edi*4 + 3]
mov eax, dword [esp + 0x30]
mov ebx, ecx
shl eax, cl
mov ecx, dword [esp + 4]
shr eax, cl
movzx ecx, word [ebp + eax*4]
mov dword [esp + 0xac], edi
mov word [esi + edi], cx
mov esi, dword [esp + 0x24]
cmp esi, dword [esp + 0x40]
jb 0x77ef50
mov ecx, edx
shr ecx, 3
sub esi, ecx
and edx, 7
mov dword [esp + 8], edx
mov ecx, dword [esi]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x8c], 0
movzx ecx, byte [ebp + eax*4 + 2]
add ebx, ecx
movzx eax, byte [ebp + eax*4 + 3]
mov ecx, dword [esp + 0x1c]
cmp ecx, dword [esp + 0x74]
mov dword [esp + 0x24], esi
mov dword [esp + 0xa8], eax
jb 0x77ef64
mov eax, ebx
shr eax, 3
sub ecx, eax
and ebx, 7
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ecx
mov eax, dword [ecx]
mov dword [esp + 0x30], eax
mov dword [esp + 0x90], 0
mov edx, dword [esp + 0x44]
mov esi, edx
mov ebx, dword [esp + 0x48]
mov ecx, ebx
shl esi, cl
mov ecx, dword [esp + 4]
shr esi, cl
movzx eax, word [ebp + esi*4]
mov edi, dword [esp + 0x28]
mov word [edi], ax
movzx eax, byte [ebp + esi*4 + 2]
add eax, ebx
movzx ebx, byte [ebp + esi*4 + 3]
mov esi, edx
mov ecx, eax
shl esi, cl
mov edx, dword [esp + 4]
mov ecx, edx
shr esi, cl
movzx ecx, word [ebp + esi*4]
mov dword [esp + 0xa4], ebx
mov word [edi + ebx], cx
mov edi, dword [esp + 0x84]
mov ecx, dword [esp + 0x7c]
shl edi, cl
mov ecx, edx
shr edi, cl
movzx ebx, byte [ebp + esi*4 + 2]
add ebx, eax
movzx eax, byte [ebp + esi*4 + 3]
mov dword [esp + 0xa0], eax
movzx eax, word [ebp + edi*4]
mov edx, dword [esp + 0x38]
mov word [edx], ax
movzx eax, byte [ebp + edi*4 + 2]
add eax, dword [esp + 0x7c]
movzx edi, byte [ebp + edi*4 + 3]
mov esi, dword [esp + 0x84]
mov ecx, eax
shl esi, cl
mov ecx, dword [esp + 4]
shr esi, cl
movzx ecx, word [ebp + esi*4]
mov word [edx + edi], cx
movzx edx, byte [ebp + esi*4 + 2]
add edx, eax
mov dword [esp + 0x58], edx
movzx eax, byte [ebp + esi*4 + 3]
mov dword [esp + 0x9c], eax
mov esi, 3
mov ecx, dword [esp + 0x20]
cmp ecx, dword [esp + 0x78]
jb 0x77ef78
mov eax, ebx
shr eax, 3
sub ecx, eax
and ebx, 7
mov dword [esp + 0x48], ebx
mov dword [esp + 0x20], ecx
mov eax, dword [ecx]
mov dword [esp + 0x44], eax
xor eax, eax
mov ecx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x94]
mov ebx, dword [esp + 0xb4]
cmp ebx, dword [esp + 0x98]
jb 0x77ef86
mov esi, edx
shr esi, 3
sub ebx, esi
and edx, 7
mov dword [esp + 0x7c], edx
mov dword [esp + 0x58], edx
mov edx, dword [ebx]
mov dword [esp + 0x84], edx
mov dword [esp + 0x54], edx
xor esi, esi
add ecx, ebp
add ecx, dword [esp + 0xb0]
mov edx, dword [esp + 0x14]
add edx, dword [esp + 0xac]
add edx, dword [esp + 0xa8]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x28]
add edx, dword [esp + 0xa4]
add edx, dword [esp + 0xa0]
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x38]
add edx, edi
add edx, dword [esp + 0x9c]
cmp edx, dword [esp + 0x88]
mov ebp, dword [esp + 0xc]
jae 0x77efa7
mov edi, dword [esp + 0x90]
or edi, dword [esp + 0x8c]
or edi, eax
or edi, esi
je 0x77ec9c
jmp 0x77efa7
mov dword [esp + 8], edx
mov dword [esp + 0x8c], 3
jmp 0x77ed79
mov dword [esp + 0x18], ebx
mov dword [esp + 0x90], 3
jmp 0x77edc1
mov dword [esp + 0x48], ebx
mov eax, 3
jmp 0x77eea7
mov dword [esp + 0x7c], edx
jmp 0x77eee7
mov edx, edi
mov eax, dword [esp + 0x50]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x14], eax
mov esi, dword [esp + 0x24]
jmp 0x77efba
mov dword [esp + 0x5c], ebx
mov ebx, dword [esp]
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x34]
mov eax, dword [esp + 0x4c]
cmp ecx, eax
ja 0x77f116
mov eax, dword [esp + 0x14]
cmp eax, dword [esp + 0x50]
ja 0x77f116
mov eax, 0xffffffec
cmp dword [esp + 0x28], edi
mov edi, dword [esp + 0x1c]
ja 0x77f11b
mov eax, dword [esp + 0x4c]
sub eax, ecx
cmp eax, 4
mov dword [esp + 0x38], edx
jb 0x77f126
cmp dword [esp + 8], 0x21
jae 0x77f5fc
mov eax, dword [esp + 0x4c]
lea edx, [eax - 3]
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x2c]
neg edx
and edx, 0x1f
mov dword [esp + 4], edx
cmp esi, dword [esp + 0x40]
jae 0x77f061
mov edi, esi
mov edx, esi
mov esi, dword [esp + 0x68]
sub edi, esi
je 0x77f110
mov eax, dword [esp + 8]
mov ebp, edx
mov dword [esp + 0x24], edx
mov edx, eax
shr edx, 3
sub ebp, edx
xor ebx, ebx
cmp ebp, esi
mov ebp, dword [esp + 0xc]
setb bl
cmovb edx, edi
lea edi, [edx*8]
sub eax, edi
mov dword [esp + 8], eax
mov esi, dword [esp + 0x24]
jmp 0x77f073
mov eax, dword [esp + 8]
mov edx, eax
shr edx, 3
and eax, 7
mov dword [esp + 8], eax
xor ebx, ebx
sub esi, edx
mov eax, dword [esi]
mov dword [esp + 0x10], eax
cmp ecx, dword [esp + 0x3c]
mov edi, dword [esp + 0x1c]
jae 0x77f16e
test ebx, ebx
jne 0x77f16e
mov dword [esp + 0x24], esi
mov esi, dword [esp + 0x10]
mov ebx, esi
mov edi, ecx
mov eax, dword [esp + 8]
mov ecx, eax
shl ebx, cl
mov ecx, dword [esp + 4]
shr ebx, cl
movzx ecx, word [ebp + ebx*4]
mov word [edi], cx
movzx edx, byte [ebp + ebx*4 + 2]
add edx, eax
movzx ebx, byte [ebp + ebx*4 + 3]
mov ebp, esi
mov esi, dword [esp + 0x24]
mov ecx, edx
shl ebp, cl
mov ecx, dword [esp + 4]
shr ebp, cl
mov ecx, dword [esp + 0xc]
movzx ecx, word [ecx + ebp*4]
mov word [edi + ebx], cx
add edi, ebx
mov ecx, dword [esp + 0xc]
movzx eax, byte [ecx + ebp*4 + 2]
add eax, edx
mov ecx, dword [esp + 0xc]
movzx ecx, byte [ecx + ebp*4 + 3]
mov ebp, dword [esp + 0xc]
add ecx, edi
mov dword [esp + 8], eax
cmp eax, 0x20
mov ebx, dword [esp]
mov eax, dword [esp + 0x4c]
jbe 0x77f019
mov esi, 0xa56f00
mov edi, dword [esp + 0x1c]
jmp 0x77f175
mov eax, 0xffffffec
add esp, 0xb8
pop esi
pop edi
pop ebx
pop ebp
ret
cmp dword [esp + 8], 0x20
ja 0x77fded
cmp esi, dword [esp + 0x40]
jae 0x77f185
mov edx, esi
mov ebp, dword [esp + 0x68]
sub edx, ebp
je 0x77f1b3
mov dword [esp + 0x24], esi
mov esi, dword [esp + 8]
shr esi, 3
mov edi, dword [esp + 0x24]
sub edi, esi
cmp edi, ebp
cmovb esi, edx
sub dword [esp + 0x24], esi
shl esi, 3
sub dword [esp + 8], esi
mov esi, dword [esp + 0x24]
mov edx, dword [esi]
mov dword [esp + 0x10], edx
jmp 0x77f1b5
mov ebx, dword [esp]
mov eax, dword [esp + 0x4c]
sub eax, ecx
mov edx, dword [esp + 0x18]
cmp eax, 2
jae 0x77f1ca
jmp 0x77f316
mov edi, esi
mov esi, dword [esp + 8]
mov edx, esi
shr edx, 3
sub edi, edx
and esi, 7
mov dword [esp + 8], esi
mov esi, edi
mov edi, dword [esp + 0x1c]
mov edx, dword [esi]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x18]
cmp eax, 2
jae 0x77f1ca
jmp 0x77f316
mov esi, ebp
mov ebp, dword [esp + 0xc]
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
cmp eax, 2
jb 0x77f316
mov eax, dword [esp + 0x4c]
add eax, 0xfffffffe
mov dword [esp + 4], eax
mov eax, dword [esp + 0x2c]
neg eax
and eax, 0x1f
mov dword [esp + 0x24], eax
mov dword [esp + 0x3c], 0xa56f00
cmp dword [esp + 8], 0x20
mov dword [esp + 0x1c], edi
ja 0x77f2b5
cmp esi, dword [esp + 0x40]
jae 0x77f23a
mov edx, esi
mov edi, dword [esp + 0x68]
sub edx, edi
je 0x77f2b1
mov eax, dword [esp + 8]
mov ebp, esi
mov esi, eax
shr esi, 3
mov ebx, ebp
sub ebx, esi
cmp ebx, edi
mov ebx, 0
mov edi, dword [esp + 0xc]
cmovb esi, edx
setb bl
lea edx, [esi*8]
sub eax, edx
mov edx, eax
jmp 0x77f24c
mov edi, ebp
mov edx, dword [esp + 8]
mov ebp, esi
mov esi, edx
shr esi, 3
and edx, 7
xor ebx, ebx
sub ebp, esi
mov eax, dword [ebp]
mov dword [esp + 0x10], eax
mov esi, dword [esp + 4]
cmp ecx, esi
ja 0x77f29e
test ebx, ebx
jne 0x77f29e
mov ebx, dword [esp + 0x10]
mov esi, ecx
mov ecx, edx
shl ebx, cl
mov ecx, dword [esp + 0x24]
shr ebx, cl
mov ecx, esi
movzx esi, word [edi + ebx*4]
mov word [ecx], si
mov esi, ebp
mov ebp, edi
movzx eax, byte [edi + ebx*4 + 2]
add eax, edx
movzx edx, byte [edi + ebx*4 + 3]
add ecx, edx
mov dword [esp + 8], eax
cmp eax, 0x20
mov ebx, dword [esp]
jbe 0x77f1f9
jmp 0x77f2b5
mov dword [esp + 0x3c], ebp
mov dword [esp + 8], edx
mov ebx, dword [esp]
mov ebp, edi
mov eax, dword [esp + 0x14]
jmp 0x77f2bd
mov dword [esp + 0x3c], edi
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 4]
cmp ecx, esi
mov edi, dword [esp + 0x1c]
jbe 0x77f2cf
mov dword [esp + 0x14], eax
mov esi, dword [esp + 0x3c]
jmp 0x77f312
mov eax, dword [esp + 8]
mov dword [esp + 4], esi
mov edx, eax
mov esi, dword [esp + 0x10]
mov ebx, ecx
mov ecx, edx
shl esi, cl
mov ecx, dword [esp + 0x24]
shr esi, cl
movzx ecx, word [ebp + esi*4]
mov word [ebx], cx
movzx eax, byte [ebp + esi*4 + 2]
add eax, edx
movzx ecx, byte [ebp + esi*4 + 3]
mov esi, dword [esp + 4]
add ecx, ebx
cmp ecx, esi
jbe 0x77f2d7
mov dword [esp + 8], eax
mov esi, dword [esp + 0x3c]
mov ebx, dword [esp]
mov edx, dword [esp + 0x18]
cmp ecx, dword [esp + 0x4c]
mov dword [esp + 0x24], esi
jae 0x77f356
mov eax, ecx
mov edx, dword [esp + 8]
mov ecx, edx
mov esi, dword [esp + 0x10]
shl esi, cl
mov ecx, dword [esp + 0x2c]
neg cl
shr esi, cl
movzx ecx, byte [ebp + esi*4]
mov byte [eax], cl
mov eax, esi
cmp byte [ebp + esi*4 + 3], 1
jne 0x77f460
movzx eax, byte [ebp + eax*4 + 2]
add edx, eax
jmp 0x77f477
mov eax, dword [esp + 0x50]
sub eax, dword [esp + 0x14]
cmp eax, 4
jb 0x77f490
cmp edx, 0x21
jae 0x77f61d
mov eax, dword [esp + 0x50]
add eax, 0xfffffffd
mov dword [esp + 4], eax
mov eax, dword [esp + 0x2c]
neg eax
and eax, 0x1f
mov dword [esp + 0x10], eax
cmp edi, dword [esp + 0x74]
jae 0x77f3bd
mov esi, edi
sub edi, ebx
je 0x77f4da
mov ecx, edx
shr ecx, 3
mov ebx, esi
sub ebx, ecx
mov ebp, esi
mov esi, edx
xor edx, edx
cmp ebx, dword [esp]
setb dl
cmovb ecx, edi
lea edi, [ecx*8]
sub esi, edi
mov ebx, esi
jmp 0x77f3cb
mov ecx, edx
shr ecx, 3
and edx, 7
mov ebp, edi
mov ebx, edx
xor edx, edx
sub ebp, ecx
mov dword [esp + 0x1c], ebp
mov eax, dword [ebp]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 4]
cmp dword [esp + 0x14], eax
jae 0x77f4de
test edx, edx
mov ebp, dword [esp + 0xc]
jne 0x77f4ea
mov edi, dword [esp + 0x30]
mov ecx, ebx
shl edi, cl
mov eax, dword [esp + 0x10]
mov ecx, eax
shr edi, cl
movzx ecx, word [ebp + edi*4]
mov esi, dword [esp + 0x14]
mov word [esi], cx
movzx edx, byte [ebp + edi*4 + 2]
add edx, ebx
movzx edi, byte [ebp + edi*4 + 3]
mov ebx, dword [esp + 0x30]
mov ecx, edx
shl ebx, cl
mov ecx, eax
shr ebx, cl
movzx ecx, word [ebp + ebx*4]
mov word [esi + edi], cx
lea ecx, [esi + edi]
movzx edi, byte [ebp + ebx*4 + 2]
add edi, edx
mov edx, edi
movzx eax, byte [ebp + ebx*4 + 3]
mov ebx, dword [esp]
add eax, ecx
mov dword [esp + 0x14], eax
cmp edi, 0x20
mov edi, dword [esp + 0x1c]
jbe 0x77f388
mov edi, 0xa56f00
jmp 0x77f4f3
cmp edx, 0x1f
ja 0x77f47b
movzx eax, byte [ebp + eax*4 + 2]
add edx, eax
cmp edx, 0x20
mov eax, 0x20
cmovae edx, eax
mov dword [esp + 8], edx
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x50]
sub eax, dword [esp + 0x14]
cmp eax, 4
jae 0x77f367
cmp edx, 0x20
ja 0x77fe04
cmp edi, dword [esp + 0x74]
jae 0x77f4c8
mov ecx, edi
sub ecx, ebx
je 0x77f5f5
mov edx, dword [esp + 0x18]
shr edx, 3
mov esi, edi
sub esi, edx
cmp esi, ebx
cmovb edx, ecx
sub edi, edx
shl edx, 3
sub dword [esp + 0x18], edx
mov edx, dword [esp + 0x18]
jmp 0x77f4d2
mov ecx, edx
shr ecx, 3
sub edi, ecx
and edx, 7
mov ecx, dword [edi]
mov dword [esp + 0x30], ecx
jmp 0x77f4fb
mov edi, ebx
jmp 0x77f4f3
mov edx, ebx
mov edi, dword [esp + 0x1c]
mov ebp, dword [esp + 0xc]
jmp 0x77f4f0
mov edx, ebx
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp]
mov eax, dword [esp + 0x50]
sub eax, dword [esp + 0x14]
cmp eax, 2
jb 0x77f5ca
mov eax, dword [esp + 0x50]
add eax, 0xfffffffe
mov dword [esp + 4], eax
mov eax, dword [esp + 0x2c]
neg eax
and eax, 0x1f
mov dword [esp + 0x10], eax
cmp edx, 0x20
ja 0x77fe38
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x14]
cmp edi, dword [esp + 0x74]
jae 0x77f571
mov dword [esp + 0x14], esi
mov esi, edx
mov edx, edi
sub edx, ebx
je 0x77f5de
mov ecx, esi
shr ecx, 3
mov eax, edi
mov ebp, edi
sub ebp, ecx
mov edi, ebx
xor ebx, ebx
cmp ebp, edi
mov edi, eax
mov ebp, dword [esp + 0xc]
cmovb ecx, edx
setb bl
lea edx, [ecx*8]
sub esi, edx
mov edx, esi
mov esi, dword [esp + 0x14]
jmp 0x77f57b
mov ecx, edx
shr ecx, 3
and edx, 7
xor ebx, ebx
sub edi, ecx
mov eax, dword [edi]
cmp esi, dword [esp + 4]
ja 0x77f5d3
test ebx, ebx
jne 0x77f5d3
mov ebx, eax
mov ecx, edx
shl ebx, cl
mov ecx, dword [esp + 0x10]
shr ebx, cl
movzx ecx, word [ebp + ebx*4]
mov word [esi], cx
movzx ecx, byte [ebp + ebx*4 + 2]
add ecx, edx
mov edx, ecx
movzx ecx, byte [ebp + ebx*4 + 3]
add esi, ecx
cmp edx, 0x20
mov ebx, dword [esp]
jbe 0x77f52d
mov edi, 0xa56f00
cmp esi, dword [esp + 4]
jbe 0x77f648
jmp 0x77f5ec
mov eax, dword [esp + 0x30]
jmp 0x77f68a
mov ebx, dword [esp]
cmp esi, dword [esp + 4]
jbe 0x77f648
jmp 0x77f5ec
mov edi, ebx
mov edx, esi
mov esi, dword [esp + 0x14]
cmp esi, dword [esp + 4]
jbe 0x77f648
mov dword [esp + 0x14], esi
jmp 0x77f68a
mov edi, ebx
jmp 0x77f4fb
mov eax, dword [esp + 0x4c]
lea esi, [eax - 2]
mov eax, dword [esp + 0x2c]
neg eax
and eax, 0x1f
mov dword [esp + 0x24], eax
mov dword [esp + 0x3c], 0xa56f00
jmp 0x77f2ab
mov eax, dword [esp + 0x50]
add eax, 0xfffffffe
mov dword [esp + 4], eax
mov eax, dword [esp + 0x2c]
neg eax
and eax, 0x1f
mov dword [esp + 0x10], eax
mov edi, 0xa56f00
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x14]
cmp esi, dword [esp + 4]
ja 0x77f5ec
mov dword [esp + 0x40], edi
mov edi, dword [esp + 0xc]
mov ebx, eax
mov ecx, edx
shl ebx, cl
mov ecx, dword [esp + 0x10]
shr ebx, cl
mov ecx, esi
movzx ebp, word [edi + ebx*4]
mov word [esi], bp
mov ebp, dword [esp + 0xc]
movzx esi, byte [ebp + ebx*4 + 2]
add esi, edx
mov edx, esi
movzx esi, byte [ebp + ebx*4 + 3]
add esi, ecx
cmp esi, dword [esp + 4]
jbe 0x77f650
mov dword [esp + 0x14], esi
mov edi, dword [esp + 0x40]
mov ebx, dword [esp]
mov ecx, dword [esp + 0x14]
cmp ecx, dword [esp + 0x50]
jae 0x77f6bd
mov ebx, ecx
mov ecx, edx
shl eax, cl
mov esi, eax
mov eax, dword [esp + 0x2c]
mov ecx, eax
neg cl
shr esi, cl
movzx eax, byte [ebp + esi*4]
mov byte [ebx], al
cmp byte [ebp + esi*4 + 3], 1
jne 0x77f6c3
movzx eax, byte [ebp + esi*4 + 2]
add edx, eax
jmp 0x77f6da
mov eax, dword [esp + 0x34]
jmp 0x77f6e1
cmp edx, 0x1f
ja 0x77f6da
movzx eax, byte [ebp + esi*4 + 2]
add edx, eax
cmp edx, 0x20
mov eax, 0x20
cmovae edx, eax
mov eax, dword [esp + 0x34]
mov ebx, dword [esp]
mov dword [esp + 0x18], edx
sub eax, dword [esp + 0x28]
cmp eax, 4
mov dword [esp + 0x1c], edi
jb 0x77f7f3
mov edx, dword [esp + 0x48]
cmp edx, 0x21
jae 0x77f9d0
mov eax, dword [esp + 0x34]
lea ecx, [eax - 3]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x2c]
neg ecx
and ecx, 0x1f
mov dword [esp + 4], ecx
mov ebp, dword [esp + 0x20]
cmp ebp, dword [esp + 0x78]
jae 0x77f754
mov edi, ebp
mov esi, dword [esp + 0x6c]
sub edi, esi
je 0x77f850
mov ecx, edx
shr ecx, 3
mov ebx, ebp
sub ebx, ecx
xor eax, eax
cmp ebx, esi
mov esi, dword [esp]
setb al
cmovb ecx, edi
lea edi, [ecx*8]
sub edx, edi
jmp 0x77f760
mov esi, ebx
mov ecx, edx
shr ecx, 3
and edx, 7
xor eax, eax
sub ebp, ecx
mov dword [esp + 0x20], ebp
mov edi, dword [ebp]
mov ecx, dword [esp + 0x10]
cmp dword [esp + 0x28], ecx
jae 0x77f86a
test eax, eax
mov ebp, dword [esp + 0xc]
jne 0x77f874
mov eax, edi
mov ebx, edx
mov ecx, ebx
shl edi, cl
mov ecx, dword [esp + 4]
shr edi, cl
movzx ecx, word [ebp + edi*4]
mov esi, dword [esp + 0x28]
mov word [esi], cx
movzx edx, byte [ebp + edi*4 + 2]
add edx, ebx
movzx edi, byte [ebp + edi*4 + 3]
mov dword [esp + 0x44], eax
mov ebx, eax
mov ecx, edx
shl ebx, cl
mov ecx, dword [esp + 4]
shr ebx, cl
movzx ecx, word [ebp + ebx*4]
mov word [esi + edi], cx
lea ecx, [esi + edi]
movzx eax, byte [ebp + ebx*4 + 2]
add eax, edx
mov edx, eax
movzx eax, byte [ebp + ebx*4 + 3]
mov ebx, dword [esp]
add eax, ecx
mov dword [esp + 0x28], eax
cmp edx, 0x20
mov eax, dword [esp + 0x34]
jbe 0x77f71b
mov dword [esp + 0x20], 0xa56f00
jmp 0x77f854
mov edx, dword [esp + 0x48]
cmp edx, 0x20
ja 0x77fe0e
mov ebx, dword [esp + 0x20]
cmp ebx, dword [esp + 0x78]
jae 0x77f833
mov ecx, ebx
mov edi, dword [esp + 0x6c]
sub ecx, edi
je 0x77f888
mov edx, dword [esp + 0x48]
shr edx, 3
mov esi, ebx
sub esi, edx
cmp esi, edi
cmovb edx, ecx
sub ebx, edx
shl edx, 3
sub dword [esp + 0x48], edx
mov edx, dword [esp + 0x48]
jmp 0x77f83d
mov ecx, edx
shr ecx, 3
sub ebx, ecx
and edx, 7
mov dword [esp + 0x20], ebx
mov edi, dword [ebx]
mov ebx, dword [esp]
cmp eax, 2
jae 0x77f89c
jmp 0x77fa41
mov dword [esp + 0x20], esi
mov ebp, dword [esp + 0xc]
mov edi, dword [esp + 0x44]
sub eax, dword [esp + 0x28]
cmp eax, 2
jae 0x77f89c
jmp 0x77fa41
mov eax, dword [esp + 0x34]
mov ebp, dword [esp + 0xc]
jmp 0x77f878
mov eax, dword [esp + 0x34]
mov ebx, esi
sub eax, dword [esp + 0x28]
cmp eax, 2
jae 0x77f89c
jmp 0x77fa41
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0x44]
mov ebx, dword [esp]
cmp eax, 2
jb 0x77fa41
mov eax, dword [esp + 0x34]
add eax, 0xfffffffe
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x2c]
neg eax
and eax, 0x1f
mov dword [esp + 4], eax
mov dword [esp + 0x40], 0xa56f00
cmp edx, 0x20
ja 0x77f982
mov eax, ebp
mov esi, dword [esp + 0x28]
mov ebp, dword [esp + 0x20]
cmp ebp, dword [esp + 0x78]
jae 0x77f913
mov dword [esp + 0x28], esi
mov ecx, edi
mov esi, edx
mov edx, ebp
mov edi, dword [esp + 0x6c]
sub edx, edi
je 0x77f978
mov ecx, esi
shr ecx, 3
mov eax, ebp
sub eax, ecx
xor ebx, ebx
cmp eax, edi
mov eax, dword [esp + 0xc]
cmovb ecx, edx
setb bl
lea edx, [ecx*8]
sub esi, edx
mov edx, esi
mov esi, dword [esp + 0x28]
jmp 0x77f91d
mov ecx, edx
shr ecx, 3
and edx, 7
xor ebx, ebx
sub ebp, ecx
mov dword [esp + 0x20], ebp
mov edi, dword [ebp]
mov ecx, dword [esp + 0x10]
cmp esi, ecx
ja 0x77f994
test ebx, ebx
mov ebp, eax
jne 0x77f9ab
mov ebx, edi
mov ecx, edx
shl ebx, cl
mov ecx, dword [esp + 4]
shr ebx, cl
movzx ecx, word [ebp + ebx*4]
mov word [esi], cx
movzx ecx, byte [ebp + ebx*4 + 2]
add ecx, edx
mov edx, ecx
movzx ecx, byte [ebp + ebx*4 + 3]
add esi, ecx
cmp edx, 0x20
mov ebx, dword [esp]
jbe 0x77f8cb
mov ebp, eax
mov ecx, dword [esp + 0x10]
cmp esi, ecx
mov eax, dword [esp + 0x34]
jbe 0x77f9fc
jmp 0x77f9be
mov dword [esp + 0x40], edi
mov edx, esi
mov ebp, eax
mov edi, ecx
mov esi, dword [esp + 0x28]
mov ecx, dword [esp + 0x10]
cmp esi, ecx
mov eax, dword [esp + 0x34]
jbe 0x77f9fc
jmp 0x77f9be
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x40], ebx
mov ebx, dword [esp]
mov ebp, eax
cmp esi, ecx
mov eax, dword [esp + 0x34]
jbe 0x77f9fc
jmp 0x77f9be
mov eax, dword [esp + 0x20]
mov dword [esp + 0x40], eax
mov ebx, dword [esp]
cmp esi, ecx
mov eax, dword [esp + 0x34]
jbe 0x77f9fc
mov dword [esp + 0x28], esi
mov ecx, eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x20], eax
mov eax, ecx
jmp 0x77fa45
mov eax, dword [esp + 0x34]
lea ecx, [eax - 2]
mov eax, dword [esp + 0x2c]
neg eax
and eax, 0x1f
mov dword [esp + 4], eax
mov dword [esp + 0x40], 0xa56f00
mov edi, dword [esp + 0x44]
mov esi, dword [esp + 0x28]
cmp esi, ecx
mov eax, dword [esp + 0x34]
ja 0x77f9be
mov ebx, edi
mov eax, ecx
mov ecx, edx
shl ebx, cl
mov ecx, dword [esp + 4]
shr ebx, cl
mov ecx, esi
mov ebp, dword [esp + 0xc]
movzx ebp, word [ebp + ebx*4]
mov word [esi], bp
mov ebp, dword [esp + 0xc]
movzx esi, byte [ebp + ebx*4 + 2]
add esi, edx
mov edx, esi
movzx esi, byte [ebp + ebx*4 + 3]
add esi, ecx
mov ecx, eax
cmp esi, eax
jbe 0x77f9fc
mov dword [esp + 0x28], esi
mov eax, dword [esp + 0x40]
mov dword [esp + 0x20], eax
mov ebx, dword [esp]
mov eax, dword [esp + 0x34]
mov esi, dword [esp + 0x28]
cmp esi, eax
jae 0x77fa89
mov ecx, edx
shl edi, cl
mov eax, dword [esp + 0x2c]
mov ecx, eax
neg cl
shr edi, cl
movzx eax, byte [ebp + edi*4]
mov byte [esi], al
cmp byte [ebp + edi*4 + 3], 1
jne 0x77fa72
movzx eax, byte [ebp + edi*4 + 2]
add edx, eax
jmp 0x77fa89
cmp edx, 0x1f
ja 0x77fa89
movzx eax, byte [ebp + edi*4 + 2]
add edx, eax
cmp edx, 0x20
mov eax, 0x20
cmovae edx, eax
mov dword [esp + 0x48], edx
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x38]
sub ecx, edx
mov eax, dword [esp + 0x58]
cmp ecx, 4
jb 0x77fb95
cmp eax, 0x20
ja 0x77fb84
mov ecx, dword [esp + 0x2c]
neg ecx
and ecx, 0x1f
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x5c]
cmp ecx, dword [esp + 0x64]
jae 0x77fafe
mov dword [esp + 0x38], edx
mov ebp, dword [esp + 0x60]
mov edi, ecx
sub edi, ebp
je 0x77fbf3
mov esi, eax
shr esi, 3
mov edx, ecx
sub edx, esi
xor ebx, ebx
cmp edx, ebp
setb bl
cmovb esi, edi
sub ecx, esi
mov dword [esp + 0x5c], ecx
shl esi, 3
sub eax, esi
mov ebp, dword [esp + 0xc]
mov edx, dword [esp + 0x38]
jmp 0x77fb0e
mov esi, eax
shr esi, 3
sub ecx, esi
mov dword [esp + 0x5c], ecx
and eax, 7
xor ebx, ebx
mov dword [esp + 0x58], eax
mov esi, dword [ecx]
mov dword [esp + 0x54], esi
cmp edx, dword [esp + 0x88]
jae 0x77fbd0
test ebx, ebx
jne 0x77fbd0
mov ecx, eax
shl esi, cl
mov ebx, dword [esp + 4]
mov ecx, ebx
shr esi, cl
movzx ecx, word [ebp + esi*4]
mov word [edx], cx
movzx ecx, byte [ebp + esi*4 + 2]
add ecx, eax
mov dword [esp + 0x58], ecx
movzx eax, byte [ebp + esi*4 + 3]
lea esi, [edx + eax]
mov edi, dword [esp + 0x54]
shl edi, cl
mov ecx, ebx
shr edi, cl
movzx ecx, word [ebp + edi*4]
mov word [edx + eax], cx
movzx eax, byte [ebp + edi*4 + 2]
add eax, dword [esp + 0x58]
mov dword [esp + 0x58], eax
movzx edx, byte [ebp + edi*4 + 3]
add edx, esi
cmp eax, 0x20
jbe 0x77faba
mov dword [esp + 0x38], edx
mov dword [esp + 0x5c], 0xa56f00
mov ebx, dword [esp]
jmp 0x77fbfa
cmp eax, 0x21
jae 0x77fe2b
mov ecx, dword [esp + 0x5c]
cmp ecx, dword [esp + 0x64]
jae 0x77fbd9
mov esi, dword [esp + 0x60]
mov edx, ecx
sub edx, esi
je 0x77fbfa
mov edi, eax
shr edi, 3
mov ebx, ecx
sub ebx, edi
cmp ebx, esi
mov ebx, dword [esp]
cmovb edi, edx
sub ecx, edi
mov dword [esp + 0x5c], ecx
shl edi, 3
sub eax, edi
jmp 0x77fbe7
mov dword [esp + 0x38], edx
mov ebx, dword [esp]
jmp 0x77fbfa
mov edx, eax
shr edx, 3
sub ecx, edx
mov dword [esp + 0x5c], ecx
and eax, 7
mov dword [esp + 0x58], eax
mov ecx, dword [ecx]
mov dword [esp + 0x54], ecx
jmp 0x77fbfa
mov ebx, dword [esp]
mov ebp, dword [esp + 0xc]
mov edx, dword [esp + 0x70]
mov ecx, edx
sub ecx, dword [esp + 0x38]
cmp ecx, 2
jb 0x77fcd1
lea ecx, [edx - 2]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x2c]
neg ecx
and ecx, 0x1f
mov dword [esp + 0x10], ecx
cmp eax, 0x20
ja 0x77fdce
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x5c]
cmp ecx, dword [esp + 0x64]
jae 0x77fc72
mov esi, dword [esp + 0x60]
mov ebp, ecx
sub ebp, esi
je 0x77fce0
mov edi, eax
shr edi, 3
mov dword [esp + 0x38], edx
mov edx, ecx
sub edx, edi
xor ebx, ebx
cmp edx, esi
mov edx, dword [esp + 0x38]
setb bl
cmovb edi, ebp
sub ecx, edi
mov dword [esp + 0x5c], ecx
shl edi, 3
sub eax, edi
mov ebp, dword [esp + 0xc]
jmp 0x77fc82
mov esi, eax
shr esi, 3
sub ecx, esi
mov dword [esp + 0x5c], ecx
and eax, 7
xor ebx, ebx
mov dword [esp + 0x58], eax
mov edi, dword [ecx]
mov dword [esp + 0x54], edi
mov ecx, dword [esp + 4]
cmp edx, ecx
ja 0x77fcd7
test ebx, ebx
jne 0x77fcd7
mov ecx, eax
shl edi, cl
mov ecx, dword [esp + 0x10]
shr edi, cl
movzx eax, word [ebp + edi*4]
mov word [edx], ax
movzx eax, byte [ebp + edi*4 + 2]
add eax, dword [esp + 0x58]
mov dword [esp + 0x58], eax
movzx ecx, byte [ebp + edi*4 + 3]
add ecx, edx
mov edx, ecx
cmp eax, 0x20
mov ebx, dword [esp]
jbe 0x77fc2e
jmp 0x77fdd2
mov edx, dword [esp + 0x38]
jmp 0x77fd1e
mov ebx, dword [esp]
cmp edx, ecx
jbe 0x77fcec
jmp 0x77fd1e
mov ebp, dword [esp + 0xc]
mov ecx, dword [esp + 4]
cmp edx, ecx
ja 0x77fd1e
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x54]
mov ecx, eax
shl edi, cl
mov ecx, esi
shr edi, cl
movzx eax, word [ebp + edi*4]
mov word [edx], ax
movzx eax, byte [ebp + edi*4 + 2]
add eax, dword [esp + 0x58]
mov dword [esp + 0x58], eax
movzx ecx, byte [ebp + edi*4 + 3]
add edx, ecx
cmp edx, dword [esp + 4]
jbe 0x77fcf0
cmp edx, dword [esp + 0x70]
mov esi, dword [esp + 0x24]
jae 0x77fd51
mov edi, edx
mov edx, dword [esp + 0x54]
mov ecx, eax
shl edx, cl
mov ecx, dword [esp + 0x2c]
neg cl
shr edx, cl
movzx eax, byte [ebp + edx*4]
mov byte [edi], al
cmp byte [ebp + edx*4 + 3], 1
jne 0x77fd5b
movzx eax, byte [ebp + edx*4 + 2]
add eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x68]
mov edi, dword [esp + 0x1c]
jmp 0x77fd7e
mov eax, dword [esp + 0x58]
cmp eax, 0x1f
mov edi, dword [esp + 0x1c]
ja 0x77fd7a
movzx ecx, byte [ebp + edx*4 + 2]
add eax, ecx
cmp eax, 0x20
mov ecx, 0x20
cmovae eax, ecx
mov ecx, dword [esp + 0x68]
xor esi, ecx
mov edx, dword [esp + 8]
xor edx, 0x20
or edx, esi
xor edi, ebx
mov esi, dword [esp + 0x18]
xor esi, 0x20
or esi, edi
mov ecx, dword [esp + 0x20]
xor ecx, dword [esp + 0x6c]
mov edi, dword [esp + 0x48]
xor edi, 0x20
or edi, ecx
mov ecx, dword [esp + 0x5c]
xor ecx, dword [esp + 0x60]
xor eax, 0x20
or eax, ecx
or eax, edi
or eax, esi
or eax, edx
mov eax, 0xffffffec
mov ecx, dword [esp + 0x80]
cmovne ecx, eax
mov eax, ecx
jmp 0x77f11b
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x5c], 0xa56f00
mov edx, ecx
mov ecx, dword [esp + 4]
cmp edx, ecx
jbe 0x77fcec
jmp 0x77fd1e
mov esi, 0xa56f00
mov edx, dword [esp + 0x18]
cmp eax, 2
jae 0x77f1ca
jmp 0x77f316
mov edi, 0xa56f00
jmp 0x77f4fb
mov dword [esp + 0x20], 0xa56f00
mov edi, dword [esp + 0x44]
mov ebx, dword [esp]
cmp eax, 2
jb 0x77fa41
jmp 0x77f89c
mov dword [esp + 0x5c], 0xa56f00
jmp 0x77fbfa
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x14]
mov edi, 0xa56f00
cmp esi, dword [esp + 4]
jbe 0x77f648
jmp 0x77f5ec