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

Disassembly:
mov edx, dword [esp + 0x10]
sub esp, 0x90
cmp edx, 0xa
jae 0x53718b
mov eax, 0xffffffec
add esp, 0x90
ret
mov eax, dword [esp + 0x98]
cmp eax, 6
jb 0x53717f
mov ecx, dword [esp + 0xa4]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0xa4]
mov ebp, edx
add eax, edi
mov dword [esp + 0x10], 1
mov dword [esp + 0x94], eax
lea eax, [ecx + 4]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xac]
movzx ebx, word [eax + 2]
movzx esi, word [eax]
mov dword [esp + 0x88], ebx
movzx ebx, word [eax + 4]
add eax, 6
mov dword [esp + 0x14], eax
sub ebp, ebx
sub ebp, dword [esp + 0x88]
add eax, esi
mov dword [esp + 0x98], eax
sub ebp, esi
add eax, dword [esp + 0x88]
sub ebp, 6
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0xa8]
add eax, 3
mov dword [esp + 0x8c], ebx
shr eax, 2
mov dword [esp + 0x1c], esi
lea ebx, [eax + edi]
lea esi, [ebx + eax]
mov dword [esp + 0x84], ebx
add eax, esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x2c], ebx
movzx ebx, byte [ecx + 2]
mov dword [esp + 0x28], esi
mov esi, eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0x90], esi
mov dword [esp + 0x30], ebx
cmp ebp, edx
ja 0x53761e
cmp eax, dword [esp + 0x94]
ja 0x53761e
push dword [esp + 0x1c]
lea eax, [esp + 0x4c]
push dword [esp + 0x18]
push eax
call fcn.00536990
add esp, 0xc
cmp eax, 0xffffff88
ja 0x538255
push dword [esp + 0x88]
lea eax, [esp + 0x74]
push dword [esp + 0x9c]
push eax
call fcn.00536990
add esp, 0xc
cmp eax, 0xffffff88
ja 0x538255
mov edi, dword [esp + 0x8c]
lea eax, [esp + 0x5c]
push edi
push dword [esp + 0x24]
push eax
call fcn.00536990
add esp, 0xc
cmp eax, 0xffffff88
ja 0x538255
mov eax, dword [esp + 0x20]
add eax, edi
push ebp
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.00536990
add esp, 0xc
cmp eax, 0xffffff88
ja 0x538255
mov edx, dword [esp + 0x94]
mov ecx, esi
mov eax, edx
sub eax, ecx
cmp eax, 4
jb 0x5375cd
lea eax, [edx - 3]
cmp ecx, eax
sbb eax, eax
neg eax
test al, 1
je 0x5375cd
mov ecx, dword [esp + 0x4c]
neg ebx
mov eax, dword [esp + 0x74]
and ebx, 0x1f
mov ebp, dword [esp + 0x60]
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x14], eax
and ecx, 0x1f
mov edx, dword [esp + 0x48]
shl edx, cl
mov ecx, dword [esp + 0x20]
shr edx, cl
mov ecx, dword [esp + 0x18]
movzx eax, byte [ecx + edx*2]
add dword [esp + 0x1c], eax
movzx eax, byte [ecx + edx*2 + 1]
mov ecx, dword [esp + 0xa4]
mov edx, dword [esp + 0x70]
mov byte [ecx], al
inc ecx
mov dword [esp + 0xa4], ecx
mov ecx, dword [esp + 0x14]
and ecx, 0x1f
shl edx, cl
mov ecx, dword [esp + 0x20]
shr edx, cl
mov ecx, dword [esp + 0x18]
movzx eax, byte [ecx + edx*2]
add dword [esp + 0x14], eax
movzx eax, byte [ecx + edx*2 + 1]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x5c]
mov byte [ecx], al
inc ecx
mov dword [esp + 0x2c], ecx
mov ecx, ebp
and ecx, 0x1f
shl edx, cl
mov ecx, dword [esp + 0x20]
shr edx, cl
mov ecx, dword [esp + 0x18]
movzx eax, byte [ecx + edx*2]
add ebp, eax
movzx eax, byte [ecx + edx*2 + 1]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x34]
mov byte [ecx], al
inc ecx
mov dword [esp + 0x28], ecx
mov ecx, ebx
and ecx, 0x1f
shl edx, cl
mov ecx, dword [esp + 0x20]
shr edx, cl
mov ecx, dword [esp + 0x18]
movzx eax, byte [ecx + edx*2]
add ebx, eax
movzx eax, byte [ecx + edx*2 + 1]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x48]
and ecx, 0x1f
shl edx, cl
mov ecx, dword [esp + 0x20]
shr edx, cl
mov ecx, dword [esp + 0x1c]
mov byte [esi], al
mov eax, dword [esp + 0x18]
movzx eax, byte [eax + edx*2]
add ecx, eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0xa4]
movzx eax, byte [eax + edx*2 + 1]
mov edx, dword [esp + 0x70]
mov byte [ecx], al
inc ecx
mov eax, dword [esp + 0x18]
mov dword [esp + 0xa4], ecx
mov ecx, dword [esp + 0x14]
and ecx, 0x1f
shl edx, cl
mov ecx, dword [esp + 0x20]
shr edx, cl
mov ecx, dword [esp + 0x14]
movzx eax, byte [eax + edx*2]
add ecx, eax
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x18]
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0x2c]
movzx eax, byte [eax + edx*2 + 1]
mov edx, dword [esp + 0x5c]
mov byte [ecx], al
inc ecx
mov dword [esp + 0x2c], ecx
mov ecx, ebp
and ecx, 0x1f
shl edx, cl
mov ecx, dword [esp + 0x20]
shr edx, cl
mov ecx, dword [esp + 0x18]
movzx eax, byte [ecx + edx*2]
add ebp, eax
movzx eax, byte [ecx + edx*2 + 1]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x60], ebp
mov byte [ecx], al
inc ecx
mov dword [esp + 0x28], ecx
mov ecx, ebx
and ecx, 0x1f
shl edx, cl
mov ecx, dword [esp + 0x20]
shr edx, cl
mov ecx, dword [esp + 0x18]
movzx eax, byte [ecx + edx*2]
add ebx, eax
movzx eax, byte [ecx + edx*2 + 1]
mov edx, dword [esp + 0x50]
mov byte [esi + 1], al
add esi, 2
mov dword [esp + 0x38], ebx
cmp edx, dword [esp + 0x58]
jae 0x5374ca
mov ecx, 3
jmp 0x5374ec
mov ecx, dword [esp + 0x1c]
mov eax, ecx
shr eax, 3
and ecx, 7
sub edx, eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x4c], ecx
xor ecx, ecx
mov dword [esp + 0x50], edx
mov eax, dword [edx]
mov dword [esp + 0x48], eax
mov edx, dword [esp + 0x10]
xor eax, eax
test ecx, ecx
mov ecx, dword [esp + 0x78]
sete al
and edx, eax
mov dword [esp + 0x10], edx
cmp ecx, dword [esp + 0x80]
jae 0x537511
mov ecx, 3
jmp 0x537537
mov edx, dword [esp + 0x14]
mov eax, edx
shr eax, 3
and edx, 7
sub ecx, eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x78], ecx
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0x10]
mov eax, dword [ecx]
xor ecx, ecx
mov dword [esp + 0x70], eax
xor eax, eax
test ecx, ecx
mov ecx, dword [esp + 0x64]
sete al
and edx, eax
cmp ecx, dword [esp + 0x6c]
jae 0x537551
mov ecx, 3
jmp 0x53756b
mov eax, ebp
and ebp, 7
shr eax, 3
sub ecx, eax
mov dword [esp + 0x60], ebp
mov dword [esp + 0x64], ecx
mov eax, dword [ecx]
xor ecx, ecx
mov dword [esp + 0x5c], eax
xor eax, eax
test ecx, ecx
sete al
and edx, eax
cmp edi, dword [esp + 0x44]
jae 0x537581
mov ecx, 3
jmp 0x537597
mov eax, ebx
and ebx, 7
shr eax, 3
sub edi, eax
mov dword [esp + 0x38], ebx
xor ecx, ecx
mov eax, dword [edi]
mov dword [esp + 0x34], eax
xor eax, eax
test ecx, ecx
mov ecx, dword [esp + 0x1c]
sete al
and edx, eax
mov eax, dword [esp + 0x94]
add eax, 0xfffffffd
mov dword [esp + 0x10], edx
cmp esi, eax
sbb eax, eax
neg eax
test edx, eax
jne 0x537333
mov dword [esp + 0x3c], edi
mov dword [esp + 0x90], esi
jmp 0x5375e5
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x74]
mov ebp, dword [esp + 0x60]
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0xa4]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x88], ebp
cmp edx, dword [esp + 0x84]
ja 0x53761e
mov eax, dword [esp + 0x24]
cmp dword [esp + 0x2c], eax
ja 0x53761e
mov eax, dword [esp + 0x9c]
cmp dword [esp + 0x28], eax
mov eax, dword [esp + 0x84]
jbe 0x53762e
pop edi
pop esi
pop ebp
mov eax, 0xffffffec
pop ebx
add esp, 0x90
ret
sub eax, edx
cmp eax, 3
mov eax, dword [esp + 0x54]
jle 0x537778
nop dword [eax]
cmp ecx, 0x20
jbe 0x53765c
mov edx, 0x57b868
mov dword [esp + 0x10], 3
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0x48]
jmp 0x5376ce
mov edx, dword [esp + 0x50]
cmp edx, dword [esp + 0x58]
jb 0x53767a
mov eax, ecx
mov dword [esp + 0x10], 0
shr eax, 3
sub edx, eax
and ecx, 7
jmp 0x5376bc
cmp edx, eax
jne 0x537690
mov edx, dword [esp + 0x48]
cmp ecx, 0x20
sbb eax, eax
add eax, 2
mov dword [esp + 0x10], eax
jmp 0x5376ce
mov edi, ecx
mov dword [esp + 0x10], 0
shr edi, 3
mov eax, edx
sub eax, edi
cmp eax, dword [esp + 0x54]
jae 0x5376b5
mov edi, edx
mov dword [esp + 0x10], 1
sub edi, dword [esp + 0x54]
imul eax, edi, 0xfffffff8
sub edx, edi
add ecx, eax
mov dword [esp + 0x50], edx
mov edx, dword [edx]
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x84]
add eax, 0xfffffffd
cmp dword [esp + 0xa4], eax
sbb ecx, ecx
xor eax, eax
neg ecx
cmp dword [esp + 0x10], eax
sete al
test eax, ecx
mov ecx, dword [esp + 0x1c]
je 0x5377dc
mov edi, dword [esp + 0x30]
and ecx, 0x1f
mov eax, dword [esp + 0x18]
neg edi
shl edx, cl
and edi, 0x1f
mov ecx, edi
shr edx, cl
mov ecx, dword [esp + 0x1c]
movzx eax, byte [eax + edx*2]
add ecx, eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x1c], ecx
and ecx, 0x1f
movzx eax, byte [eax + edx*2 + 1]
mov edx, dword [esp + 0xa4]
mov byte [edx], al
inc edx
mov dword [esp + 0xa4], edx
mov edx, dword [esp + 0x48]
shl edx, cl
mov ecx, edi
mov edi, dword [esp + 0x18]
shr edx, cl
mov ecx, dword [esp + 0x1c]
movzx eax, byte [edi + edx*2]
add ecx, eax
movzx eax, byte [edi + edx*2 + 1]
mov edx, dword [esp + 0xa4]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x4c], ecx
mov byte [edx], al
inc edx
mov eax, dword [esp + 0x54]
mov dword [esp + 0xa4], edx
jmp 0x537640
cmp ecx, 0x20
jbe 0x537788
mov edx, 0x57b868
mov dword [esp + 0x50], edx
jmp 0x5377e0
mov edx, dword [esp + 0x50]
cmp edx, dword [esp + 0x58]
jb 0x53779e
mov eax, ecx
shr eax, 3
sub edx, eax
and ecx, 7
jmp 0x5377ca
cmp edx, eax
je 0x5377e0
mov eax, ecx
shr eax, 3
mov dword [esp + 0x10], eax
mov eax, edx
sub eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x54]
jae 0x5377bf
mov eax, edx
sub eax, dword [esp + 0x54]
jmp 0x5377c3
mov eax, dword [esp + 0x10]
sub edx, eax
imul eax, eax, 0xfffffff8
add ecx, eax
mov eax, dword [edx]
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x50], edx
mov eax, dword [esp + 0x54]
mov edi, dword [esp + 0x50]
mov esi, dword [esp + 0x48]
mov edx, dword [esp + 0xa4]
mov ebp, dword [esp + 0x18]
mov ebx, dword [esp + 0x30]
cmp ecx, 0x20
jbe 0x53780b
mov edi, 0x57b868
mov dword [esp + 0x10], 3
jmp 0x537871
cmp edi, dword [esp + 0x58]
jb 0x537825
mov eax, ecx
mov dword [esp + 0x10], 0
shr eax, 3
sub edi, eax
and ecx, 7
jmp 0x537863
cmp edi, eax
jne 0x537837
cmp ecx, 0x20
sbb eax, eax
add eax, 2
mov dword [esp + 0x10], eax
jmp 0x537875
mov esi, ecx
mov dword [esp + 0x10], 0
shr esi, 3
mov eax, edi
sub eax, esi
cmp eax, dword [esp + 0x54]
jae 0x53785c
mov esi, edi
mov dword [esp + 0x10], 1
sub esi, dword [esp + 0x54]
imul eax, esi, 0xfffffff8
sub edi, esi
add ecx, eax
mov esi, dword [edi]
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x50], edi
cmp edx, dword [esp + 0x84]
sbb ecx, ecx
xor eax, eax
neg ecx
cmp dword [esp + 0x10], eax
sete al
test eax, ecx
je 0x5378d2
mov ecx, dword [esp + 0x1c]
mov edx, esi
and ecx, 0x1f
shl edx, cl
mov ecx, ebx
neg ecx
and ecx, 0x1f
shr edx, cl
mov ecx, dword [esp + 0x1c]
movzx eax, byte [ebp + edx*2]
add ecx, eax
mov al, byte [ebp + edx*2 + 1]
mov edx, dword [esp + 0xa4]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x4c], ecx
mov byte [edx], al
inc edx
mov eax, dword [esp + 0x54]
mov dword [esp + 0xa4], edx
jmp 0x5377f7
mov eax, dword [esp + 0x84]
xor esi, esi
sub eax, edx
mov dword [esp + 0x10], 0
cmp edx, dword [esp + 0x84]
cmova eax, esi
mov dword [esp + 0x8c], eax
test eax, eax
je 0x537952
mov edi, dword [esp + 0x1c]
mov eax, ebx
mov esi, dword [esp + 0x48]
neg eax
mov ebx, dword [esp + 0xa4]
and eax, 0x1f
mov dword [esp + 0x98], eax
mov ecx, edi
lea ebx, [ebx + 1]
and ecx, 0x1f
mov edx, esi
shl edx, cl
mov ecx, eax
shr edx, cl
movzx eax, byte [ebp + edx*2]
add edi, eax
mov al, byte [ebp + edx*2 + 1]
mov byte [ebx - 1], al
mov eax, dword [esp + 0x10]
inc eax
cmp eax, dword [esp + 0x8c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x98]
jb 0x537917
mov dword [esp + 0x4c], edi
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
sub eax, ecx
cmp eax, 3
mov eax, dword [esp + 0x7c]
jle 0x537abb
nop dword [eax]
mov edx, dword [esp + 0x14]
cmp edx, 0x20
jbe 0x537993
mov ecx, 0x57b868
mov dword [esp + 0x10], 3
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 0x2c]
jmp 0x537a23
mov edi, dword [esp + 0x78]
cmp edi, dword [esp + 0x80]
jb 0x5379be
mov eax, edx
mov dword [esp + 0x10], 0
shr eax, 3
sub edi, eax
and edx, 7
mov dword [esp + 0x78], edi
mov edi, dword [edi]
mov dword [esp + 0x70], edi
jmp 0x537a1b
cmp edi, eax
jne 0x5379d0
cmp edx, 0x20
sbb eax, eax
add eax, 2
mov dword [esp + 0x10], eax
jmp 0x537a23
mov eax, edx
mov dword [esp + 0x10], 0
shr eax, 3
mov dword [esp + 0x84], eax
mov eax, edi
sub eax, dword [esp + 0x84]
cmp eax, dword [esp + 0x7c]
jae 0x537a03
mov eax, edi
mov dword [esp + 0x10], 1
sub eax, dword [esp + 0x7c]
jmp 0x537a0a
mov eax, dword [esp + 0x84]
sub edi, eax
imul eax, eax, 0xfffffff8
mov dword [esp + 0x78], edi
add edx, eax
mov eax, dword [edi]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], edx
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x24]
add eax, 0xfffffffd
cmp ecx, eax
sbb ecx, ecx
xor eax, eax
neg ecx
cmp dword [esp + 0x10], eax
sete al
test eax, ecx
je 0x537b26
mov edi, dword [esp + 0x30]
mov ecx, edx
mov edx, dword [esp + 0x70]
and ecx, 0x1f
mov eax, dword [esp + 0x18]
neg edi
shl edx, cl
and edi, 0x1f
mov ecx, edi
shr edx, cl
mov ecx, dword [esp + 0x14]
movzx eax, byte [eax + edx*2]
add ecx, eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x14], ecx
and ecx, 0x1f
movzx eax, byte [eax + edx*2 + 1]
mov edx, dword [esp + 0x2c]
mov byte [edx], al
inc edx
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x70]
shl edx, cl
mov ecx, edi
mov edi, dword [esp + 0x18]
shr edx, cl
mov ecx, dword [esp + 0x14]
movzx eax, byte [edi + edx*2]
add ecx, eax
movzx eax, byte [edi + edx*2 + 1]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0x2c]
mov byte [ecx], al
inc ecx
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x2c], ecx
jmp 0x537970
mov edx, dword [esp + 0x14]
cmp edx, 0x20
jbe 0x537acf
mov ecx, 0x57b868
mov dword [esp + 0x78], ecx
jmp 0x537b2a
mov ecx, dword [esp + 0x78]
cmp ecx, dword [esp + 0x80]
jb 0x537ae8
mov eax, edx
shr eax, 3
sub ecx, eax
and edx, 7
jmp 0x537b14
cmp ecx, eax
je 0x537b2a
mov eax, edx
shr eax, 3
mov dword [esp + 0x10], eax
mov eax, ecx
sub eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x7c]
jae 0x537b09
mov eax, ecx
sub eax, dword [esp + 0x7c]
jmp 0x537b0d
mov eax, dword [esp + 0x10]
sub ecx, eax
imul eax, eax, 0xfffffff8
add edx, eax
mov eax, dword [ecx]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], edx
mov dword [esp + 0x14], edx
mov dword [esp + 0x78], ecx
mov eax, dword [esp + 0x7c]
mov edi, dword [esp + 0x78]
mov esi, dword [esp + 0x70]
mov ebp, dword [esp + 0x18]
mov ebx, dword [esp + 0x2c]
nop word [eax + eax]
cmp edx, 0x20
jbe 0x537b54
mov edi, 0x57b868
mov dword [esp + 0x10], 3
jmp 0x537bbd
cmp edi, dword [esp + 0x80]
jb 0x537b71
mov eax, edx
mov dword [esp + 0x10], 0
shr eax, 3
sub edi, eax
and edx, 7
jmp 0x537baf
cmp edi, eax
jne 0x537b83
cmp edx, 0x20
sbb eax, eax
add eax, 2
mov dword [esp + 0x10], eax
jmp 0x537bc1
mov esi, dword [esp + 0x7c]
mov ecx, edx
shr ecx, 3
mov eax, edi
sub eax, ecx
mov dword [esp + 0x10], 0
cmp eax, esi
jae 0x537ba8
mov ecx, edi
mov dword [esp + 0x10], 1
sub ecx, esi
imul eax, ecx, 0xfffffff8
sub edi, ecx
add edx, eax
mov esi, dword [edi]
mov dword [esp + 0x70], esi
mov dword [esp + 0x74], edx
mov dword [esp + 0x14], edx
mov dword [esp + 0x78], edi
cmp ebx, dword [esp + 0x24]
sbb ecx, ecx
xor eax, eax
neg ecx
cmp dword [esp + 0x10], eax
sete al
test eax, ecx
je 0x537c0f
mov ecx, edx
mov edx, esi
and ecx, 0x1f
shl edx, cl
mov ecx, dword [esp + 0x30]
neg ecx
and ecx, 0x1f
shr edx, cl
mov ecx, dword [esp + 0x14]
movzx eax, byte [ebp + edx*2]
add ecx, eax
mov al, byte [ebp + edx*2 + 1]
mov byte [ebx], al
mov edx, ecx
mov eax, dword [esp + 0x7c]
inc ebx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x74], ecx
jmp 0x537b40
mov eax, dword [esp + 0x24]
xor esi, esi
mov ebp, dword [esp + 0x88]
sub eax, ebx
cmp ebx, dword [esp + 0x24]
mov dword [esp + 0x2c], ebx
cmova eax, esi
mov dword [esp + 0x8c], eax
test eax, eax
je 0x537c95
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x70]
neg eax
mov ebx, dword [esp + 0x18]
and eax, 0x1f
mov ebp, dword [esp + 0x2c]
xor edi, edi
mov dword [esp + 0x98], eax
mov ecx, edx
lea ebp, [ebp + 1]
and ecx, 0x1f
mov edx, esi
shl edx, cl
inc edi
mov ecx, eax
shr edx, cl
mov ecx, dword [esp + 0x14]
movzx eax, byte [ebx + edx*2]
add ecx, eax
mov al, byte [ebx + edx*2 + 1]
mov edx, ecx
mov byte [ebp - 1], al
mov eax, dword [esp + 0x98]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x74], ecx
cmp edi, dword [esp + 0x8c]
jb 0x537c52
mov ebp, dword [esp + 0x88]
mov eax, dword [esp + 0x9c]
mov edx, dword [esp + 0x28]
sub eax, edx
cmp eax, 3
mov eax, dword [esp + 0x68]
jle 0x537da9
nop
cmp ebp, 0x20
jbe 0x537cc9
mov edx, dword [esp + 0x5c]
mov ecx, 0x57b868
mov dword [esp + 0x64], ecx
mov edi, 3
jmp 0x537d24
mov edx, dword [esp + 0x64]
cmp edx, dword [esp + 0x6c]
jb 0x537ce1
mov eax, ebp
and ebp, 7
shr eax, 3
sub edx, eax
xor edi, edi
jmp 0x537d16
cmp edx, eax
jne 0x537cf3
mov edx, dword [esp + 0x5c]
cmp ebp, 0x20
sbb edi, edi
add edi, 2
jmp 0x537d24
mov ecx, ebp
mov eax, edx
shr ecx, 3
xor edi, edi
sub eax, ecx
cmp eax, dword [esp + 0x68]
jae 0x537d0f
mov ecx, edx
mov edi, 1
sub ecx, dword [esp + 0x68]
imul eax, ecx, 0xfffffff8
sub edx, ecx
add ebp, eax
mov dword [esp + 0x64], edx
mov edx, dword [edx]
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], ebp
mov eax, dword [esp + 0x9c]
add eax, 0xfffffffd
cmp dword [esp + 0x28], eax
sbb ecx, ecx
xor eax, eax
neg ecx
test edi, edi
sete al
test eax, ecx
je 0x537e19
mov edi, dword [esp + 0x30]
mov ecx, ebp
and ecx, 0x1f
neg edi
shl edx, cl
and edi, 0x1f
mov ecx, edi
shr edx, cl
mov ecx, dword [esp + 0x18]
movzx eax, byte [ecx + edx*2]
add ebp, eax
movzx eax, byte [ecx + edx*2 + 1]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x5c]
mov byte [ecx], al
inc ecx
mov dword [esp + 0x28], ecx
mov ecx, ebp
and ecx, 0x1f
shl edx, cl
mov ecx, edi
shr edx, cl
mov ecx, dword [esp + 0x18]
movzx eax, byte [ecx + edx*2]
add ebp, eax
movzx eax, byte [ecx + edx*2 + 1]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x60], ebp
mov byte [edx], al
inc edx
mov eax, dword [esp + 0x68]
mov dword [esp + 0x28], edx
jmp 0x537cb0
cmp ebp, 0x20
jbe 0x537db9
mov ecx, 0x57b868
mov dword [esp + 0x64], ecx
jmp 0x537e21
mov ecx, dword [esp + 0x64]
cmp ecx, dword [esp + 0x6c]
jb 0x537ddd
mov eax, ebp
shr eax, 3
sub ecx, eax
and ebp, 7
mov dword [esp + 0x64], ecx
mov dword [esp + 0x60], ebp
mov eax, dword [ecx]
mov dword [esp + 0x5c], eax
jmp 0x537e1d
cmp ecx, eax
je 0x537e21
mov eax, ebp
shr eax, 3
mov dword [esp + 0x24], eax
mov eax, ecx
sub eax, dword [esp + 0x24]
cmp eax, dword [esp + 0x68]
jae 0x537dfe
mov eax, ecx
sub eax, dword [esp + 0x68]
jmp 0x537e02
mov eax, dword [esp + 0x24]
sub ecx, eax
imul eax, eax, 0xfffffff8
mov dword [esp + 0x64], ecx
add ebp, eax
mov eax, dword [ecx]
mov dword [esp + 0x60], ebp
mov dword [esp + 0x5c], eax
jmp 0x537e1d
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x68]
mov edi, dword [esp + 0x64]
mov esi, dword [esp + 0x5c]
mov ebx, dword [esp + 0x30]
nop dword [eax]
cmp ebp, 0x20
jbe 0x537e44
mov edi, 0x57b868
mov dword [esp + 0x24], 3
jmp 0x537ea6
cmp edi, dword [esp + 0x6c]
jb 0x537e5e
mov eax, ebp
mov dword [esp + 0x24], 0
shr eax, 3
sub edi, eax
and ebp, 7
jmp 0x537e9c
cmp edi, eax
jne 0x537e70
cmp ebp, 0x20
sbb eax, eax
add eax, 2
mov dword [esp + 0x24], eax
jmp 0x537eaa
mov esi, dword [esp + 0x68]
mov ecx, ebp
shr ecx, 3
mov eax, edi
sub eax, ecx
mov dword [esp + 0x24], 0
cmp eax, esi
jae 0x537e95
mov ecx, edi
mov dword [esp + 0x24], 1
sub ecx, esi
imul eax, ecx, 0xfffffff8
sub edi, ecx
add ebp, eax
mov esi, dword [edi]
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], ebp
mov dword [esp + 0x64], edi
cmp edx, dword [esp + 0x9c]
sbb ecx, ecx
xor eax, eax
neg ecx
cmp dword [esp + 0x24], eax
sete al
test eax, ecx
je 0x537efa
mov ecx, ebp
mov edx, esi
and ecx, 0x1f
shl edx, cl
mov ecx, ebx
neg ecx
and ecx, 0x1f
shr edx, cl
mov ecx, dword [esp + 0x18]
movzx eax, byte [ecx + edx*2]
add ebp, eax
mov al, byte [ecx + edx*2 + 1]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x60], ebp
mov byte [edx], al
inc edx
mov eax, dword [esp + 0x68]
mov dword [esp + 0x28], edx
jmp 0x537e30
mov eax, dword [esp + 0x9c]
xor esi, esi
mov ebx, dword [esp + 0x20]
sub eax, edx
cmp edx, dword [esp + 0x9c]
mov edi, dword [esp + 0x3c]
cmova eax, esi
mov dword [esp + 0x24], 0
mov esi, dword [esp + 0x90]
mov dword [esp + 0x8c], eax
test eax, eax
je 0x537f99
mov eax, dword [esp + 0x30]
mov edi, dword [esp + 0x5c]
neg eax
mov ebx, dword [esp + 0x28]
and eax, 0x1f
mov esi, dword [esp + 0x18]
mov dword [esp + 0x98], eax
nop dword [eax]
mov ecx, ebp
lea ebx, [ebx + 1]
and ecx, 0x1f
mov edx, edi
shl edx, cl
mov ecx, eax
shr edx, cl
movzx eax, byte [esi + edx*2]
add ebp, eax
mov al, byte [esi + edx*2 + 1]
mov byte [ebx - 1], al
mov eax, dword [esp + 0x24]
inc eax
cmp eax, dword [esp + 0x8c]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x98]
jb 0x537f50
mov esi, dword [esp + 0x90]
mov ebx, dword [esp + 0x20]
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x60], ebp
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x40]
sub eax, esi
cmp eax, 3
jle 0x538090
mov ebp, dword [esp + 0x34]
cmp ebx, 0x20
jbe 0x537fc4
mov edi, 0x57b868
mov edx, 3
jmp 0x538013
cmp edi, dword [esp + 0x44]
jb 0x537fd8
mov eax, ebx
and ebx, 7
shr eax, 3
sub edi, eax
xor edx, edx
jmp 0x538009
cmp edi, ecx
jne 0x537fe6
cmp ebx, 0x20
sbb edx, edx
add edx, 2
jmp 0x538017
mov ebp, dword [esp + 0x40]
mov ecx, ebx
shr ecx, 3
mov eax, edi
sub eax, ecx
xor edx, edx
cmp eax, ebp
jae 0x538002
mov ecx, edi
mov edx, 1
sub ecx, ebp
imul eax, ecx, 0xfffffff8
sub edi, ecx
add ebx, eax
mov ebp, dword [edi]
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], edi
mov eax, dword [esp + 0x94]
add eax, 0xfffffffd
cmp esi, eax
sbb ecx, ecx
xor eax, eax
neg ecx
test edx, edx
sete al
test eax, ecx
je 0x5380f6
mov edi, dword [esp + 0x30]
mov ecx, ebx
and ecx, 0x1f
neg edi
and edi, 0x1f
mov edx, ebp
shl edx, cl
mov ecx, edi
shr edx, cl
mov ecx, dword [esp + 0x18]
movzx eax, byte [ecx + edx*2]
add ebx, eax
movzx eax, byte [ecx + edx*2 + 1]
mov ecx, ebx
mov byte [esi], al
and ecx, 0x1f
mov edx, ebp
shl edx, cl
mov ecx, edi
mov edi, dword [esp + 0x3c]
shr edx, cl
mov ecx, dword [esp + 0x18]
movzx eax, byte [ecx + edx*2]
add ebx, eax
movzx eax, byte [ecx + edx*2 + 1]
mov ecx, dword [esp + 0x40]
mov byte [esi + 1], al
add esi, 2
mov dword [esp + 0x38], ebx
jmp 0x537fb3
mov eax, dword [esp + 0x44]
cmp ebx, 0x20
jbe 0x5380a4
mov edi, 0x57b868
mov dword [esp + 0x3c], edi
jmp 0x5380fe
cmp edi, eax
jb 0x5380c6
mov eax, ebx
shr eax, 3
sub edi, eax
mov eax, dword [esp + 0x44]
and ebx, 7
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], ebx
mov ebp, dword [edi]
mov dword [esp + 0x34], ebp
jmp 0x538102
cmp edi, ecx
je 0x5380fe
mov edx, ebx
mov eax, edi
shr edx, 3
sub eax, edx
cmp eax, ecx
jae 0x5380db
mov edx, edi
sub edx, ecx
imul eax, edx, 0xfffffff8
sub edi, edx
mov dword [esp + 0x3c], edi
mov ebp, dword [edi]
add ebx, eax
mov dword [esp + 0x34], ebp
mov eax, dword [esp + 0x44]
mov dword [esp + 0x38], ebx
jmp 0x538102
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
mov ebp, dword [esp + 0x34]
cmp ebx, 0x20
jbe 0x538113
mov edi, 0x57b868
mov edx, 3
jmp 0x538160
cmp edi, eax
jb 0x538125
mov eax, ebx
and ebx, 7
shr eax, 3
sub edi, eax
xor edx, edx
jmp 0x538156
cmp edi, ecx
jne 0x538133
cmp ebx, 0x20
sbb edx, edx
add edx, 2
jmp 0x538164
mov ebp, dword [esp + 0x40]
mov ecx, ebx
shr ecx, 3
mov eax, edi
sub eax, ecx
xor edx, edx
cmp eax, ebp
jae 0x53814f
mov ecx, edi
mov edx, 1
sub ecx, ebp
imul eax, ecx, 0xfffffff8
sub edi, ecx
add ebx, eax
mov ebp, dword [edi]
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], edi
cmp esi, dword [esp + 0x94]
sbb ecx, ecx
xor eax, eax
neg ecx
test edx, edx
sete al
test eax, ecx
je 0x5381b0
mov ecx, ebx
mov edx, ebp
and ecx, 0x1f
shl edx, cl
mov ecx, dword [esp + 0x30]
neg ecx
and ecx, 0x1f
shr edx, cl
mov ecx, dword [esp + 0x18]
movzx eax, byte [ecx + edx*2]
add ebx, eax
mov al, byte [ecx + edx*2 + 1]
mov ecx, dword [esp + 0x40]
mov byte [esi], al
inc esi
mov eax, dword [esp + 0x44]
mov dword [esp + 0x38], ebx
jmp 0x538102
mov eax, dword [esp + 0x94]
xor edx, edx
sub eax, esi
xor edi, edi
cmp esi, dword [esp + 0x94]
cmova eax, edx
mov dword [esp + 0x8c], eax
test eax, eax
je 0x538213
mov eax, dword [esp + 0x30]
neg eax
and eax, 0x1f
mov dword [esp + 0x30], eax
nop
mov ecx, ebx
lea esi, [esi + 1]
and ecx, 0x1f
mov edx, ebp
shl edx, cl
inc edi
mov ecx, eax
shr edx, cl
mov ecx, dword [esp + 0x18]
movzx eax, byte [ecx + edx*2]
add ebx, eax
mov al, byte [ecx + edx*2 + 1]
mov byte [esi - 1], al
mov eax, dword [esp + 0x30]
cmp edi, dword [esp + 0x8c]
jb 0x5381e0
mov dword [esp + 0x38], ebx
lea eax, [esp + 0x34]
push eax
call fcn.00544090
mov edx, eax
lea eax, [esp + 0x60]
push eax
call fcn.00544090
and edx, eax
lea eax, [esp + 0x78]
push eax
call fcn.00544090
and edx, eax
lea eax, [esp + 0x54]
push eax
call fcn.00544090
add esp, 0x10
mov ecx, 0xffffffec
test eax, edx
mov eax, dword [esp + 0xa8]
cmove eax, ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret