Function at 0x6717bb33
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x4528
call fcn.671a3700
mov eax, dword [0x6753165c]
xor eax, esp
mov dword [esp + 0x4524], eax
and dword [esp + 0x34], 0
xor edx, edx
mov ecx, dword [esp + 0x4530]
inc edx
mov eax, dword [esp + 0x4540]
push ebx
push ebp
mov ebp, dword [esp + 0x4544]
xor ebx, ebx
and dword [esp + 0x10], ebx
mov dword [esp + 0x34], edx
or edx, 0xffffffff
push esi
mov esi, dword [esp + 0x4538]
push edi
mov edi, dword [esp + 0x4548]
mov dword [esp + 0x58], edx
mov dword [esp + 0x54], edx
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], edx
xor edx, edx
mov dword [esp + 0x34], esi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x60], edi
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x28], edx
mov dword [esp + 0x50], edx
mov dword [esp + 0x10], edx
test edi, edi
je 0x6717c8a6
test ebp, ebp
je 0x6717c8a6
mov dword [edi], 0x64
mov dword [ebp], edx
test esi, esi
jne 0x6717bbdd
mov dword [edi], 0x74
jmp 0x6717c8a6
test eax, eax
mov ebp, 0x6747a7c4
cmovne ebp, eax
mov eax, dword [esp + 0x4544]
mov edx, eax
or edx, 0x80000
and eax, 0x4000000
cmove edx, dword [esp + 0x4544]
mov dword [esp + 0x30], edx
test edx, 0x18000000
jne 0x6717c8a0
test dword [ebp + 0x24], 0xffffffc0
jne 0x6717c8a0
mov eax, edx
and eax, 0x2000000
mov dword [esp + 0x38], eax
je 0x6717bc49
test edx, 0x1976fef3
jne 0x6717bc3e
test dword [ebp + 0x24], 0xfffffff3
je 0x6717bc49
mov dword [edi], 0xc0
jmp 0x6717c8a6
cmp ecx, 0xffffffff
jne 0x6717bc5f
push esi
call fcn.6719f8cc
mov edx, dword [esp + 0x34]
pop ecx
mov ecx, eax
mov dword [esp + 0x14], ecx
cmp ecx, dword [ebp + 0x18]
jbe 0x6717bc6f
mov dword [edi], 0xbc
jmp 0x6717c8a6
cmp dword [ebp + 0x14], ebx
mov edi, 0x674951c8
push 0xa
cmovne edi, dword [ebp + 0x14]
mov dword [esp + 0x30], edi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x84], esi
lea eax, [edi + 0x100]
mov dword [esp + 0x68], ebp
mov dword [esp + 0x70], eax
lea eax, [edi + 0x200]
mov dword [esp + 0x74], eax
lea eax, [edi + 0x340]
mov dword [esp + 0x78], eax
xor edi, edi
xor eax, eax
mov dword [esp + 0xdc], edi
mov dword [esp + 0xc4], eax
lea eax, [esi + ecx*2]
mov dword [esp + 0x88], eax
xor esi, esi
lea eax, [esp + 0x258]
mov dword [esp + 0x124], edi
mov dword [esp + 0xec], eax
xor eax, eax
mov dword [esp + 0xc0], eax
lea eax, [esp + 0x168]
mov dword [esp + 0xcc], eax
lea eax, [esp + 0x658]
mov dword [esp + 0xe4], eax
lea eax, [esp + 0x1658]
mov dword [esp + 0x80], eax
mov dword [esp + 0x7c], eax
pop eax
mov dword [esp + 0xb8], edi
mov ecx, eax
mov dword [esp + 0xd4], edi
or eax, 0xffffffff
mov dword [esp + 0x11c], edi
mov dword [esp + 0xdc], edi
mov dword [esp + 0x10c], edi
mov dword [esp + 0x88], edi
mov dword [esp + 0xc4], edi
mov dword [esp + 0x110], edi
mov dword [esp + 0xec], edi
mov dword [esp + 0xf0], edi
lea edi, [esp + 0x90]
mov dword [esp + 0xd0], edx
mov dword [esp + 0xcc], 0x14
mov dword [esp + 0x8c], 0xbb8
rep stosd dword es:[edi], eax
push 2
mov dword [esp + 0x44], 0x30
pop ecx
cmp dword [esp + 0x38], ebx
jne 0x6717bf71
mov eax, dword [esp + 0x14]
cmp eax, ecx
jb 0x6717bf71
mov dword [esp + 0x24], 0x39
mov edx, dword [esp + 0x34]
cmp word [edx + esi*2], 0x28
jne 0x6717bf6d
cmp word [edx + esi*2 + 2], 0x2a
jne 0x6717bf6d
and dword [esp + 0x1c], ebx
sub eax, esi
add eax, 0xfffffffe
mov edi, 0x67531548
mov dword [esp + 0x38], eax
xor eax, eax
mov dword [esp + 0x20], eax
movzx ecx, word [edi + 4]
cmp dword [esp + 0x38], ecx
jb 0x6717be0e
push ecx
push dword [edi]
lea eax, [edx + 4]
lea eax, [eax + esi*2]
push eax
call fcn.6719f915
add esp, 0xc
test eax, eax
je 0x6717be48
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x20]
inc dword [esp + 0x1c]
add eax, 0xc
add edi, 0xc
mov dword [esp + 0x20], eax
cmp eax, 0xfc
jb 0x6717bde6
push 2
pop ecx
cmp dword [esp + 0x1c], 0x15
jae 0x6717bf6d
mov eax, dword [esp + 0x14]
sub eax, esi
cmp eax, ecx
jb 0x6717bf6d
mov eax, dword [esp + 0x14]
jmp 0x6717bdb3
movzx eax, word [edi + 4]
movzx edx, word [edi + 6]
add eax, 2
add esi, eax
mov eax, edx
push 2
test ax, ax
je 0x6717bf3f
xor ecx, ecx
inc ecx
cmp ax, cx
pop ecx
je 0x6717bf2f
cmp ax, cx
je 0x6717bf1b
push 3
pop ecx
cmp ax, cx
je 0x6717bf07
jbe 0x6717be23
cmp edx, 6
ja 0x6717be23
mov edi, dword [esp + 0x34]
xor ecx, ecx
lea edi, [edi + esi*2]
movzx eax, word [edi]
cmp ax, word [esp + 0x40]
jb 0x6717bf5f
cmp ax, word [esp + 0x24]
ja 0x6717bf5f
mov edi, dword [esp + 0x34]
cmp ax, word [esp + 0x24]
ja 0x6717bed7
cmp ecx, 0x19999998
ja 0x6717bed7
imul ecx, ecx, 0xa
movzx eax, ax
add eax, 0xffffffd0
add ecx, eax
inc esi
movzx eax, word [edi + esi*2]
cmp ax, word [esp + 0x40]
jae 0x6717beb1
lea eax, [esi + esi]
inc esi
cmp word [eax + edi], 0x29
jne 0x6717bf4e
cmp edx, 4
jne 0x6717bef0
mov dword [esp + 0x54], ecx
jmp 0x6717be23
cmp edx, 5
jne 0x6717befe
mov dword [esp + 0x48], ecx
jmp 0x6717be23
mov dword [esp + 0x4c], ecx
jmp 0x6717be23
mov eax, dword [edi + 8]
or dword [esp + 0x18], 0x4000
mov dword [esp + 0x50], eax
jmp 0x6717be23
mov edx, dword [edi + 8]
or dword [esp + 0x18], 0x8000
mov dword [esp + 0x28], edx
jmp 0x6717be26
mov eax, dword [esp + 0x18]
or eax, dword [edi + 8]
mov dword [esp + 0x18], eax
jmp 0x6717be26
mov eax, dword [edi + 8]
or dword [esp + 0xd4], eax
jmp 0x6717be25
mov ecx, 0xa0
lea edi, [edi + esi*2]
mov dword [esp + 0x10], ecx
jmp 0x6717c175
mov ecx, 0xa0
mov dword [esp + 0x10], ecx
jmp 0x6717c175
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0xd0]
mov ecx, dword [esp + 0x34]
shr eax, 0x13
and eax, 1
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x14]
lea edi, [ecx + esi*2]
je 0x6717bfd3
test edx, 0x1000
je 0x6717bf9e
mov ecx, 0xae
jmp 0x6717bf64
test edx, 0x40000000
jne 0x6717bfc6
push dword [esp + 0x5c]
push eax
push ecx
call fcn.671a1f24
mov ecx, eax
add esp, 0xc
mov dword [esp + 0x10], ecx
test ecx, ecx
jne 0x6717c181
mov edx, dword [esp + 0x30]
test byte [ebp + 0x24], 1
je 0x6717bfd3
mov ecx, 0xbf
jmp 0x6717bf64
mov eax, dword [esp + 0xd0]
mov ecx, 0x20800
and eax, ecx
cmp eax, ecx
jne 0x6717bfef
mov ecx, 0xaf
jmp 0x6717bf64
cmp dword [esp + 0x50], ebx
jne 0x6717bffd
movzx eax, word [ebp + 0x1c]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x6717c00d
movzx eax, word [ebp + 0x1e]
mov dword [esp + 0x28], eax
and dword [esp + 0xf4], ebx
sub eax, 1
je 0x6717c08a
sub eax, 1
je 0x6717c086
sub eax, 1
je 0x6717c063
sub eax, 1
je 0x6717c057
sub eax, 1
je 0x6717c04a
sub eax, 1
je 0x6717c03c
mov ecx, 0x9c
jmp 0x6717bf64
xor eax, eax
inc eax
mov dword [esp + 0xf8], eax
xor eax, eax
jmp 0x6717c097
mov dword [esp + 0xf4], 2
jmp 0x6717c09f
xor eax, eax
inc eax
mov dword [esp + 0xf4], eax
jmp 0x6717c09f
push 0xd
pop eax
push 0xa
mov word [esp + 0x108], ax
pop eax
mov dword [esp + 0xf8], 2
mov word [esp + 0x106], ax
jmp 0x6717c09f
push 0xa
jmp 0x6717c08c
push 0xd
xor eax, eax
inc eax
mov dword [esp + 0xfc], eax
pop eax
mov word [esp + 0x104], ax
mov eax, dword [esp + 0x14]
sub eax, esi
test byte [ebp + 0x24], 0xc
lea esi, [eax + 4]
cmove esi, eax
test dl, 4
je 0x6717c0ba
lea eax, [esi + 1]
imul esi, eax, 5
cmp esi, 0x400
jb 0x6717c0ee
push dword [ebp + 8]
lea eax, [esi*4 + 4]
push eax
call dword [ebp]
pop ecx
pop ecx
test eax, eax
jne 0x6717c0e5
mov eax, dword [esp + 0x60]
mov dword [eax], 0x79
jmp 0x6717c190
mov dword [esp + 0xe0], eax
jmp 0x6717c0f5
mov eax, dword [esp + 0xe0]
lea eax, [eax + esi*4]
add eax, 4
mov dword [esp + 0xe4], eax
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x48]
push eax
push dword [esp + 0xd8]
push edi
call fcn.67178e99
mov ecx, eax
add esp, 0x10
mov dword [esp + 0x10], ecx
test ecx, ecx
jne 0x6717c167
mov eax, dword [esp + 0xd8]
cmp eax, 0x100
jb 0x6717c1f7
push dword [ebp + 8]
lea eax, [eax*4 + 4]
push eax
call dword [ebp]
pop ecx
pop ecx
mov ecx, eax
mov dword [esp + 0xe8], ecx
test ecx, ecx
jne 0x6717c1ee
and dword [esp + 0xb8], ebx
push 0x79
pop ecx
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0xb8]
mov edi, dword [esp + 0x34]
lea edi, [edi + eax*2]
mov eax, dword [esp + 0x5c]
sub edi, dword [esp + 0x34]
sar edi, 1
mov dword [eax], edi
mov eax, dword [esp + 0x60]
push ebx
mov dword [eax], ecx
call fcn.6717bae2
pop ecx
xor ebx, ebx
lea eax, [esp + 0x654]
cmp dword [esp + 0xe0], eax
je 0x6717c1af
push dword [ebp + 8]
push dword [esp + 0xe4]
call dword [ebp + 4]
pop ecx
pop ecx
cmp dword [esp + 0xcc], 0x14
jbe 0x6717c1c8
push dword [ebp + 8]
push dword [esp + 0xcc]
call dword [ebp + 4]
pop ecx
pop ecx
lea eax, [esp + 0x254]
cmp dword [esp + 0xe8], eax
je 0x6717c1e7
push dword [ebp + 8]
push dword [esp + 0xec]
call dword [ebp + 4]
pop ecx
pop ecx
mov eax, ebx
jmp 0x6717c8a8
mov eax, dword [esp + 0xd8]
jmp 0x6717c1fe
mov ecx, dword [esp + 0xe8]
lea eax, [eax*4 + 4]
xor esi, esi
push eax
push esi
push ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
cmp dword [esp + 0x44], ebx
je 0x6717c23c
lea eax, [esp + 0x64]
push eax
push esi
push esi
push dword [esp + 0xec]
call fcn.6717475a
mov ecx, eax
add esp, 0x10
mov dword [esp + 0x10], ecx
test ecx, ecx
jne 0x6717c167
mov eax, dword [esp + 0x14]
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0xe0]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x1654]
mov dword [esp + 0x1c], eax
mov eax, 0x86
mov word [esp + 0x1654], ax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x68]
push eax
push esi
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x50]
push eax
push esi
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x44]
push eax
push dword [esp + 0xfc]
call fcn.671777fb
mov ecx, dword [esp + 0x40]
add esp, 0x30
test ecx, ecx
jne 0x6717c167
cmp dword [esp + 0x3c], 0x10000
jbe 0x6717c2ca
push 0x78
pop ecx
mov dword [esp + 0x10], ecx
jmp 0x6717c167
movzx eax, word [esp + 0xbe]
movzx ecx, word [esp + 0xbc]
push dword [ebp + 8]
imul ecx, eax
add ecx, dword [esp + 0x40]
lea eax, [ecx*2 + 0x70]
push eax
mov dword [esp + 0x28], eax
call dword [ebp]
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
jne 0x6717c2ff
push 0x79
jmp 0x6717c2c0
push 8
lea eax, [ebx + 0x68]
push esi
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [esp + 0x38]
mov esi, ebp
mov edi, ebx
push 0x20
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor esi, esi
mov dword [ebx + 0xc], eax
lea eax, [ebx + 0x14]
mov dword [ebx + 0x10], esi
push esi
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [esp + 0x38]
add esp, 0x18
mov dword [ebx + 0x34], eax
mov eax, dword [esp + 0x30]
mov dword [ebx + 0x3c], eax
mov dword [ebx + 0x38], 0x50435245
mov eax, dword [esp + 0xd0]
mov dword [ebx + 0x40], eax
mov eax, dword [ebp + 0x24]
mov dword [ebx + 0x44], eax
mov eax, dword [esp + 0xd4]
or eax, dword [esp + 0x18]
mov edx, dword [esp + 0x28]
or eax, 2
mov dword [ebx + 0x48], eax
mov eax, dword [esp + 0x54]
mov dword [ebx + 0x4c], eax
mov eax, dword [esp + 0x48]
mov dword [ebx + 0x50], eax
mov eax, dword [esp + 0x4c]
mov dword [ebx + 0x54], eax
mov eax, dword [esp + 0x50]
mov word [ebx + 0x60], ax
xor eax, eax
mov dword [ebx + 0x64], eax
mov dword [ebx + 0x68], eax
mov word [ebx + 0x62], dx
mov dword [ebx + 0x58], esi
mov dword [ebx + 0x5c], esi
mov ax, word [esp + 0xbe]
mov word [ebx + 0x6c], ax
movzx edx, ax
mov ax, word [esp + 0xbc]
mov word [ebx + 0x6e], ax
movzx edi, ax
xor eax, eax
imul edi, edx
mov dword [esp + 0xc0], eax
lea eax, [ebx + 0x70]
mov dword [esp + 0x88], eax
mov ax, word [esp + 0xbc]
mov dword [esp + 0xdc], esi
add edi, 0x38
mov dword [esp + 0x110], esi
mov dword [esp + 0x114], esi
mov dword [esp + 0x118], esi
mov dword [esp + 0xc4], esi
lea edi, [ebx + edi*2]
mov dword [esp + 0x28], edi
mov dword [esp + 0x7c], edi
test ax, ax
je 0x6717c449
xor ecx, ecx
cmp cx, ax
jae 0x6717c449
mov esi, dword [esp + 0xc8]
mov edi, ecx
add esi, 8
movzx eax, word [esi]
push edi
push dword [esi - 4]
push eax
push dword [esi - 8]
lea eax, [esp + 0x74]
push eax
call fcn.67174311
movzx eax, word [esp + 0xd0]
lea esi, [esi + 0xc]
add esp, 0x14
inc edi
cmp edi, eax
jb 0x6717c41b
mov edi, dword [esp + 0x28]
xor esi, esi
mov eax, dword [esp + 0xe0]
mov dword [esp + 0x20], eax
mov eax, 0x86
mov word [edi], ax
lea eax, [esp + 0x64]
push esi
push eax
push esi
lea eax, [esp + 0x50]
mov dword [esp + 0x28], edi
push eax
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x50]
push eax
push esi
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x44]
push eax
push dword [ebx + 0x40]
call fcn.671777fb
add esp, 0x30
test eax, eax
jns 0x6717c4a1
or dword [ebx + 0x48], 0x2000
mov ax, word [esp + 0xd8]
mov word [ebx + 0x68], ax
mov ax, word [esp + 0xec]
mov word [ebx + 0x6a], ax
mov ax, word [esp + 0x10c]
mov word [ebx + 0x64], ax
cmp dword [esp + 0x114], 0
je 0x6717c4da
or dword [ebx + 0x48], 0x800000
mov eax, esi
jmp 0x6717c4e6
mov eax, dword [esp + 0x44]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x18], eax
xor ecx, ecx
mov eax, dword [esp + 0x1c]
mov word [eax], cx
sub eax, edi
add eax, 2
sar eax, 1
cmp eax, dword [esp + 0x3c]
jbe 0x6717c507
push 0x7b
jmp 0x6717c2c0
sub eax, dword [esp + 0x3c]
add eax, eax
add dword [ebx + 0x34], eax
mov ecx, dword [esp + 0x10]
test ecx, ecx
jne 0x6717c167
cmp dword [esp + 0x11c], ecx
je 0x6717c61f
push 8
mov dword [esp + 0x20], esi
pop esi
push dword [esp + 0x24]
push edi
call fcn.67177eda
mov dword [esp + 0x50], eax
pop ecx
pop ecx
test eax, eax
je 0x6717c61f
movzx ecx, word [eax + 2]
mov dword [esp + 0x2c], ecx
test ecx, ecx
jne 0x6717c55b
mov eax, edi
jmp 0x6717c5e1
and dword [esp + 0x20], 0
mov eax, esi
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x4c], edi
test edx, edx
je 0x6717c5a3
cmp ecx, dword [esp + eax*8 + 0x128]
je 0x6717c598
jle 0x6717c588
mov edi, dword [esp + eax*8 + 0x124]
mov dword [esp + 0x4c], edi
mov edi, dword [esp + 0x28]
inc dword [esp + 0x20]
inc eax
and eax, 7
cmp dword [esp + 0x20], edx
jb 0x6717c56e
jmp 0x6717c5a3
mov eax, dword [esp + eax*8 + 0x124]
test eax, eax
jne 0x6717c5e1
push ecx
push dword [esp + 0x28]
push dword [esp + 0x54]
call fcn.671a0af9
add esp, 0xc
test eax, eax
je 0x6717c60e
sub esi, 1
push 7
pop ecx
cmovs esi, ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + esi*8 + 0x128], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + esi*8 + 0x124], eax
cmp ecx, 8
jae 0x6717c5e1
inc ecx
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x48]
sub eax, edi
push dword [esp + 0x24]
sar eax, 1
mov word [ecx + 2], ax
lea eax, [ecx + 4]
push eax
call fcn.67177eda
mov dword [esp + 0x50], eax
pop ecx
pop ecx
test eax, eax
jne 0x6717c548
mov ecx, dword [esp + 0x10]
jmp 0x6717c617
mov ecx, 0x99
mov dword [esp + 0x10], ecx
test ecx, ecx
jne 0x6717c167
test dword [ebx + 0x40], 0x4000
jne 0x6717c654
lea eax, [esp + 0x64]
push eax
push dword [esp + 0x28]
push edi
call fcn.6719f94c
mov ecx, dword [esp + 0x1c]
add esp, 0xc
test eax, eax
mov edx, 0xb4
cmovne ecx, edx
mov dword [esp + 0x10], ecx
test ecx, ecx
jne 0x6717c167
mov eax, dword [ebx + 0x40]
mov esi, eax
test eax, eax
js 0x6717c67d
xor ecx, ecx
lea eax, [esp + 0x64]
push ecx
push ecx
push eax
push ecx
push edi
call fcn.67178ad3
add esp, 0x14
test eax, eax
je 0x6717c67d
or esi, 0x80000000
mov dword [ebx + 0x40], esi
test esi, 0x10000
jne 0x6717c190
xor edi, edi
cmp dword [esp + 0x14], edi
jge 0x6717c6e4
push edi
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x30]
call fcn.67177cde
mov esi, eax
add esp, 0xc
mov eax, dword [esp + 0x14]
test eax, eax
jns 0x6717c6e8
xor ecx, ecx
cmp dword [ebx + 0x40], ecx
jl 0x6717c781
push ecx
push ecx
lea eax, [esp + 0x6c]
push eax
push ecx
push dword [esp + 0x38]
call fcn.67178c5f
add esp, 0x14
test eax, eax
mov eax, dword [esp + 0x14]
je 0x6717c781
or dword [ebx + 0x48], 0x200
jmp 0x6717c781
mov esi, dword [esp + 0x38]
mov ecx, dword [ebx + 0x48]
mov eax, ecx
or eax, 0x10
mov dword [ebx + 0x58], esi
mov dword [ebx + 0x48], eax
xor eax, eax
mov dword [esp + 0x2c], ecx
lea edi, [eax + 1]
mov eax, dword [esp + 0x14]
test al, 1
je 0x6717c781
cmp esi, 0x80
jb 0x6717c769
cmp dword [esp + 0x24], 0
jne 0x6717c71e
cmp esi, 0xff
jb 0x6717c769
cmp esi, 0x10ffff
ja 0x6717c781
mov eax, esi
cdq
and edx, 0x7f
add eax, edx
sar eax, 7
movzx ecx, word [eax*2 + 0x6747fac0]
mov eax, esi
shl ecx, 7
and eax, 0x8000007f
jns 0x6717c74a
dec eax
or eax, 0xffffff80
inc eax
add ecx, eax
movzx eax, word [ecx*2 + 0x67483ec0]
imul eax, eax, 0xc
mov eax, dword [eax + 0x6747cdcc]
add eax, esi
cmp eax, esi
je 0x6717c77d
mov ecx, dword [esp + 0x2c]
jmp 0x6717c775
mov eax, dword [esp + 0x6c]
movzx eax, byte [esi + eax]
cmp eax, esi
je 0x6717c77d
push 0x30
pop eax
or ecx, eax
mov dword [ebx + 0x48], ecx
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x58]
test edx, edx
js 0x6717c868
test dword [ebx + 0x40], 0x80000
je 0x6717c7bc
test eax, eax
js 0x6717c7bc
and esi, 0xf800
cmp esi, 0xd800
mov esi, dword [esp + 0x18]
jne 0x6717c7c0
mov eax, esi
and eax, 0xfc00
cmp eax, 0xdc00
je 0x6717c7c1
jmp 0x6717c7c0
mov esi, dword [esp + 0x18]
inc edi
cmp dword [ebx + 0x40], 0
jge 0x6717c7d0
test dl, 2
je 0x6717c868
mov ecx, dword [ebx + 0x48]
mov eax, ecx
or eax, 0x80
mov dword [ebx + 0x5c], esi
mov dword [esp + 0x2c], ecx
mov dword [ebx + 0x48], eax
test dl, 1
je 0x6717c868
cmp esi, 0x80
jb 0x6717c853
cmp dword [esp + 0x24], 0
jne 0x6717c800
cmp esi, 0xff
jb 0x6717c853
cmp esi, 0x10ffff
ja 0x6717c868
mov eax, esi
cdq
and edx, 0x7f
add eax, edx
sar eax, 7
movzx ecx, word [eax*2 + 0x6747fac0]
mov eax, esi
shl ecx, 7
and eax, 0x8000007f
jns 0x6717c82c
dec eax
or eax, 0xffffff80
inc eax
add ecx, eax
movzx eax, word [ecx*2 + 0x67483ec0]
imul eax, eax, 0xc
mov eax, dword [eax + 0x6747cdcc]
add eax, esi
cmp eax, esi
je 0x6717c868
mov eax, dword [esp + 0x2c]
or eax, 0x180
mov dword [ebx + 0x48], eax
jmp 0x6717c868
mov eax, dword [esp + 0x6c]
movzx eax, byte [esi + eax]
cmp eax, esi
je 0x6717c868
or ecx, 0x180
mov dword [ebx + 0x48], ecx
push ebx
call fcn.671a0e46
pop ecx
test eax, eax
je 0x6717c87d
mov ecx, 0x83
jmp 0x6717c2c1
test byte [ebx + 0x48], 0x40
je 0x6717c88b
push 1
test edi, edi
pop eax
cmove edi, eax
movzx eax, word [ebx + 0x66]
cmp eax, edi
jae 0x6717c190
mov word [ebx + 0x66], di
jmp 0x6717c190
mov dword [edi], 0x75
xor eax, eax
mov ecx, dword [esp + 0x4534]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.671a2acb
add esp, 0x4528
ret