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

Disassembly:
sub esp, 0x98
mov ecx, dword [esp + 0xac]
mov edx, dword [ecx]
mov eax, dword [esp + 0xa0]
push ebx
mov ebx, dword [ecx + 4]
push ebp
mov ebp, dword [eax + 0x14]
mov dword [esp + 0x18], edx
mov edx, dword [ecx + 8]
mov ecx, dword [eax + 0xc]
test ecx, ecx
push esi
mov esi, dword [eax + 0x10]
push edi
mov dword [esp + 0x34], ebx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x88], esi
je 0x657922
mov ecx, dword [eax + 8]
dec ecx
imul ecx, esi
add ebp, ecx
neg esi
mov dword [esp + 0x88], esi
mov edi, dword [eax + 4]
lea eax, [edi + edi*2]
mov ecx, eax
lea eax, [esi + esi]
sub eax, ecx
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0xb0]
mov eax, dword [eax + 8]
lea edi, [edi - 1]
dec eax
mov dword [esp + 0x38], edi
mov edi, dword [esp + 0xb4]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x3c], 0
je 0x658463
mov ecx, edi
shr ecx, 1
dec eax
shr eax, 1
inc eax
mov dword [esp + 0x6c], ecx
lea ecx, [eax + eax]
mov dword [esp + 0x84], eax
mov dword [esp + 0x3c], ecx
call fcn.0065b900
xor ebx, ebx
test eax, eax
je 0x658076
mov eax, dword [esp + 0x38]
prefetchnta byte [ebp]
prefetchnta byte [esi + ebp]
shr eax, 2
shl eax, 2
test eax, eax
mov dword [esp + 0x80], ebx
mov dword [esp + 0x50], eax
jbe 0x657e4e
mov edx, 0xfffffffd
sub edx, esi
mov dword [esp + 0x64], edx
or edx, 0xffffffff
sub edx, esi
mov dword [esp + 0x40], edx
mov edx, 0xfffffffc
sub edx, esi
mov dword [esp + 0x60], edx
mov edx, 0xfffffffe
sub edx, esi
mov dword [esp + 0x5c], edx
mov edx, 6
sub edx, esi
mov dword [esp + 0x8c], edx
mov edx, 3
sub edx, esi
mov dword [esp + 0x4c], edx
mov edx, 5
sub edx, esi
mov dword [esp + 0x90], edx
mov edx, 2
sub edx, esi
mov dword [esp + 0x48], edx
mov edx, 4
sub edx, esi
mov dword [esp + 0x58], edx
mov eax, 0x3b
sub eax, esi
mov edx, 1
sub edx, esi
lea ecx, [esi + ebp + 5]
mov esi, dword [esp + 0x20]
add esi, edi
mov dword [esp + 0x44], eax
mov dword [esp + 0x54], edx
mov dword [esp + 0x78], esi
jmp 0x657a41
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x44]
prefetchnta byte [eax + ecx]
add eax, ecx
mov eax, dword [esp + 0x64]
movzx esi, byte [ecx + eax]
mov eax, dword [esp + 0x60]
movzx eax, byte [ecx + eax]
mov dword [esp + 0x14], eax
mov eax, dword [eax*4 + 0x302ba990]
add eax, dword [esi*4 + 0x302ba590]
movzx edi, byte [ebp]
mov dword [esp + 0x24], esi
add eax, dword [edi*4 + 0x302b9d90]
sar eax, 8
add eax, 0x10
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x40]
movzx edi, byte [ecx + eax]
mov eax, dword [esp + 0x5c]
movzx eax, byte [ecx + eax]
movzx esi, byte [ebp + 5]
mov dword [esp + 0x68], eax
mov eax, dword [eax*4 + 0x302b9d90]
add eax, dword [edi*4 + 0x302ba990]
movzx edx, byte [ecx + edx]
mov dword [esp + 0x1c], edi
add eax, dword [esi*4 + 0x302ba590]
sar eax, 8
add eax, 0x10
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x48]
movzx eax, byte [ecx + eax]
mov esi, dword [eax*4 + 0x302ba990]
add esi, dword [edx*4 + 0x302b9d90]
mov eax, dword [esp + 0x4c]
movzx edx, byte [ecx + eax]
mov edi, dword [edx*4 + 0x302ba590]
mov eax, dword [esp + 0x58]
movzx edx, byte [ecx + eax]
mov eax, dword [esp + 0x8c]
add esi, edi
movzx edi, byte [ecx + eax]
mov eax, dword [edx*4 + 0x302b9d90]
add eax, dword [edi*4 + 0x302ba590]
mov edx, dword [esp + 0x90]
movzx edx, byte [ecx + edx]
mov edi, dword [edx*4 + 0x302ba990]
movzx edx, byte [ecx - 3]
add eax, edi
movzx edi, byte [ecx - 4]
sar eax, 8
add eax, 0x10
mov dword [esp + 0x94], eax
movzx eax, byte [ecx - 5]
mov eax, dword [eax*4 + 0x302b9d90]
add eax, dword [edi*4 + 0x302ba990]
mov edi, dword [edx*4 + 0x302ba590]
movzx edx, byte [ecx]
add eax, edi
movzx edi, byte [ecx - 1]
sar eax, 8
prefetchnta byte [ecx + 0x3b]
add eax, 0x10
mov dword [esp + 0x70], eax
movzx eax, byte [ecx - 2]
mov eax, dword [eax*4 + 0x302b9d90]
add eax, dword [edi*4 + 0x302ba990]
mov edi, dword [edx*4 + 0x302ba590]
movzx edx, byte [ecx + 3]
add eax, edi
sar esi, 8
sar eax, 8
add esi, 0x10
add eax, 0x10
mov dword [esp + 0x9c], eax
movzx eax, byte [ecx + 1]
mov edi, dword [eax*4 + 0x302b9d90]
add edi, dword [edx*4 + 0x302ba590]
movzx eax, byte [ecx + 2]
mov edx, dword [eax*4 + 0x302ba990]
movzx eax, byte [ecx + 6]
add edi, edx
movzx edx, byte [ecx + 4]
mov dword [esp + 0x18], eax
mov eax, dword [edx*4 + 0x302b9d90]
mov edx, dword [esp + 0x18]
add eax, dword [edx*4 + 0x302ba590]
movzx edx, byte [ecx + 5]
add eax, dword [edx*4 + 0x302ba990]
mov edx, dword [esp + 0x24]
sar eax, 8
add eax, 0x10
mov dword [esp + 0x98], eax
movzx eax, byte [ecx - 3]
add eax, edx
movzx edx, byte [ecx]
add eax, edx
movzx edx, byte [ebp + 5]
add eax, edx
cdq
and edx, 3
add eax, edx
movzx edx, byte [ecx - 1]
sar eax, 2
mov dword [esp + 0x24], eax
movzx eax, byte [ecx - 4]
add eax, edx
add eax, dword [esp + 0x1c]
add eax, dword [esp + 0x14]
cdq
and edx, 3
add eax, edx
movzx edx, byte [ecx - 2]
sar eax, 2
mov dword [esp + 0x14], eax
movzx eax, byte [ecx - 5]
add eax, edx
add eax, dword [esp + 0x68]
movzx edx, byte [ebp]
add eax, edx
cdq
and edx, 3
add eax, edx
mov edx, dword [esp + 0x24]
mov edx, dword [edx*4 + 0x302bad90]
shr ebx, 1
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x14]
add edx, dword [ebx*4 + 0x302bb190]
sar eax, 2
add edx, dword [eax*4 + 0x302bbd90]
mov ebx, dword [esp + 0x34]
sar edx, 8
add dl, 0x80
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x18]
mov byte [eax + ebx], dl
mov edx, dword [esp + 0x24]
mov edx, dword [edx*4 + 0x302bb990]
mov ebx, dword [esp + 0x14]
add edx, dword [ebx*4 + 0x302bb590]
mov ebx, dword [esp + 0x1c]
add edx, dword [ebx*4 + 0x302ba190]
mov ebx, dword [esp + 0x2c]
sar edx, 8
add dl, 0x80
mov byte [eax + ebx], dl
mov eax, dword [esp + 0x8c]
movzx edx, byte [ecx + 6]
movzx eax, byte [ecx + eax]
sar edi, 8
add edi, 0x10
add eax, edx
movzx edx, byte [ecx + 3]
add eax, edx
mov edx, dword [esp + 0x4c]
movzx edx, byte [ecx + edx]
add eax, edx
cdq
and edx, 3
add eax, edx
mov edx, dword [esp + 0x90]
movzx edx, byte [ecx + edx]
mov ebx, eax
mov eax, dword [esp + 0x48]
movzx eax, byte [ecx + eax]
add eax, edx
movzx edx, byte [ecx + 5]
add eax, edx
movzx edx, byte [ecx + 2]
add eax, edx
cdq
and edx, 3
add eax, edx
movzx edx, byte [ecx + 4]
sar eax, 2
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x58]
movzx eax, byte [ecx + eax]
add eax, edx
movzx edx, byte [ecx + 1]
add eax, edx
mov edx, dword [esp + 0x54]
movzx edx, byte [ecx + edx]
add eax, edx
cdq
and edx, 3
add eax, edx
mov edx, dword [esp + 0x80]
add edx, 2
shr edx, 1
mov dword [esp + 0x68], edx
sar ebx, 2
mov edx, dword [ebx*4 + 0x302bad90]
sar eax, 2
mov dword [esp + 0x24], ebx
mov ebx, dword [esp + 0x14]
add edx, dword [ebx*4 + 0x302bb190]
add edx, dword [eax*4 + 0x302bbd90]
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x68]
sar edx, 8
add dl, 0x80
mov byte [eax + ebx], dl
mov edx, dword [esp + 0x24]
mov edx, dword [edx*4 + 0x302bb990]
mov ebx, dword [esp + 0x14]
add edx, dword [ebx*4 + 0x302bb590]
mov ebx, dword [esp + 0x1c]
add edx, dword [ebx*4 + 0x302ba190]
mov ebx, dword [esp + 0x2c]
sar edx, 8
add dl, 0x80
mov byte [eax + ebx], dl
mov eax, dword [esp + 0x94]
mov ebx, dword [esp + 0x80]
shl eax, 8
and esi, 0xff
or esi, eax
mov eax, dword [esp + 0xa4]
and eax, 0xff
shl esi, 8
or esi, eax
mov eax, dword [esp + 0xa0]
and eax, 0xff
shl esi, 8
or esi, eax
mov eax, dword [esp + 0x20]
mov dword [eax + ebx], esi
mov eax, dword [esp + 0x98]
and edi, 0xff
shl eax, 8
or edi, eax
mov eax, dword [esp + 0x9c]
mov edx, dword [esp + 0x78]
and eax, 0xff
shl edi, 8
or edi, eax
mov eax, dword [esp + 0x70]
and eax, 0xff
shl edi, 8
or edi, eax
mov eax, dword [esp + 0x50]
mov dword [edx + ebx], edi
add ebx, 4
add ebp, 0xc
add ecx, 0xc
cmp ebx, eax
mov dword [esp + 0x80], ebx
jb 0x657a39
mov esi, dword [esp + 0x88]
mov edi, dword [esp + 0xb4]
cmp ebx, dword [esp + 0x38]
jae 0x658282
mov eax, dword [esp + 0x20]
lea edx, [ebx + eax + 1]
mov dword [esp + 0x18], edx
mov edx, 0xfffffffd
sub edx, esi
mov dword [esp + 0x64], edx
or edx, 0xffffffff
sub edx, esi
mov dword [esp + 0x40], edx
mov edx, 0xfffffffc
sub edx, esi
mov dword [esp + 0x60], edx
mov eax, 0x3b
sub eax, esi
mov edx, 0xfffffffe
sub edx, esi
lea ecx, [esi + ebp + 5]
mov dword [esp + 0x44], eax
mov dword [esp + 0x5c], edx
jmp 0x657ea3
mov eax, dword [esp + 0x44]
prefetchnta byte [eax + ecx]
add eax, ecx
movzx eax, byte [ebp]
mov eax, dword [eax*4 + 0x302b9d90]
mov edx, dword [esp + 0x60]
movzx edx, byte [ecx + edx]
add eax, dword [edx*4 + 0x302ba990]
mov edx, dword [esp + 0x64]
movzx edx, byte [ecx + edx]
add eax, dword [edx*4 + 0x302ba590]
prefetchnta byte [ecx + 0x3b]
mov edx, dword [esp + 0x18]
sar eax, 8
add al, 0x10
mov byte [edx - 1], al
mov eax, dword [esp + 0x5c]
movzx edx, byte [ecx + eax]
mov edx, dword [edx*4 + 0x302b9d90]
mov eax, dword [esp + 0x40]
movzx eax, byte [ecx + eax]
add edx, dword [eax*4 + 0x302ba990]
movzx eax, byte [ebp + 5]
add edx, dword [eax*4 + 0x302ba590]
mov eax, dword [esp + 0x18]
sar edx, 8
add dl, 0x10
mov byte [eax], dl
movzx edx, byte [ecx - 5]
mov edx, dword [edx*4 + 0x302b9d90]
movzx eax, byte [ecx - 4]
add edx, dword [eax*4 + 0x302ba990]
movzx eax, byte [ecx - 3]
add edx, dword [eax*4 + 0x302ba590]
mov eax, dword [esp + 0x18]
sar edx, 8
add dl, 0x10
mov byte [eax + edi - 1], dl
movzx edx, byte [ecx - 2]
mov edx, dword [edx*4 + 0x302b9d90]
movzx eax, byte [ecx - 1]
add edx, dword [eax*4 + 0x302ba990]
movzx eax, byte [ecx]
add edx, dword [eax*4 + 0x302ba590]
mov eax, dword [esp + 0x18]
sar edx, 8
add dl, 0x10
mov byte [eax + edi], dl
mov edx, dword [esp + 0x64]
movzx edx, byte [ecx + edx]
movzx eax, byte [ecx - 3]
add eax, edx
movzx edx, byte [ecx]
add eax, edx
movzx edx, byte [ebp + 5]
add eax, edx
cdq
and edx, 3
add eax, edx
movzx edx, byte [ecx - 4]
sar eax, 2
mov dword [esp + 0x24], eax
movzx eax, byte [ecx - 1]
add eax, edx
mov edx, dword [esp + 0x40]
movzx edx, byte [ecx + edx]
add eax, edx
mov edx, dword [esp + 0x60]
movzx edx, byte [ecx + edx]
add eax, edx
cdq
and edx, 3
add eax, edx
movzx edx, byte [ecx - 2]
sar eax, 2
mov dword [esp + 0x14], eax
movzx eax, byte [ebp]
add eax, edx
movzx edx, byte [ecx - 5]
add eax, edx
mov edx, dword [esp + 0x5c]
movzx edx, byte [ecx + edx]
add eax, edx
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x24]
mov edx, dword [eax*4 + 0x302bad90]
mov eax, dword [esp + 0x14]
add edx, dword [eax*4 + 0x302bb190]
mov eax, dword [esp + 0x1c]
add edx, dword [eax*4 + 0x302bbd90]
mov eax, dword [esp + 0x34]
sar edx, 8
add dl, 0x80
mov edi, ebx
shr edi, 1
mov byte [edi + eax], dl
mov edx, dword [esp + 0x24]
mov eax, dword [edx*4 + 0x302bb990]
mov edx, dword [esp + 0x14]
add eax, dword [edx*4 + 0x302bb590]
mov edx, dword [esp + 0x1c]
add eax, dword [edx*4 + 0x302ba190]
mov edx, dword [esp + 0x2c]
sar eax, 8
add al, 0x80
mov byte [edi + edx], al
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0xb4]
add eax, 2
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x38]
add ebx, 2
add ebp, 6
add ecx, 6
cmp ebx, eax
jb 0x657e9f
jmp 0x658282
mov eax, dword [esp + 0x38]
test eax, eax
jbe 0x658282
mov eax, dword [esp + 0x20]
inc eax
mov dword [esp + 0x18], eax
mov eax, 3
sub eax, esi
mov dword [esp + 0x4c], eax
mov eax, 2
sub eax, esi
mov dword [esp + 0x48], eax
or eax, 0xffffffff
sub eax, esi
mov dword [esp + 0x40], eax
mov eax, 1
sub eax, esi
lea ecx, [esi + ebp + 2]
mov dword [esp + 0x54], eax
lea esp, [esp]
movzx edx, byte [ebp]
mov edx, dword [edx*4 + 0x302b9d90]
movzx eax, byte [ebp + 2]
add edx, dword [eax*4 + 0x302ba590]
mov eax, dword [esp + 0x40]
movzx eax, byte [eax + ecx]
add edx, dword [eax*4 + 0x302ba990]
mov eax, dword [esp + 0x18]
sar edx, 8
add dl, 0x10
mov byte [eax - 1], dl
mov edx, dword [esp + 0x54]
movzx eax, byte [edx + ecx]
mov eax, dword [eax*4 + 0x302b9d90]
mov edx, dword [esp + 0x48]
movzx edx, byte [edx + ecx]
add eax, dword [edx*4 + 0x302ba990]
mov edx, dword [esp + 0x4c]
movzx edx, byte [edx + ecx]
add eax, dword [edx*4 + 0x302ba590]
mov edx, dword [esp + 0x18]
sar eax, 8
add al, 0x10
mov byte [edx], al
movzx eax, byte [ecx]
mov eax, dword [eax*4 + 0x302ba590]
movzx edx, byte [ecx - 2]
add eax, dword [edx*4 + 0x302b9d90]
movzx edx, byte [ecx - 1]
add eax, dword [edx*4 + 0x302ba990]
mov edx, dword [esp + 0x18]
sar eax, 8
add al, 0x10
mov byte [edx + edi - 1], al
movzx eax, byte [ecx + 1]
mov eax, dword [eax*4 + 0x302b9d90]
movzx edx, byte [ecx + 2]
add eax, dword [edx*4 + 0x302ba990]
movzx edx, byte [ecx + 3]
add eax, dword [edx*4 + 0x302ba590]
mov edx, dword [esp + 0x18]
sar eax, 8
add al, 0x10
mov byte [edx + edi], al
movzx edx, byte [ebp + 2]
movzx eax, byte [ecx]
add eax, edx
movzx edx, byte [ecx + 3]
add eax, edx
mov edx, dword [esp + 0x4c]
movzx edx, byte [edx + ecx]
add eax, edx
cdq
and edx, 3
add eax, edx
movzx edx, byte [ecx - 1]
sar eax, 2
mov dword [esp + 0x24], eax
movzx eax, byte [ecx + 2]
add eax, edx
mov edx, dword [esp + 0x48]
movzx edx, byte [edx + ecx]
add eax, edx
mov edx, dword [esp + 0x40]
movzx edx, byte [edx + ecx]
add eax, edx
cdq
and edx, 3
add eax, edx
movzx edx, byte [ecx + 1]
sar eax, 2
mov dword [esp + 0x14], eax
movzx eax, byte [ebp]
add eax, edx
movzx edx, byte [ecx - 2]
add eax, edx
mov edx, dword [esp + 0x54]
movzx edx, byte [edx + ecx]
add eax, edx
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x24]
mov edx, dword [eax*4 + 0x302bad90]
mov eax, dword [esp + 0x14]
add edx, dword [eax*4 + 0x302bb190]
mov eax, dword [esp + 0x1c]
add edx, dword [eax*4 + 0x302bbd90]
mov eax, dword [esp + 0x34]
sar edx, 8
add dl, 0x80
mov edi, ebx
shr edi, 1
mov byte [edi + eax], dl
mov edx, dword [esp + 0x24]
mov eax, dword [edx*4 + 0x302bb990]
mov edx, dword [esp + 0x14]
add eax, dword [edx*4 + 0x302bb590]
mov edx, dword [esp + 0x1c]
add eax, dword [edx*4 + 0x302ba190]
mov edx, dword [esp + 0x2c]
sar eax, 8
add al, 0x80
mov byte [edi + edx], al
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0xb4]
add eax, 2
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x38]
add ebx, 2
add ebp, 6
add ecx, 6
cmp ebx, eax
jb 0x6580c0
cmp ebx, edi
jae 0x65841b
test byte [esp + 0x38], 1
jne 0x65839f
movzx ecx, byte [ebp + 2]
mov edx, dword [ecx*4 + 0x302ba590]
movzx eax, byte [ebp]
mov eax, dword [eax*4 + 0x302b9d90]
add eax, edx
movzx edx, byte [ebp + 1]
add eax, dword [edx*4 + 0x302ba990]
mov ecx, dword [esp + 0x20]
sar eax, 8
add al, 0x10
mov byte [ecx + ebx], al
mov byte [ecx + ebx + 1], al
movzx eax, byte [esi + ebp + 2]
movzx edx, byte [esi + ebp]
mov dword [esp + 0x50], eax
mov eax, dword [edx*4 + 0x302b9d90]
mov edx, dword [esp + 0x50]
add eax, dword [edx*4 + 0x302ba590]
movzx edx, byte [esi + ebp + 1]
add eax, dword [edx*4 + 0x302ba990]
add ecx, ebx
sar eax, 8
add al, 0x10
mov byte [ecx + edi], al
mov byte [ecx + edi + 1], al
movzx ecx, byte [ebp + 2]
movzx eax, byte [esi + ebp + 2]
add eax, ecx
cdq
sub eax, edx
movzx edx, byte [ebp + 1]
mov ecx, eax
movzx eax, byte [esi + ebp + 1]
add eax, edx
cdq
sub eax, edx
movzx edx, byte [ebp]
sar eax, 1
mov dword [esp + 0x14], eax
movzx eax, byte [esi + ebp]
add eax, edx
cdq
sub eax, edx
sar eax, 1
sar ecx, 1
mov dword [esp + 0x1c], eax
mov eax, dword [ecx*4 + 0x302bad90]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x14]
add eax, dword [ecx*4 + 0x302bb190]
mov ecx, dword [esp + 0x1c]
add eax, dword [ecx*4 + 0x302bbd90]
mov ecx, dword [esp + 0x34]
sar eax, 8
add al, 0x80
mov edx, ebx
shr edx, 1
mov byte [edx + ecx], al
mov eax, dword [esp + 0x24]
mov ecx, dword [eax*4 + 0x302bb990]
mov eax, dword [esp + 0x14]
add ecx, dword [eax*4 + 0x302bb590]
mov eax, dword [esp + 0x1c]
add ecx, dword [eax*4 + 0x302ba190]
mov eax, dword [esp + 0x2c]
sar ecx, 8
add cl, 0x80
add ebp, 3
mov byte [edx + eax], cl
add ebx, 2
cmp ebx, edi
jae 0x65841b
mov ecx, dword [esp + 0x20]
mov dl, byte [ebx + ecx - 1]
lea eax, [ebx + ecx]
mov cl, byte [eax + edi - 1]
mov byte [esp + 0x2a], cl
mov byte [esp + 0x13], dl
mov edx, dword [esp + 0x34]
mov ecx, ebx
shr ecx, 1
mov dl, byte [ecx + edx - 1]
mov byte [esp + 0x2b], dl
mov edx, dword [esp + 0x2c]
mov cl, byte [ecx + edx - 1]
inc eax
mov byte [esp + 0x33], cl
mov dword [esp + 0x58], eax
mov cl, byte [esp + 0x13]
mov dl, byte [esp + 0x2a]
mov byte [eax - 1], cl
mov byte [eax], cl
mov ecx, dword [esp + 0x34]
mov byte [eax + edi - 1], dl
mov byte [eax + edi], dl
mov dl, byte [esp + 0x2b]
mov eax, ebx
shr eax, 1
mov byte [eax + ecx], dl
mov dl, byte [esp + 0x33]
mov ecx, dword [esp + 0x2c]
mov byte [eax + ecx], dl
mov eax, dword [esp + 0x58]
add ebx, 2
add eax, 2
cmp ebx, edi
mov dword [esp + 0x58], eax
jb 0x6583db
mov eax, dword [esp + 0x74]
mov ebx, dword [esp + 0x20]
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
add ebp, eax
lea eax, [edi + edi]
add ebx, eax
mov eax, dword [esp + 0x6c]
add edx, eax
add ecx, eax
mov eax, dword [esp + 0x84]
dec eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x34], edx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x84], eax
jne 0x657978
mov eax, dword [esp + 0x7c]
mov ebx, edx
mov edx, ecx
mov esi, dword [esp + 0x3c]
cmp esi, dword [esp + 0xb8]
mov ecx, dword [esp + 0x20]
jae 0x6587e4
test al, 1
jne 0x658708
mov eax, dword [esp + 0x38]
xor ecx, ecx
test eax, eax
jbe 0x6585bf
mov esi, dword [esp + 0x20]
jmp 0x6584a0
movzx edx, byte [ebp]
mov edx, dword [edx*4 + 0x302b9d90]
movzx eax, byte [ebp + 2]
add edx, dword [eax*4 + 0x302ba590]
movzx eax, byte [ebp + 1]
add edx, dword [eax*4 + 0x302ba990]
add esi, 2
sar edx, 8
add dl, 0x10
mov byte [esi - 2], dl
movzx edx, byte [ebp + 4]
mov edx, dword [edx*4 + 0x302ba990]
movzx eax, byte [ebp + 3]
add edx, dword [eax*4 + 0x302b9d90]
movzx eax, byte [ebp + 5]
add edx, dword [eax*4 + 0x302ba590]
mov eax, dword [esp + 0x20]
sar edx, 8
add dl, 0x10
mov byte [esi - 1], dl
mov dl, byte [esi - 2]
mov byte [esi + edi - 2], dl
mov dl, byte [esi - 1]
lea eax, [eax + edi + 1]
mov byte [eax + ecx], dl
movzx edx, byte [ebp + 5]
movzx eax, byte [ebp + 2]
add eax, edx
cdq
sub eax, edx
movzx edx, byte [ebp + 1]
sar eax, 1
mov dword [esp + 0x24], eax
movzx eax, byte [ebp + 4]
add eax, edx
cdq
sub eax, edx
movzx edx, byte [ebp + 3]
sar eax, 1
mov dword [esp + 0x14], eax
movzx eax, byte [ebp]
add eax, edx
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x1c], eax
mov eax, ecx
shr eax, 1
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x24]
mov edx, dword [eax*4 + 0x302bad90]
mov eax, dword [esp + 0x14]
add edx, dword [eax*4 + 0x302bb190]
mov eax, dword [esp + 0x1c]
add edx, dword [eax*4 + 0x302bbd90]
mov eax, dword [esp + 0x18]
sar edx, 8
add dl, 0x80
mov byte [eax + ebx], dl
mov edx, dword [esp + 0x24]
mov ebx, dword [edx*4 + 0x302bb990]
mov edx, dword [esp + 0x14]
add ebx, dword [edx*4 + 0x302bb590]
mov edx, dword [esp + 0x1c]
add ebx, dword [edx*4 + 0x302ba190]
mov edx, dword [esp + 0x2c]
sar ebx, 8
add bl, 0x80
mov byte [eax + edx], bl
mov eax, dword [esp + 0x38]
mov ebx, dword [esp + 0x34]
add ecx, 2
add ebp, 6
cmp ecx, eax
jb 0x6584a0
cmp ecx, edi
jae 0x6586e2
test byte [esp + 0x38], 1
jne 0x65867b
movzx eax, byte [ebp]
mov eax, dword [eax*4 + 0x302b9d90]
movzx esi, byte [ebp + 2]
add eax, dword [esi*4 + 0x302ba590]
movzx esi, byte [ebp + 1]
add eax, dword [esi*4 + 0x302ba990]
mov esi, dword [esp + 0x20]
sar eax, 8
add al, 0x10
mov byte [esi + ecx], al
mov byte [esi + ecx + 1], al
add esi, ecx
mov byte [esi + edi], al
mov al, byte [esi]
mov byte [esi + edi + 1], al
movzx eax, byte [ebp + 1]
movzx esi, byte [ebp + 2]
mov dword [esp + 0x14], eax
movzx eax, byte [ebp]
mov dword [esp + 0x1c], eax
mov eax, dword [esi*4 + 0x302bad90]
mov dword [esp + 0x24], esi
mov esi, dword [esp + 0x14]
add eax, dword [esi*4 + 0x302bb190]
mov esi, dword [esp + 0x1c]
add eax, dword [esi*4 + 0x302bbd90]
mov esi, dword [esp + 0x14]
sar eax, 8
add al, 0x80
mov ebp, ecx
shr ebp, 1
mov byte [ebx + ebp], al
mov eax, dword [esp + 0x24]
mov eax, dword [eax*4 + 0x302bb990]
add eax, dword [esi*4 + 0x302bb590]
mov esi, dword [esp + 0x1c]
add eax, dword [esi*4 + 0x302ba190]
sar eax, 8
add al, 0x80
mov byte [edx + ebp], al
add ecx, 2
cmp ecx, edi
jae 0x6586e2
mov eax, dword [esp + 0x20]
lea esi, [ecx + eax]
mov al, byte [esi - 1]
mov byte [esp + 0x13], al
mov al, byte [esi + edi - 1]
mov ebp, ecx
shr ebp, 1
mov byte [esp + 0x2a], al
mov al, byte [ebx + ebp - 1]
mov byte [esp + 0x2b], al
mov al, byte [edx + ebp - 1]
mov byte [esp + 0x33], al
inc esi
mov al, byte [esp + 0x13]
mov byte [esi - 1], al
mov byte [esi], al
mov al, byte [esp + 0x2a]
mov byte [esi + edi - 1], al
mov byte [esi + edi], al
mov eax, ecx
shr eax, 1
mov dword [esp + 0x18], eax
mov al, byte [esp + 0x2b]
mov ebp, dword [esp + 0x18]
mov byte [ebx + ebp], al
mov al, byte [esp + 0x33]
add ecx, 2
add esi, 2
cmp ecx, edi
mov byte [edx + ebp], al
jb 0x6586aa
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x20]
add eax, 2
mov dword [esp + 0x3c], eax
lea eax, [ecx + edi*2]
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x20]
mov eax, edi
shr eax, 1
add ebx, eax
add edx, eax
mov dword [esp + 0x2c], edx
mov eax, dword [esp + 0xb8]
cmp dword [esp + 0x3c], eax
jae 0x6587e4
mov eax, edi
shr eax, 1
mov ebp, ebx
sub ebp, eax
mov dword [esp + 0x74], ebp
mov ebp, edx
sub ebp, eax
mov dword [esp + 0x50], ebp
mov ebp, edi
neg ebp
shl ebp, 1
mov esi, ecx
sub esi, edi
mov dword [esp + 0x70], ebp
mov ebp, esi
sub ebp, ecx
mov dword [esp + 0x7c], esi
mov dword [esp + 0x6c], eax
mov dword [esp + 0x44], ebp
jmp 0x658751
mov esi, dword [esp + 0x7c]
test edi, edi
jbe 0x6587b5
or edx, 0xffffffff
sub edx, ecx
lea eax, [ecx + 1]
mov dword [esp + 0x78], edx
mov cl, byte [esi]
mov byte [eax - 1], cl
mov cl, byte [eax + ebp]
mov byte [eax], cl
mov cl, byte [esi]
mov byte [eax + edi - 1], cl
mov cl, byte [eax + ebp]
mov ebp, dword [esp + 0x2c]
mov byte [eax + edi], cl
lea ecx, [edx + eax]
mov edx, dword [esp + 0x74]
shr ecx, 1
mov dl, byte [ecx + edx]
mov byte [ecx + ebx], dl
mov edx, dword [esp + 0x50]
mov dl, byte [ecx + edx]
mov byte [ecx + ebp], dl
mov edx, dword [esp + 0x78]
mov ebp, dword [esp + 0x44]
add eax, 2
lea ecx, [edx + eax]
add esi, 2
cmp ecx, edi
jb 0x658761
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x20]
lea esi, [edi + edi]
add ecx, esi
add ebp, dword [esp + 0x70]
add dword [esp + 0x3c], 2
mov esi, dword [esp + 0xb8]
add edx, eax
add ebx, eax
cmp dword [esp + 0x3c], esi
mov dword [esp + 0x20], ecx
mov dword [esp + 0x44], ebp
mov dword [esp + 0x2c], edx
jb 0x65874d
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x98
ret