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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xac
mov esi, dword [esp + 0xc8]
mov eax, 0xffffffb8
cmp esi, 0x1ffff
ja 0x76e588
cmp esi, 3
jae 0x76e593
mov eax, 0xffffffec
add esp, 0xac
pop esi
pop edi
pop ebx
pop ebp
ret
mov edi, dword [esp + 0xc4]
movzx ebp, byte [edi]
mov ebx, ebp
shr ebx, 6
jmp dword [ebx*4 + 0x9fc5d0]
cmp esi, 5
jb case.default.0x76e5a2
mov edi, ebp
mov eax, edi
shr eax, 4
and eax, 3
mov ebp, dword [esp + 0xc4]
movzx ebp, byte [ebp + 1]
cmp eax, 2
je 0x76e8da
cmp eax, 3
jne 0x76e937
mov ebx, edi
and ebx, 0xf
shl ebx, 0xe
shl ebp, 6
or ebp, ebx
mov edi, dword [esp + 0xc4]
movzx ebx, byte [edi + 2]
mov eax, ebp
mov ebp, ebx
shr ebp, 2
or ebp, eax
cmp ebp, 0x20000
ja case.default.0x76e5a2
and ebx, 3
shl ebx, 0x10
movzx eax, byte [edi + 3]
shl eax, 8
or eax, ebx
movzx edi, byte [edi + 4]
mov ebx, esi
lea esi, [edi + eax]
add esi, 5
mov dword [esp], esi
cmp esi, ebx
ja case.default.0x76e5a2
mov esi, ebx
mov dword [esp + 8], edx
or eax, edi
mov edx, 5
jmp 0x76e98a
mov edi, ebp
shr edi, 4
and edi, 3
cmp edi, 2
mov dword [esp + 8], edx
je 0x76e7ec
cmp edi, 3
jne 0x76e852
and ebp, 0xf
shl ebp, 0x10
mov edx, dword [esp + 0xc4]
movzx edi, byte [edx + 1]
shl edi, 8
or edi, ebp
movzx ebp, byte [edx + 2]
or ebp, edi
mov edi, 3
lea edx, [edi + ebp]
lea ebx, [edi + ebp]
add ebx, 8
cmp ebx, esi
jbe 0x76e815
mov dword [esp], edx
cmp edx, esi
ja case.default.0x76e5a2
lea ebx, [ecx + 0x544c]
add edi, dword [esp + 0xc4]
push ebp
push edi
push ebx
mov edi, ecx
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
mov eax, 0xffffffb8
mov ecx, edi
mov edx, dword [esp + 0x14]
add esp, 0xc
mov dword [edi + 0x5444], ebx
mov dword [edi + 0x5448], ebp
mov dword [edi + ebp + 0x5450], 0
mov dword [edi + ebp + 0x544c], 0
jmp 0x76e9e1
mov eax, ebp
shr eax, 4
and eax, 3
cmp eax, 2
je 0x76e83d
cmp eax, 3
jne 0x76e86d
cmp esi, 3
je case.default.0x76e5a2
and ebp, 0xf
shl ebp, 0x10
movzx eax, byte [edi + 1]
shl eax, 8
or eax, ebp
movzx ebp, byte [edi + 2]
or ebp, eax
mov eax, edi
mov edi, 3
cmp ebp, 0x20000
jbe 0x76e877
jmp case.default.0x76e5a2
mov eax, ebp
and eax, 0x30
cmp eax, 0x10
jne case.default.0x76e5a2
cmp dword [ecx + 0x5440], 0
je 0x76e8d0
mov dword [esp + 0x24], ebp
mov ebx, edi
movzx edi, byte [edi + 1]
mov eax, edi
and eax, 3
shl eax, 8
movzx ebp, byte [ebx + 2]
mov ebx, esi
lea esi, [eax + ebp]
add esi, 3
mov dword [esp], esi
cmp esi, ebx
ja case.default.0x76e5a2
mov esi, ebx
mov dword [esp + 8], edx
mov edx, dword [esp + 0x24]
and edx, 0xf
shl edx, 6
shr edi, 2
or edi, edx
or eax, ebp
lea ebx, [ecx + 0x544c]
mov edx, dword [esp + 0xc4]
add edx, 3
mov dword [esp + 0x14], ecx
lea ecx, [ecx + 0x140c]
push ecx
push eax
push edx
push edi
push ebx
call fcn.0076d340
add esp, 0x14
cmp eax, 0xffffff88
ja case.default.0x76e5a2
mov ecx, dword [esp + 0x14]
mov dword [ecx + 0x5444], ebx
mov dword [ecx + 0x5448], edi
mov dword [ecx + edi + 0x5450], 0
mov dword [ecx + edi + 0x544c], 0
mov edx, dword [esp + 8]
mov eax, 0xffffffb8
jmp 0x76e9e1
and ebp, 0xf
shl ebp, 8
mov edx, dword [esp + 0xc4]
movzx edi, byte [edx + 1]
or ebp, edi
mov edi, 2
lea edx, [edi + ebp]
lea ebx, [edi + ebp]
add ebx, 8
cmp ebx, esi
ja 0x76e686
add edi, dword [esp + 0xc4]
mov dword [ecx + 0x5444], edi
mov dword [ecx + 0x5448], ebp
mov edi, edx
mov edx, dword [esp + 8]
mov ebx, esi
sub ebx, edi
je 0x76e588
jmp 0x76e9ee
and ebp, 0xf
shl ebp, 8
movzx eax, byte [edi + 1]
or ebp, eax
mov eax, edi
mov edi, 2
jmp 0x76e877
and ebp, 0x1f
mov edi, 1
lea edx, [edi + ebp]
lea ebx, [edi + ebp]
add ebx, 8
cmp ebx, esi
ja 0x76e686
jmp 0x76e815
and ebp, 0x1f
mov eax, edi
mov edi, 1
mov esi, ebp
mov dword [esp + 0x24], ebp
lea ebx, [ecx + 0x544c]
mov ebp, eax
lea eax, [esi + 8]
mov esi, edi
movzx edi, byte [ebp + edi]
push eax
push edi
push ebx
mov edi, edx
mov ebp, ecx
call fcn.00786b68
mov eax, 0xffffffb8
mov ecx, ebp
mov edx, edi
mov edi, esi
mov esi, dword [esp + 0xd4]
add esp, 0xc
mov dword [ebp + 0x5444], ebx
mov ebx, dword [esp + 0x24]
mov dword [ebp + 0x5448], ebx
inc edi
mov ebx, esi
sub ebx, edi
je 0x76e588
jmp 0x76e9ee
mov eax, 0xffffffe2
jmp 0x76e588
mov dword [esp + 0x24], ebp
mov ebx, dword [esp + 0xc4]
movzx ebp, byte [ebx + 2]
mov eax, ebp
and eax, 0x3f
shl eax, 8
movzx ebx, byte [ebx + 3]
mov dword [esp + 0x38], ebx
lea esi, [eax + ebx]
add esi, 4
mov dword [esp], esi
cmp esi, dword [esp + 0xc8]
mov esi, dword [esp + 0xc8]
ja case.default.0x76e5a2
mov dword [esp + 8], edx
and edi, 0xf
shl edi, 0xa
mov edx, dword [esp + 0x24]
lea edx, [edi + edx*4]
shr ebp, 6
or ebp, edx
add eax, dword [esp + 0x38]
mov edx, 4
jmp 0x76e98a
mov eax, ebp
and eax, 3
shl eax, 8
mov ebx, dword [esp + 0xc4]
movzx ebx, byte [ebx + 2]
lea esi, [eax + ebx]
add esi, 3
mov dword [esp], esi
cmp esi, dword [esp + 0xc8]
mov esi, dword [esp + 0xc8]
ja case.default.0x76e5a2
mov dword [esp + 8], edx
mov edx, edi
and edx, 0xf
shl edx, 6
shr ebp, 2
or ebp, edx
or eax, ebx
mov edx, 3
mov ebx, edi
test bl, 0x10
jne 0x76ec64
mov ebx, ecx
add ecx, 0x544c
add edx, dword [esp + 0xc4]
push eax
push edx
push ebp
push ecx
call fcn.0076e2a0
add esp, 0x10
cmp eax, 0xffffff88
mov edx, dword [esp + 8]
mov eax, 0xffffffb8
ja case.default.0x76e5a2
mov ecx, ebx
lea edi, [ebx + 0x544c]
mov dword [ebx + 0x5444], edi
mov dword [ebx + 0x5448], ebp
mov dword [ebx + ebp + 0x5450], 0
mov dword [ebx + ebp + 0x544c], 0
mov edi, dword [esp]
mov ebx, esi
sub ebx, edi
je 0x76e588
add edi, dword [esp + 0xc4]
mov esi, edi
mov edi, dword [esp + 0xc0]
add edi, edx
mov dword [esp + 0x38], edi
mov ebp, dword [ecx + 0x5444]
mov edi, dword [ecx + 0x5448]
add edi, ebp
mov dword [esp + 0x24], edi
mov edi, edx
mov dword [esp], esi
movzx edx, byte [esi]
test edx, edx
je 0x76ebc2
mov dword [esp + 0x10], ebp
mov dword [esp + 8], edi
mov esi, dword [ecx + 0x5414]
mov edi, dword [ecx + 0x5418]
mov dword [esp + 0xa8], edi
mov edi, dword [ecx + 0x541c]
mov dword [esp + 0xa4], edi
mov edi, dword [ecx + 0x5440]
test dl, dl
mov dword [esp + 0x18], esi
js 0x76ec0c
mov dword [esp + 0x74], edx
mov edx, dword [esp]
lea ebx, [edx + 1]
mov esi, dword [esp + 0xc8]
mov ebp, dword [esp + 0xc4]
add ebp, esi
lea esi, [ebx + 4]
cmp esi, ebp
ja 0x76e588
movzx esi, byte [ebx]
mov edx, esi
shr edx, 6
inc ebx
mov eax, ebp
sub eax, ebx
mov dword [esp + 0x14], ecx
push edi
push 6
push 0x9fc818
push eax
push ebx
push 9
push 0x23
call fcn.00770d50
add esp, 0x1c
cmp eax, 0xffffff88
ja case.default.0x76e5a2
mov ecx, dword [esp + 0x14]
add ecx, 0x804
add ebx, eax
mov edx, esi
shr edx, 4
and edx, 3
mov eax, ebp
sub eax, ebx
push edi
push 5
push 0x9fc860
push eax
push ebx
push 8
push 0x1c
call fcn.00770d50
add esp, 0x1c
cmp eax, 0xffffff88
ja case.default.0x76e5a2
mov ecx, dword [esp + 0x14]
add ecx, 0xc08
shr esi, 2
and esi, 3
add ebx, eax
mov dword [esp + 4], ebp
sub ebp, ebx
mov edx, esi
push edi
push 6
push 0x9fc89a
push ebp
push ebx
push 9
push 0x34
call fcn.00770d50
add esp, 0x1c
cmp eax, 0xffffff88
ja case.default.0x76e5a2
add ebx, eax
mov eax, ebx
mov edx, dword [esp]
sub eax, edx
cmp eax, 0xffffff88
ja 0x76e588
mov ecx, dword [esp + 0x14]
mov dword [ecx + 0x5440], 0
cmp dword [esp + 0x74], 0
je 0x76ec8f
mov dword [esp + 0x64], 1
mov dword [esp + 0x68], 1
mov dword [esp + 0x6c], 1
mov ebp, dword [esp + 4]
sub ebp, ebx
je case.default.0x76e5a2
add edx, eax
mov dword [esp + 0x48], edx
cmp ebp, 4
mov dword [esp], edx
jb 0x76ec9e
lea eax, [edx + ebp]
add eax, 0xfffffffc
mov dword [esp + 0x44], eax
mov esi, dword [edx + ebp - 4]
mov dword [esp + 0x3c], esi
cmp esi, 0x1000000
jb case.default.0x76e5a2
cmp ebp, 0xffffff88
ja case.default.0x76e5a2
add ebp, 0xfffffffc
mov eax, esi
shr eax, 0x18
bsr eax, eax
not eax
add eax, 9
jmp 0x76ecea
mov dword [ecx + 0x5440], 0
mov ebx, ebp
mov esi, edi
mov ebp, edi
mov ecx, dword [esp + 0x24]
mov eax, 0xffffffec
sub ecx, ebx
jb 0x76e588
lea edi, [esi + ecx]
mov eax, 0xffffffba
cmp edi, dword [esp + 0x38]
ja 0x76e588
cmp dword [esp + 0x24], ebx
je 0x76ec84
push ecx
push ebx
push esi
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
add esp, 0xc
jmp 0x76ec86
cmp edx, 0xff
je 0x76ec3b
cmp ebx, 2
jl 0x76e588
shl edx, 8
mov esi, dword [esp]
lea ebx, [esi + 2]
movzx ebp, byte [esi + 1]
add edx, ebp
add edx, 0xffff8000
mov dword [esp + 0x74], edx
jmp 0x76ea6a
cmp ebx, 3
mov esi, dword [esp + 0xc8]
jl 0x76e588
mov edx, dword [esp]
lea ebx, [edx + 3]
movzx edx, word [edx + 1]
add edx, 0x7f00
mov dword [esp + 0x74], edx
jmp 0x76ea71
mov ebx, ecx
add ecx, 0x544c
mov edx, dword [esp + 0xc4]
add edx, 3
push eax
push edx
push ebp
push ecx
call fcn.0076ba80
jmp 0x76e9a2
mov edi, esi
sub edi, ebp
mov eax, edi
jmp 0x76e588
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 8]
mov esi, ebp
jmp 0x76ebd2
mov dword [esp + 0x44], edx
movzx esi, byte [edx]
mov dword [esp + 0x3c], esi
cmp ebp, 2
je 0x76ecbc
cmp ebp, 3
jne 0x76ecc9
movzx eax, byte [edx + 2]
shl eax, 0x10
or esi, eax
movzx eax, byte [edx + 1]
shl eax, 8
add esi, eax
mov dword [esp + 0x3c], esi
movzx eax, byte [edx + ebp - 1]
test eax, eax
je case.default.0x76e5a2
bsr eax, eax
xor eax, 0x1f
shl ebp, 3
sub eax, ebp
add eax, 9
mov dword [esp + 0x40], eax
xor ebp, ebp
mov edi, esi
mov ecx, eax
shl edi, cl
mov ecx, dword [esp + 0x14]
movzx edx, word [ecx]
shr edi, 1
mov cl, 0x1f
sub cl, dl
shr edi, cl
mov ch, 0x1f
add eax, edx
mov dword [esp + 0x4c], edi
cmp eax, 0x20
jbe 0x76ed12
mov dword [esp + 4], ebp
jmp 0x76ed6d
cmp ebp, 4
jge 0x76ed4e
mov dword [esp + 4], ebp
mov edx, dword [esp]
lea edi, [edx + ebp]
mov edx, edi
sub edx, ebx
je 0x76f8db
mov esi, eax
shr esi, 3
sub edi, esi
cmp edi, ebx
cmovb esi, edx
mov ebp, dword [esp + 4]
sub ebp, esi
mov edi, dword [esp]
lea edx, [edi + ebp]
mov dword [esp + 0x44], edx
shl esi, 3
sub eax, esi
jmp 0x76ed62
mov edx, eax
shr edx, 3
sub ebp, edx
mov edi, dword [esp]
lea edx, [edi + ebp]
mov dword [esp + 0x44], edx
and eax, 7
mov dword [esp + 4], ebp
mov esi, dword [edi + ebp]
mov dword [esp + 0x3c], esi
mov edx, dword [esp + 0x14]
lea ebp, [edx + 4]
mov edi, esi
mov cl, al
shl edi, cl
mov dword [esp + 0x50], ebp
movzx edx, word [edx + 0x804]
shr edi, 1
sub ch, dl
mov cl, ch
shr edi, cl
add eax, edx
mov dword [esp + 0x54], edi
cmp eax, 0x20
ja 0x76edf2
mov edx, dword [esp + 4]
cmp edx, 4
jge 0x76edd3
mov ecx, dword [esp]
add edx, ecx
mov ecx, edx
sub ecx, ebx
je 0x76f8e8
mov esi, eax
shr esi, 3
sub edx, esi
cmp edx, ebx
cmovb esi, ecx
mov edx, dword [esp + 4]
sub edx, esi
mov edi, dword [esp]
lea ecx, [edi + edx]
mov dword [esp + 0x44], ecx
shl esi, 3
sub eax, esi
jmp 0x76ede7
mov ecx, eax
shr ecx, 3
sub edx, ecx
mov edi, dword [esp]
lea ecx, [edi + edx]
mov dword [esp + 0x44], ecx
and eax, 7
mov dword [esp + 4], edx
mov esi, dword [edi + edx]
mov dword [esp + 0x3c], esi
mov ebp, dword [esp + 8]
mov edi, dword [esp + 0x14]
lea ecx, [edi + 0x808]
mov dword [esp + 0x58], ecx
mov ecx, eax
shl esi, cl
movzx edx, word [edi + 0xc08]
shr esi, 1
mov cl, 0x1f
sub cl, dl
shr esi, cl
add eax, edx
mov dword [esp + 0x40], eax
mov dword [esp + 0x5c], esi
cmp eax, 0x20
ja 0x76ee75
mov ecx, dword [esp + 4]
mov edi, dword [esp]
add edi, ecx
cmp ecx, 4
jge 0x76ee59
mov ecx, edi
sub ecx, ebx
mov ebp, dword [esp + 8]
je 0x76ee75
mov esi, edi
mov edx, eax
shr edx, 3
sub esi, edx
cmp esi, ebx
cmovb edx, ecx
sub edi, edx
mov dword [esp + 0x44], edi
shl edx, 3
sub eax, edx
jmp 0x76ee67
mov ecx, eax
shr ecx, 3
sub edi, ecx
mov dword [esp + 0x44], edi
and eax, 7
mov dword [esp + 0x40], eax
mov eax, dword [edi]
mov dword [esp + 0x3c], eax
mov ebp, dword [esp + 8]
mov eax, dword [esp + 0x14]
add eax, 0xc0c
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x38]
lea ecx, [eax - 8]
mov dword [esp + 0x2c], ecx
add eax, 0xfffffff3
mov dword [esp + 0x98], eax
mov ecx, dword [esp + 0x18]
lea eax, [ecx + 8]
mov dword [esp + 0x90], eax
lea eax, [ecx + 0x10]
mov dword [esp + 0x7c], eax
lea eax, [ecx + 3]
mov dword [esp + 0x94], eax
lea eax, [ecx + 0x18]
mov dword [esp + 0x8c], eax
mov dword [esp], ebp
jmp 0x76eee6
push ebp
push eax
push dword [esp + 0xc]
call sub.api_ms_win_crt_private_l1_1_0.dll_memmove
add esp, 0xc
mov ebp, dword [esp + 8]
mov ecx, dword [esp + 0x34]
mov eax, ecx
cmp ecx, 0xffffff89
jae 0x76e588
mov eax, dword [esp]
mov dword [esp + 0x14], eax
mov ebx, dword [esp + 0x10]
mov edx, dword [esp + 0x40]
cmp edx, 0x20
ja 0x76f8c7
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x48]
lea eax, [edi + 4]
mov dword [esp + 0x34], eax
cmp esi, eax
mov dword [esp + 0x1c], edi
jae 0x76ef3d
mov eax, esi
sub eax, edi
je 0x76ef55
mov ecx, edx
shr ecx, 3
mov dword [esp], esi
mov esi, dword [esp]
sub esi, ecx
cmp esi, edi
mov esi, dword [esp]
cmovb ecx, eax
sub esi, ecx
mov dword [esp + 0x44], esi
shl ecx, 3
sub edx, ecx
jmp 0x76ef4b
mov eax, edx
shr eax, 3
sub esi, eax
mov dword [esp + 0x44], esi
and edx, 7
mov dword [esp + 0x40], edx
mov eax, dword [esi]
mov dword [esp + 0x3c], eax
sub dword [esp + 0x74], 1
jb 0x76f8d2
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0xa0], eax
mov dword [esp + 0x9c], ecx
movzx eax, byte [ecx + eax*4 + 2]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x70], eax
mov dword [esp + 0x84], ecx
movzx eax, byte [ecx + eax*4 + 2]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x28], ecx
movzx ecx, byte [ecx + eax*4 + 2]
test ecx, ecx
mov dword [esp + 0x80], eax
je 0x76f016
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x10], ecx
mov ecx, edx
shl edi, cl
shr edi, 1
mov cl, 0x1f
sub cl, byte [esp + 0x10]
shr edi, cl
mov ecx, dword [esp + 0x10]
add edx, ecx
mov dword [esp + 0x40], edx
cmp edx, 0x20
ja 0x76f032
cmp esi, dword [esp + 0x34]
jae 0x76f01a
mov eax, esi
sub eax, dword [esp + 0x1c]
je 0x76f078
mov ecx, edx
shr ecx, 3
mov dword [esp], esi
mov esi, dword [esp]
sub esi, ecx
cmp esi, dword [esp + 0x1c]
mov esi, dword [esp]
cmovb ecx, eax
sub esi, ecx
mov dword [esp + 0x44], esi
shl ecx, 3
sub edx, ecx
mov ecx, dword [esp + 0x10]
jmp 0x76f028
xor edi, edi
jmp 0x76f03e
mov eax, edx
shr eax, 3
sub esi, eax
mov dword [esp + 0x44], esi
and edx, 7
mov dword [esp + 0x40], edx
mov eax, dword [esi]
mov dword [esp + 0x3c], eax
add edi, dword [ecx*4 + 0x9fcbcc]
cmp edi, 2
ja 0x76f088
mov eax, 1
sub eax, edi
cmp edi, 2
cmove eax, edi
cmp dword [esp + 4], 0
cmovne eax, edi
test eax, eax
je 0x76f072
mov edi, dword [esp + eax*4 + 0x64]
cmp eax, 1
je 0x76f068
mov eax, dword [esp + 0x68]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x68], eax
jmp 0x76f097
mov edi, dword [esp + 0x64]
jmp 0x76f09b
mov ecx, dword [esp + 0x10]
add edi, dword [ecx*4 + 0x9fcbcc]
cmp edi, 2
jbe 0x76f03e
add edi, 0xfffffffe
movsd xmm0, qword [esp + 0x64]
movsd qword [esp + 0x68], xmm0
mov dword [esp + 0x64], edi
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx*4 + 0x9fc994]
mov dword [esp + 0xc], 0
cmp cl, 0x20
jb 0x76f0d9
mov dword [esp], esi
mov esi, dword [esp + 0x3c]
mov ecx, edx
shl esi, cl
shr esi, 1
mov cl, 0x1f
sub cl, al
shr esi, cl
mov dword [esp + 0xc], esi
mov esi, dword [esp]
add edx, eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x40], edx
jmp 0x76f0dd
mov dword [esp + 0x10], edx
mov ecx, dword [esp + 4]
mov edx, dword [ecx*4 + 0x9fc904]
add eax, edx
mov ecx, dword [esp + 0x30]
mov ecx, dword [ecx*4 + 0x9fcaf8]
mov dword [esp + 0x78], ecx
cmp eax, 0x19
mov dword [esp + 0x20], edx
jb 0x76f145
mov ecx, dword [esp + 0x10]
cmp ecx, 0x20
ja 0x76f163
cmp esi, dword [esp + 0x34]
jae 0x76f14b
mov eax, esi
mov edx, dword [esp + 0x1c]
sub eax, edx
je 0x76f163
mov ecx, dword [esp + 0x10]
shr ecx, 3
mov dword [esp], esi
mov esi, dword [esp]
sub esi, ecx
cmp esi, edx
mov esi, dword [esp]
cmovb ecx, eax
sub esi, ecx
mov dword [esp + 0x44], esi
shl ecx, 3
sub dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x10]
jmp 0x76f159
mov ecx, dword [esp + 0x10]
jmp 0x76f163
mov eax, ecx
shr eax, 3
sub esi, eax
mov dword [esp + 0x44], esi
and ecx, 7
mov dword [esp + 0x40], ecx
mov eax, dword [esi]
mov dword [esp + 0x3c], eax
mov edx, dword [esp + 4]
mov eax, dword [edx*4 + 0x9fca68]
mov dword [esp + 0x88], eax
mov dword [esp + 0x30], 0
cmp dl, 0x10
jb 0x76f1aa
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x10]
shl edx, cl
shr edx, 1
mov cl, 0x1f
mov eax, dword [esp + 0x20]
sub cl, al
shr edx, cl
mov dword [esp + 0x30], edx
mov ecx, dword [esp + 0x10]
add ecx, eax
mov dword [esp + 0x40], ecx
cmp ecx, 0x20
mov dword [esp + 0x20], edi
jbe 0x76f1b8
mov dword [esp], esi
jmp 0x76f202
cmp esi, dword [esp + 0x34]
jae 0x76f1e7
mov eax, esi
mov ebp, dword [esp + 0x1c]
sub eax, ebp
je 0x76f1b3
mov edx, ecx
shr ecx, 3
mov edi, esi
sub esi, ecx
cmp esi, ebp
mov esi, edi
cmovb ecx, eax
sub esi, ecx
mov dword [esp + 0x44], esi
shl ecx, 3
sub edx, ecx
mov ecx, edx
jmp 0x76f1f5
mov eax, ecx
shr eax, 3
sub esi, eax
mov dword [esp + 0x44], esi
and ecx, 7
mov dword [esp + 0x40], ecx
mov dword [esp], esi
mov eax, dword [esi]
mov dword [esp + 0x3c], eax
mov edi, dword [esp + 0x3c]
mov eax, edi
mov edx, ecx
shl eax, cl
mov esi, dword [esp + 0xa0]
mov ebp, dword [esp + 0x9c]
movzx ecx, byte [ebp + esi*4 + 3]
mov dword [esp + 0x10], ecx
shr eax, 1
mov cl, 0x1f
sub cl, byte [esp + 0x10]
shr eax, cl
movzx ecx, word [ebp + esi*4]
add eax, ecx
add edx, dword [esp + 0x10]
mov dword [esp + 0x40], edx
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x70]
movzx esi, word [eax + ecx*4]
movzx eax, byte [eax + ecx*4 + 3]
mov ebp, edi
mov ecx, edx
shl ebp, cl
shr ebp, 1
mov cl, 0x1f
sub cl, al
shr ebp, cl
add ebp, esi
add edx, eax
mov dword [esp + 0x40], edx
mov dword [esp + 0x5c], ebp
cmp edx, 0x20
ja 0x76f2bd
mov esi, dword [esp]
cmp esi, dword [esp + 0x34]
jae 0x76f2a5
mov eax, esi
sub eax, dword [esp + 0x1c]
je 0x76f2bd
mov ecx, edx
shr ecx, 3
mov esi, dword [esp]
sub esi, ecx
cmp esi, dword [esp + 0x1c]
mov esi, dword [esp]
cmovb ecx, eax
sub esi, ecx
mov dword [esp + 0x44], esi
shl ecx, 3
sub edx, ecx
jmp 0x76f2b3
mov eax, edx
shr eax, 3
sub esi, eax
mov dword [esp + 0x44], esi
and edx, 7
mov dword [esp + 0x40], edx
mov edi, dword [esi]
mov dword [esp + 0x3c], edi
mov eax, dword [esp + 0x80]
mov ebp, dword [esp + 0x28]
movzx esi, word [ebp + eax*4]
mov ecx, edx
shl edi, cl
movzx eax, byte [ebp + eax*4 + 3]
shr edi, 1
mov cl, 0x1f
sub cl, al
shr edi, cl
mov ecx, dword [esp + 0x78]
lea ebp, [ecx + 3]
add ebp, dword [esp + 0xc]
add edi, esi
mov ecx, dword [esp + 0x88]
mov esi, dword [esp + 0x30]
add ecx, esi
add edx, eax
mov dword [esp + 0x40], edx
mov dword [esp + 0x54], edi
lea edi, [ecx + ebp]
mov esi, dword [esp + 0x38]
sub esi, dword [esp + 0x14]
mov eax, 0xffffffba
cmp edi, esi
ja 0x76e588
mov dword [esp + 0x1c], ebp
mov esi, dword [esp + 0x24]
sub esi, ebx
cmp esi, ecx
jb case.default.0x76e5a2
mov edx, dword [esp + 0x14]
lea esi, [edx + ecx]
cmp esi, dword [esp + 0x2c]
mov ebp, dword [esp + 8]
ja 0x76e588
add edx, edi
mov dword [esp], edx
cmp edx, dword [esp + 0x38]
ja 0x76e588
mov dword [esp + 4], esi
lea eax, [ebx + ecx]
mov dword [esp + 0x10], eax
cmp eax, dword [esp + 0x24]
ja case.default.0x76e5a2
mov esi, dword [esp + 0x14]
add ecx, esi
lea eax, [esi + 8]
cmp ecx, eax
cmovbe ecx, eax
mov edx, esi
not edx
add edx, ecx
cmp edx, 0x18
mov dword [esp + 0x34], edi
jb 0x76f3c7
mov eax, esi
sub eax, ebx
cmp eax, 0x20
jb 0x76f3c7
shr edx, 3
inc edx
mov edi, edx
and edi, 0xfffffffc
lea eax, [esi + edi*8]
lea ecx, [ebx + edi*8]
xor ebp, ebp
movups xmm0, xmmword [ebx + ebp*8]
movups xmm1, xmmword [ebx + ebp*8 + 0x10]
movups xmmword [esi + ebp*8], xmm0
movups xmmword [esi + ebp*8 + 0x10], xmm1
add ebp, 4
cmp edi, ebp
jne 0x76f39c
cmp edx, edi
mov edi, dword [esp + 0x18]
mov ebp, dword [esp + 8]
mov esi, dword [esp + 4]
jne 0x76f3d3
jmp 0x76f3e5
mov eax, esi
mov ecx, ebx
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 4]
movsd xmm0, qword [ecx]
movsd qword [eax], xmm0
add eax, 8
add ecx, 8
cmp eax, esi
jb 0x76f3d3
mov eax, esi
mov edx, dword [esp + 0x20]
sub eax, edx
mov ecx, eax
mov ebx, esi
sub ebx, edi
cmp ebx, edx
mov eax, esi
mov esi, dword [esp + 0x2c]
jae 0x76f471
sub eax, dword [esp + 0xa8]
cmp eax, edx
jb case.default.0x76e5a2
mov edi, ecx
mov eax, dword [esp + 0x18]
sub edi, eax
mov edx, dword [esp + 0xa4]
lea eax, [edx + edi]
mov ebp, dword [esp + 0x1c]
lea ecx, [eax + ebp]
cmp ecx, edx
jbe 0x76eec5
mov dword [esp + 0x28], ebx
mov ecx, edi
neg ecx
push ecx
push eax
mov ebx, dword [esp + 0xc]
push ebx
call sub.api_ms_win_crt_private_l1_1_0.dll_memmove
add esp, 0xc
sub ebx, edi
mov dword [esp + 4], ebx
cmp ebx, esi
ja 0x76f696
add ebp, edi
cmp ebp, 2
jbe 0x76f696
mov dword [esp + 0x1c], ebp
mov ecx, dword [esp + 0x18]
mov ebp, dword [esp + 8]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x28]
cmp edx, 7
mov dword [esp + 0x28], ebx
ja 0x76f4b2
mov ebx, ecx
movzx eax, byte [ecx]
mov edi, dword [esp + 4]
mov byte [edi], al
movzx eax, byte [ecx + 1]
mov byte [edi + 1], al
movzx eax, byte [ecx + 2]
mov byte [edi + 2], al
movzx eax, byte [ecx + 3]
mov byte [edi + 3], al
mov eax, dword [edx*4 + 0x9fcc40]
mov ecx, dword [ecx + eax]
add eax, ebx
mov dword [edi + 4], ecx
sub eax, dword [edx*4 + 0x9fcc60]
jmp 0x76f4c0
mov eax, ecx
movsd xmm0, qword [ecx]
mov edi, dword [esp + 4]
movsd qword [edi], xmm0
add edi, 8
mov dword [esp + 0x70], eax
lea ebx, [eax + 8]
mov eax, dword [esp]
cmp eax, dword [esp + 0x98]
jbe 0x76f617
cmp edi, esi
jae 0x76f5c1
mov eax, dword [esp + 0x28]
cmp edx, eax
cmova eax, edx
mov ecx, dword [esp + 0x7c]
lea edx, [ecx + eax]
mov ecx, eax
cmp esi, edx
cmova edx, esi
mov eax, dword [esp + 0x18]
mov dword [esp + 0x84], ecx
add eax, ecx
sub edx, eax
add edx, 0xfffffff7
mov ecx, edi
mov eax, ebx
mov dword [esp + 0x1c], edx
cmp edx, 0x18
jb 0x76f5a3
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x28]
cmp eax, esi
cmova esi, eax
add esi, dword [esp + 0x18]
sub esi, dword [esp + 0x70]
mov ecx, edi
mov eax, ebx
cmp esi, 0x20
mov esi, dword [esp + 0x2c]
jb 0x76f5a3
mov eax, dword [esp + 0x1c]
shr eax, 3
inc eax
mov dword [esp + 0x1c], eax
and eax, 0xfffffffc
lea ecx, [edi + eax*8]
mov dword [esp + 4], eax
lea eax, [ebx + eax*8]
mov esi, dword [esp + 0x8c]
mov ebp, dword [esp + 0x14]
add esi, ebp
mov edx, dword [esp + 0x84]
sub edx, ebp
add edx, esi
xor esi, esi
mov ebp, dword [esp + 0x70]
movups xmm0, xmmword [ebp + esi*8 + 8]
movups xmm1, xmmword [ebp + esi*8 + 0x18]
movups xmmword [edx + esi*8 - 0x10], xmm0
movups xmmword [edx + esi*8], xmm1
add esi, 4
cmp dword [esp + 4], esi
jne 0x76f575
mov edx, dword [esp + 4]
cmp dword [esp + 0x1c], edx
mov ebp, dword [esp + 8]
mov esi, dword [esp + 0x2c]
je 0x76f5b5
movsd xmm0, qword [eax]
movsd qword [ecx], xmm0
add ecx, 8
add eax, 8
cmp ecx, esi
jb 0x76f5a3
mov eax, esi
sub eax, edi
add ebx, eax
mov edi, esi
mov edx, dword [esp + 0x20]
cmp edi, dword [esp]
jae 0x76eed7
mov esi, dword [esp + 0xc]
add esi, dword [esp + 0x30]
add esi, dword [esp + 0x78]
add esi, dword [esp + 0x88]
add esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
cmp edx, ecx
mov eax, ecx
cmova eax, edx
add eax, dword [esp + 0x90]
cmp dword [esp + 0x2c], eax
cmova eax, dword [esp + 0x2c]
sub esi, eax
add esi, 3
mov dword [esp + 0xc], esi
cmp esi, 8
jae 0x76f794
mov eax, edi
mov esi, ebx
jmp 0x76f87d
mov esi, dword [esp + 0xc]
add esi, dword [esp + 0x94]
add esi, dword [esp + 0x78]
mov eax, dword [esp + 0x28]
cmp edx, eax
mov ecx, eax
cmovb ecx, edx
cmova eax, edx
add ecx, esi
add ecx, eax
sub ecx, edx
mov esi, dword [esp + 0x7c]
add esi, eax
cmp ecx, esi
cmovbe ecx, esi
mov esi, dword [esp + 0x18]
mov dword [esp + 0xc], eax
add esi, eax
sub ecx, esi
add ecx, 0xfffffff7
cmp ecx, 0x18
jb 0x76f677
mov eax, dword [esp + 0x28]
cmp edx, eax
cmova eax, edx
mov edx, dword [esp + 0x18]
add eax, edx
mov esi, dword [esp + 0x70]
sub eax, esi
cmp eax, 0x20
jae 0x76f7bd
mov eax, dword [esp + 4]
add eax, dword [esp + 0x1c]
movsd xmm0, qword [ebx]
movsd qword [edi], xmm0
add edi, 8
add ebx, 8
cmp edi, eax
jb 0x76f67f
jmp 0x76eed7
mov eax, dword [esp + 4]
cmp eax, dword [esp]
mov ebp, dword [esp + 8]
mov eax, dword [esp + 0x20]
jae 0x76eed7
mov ecx, dword [esp + 0xc]
sub ecx, dword [esp + 0x18]
add ecx, dword [esp + 0x30]
add ecx, dword [esp + 0x78]
add ecx, dword [esp + 0x88]
add ecx, dword [esp + 0x14]
sub ecx, eax
add ecx, 3
mov dword [esp + 0xc], ecx
cmp ecx, 8
jb 0x76f88e
cmp dword [esp + 0x20], 0x20
jb 0x76f88e
xor eax, eax
mov edi, 0
cmp dword [esp + 0xc], 0x20
jb 0x76f743
mov edi, dword [esp + 0xc]
and edi, 0xffffffe0
mov ecx, dword [esp + 0x7c]
mov esi, dword [esp + 0x14]
lea edx, [esi + ecx]
mov ecx, dword [esp + 0x20]
sub ecx, esi
add ecx, edx
xor edx, edx
mov esi, dword [esp + 0x18]
movups xmm0, xmmword [esi + edx]
movups xmm1, xmmword [esi + edx + 0x10]
movups xmmword [ecx + edx - 0x10], xmm0
movups xmmword [ecx + edx], xmm1
add edx, 0x20
cmp edi, edx
jne 0x76f711
cmp dword [esp + 0xc], edi
mov ebp, dword [esp + 8]
je 0x76eed7
test byte [esp + 0xc], 0x18
je 0x76f8b4
mov edx, dword [esp + 0xc]
and edx, 0xfffffff8
add dword [esp + 4], edx
mov esi, dword [esp + 0x18]
lea ecx, [esi + edx]
mov ebx, dword [esp + 0x20]
add ebx, edi
mov ebp, dword [esp + 0x14]
sub ebx, ebp
add ebp, esi
add ebp, ebx
mov ebx, edx
sub ebx, edi
add esi, edi
movsd xmm0, qword [esi + eax]
movsd qword [ebp + eax], xmm0
add eax, 8
cmp ebx, eax
jne 0x76f76b
cmp dword [esp + 0xc], edx
mov ebp, dword [esp + 8]
mov edx, dword [esp + 4]
jne 0x76f89a
jmp 0x76eed7
cmp edx, ecx
cmova ecx, edx
add ecx, dword [esp + 0x90]
mov eax, dword [esp + 0x2c]
cmp eax, ecx
cmova ecx, eax
sub ecx, ebx
cmp ecx, 0x20
jae 0x76f811
mov eax, edi
mov esi, ebx
mov ebp, dword [esp + 8]
jmp 0x76f87d
shr ecx, 3
inc ecx
mov edx, ecx
and edx, 0xfffffffc
lea edi, [edi + edx*8]
lea ebx, [ebx + edx*8]
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
sub eax, ebp
add ebp, dword [esp + 0x8c]
add ebp, eax
xor eax, eax
movups xmm0, xmmword [esi + eax*8 + 8]
movups xmm1, xmmword [esi + eax*8 + 0x18]
movups xmmword [ebp + eax*8 - 0x10], xmm0
movups xmmword [ebp + eax*8], xmm1
add eax, 4
cmp edx, eax
jne 0x76f7e1
cmp ecx, edx
mov ebp, dword [esp + 8]
mov eax, dword [esp + 4]
je 0x76eed7
jmp 0x76f67b
xor ecx, ecx
cmp dword [esp + 0xc], 0x20
jb 0x76f851
mov ecx, dword [esp + 0xc]
and ecx, 0xffffffe0
xor eax, eax
movups xmm0, xmmword [ebx + eax]
movups xmm1, xmmword [ebx + eax + 0x10]
movups xmmword [edi + eax], xmm0
movups xmmword [edi + eax + 0x10], xmm1
add eax, 0x20
cmp ecx, eax
jne 0x76f823
cmp dword [esp + 0xc], ecx
mov ebp, dword [esp + 8]
je 0x76eed7
test byte [esp + 0xc], 0x18
je 0x76f8ab
mov edx, dword [esp + 0xc]
and edx, 0xfffffff8
lea eax, [edi + edx]
lea esi, [ebx + edx]
movsd xmm0, qword [ebx + ecx]
movsd qword [edi + ecx], xmm0
add ecx, 8
cmp edx, ecx
jne 0x76f85e
cmp dword [esp + 0xc], edx
mov ebp, dword [esp + 8]
je 0x76eed7
movzx ecx, byte [esi]
inc esi
mov byte [eax], cl
inc eax
cmp eax, dword [esp]
jb 0x76f87d
jmp 0x76eed7
mov ecx, dword [esp + 0x18]
mov ebp, dword [esp + 8]
mov edx, dword [esp + 4]
movzx eax, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
cmp edx, dword [esp]
jb 0x76f89a
jmp 0x76eed7
add ebx, ecx
add edi, ecx
jmp 0x76f7b0
mov eax, dword [esp + 0x18]
lea ecx, [eax + edi]
mov edx, dword [esp + 4]
add edx, edi
mov ebp, dword [esp + 8]
jmp 0x76f89a
cmp dword [esp + 0x74], 0
jne case.default.0x76e5a2
mov esi, dword [esp + 0x14]
jmp 0x76ebd2
mov dword [esp + 4], 0
jmp 0x76ed6d
mov dword [esp + 4], 0
jmp 0x76edf2