Function at 0x10052a80
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x1c
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
push edi
mov edi, dword [esp + 0x30]
mov eax, dword [ebp + 0x19c]
mov esi, dword [ebp + 0x18c]
mov ecx, dword [ebp + 0x194]
mov edx, dword [ebp + 0x198]
mov ebx, dword [ebp + 0x190]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x1a0]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x184]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x78]
shr eax, 0xd
mov dword [esp + 0x28], esi
and eax, 1
movzx esi, byte [edi + 8]
mov dword [esp + 0x38], eax
cmp esi, 6
mov eax, dword [edi]
mov dword [esp + 0x30], esi
mov esi, dword [esp + 0x28]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x10], ebx
ja case.0x10052b1d.3
mov ebx, dword [esp + 0x30]
jmp dword [ebx*4 + 0x10053b50]
movzx ecx, byte [edi + 9]
mov ebx, dword [esp + 0x10]
dec ecx
cmp ecx, 0xf
ja case.0x10052b1d.3
movzx ecx, byte [ecx + 0x10053b84]
jmp dword [ecx*4 + 0x10053b6c]
mov esi, dword [esp + 0x34]
mov ebx, 7
mov dword [esp + 0x38], ebx
test eax, eax
je case.0x10052b1d.3
movzx ecx, word [ebp + 0x1bc]
mov dword [esp + 0x30], ecx
mov dh, byte [esi]
mov cl, bl
mov dl, dh
mov dword [esp + 0x28], ebx
shr dl, cl
mov edi, esi
and dl, 1
movzx ecx, dl
cmp cx, word [esp + 0x30]
jne 0x10052b81
mov dl, byte [ebp + 0x16c]
mov ecx, 7
sub ecx, ebx
mov ebx, 0x7f7f
sar ebx, cl
mov ecx, dword [esp + 0x38]
and bl, dh
shl dl, cl
or bl, dl
mov byte [esi], bl
mov ebx, ecx
test ebx, ebx
jne 0x10052b8c
mov ebx, 7
jmp 0x10052b8d
dec ebx
inc esi
mov dword [esp + 0x38], ebx
cmp dword [esp + 0x28], 0
cmovne esi, edi
sub eax, 1
jne 0x10052b44
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
mov ebx, 6
test esi, esi
je 0x10052c6d
mov edi, dword [esp + 0x34]
test eax, eax
je case.0x10052b1d.3
movzx ecx, word [ebp + 0x1bc]
mov dword [esp + 0x28], ecx
nop dword [eax + eax]
mov dh, byte [edi]
mov ecx, 6
sub ecx, ebx
mov dword [esp + 0x30], 0x3f3f
sar dword [esp + 0x30], cl
mov dl, dh
mov cl, bl
mov dword [esp + 0x20], edi
shr dl, cl
and dl, 3
mov dword [esp + 0x24], ebx
movzx ecx, dl
cmp cx, word [esp + 0x28]
jne 0x10052c12
mov dl, byte [ebp + 0x16c]
mov ecx, ebx
and dh, byte [esp + 0x30]
shl dl, cl
or dl, dh
jmp 0x10052c41
movzx edx, dh
mov cl, bl
shr edx, cl
and edx, 3
lea ecx, [edx*4]
or ecx, edx
shl ecx, 2
or ecx, edx
shl ecx, 2
or ecx, edx
mov dl, byte [ecx + esi]
mov ecx, ebx
shr dl, 6
shl dl, cl
mov cl, byte [edi]
and cl, byte [esp + 0x30]
or dl, cl
mov byte [edi], dl
test ebx, ebx
jne 0x10052c4e
mov ebx, 6
jmp 0x10052c51
sub ebx, 2
inc edi
cmp dword [esp + 0x24], 0
cmovne edi, dword [esp + 0x20]
sub eax, 1
jne 0x10052bd0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
mov esi, dword [esp + 0x34]
mov dword [esp + 0x38], ebx
test eax, eax
je case.0x10052b1d.3
movzx ecx, word [ebp + 0x1bc]
mov dword [esp + 0x30], ecx
mov dh, byte [esi]
mov cl, bl
mov dl, dh
mov dword [esp + 0x28], ebx
shr dl, cl
mov edi, esi
and dl, 3
movzx ecx, dl
cmp cx, word [esp + 0x30]
jne 0x10052cc5
mov dl, byte [ebp + 0x16c]
mov ecx, 6
sub ecx, ebx
mov ebx, 0x3f3f
sar ebx, cl
mov ecx, dword [esp + 0x38]
and bl, dh
shl dl, cl
or bl, dl
mov byte [esi], bl
mov ebx, ecx
test ebx, ebx
jne 0x10052cd0
mov ebx, 6
jmp 0x10052cd3
sub ebx, 2
inc esi
mov dword [esp + 0x38], ebx
cmp dword [esp + 0x28], 0
cmovne esi, edi
sub eax, 1
jne 0x10052c88
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
mov ebx, 4
test esi, esi
je 0x10052da2
mov edi, dword [esp + 0x34]
test eax, eax
je case.0x10052b1d.3
movzx ecx, word [ebp + 0x1bc]
mov dword [esp + 0x28], ecx
mov dh, byte [edi]
mov ecx, 4
sub ecx, ebx
mov dword [esp + 0x30], 0xf0f
sar dword [esp + 0x30], cl
mov dl, dh
mov cl, bl
mov dword [esp + 0x20], edi
shr dl, cl
and dl, 0xf
mov dword [esp + 0x24], ebx
movzx ecx, dl
cmp cx, word [esp + 0x28]
jne 0x10052d53
mov dl, byte [ebp + 0x16c]
mov ecx, ebx
and dh, byte [esp + 0x30]
shl dl, cl
or dl, dh
jmp 0x10052d76
movzx edx, dh
mov cl, bl
shr edx, cl
and edx, 0xf
mov ecx, edx
shl ecx, 4
or ecx, edx
mov dl, byte [ecx + esi]
mov ecx, ebx
shr dl, 4
shl dl, cl
mov cl, byte [edi]
and cl, byte [esp + 0x30]
or dl, cl
mov byte [edi], dl
test ebx, ebx
jne 0x10052d83
mov ebx, 4
jmp 0x10052d86
sub ebx, 4
inc edi
cmp dword [esp + 0x24], 0
cmovne edi, dword [esp + 0x20]
sub eax, 1
jne 0x10052d11
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
mov esi, dword [esp + 0x34]
mov dword [esp + 0x38], ebx
test eax, eax
je case.0x10052b1d.3
movzx ecx, word [ebp + 0x1bc]
mov dword [esp + 0x30], ecx
nop dword [eax]
mov dh, byte [esi]
mov cl, bl
mov dl, dh
mov dword [esp + 0x28], ebx
shr dl, cl
mov edi, esi
and dl, 0xf
movzx ecx, dl
cmp cx, word [esp + 0x30]
jne 0x10052dfd
mov dl, byte [ebp + 0x16c]
mov ecx, 4
sub ecx, ebx
mov ebx, 0xf0f
sar ebx, cl
mov ecx, dword [esp + 0x38]
and bl, dh
shl dl, cl
or bl, dl
mov byte [esi], bl
mov ebx, ecx
test ebx, ebx
jne 0x10052e08
mov ebx, 4
jmp 0x10052e0b
sub ebx, 4
inc esi
mov dword [esp + 0x38], ebx
cmp dword [esp + 0x28], 0
cmovne esi, edi
sub eax, 1
jne 0x10052dc0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
mov edx, dword [esp + 0x34]
test esi, esi
je 0x10052e68
test eax, eax
je case.0x10052b1d.3
movzx edi, word [ebp + 0x1bc]
nop dword [eax]
mov bl, byte [edx]
movzx ecx, bl
cmp cx, di
jne 0x10052e52
mov cl, byte [ebp + 0x16c]
jmp 0x10052e58
movzx ecx, bl
mov cl, byte [ecx + esi]
mov byte [edx], cl
inc edx
sub eax, 1
jne 0x10052e40
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
test eax, eax
je case.0x10052b1d.3
movzx esi, word [ebp + 0x1bc]
movzx ecx, byte [edx]
cmp cx, si
jne 0x10052e87
mov cl, byte [ebp + 0x16c]
mov byte [edx], cl
inc edx
sub eax, 1
jne 0x10052e77
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
test ebx, ebx
je 0x10052f1f
mov ebx, dword [esp + 0x34]
test eax, eax
je case.0x10052b1d.3
movzx esi, word [ebp + 0x1bc]
mov edi, 0x100
mov cl, byte [ebx]
mov dl, byte [ebx + 1]
mov byte [esp + 0x38], dl
movzx edx, cl
imul edx, edi
mov byte [esp + 0x30], cl
movzx ecx, byte [esp + 0x38]
add dx, cx
cmp dx, si
jne 0x10052ede
movzx ecx, word [ebp + 0x16c]
jmp 0x10052f01
movzx ecx, byte [esp + 0x14]
movzx esi, byte [esp + 0x38]
movzx edx, byte [esp + 0x30]
shr esi, cl
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx + esi*4]
movzx esi, word [ebp + 0x1bc]
movzx ecx, word [ecx + edx*2]
mov edx, ecx
shr cx, 8
movzx ecx, cx
mov byte [ebx], cl
mov byte [ebx + 1], dl
add ebx, 2
sub eax, 1
jne 0x10052eb5
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
mov esi, dword [esp + 0x34]
test eax, eax
je case.0x10052b1d.3
movzx ebx, word [ebp + 0x1bc]
mov edi, 0x100
nop word [eax + eax]
movzx edx, byte [esi]
movzx ecx, byte [esi + 1]
imul edx, edi
add dx, cx
cmp dx, bx
jne 0x10052f63
movzx edx, word [ebp + 0x16c]
mov ecx, edx
mov byte [esi + 1], dl
shr ecx, 8
mov byte [esi], cl
add esi, 2
sub eax, 1
jne 0x10052f40
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
mov cl, byte [edi + 9]
mov ebx, dword [esp + 0x10]
test eax, eax
je case.0x10052b1d.3
cmp cl, 8
jne 0x10053065
mov edx, dword [esp + 0x34]
test esi, esi
je 0x1005300c
movzx edi, word [ebp + 0x1b6]
inc edx
nop dword [eax + eax]
mov bl, byte [edx - 1]
movzx ecx, bl
cmp cx, di
jne 0x10052fdf
movzx ecx, byte [edx]
cmp cx, word [ebp + 0x1b8]
jne 0x10052fdf
movzx ecx, byte [edx + 1]
cmp cx, word [ebp + 0x1ba]
jne 0x10052fdf
movzx ecx, byte [ebp + 0x166]
mov byte [edx - 1], cl
movzx ecx, byte [ebp + 0x168]
mov byte [edx], cl
mov cl, byte [ebp + 0x16a]
jmp 0x10052ff9
movzx ecx, bl
movzx ecx, byte [ecx + esi]
mov byte [edx - 1], cl
movzx ecx, byte [edx]
movzx ecx, byte [ecx + esi]
mov byte [edx], cl
movzx ecx, byte [edx + 1]
mov cl, byte [ecx + esi]
mov byte [edx + 1], cl
add edx, 3
sub eax, 1
jne 0x10052fa0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
movzx esi, word [ebp + 0x1b6]
add edx, 2
movzx ecx, byte [edx - 2]
cmp cx, si
jne 0x10053055
movzx ecx, byte [edx - 1]
cmp cx, word [ebp + 0x1b8]
jne 0x10053055
movzx ecx, byte [edx]
cmp cx, word [ebp + 0x1ba]
jne 0x10053055
movzx ecx, byte [ebp + 0x166]
mov byte [edx - 2], cl
movzx ecx, byte [ebp + 0x168]
mov byte [edx - 1], cl
movzx ecx, byte [ebp + 0x16a]
mov byte [edx], cl
add edx, 3
sub eax, 1
jne 0x10053016
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
test ebx, ebx
mov ebx, 0x100
je 0x10053194
mov edi, dword [esp + 0x34]
movzx esi, word [ebp + 0x1b6]
add edi, 2
mov cl, byte [edi - 2]
mov dl, byte [edi - 1]
mov byte [esp + 0x38], dl
movzx edx, cl
mov byte [esp + 0x30], cl
movzx ecx, bx
imul edx, ecx
movzx ecx, byte [esp + 0x38]
add dx, cx
cmp dx, si
jne 0x10053103
movzx edx, byte [edi]
movzx ecx, bx
imul edx, ecx
movzx ecx, byte [edi + 1]
add dx, cx
cmp dx, word [ebp + 0x1b8]
jne 0x10053103
movzx edx, byte [edi + 2]
movzx ecx, bx
imul edx, ecx
movzx ecx, byte [edi + 3]
add dx, cx
cmp dx, word [ebp + 0x1ba]
jne 0x10053103
movzx edx, word [ebp + 0x166]
mov ecx, edx
mov byte [edi - 1], dl
movzx edx, word [ebp + 0x168]
shr ecx, 8
mov byte [edi - 2], cl
mov ecx, edx
shr ecx, 8
mov byte [edi], cl
movzx ecx, word [ebp + 0x16a]
mov byte [edi + 1], dl
jmp 0x10053171
mov ecx, dword [esp + 0x14]
movzx esi, byte [esp + 0x38]
movzx edx, byte [esp + 0x30]
movzx ebx, cl
mov cl, bl
shr esi, cl
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx + esi*4]
movzx esi, byte [edi]
movzx edx, word [ecx + edx*2]
mov ecx, edx
mov byte [edi - 1], dl
movzx edx, byte [edi + 1]
shr ecx, 8
mov byte [edi - 2], cl
mov cl, bl
shr edx, cl
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + edx*4]
movzx ecx, word [edx + esi*2]
movzx esi, byte [edi + 3]
mov edx, ecx
mov byte [edi + 1], cl
mov cl, bl
shr edx, 8
mov ebx, 0x100
shr esi, cl
mov ecx, dword [esp + 0x10]
mov byte [edi], dl
movzx edx, byte [edi + 2]
mov ecx, dword [ecx + esi*4]
movzx esi, word [ebp + 0x1b6]
movzx ecx, word [ecx + edx*2]
mov edx, ecx
shr cx, 8
movzx ecx, cx
mov byte [edi + 2], cl
mov byte [edi + 3], dl
add edi, 6
sub eax, 1
jne 0x10053080
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
mov esi, dword [esp + 0x34]
movzx edi, word [ebp + 0x1b6]
add esi, 2
movzx edx, byte [esi - 2]
movzx ecx, byte [esi - 1]
imul edx, ebx
add dx, cx
cmp dx, di
jne 0x10053217
movzx edx, byte [esi]
movzx ecx, byte [esi + 1]
imul edx, ebx
add dx, cx
cmp dx, word [ebp + 0x1b8]
jne 0x10053217
movzx edx, byte [esi + 2]
movzx ecx, byte [esi + 3]
imul edx, ebx
add dx, cx
cmp dx, word [ebp + 0x1ba]
jne 0x10053217
movzx edx, word [ebp + 0x166]
mov ecx, edx
mov byte [esi - 1], dl
movzx edx, word [ebp + 0x168]
shr ecx, 8
mov byte [esi - 2], cl
mov ecx, edx
shr ecx, 8
mov byte [esi + 1], dl
movzx edx, word [ebp + 0x16a]
mov byte [esi], cl
mov ecx, edx
shr ecx, 8
mov byte [esi + 2], cl
mov byte [esi + 3], dl
add esi, 6
sub eax, 1
jne 0x100531a2
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
cmp byte [edi + 9], 8
mov ebx, dword [esp + 0x10]
jne 0x10053352
test edx, edx
je 0x100532e4
test ecx, ecx
je 0x100532e4
test esi, esi
je 0x100532e4
mov edi, dword [esp + 0x34]
test eax, eax
je case.0x10052b1d.3
mov edx, 0xff
nop
movzx ebx, byte [edi + 1]
cmp bx, dx
jne 0x10053271
movzx ecx, byte [edi]
mov dl, byte [ecx + esi]
jmp 0x100532cd
test bx, bx
jne 0x1005327e
mov dl, byte [ebp + 0x16c]
jmp 0x100532cd
movzx ecx, byte [edi]
mov edx, dword [esp + 0x20]
movzx esi, byte [ecx + edx]
mov edx, 0xff
movzx ecx, word [ebp + 0x176]
sub edx, ebx
movzx edx, dx
imul edx, ecx
mov ecx, 0x80
imul esi, ebx
add si, dx
add si, cx
movzx ecx, si
mov edx, ecx
shr edx, 8
add edx, ecx
shr edx, 8
cmp dword [esp + 0x38], 0
jne 0x100532c9
movzx ecx, dl
mov edx, dword [esp + 0x24]
mov dl, byte [ecx + edx]
mov esi, dword [esp + 0x28]
mov byte [edi], dl
add edi, 2
mov edx, 0xff
sub eax, 1
jne 0x10053260
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
mov ebx, dword [esp + 0x34]
test eax, eax
je case.0x10052b1d.3
mov edx, 0xff
mov cl, byte [ebx + 1]
test cl, cl
jne 0x10053306
mov cl, byte [ebp + 0x16c]
mov byte [ebx], cl
jmp 0x10053342
cmp cl, 0xff
jae 0x10053342
movzx esi, cl
movzx ecx, word [ebp + 0x16c]
sub edx, esi
movzx edi, dx
imul edi, ecx
movzx ecx, byte [ebx]
imul ecx, esi
add di, cx
mov ecx, 0x80
add di, cx
movzx ecx, di
mov edx, ecx
shr edx, 8
add edx, ecx
shr edx, 8
mov byte [ebx], dl
mov edx, 0xff
add ebx, 2
sub eax, 1
jne 0x100532f5
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
test ebx, ebx
je 0x10053474
cmp dword [esp + 0x1c], 0
je 0x10053474
cmp dword [esp + 0x18], 0
je 0x10053474
test eax, eax
je case.0x10052b1d.3
mov ebx, dword [esp + 0x34]
mov ecx, 0x100
inc ebx
mov esi, 0xffff
mov dword [esp + 0x30], ebx
nop dword [eax + eax]
movzx edx, byte [ebx + 1]
movzx ecx, cx
imul edx, ecx
movzx ecx, byte [ebx + 2]
add dx, cx
movzx ecx, dx
cmp cx, si
jne 0x100533c8
mov cl, byte [esp + 0x14]
movzx esi, byte [ebx]
movzx edx, byte [ebx - 1]
shr esi, cl
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx + esi*4]
movzx ecx, word [ecx + edx*2]
mov edx, ecx
jmp 0x10053446
test cx, cx
jne 0x100533d8
movzx ecx, word [ebp + 0x16c]
mov edx, ecx
jmp 0x1005344b
movzx esi, byte [ebx]
mov edi, ecx
mov cl, byte [esp + 0x14]
movzx edx, byte [ebx - 1]
shr esi, cl
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx + esi*4]
movzx esi, word [ecx + edx*2]
mov edx, 0xffff
movzx ecx, word [ebp + 0x176]
sub edx, edi
imul ecx, edx
imul esi, edi
add ecx, 0x8000
add ecx, esi
mov edx, ecx
shr edx, 0x10
add edx, ecx
shr edx, 0x10
cmp dword [esp + 0x38], 0
je 0x10053423
mov ecx, edx
jmp 0x10053443
mov ecx, dword [esp + 0x14]
mov ebx, edx
movzx ecx, cx
movzx edx, bl
shr edx, cl
mov ecx, dword [esp + 0x1c]
shr ebx, 8
mov ecx, dword [ecx + edx*4]
movzx ecx, word [ecx + ebx*2]
mov ebx, dword [esp + 0x30]
movzx edx, cx
mov esi, 0xffff
shr cx, 8
movzx ecx, cx
mov byte [ebx - 1], cl
mov ecx, 0x100
mov byte [ebx], dl
add ebx, 4
mov dword [esp + 0x30], ebx
sub eax, 1
jne 0x10053390
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
test eax, eax
je case.0x10052b1d.3
mov ebx, dword [esp + 0x34]
mov ecx, 0x100
inc ebx
mov esi, 0xffff
nop dword [eax + eax]
movzx edx, byte [ebx + 1]
movzx ecx, cx
imul edx, ecx
movzx ecx, byte [ebx + 2]
add dx, cx
movzx ecx, dx
test cx, cx
jne 0x100534b2
movzx edx, word [ebp + 0x16c]
jmp 0x100534f0
cmp cx, si
jae 0x100534fa
movzx edi, byte [ebx - 1]
mov esi, ecx
movzx ecx, byte [ebx]
mov edx, 0xffff
shl edi, 8
sub edx, esi
add edi, ecx
movzx ecx, word [ebp + 0x16c]
imul ecx, edx
imul edi, esi
mov esi, 0xffff
add ecx, 0x8000
add ecx, edi
mov edx, ecx
shr edx, 0x10
add edx, ecx
shr edx, 0x10
mov ecx, edx
mov byte [ebx], dl
shr ecx, 8
mov byte [ebx - 1], cl
add ebx, 4
mov ecx, 0x100
sub eax, 1
jne 0x10053490
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
cmp byte [edi + 9], 8
mov ebx, dword [esp + 0x10]
jne 0x1005379d
test edx, edx
je 0x1005369f
test ecx, ecx
je 0x1005369f
test esi, esi
je 0x1005369f
test eax, eax
je case.0x10052b1d.3
mov edi, dword [esp + 0x34]
mov ebx, 0x80
inc edi
mov cl, byte [edi + 2]
cmp cl, 0xff
jne 0x1005356f
movzx ecx, byte [edi - 1]
movzx ecx, byte [ecx + esi]
mov byte [edi - 1], cl
movzx ecx, byte [edi]
movzx ecx, byte [ecx + esi]
mov byte [edi], cl
movzx ecx, byte [edi + 1]
mov dl, byte [ecx + esi]
jmp 0x10053688
test cl, cl
jne 0x10053591
movzx ecx, byte [ebp + 0x166]
mov dl, byte [ebp + 0x16a]
mov byte [edi - 1], cl
movzx ecx, byte [ebp + 0x168]
mov byte [edi], cl
jmp 0x10053688
mov esi, dword [esp + 0x20]
movzx edx, cl
mov ecx, 0xff
sub ecx, edx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x30], ecx
movzx ecx, byte [edi - 1]
movzx edx, dx
movzx esi, byte [ecx + esi]
mov ecx, dword [esp + 0x30]
imul esi, edx
movzx edx, word [ebp + 0x170]
movzx ecx, cx
imul edx, ecx
add si, dx
add si, bx
movzx ecx, si
mov edx, ecx
shr edx, 8
add edx, ecx
shr edx, 8
cmp dword [esp + 0x38], 0
jne 0x100535ea
movzx ecx, dl
mov edx, dword [esp + 0x24]
mov dl, byte [ecx + edx]
movzx ecx, byte [edi]
mov byte [edi - 1], dl
mov edx, dword [esp + 0x20]
movzx esi, byte [ecx + edx]
mov edx, dword [esp + 0x1c]
movzx ecx, word [ebp + 0x172]
movzx edx, dx
imul esi, edx
mov edx, dword [esp + 0x30]
movzx edx, dx
imul edx, ecx
add si, dx
add si, bx
movzx ecx, si
mov edx, ecx
shr edx, 8
add edx, ecx
shr edx, 8
cmp dword [esp + 0x38], 0
jne 0x10053637
movzx ecx, dl
mov edx, dword [esp + 0x24]
mov dl, byte [ecx + edx]
movzx ecx, byte [edi + 1]
mov byte [edi], dl
mov edx, dword [esp + 0x20]
movzx esi, byte [ecx + edx]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x30]
movzx edx, dx
imul esi, edx
movzx edx, word [ebp + 0x174]
movzx ecx, cx
imul edx, ecx
add si, dx
add si, bx
movzx ecx, si
mov edx, ecx
shr edx, 8
add edx, ecx
shr edx, 8
cmp dword [esp + 0x38], 0
jne 0x10053684
movzx ecx, dl
mov edx, dword [esp + 0x24]
mov dl, byte [ecx + edx]
mov esi, dword [esp + 0x28]
mov byte [edi + 1], dl
add edi, 4
sub eax, 1
jne 0x10053547
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
test eax, eax
je case.0x10052b1d.3
mov edx, dword [esp + 0x34]
inc edx
mov dword [esp + 0x38], edx
mov cl, byte [edx + 2]
test cl, cl
jne 0x100536d9
movzx ecx, byte [ebp + 0x166]
mov byte [edx - 1], cl
movzx ecx, byte [ebp + 0x168]
mov byte [edx], cl
movzx ecx, byte [ebp + 0x16a]
mov byte [edx + 1], cl
jmp 0x10053785
cmp cl, 0xff
jae 0x10053785
movzx esi, byte [edx - 1]
mov ebx, 0xff
movzx edx, word [ebp + 0x166]
movzx edi, cl
imul esi, edi
sub ebx, edi
movzx ecx, bx
imul edx, ecx
mov ecx, 0x80
add si, dx
add si, cx
movzx ecx, si
mov edx, ecx
shr edx, 8
add edx, ecx
mov ecx, dword [esp + 0x38]
shr edx, 8
movzx esi, byte [ecx]
mov byte [ecx - 1], dl
movzx edx, word [ebp + 0x168]
imul esi, edi
movzx ecx, bx
imul edx, ecx
mov ecx, 0x80
add si, dx
add si, cx
movzx ecx, si
mov edx, ecx
shr edx, 8
add edx, ecx
mov ecx, dword [esp + 0x38]
shr edx, 8
movzx esi, byte [ecx + 1]
mov byte [ecx], dl
movzx ecx, word [ebp + 0x16a]
imul esi, edi
movzx edx, bx
imul edx, ecx
mov ecx, 0x80
add si, dx
add si, cx
movzx ecx, si
mov edx, ecx
shr edx, 8
add edx, ecx
mov ecx, dword [esp + 0x38]
shr edx, 8
mov byte [ecx + 1], dl
mov edx, ecx
add edx, 4
mov dword [esp + 0x38], edx
sub eax, 1
jne 0x100536b0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
test ebx, ebx
je 0x10053a1d
cmp dword [esp + 0x1c], 0
je 0x10053a1d
cmp dword [esp + 0x18], 0
je 0x10053a1d
test eax, eax
je case.0x10052b1d.3
mov edi, dword [esp + 0x34]
mov ecx, 0x100
inc edi
mov ebx, 0xffff
movzx edx, byte [edi + 5]
movzx ecx, cx
imul edx, ecx
movzx ecx, byte [edi + 6]
add dx, cx
movzx ecx, dx
cmp cx, bx
jne 0x10053859
mov ecx, dword [esp + 0x14]
movzx esi, byte [edi]
movzx edx, byte [edi - 1]
movzx ebx, cl
mov cl, bl
shr esi, cl
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx + esi*4]
movzx esi, byte [edi + 1]
movzx edx, word [ecx + edx*2]
mov ecx, edx
mov byte [edi], dl
movzx edx, byte [edi + 2]
shr ecx, 8
mov byte [edi - 1], cl
mov cl, bl
shr edx, cl
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + edx*4]
movzx ecx, word [edx + esi*2]
movzx esi, byte [edi + 4]
mov edx, ecx
mov byte [edi + 2], cl
mov cl, bl
shr esi, cl
mov ecx, dword [esp + 0x10]
shr edx, 8
mov byte [edi + 1], dl
movzx edx, byte [edi + 3]
mov ecx, dword [ecx + esi*4]
movzx ecx, word [ecx + edx*2]
mov edx, ecx
shr cx, 8
movzx ecx, cx
jmp 0x100539f9
test cx, cx
jne 0x10053896
movzx edx, word [ebp + 0x166]
mov ecx, edx
mov byte [edi], dl
movzx edx, word [ebp + 0x168]
shr ecx, 8
mov byte [edi - 1], cl
mov ecx, edx
shr ecx, 8
mov byte [edi + 1], cl
movzx ecx, word [ebp + 0x16a]
mov byte [edi + 2], dl
mov edx, ecx
shr cx, 8
movzx ecx, cx
jmp 0x100539fe
mov ebx, dword [esp + 0x14]
movzx esi, byte [edi]
movzx edx, bl
mov dword [esp + 0x30], edx
mov edx, ecx
mov ecx, 0xffff
mov dword [esp + 0x28], edx
sub ecx, edx
movzx edx, byte [edi - 1]
mov dword [esp + 0x24], ecx
mov cl, byte [esp + 0x30]
shr esi, cl
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx + esi*4]
movzx edx, word [ecx + edx*2]
imul edx, dword [esp + 0x28]
movzx ecx, word [ebp + 0x170]
imul ecx, dword [esp + 0x24]
add ecx, 0x8000
add ecx, edx
mov edx, ecx
shr edx, 0x10
add edx, ecx
shr edx, 0x10
cmp dword [esp + 0x38], 0
jne 0x10053916
mov ecx, dword [esp + 0x14]
mov ebx, edx
movzx ecx, cx
movzx edx, bl
shr edx, cl
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x1c]
shr ebx, 8
mov ecx, dword [ecx + edx*4]
movzx edx, word [ecx + ebx*2]
jmp 0x1005391d
movzx ecx, bx
mov dword [esp + 0x20], ecx
movzx esi, byte [edi + 2]
mov ecx, edx
shr ecx, 8
mov byte [edi - 1], cl
mov cl, byte [esp + 0x30]
shr esi, cl
mov ecx, dword [esp + 0x18]
mov byte [edi], dl
movzx edx, byte [edi + 1]
mov ecx, dword [ecx + esi*4]
movzx edx, word [ecx + edx*2]
movzx ecx, word [ebp + 0x172]
imul ecx, dword [esp + 0x24]
imul edx, dword [esp + 0x28]
add ecx, 0x8000
add ecx, edx
mov ebx, ecx
shr ebx, 0x10
add ebx, ecx
mov ecx, dword [esp + 0x20]
shr ebx, 0x10
cmp dword [esp + 0x38], 0
movzx ecx, cx
mov dword [esp + 0x20], ecx
jne 0x10053988
movzx edx, bl
shr edx, cl
mov ecx, dword [esp + 0x1c]
shr ebx, 8
mov edx, dword [ecx + edx*4]
movzx ebx, word [edx + ebx*2]
mov cl, byte [esp + 0x30]
mov edx, ebx
movzx esi, byte [edi + 4]
shr esi, cl
mov ecx, dword [esp + 0x18]
shr edx, 8
mov byte [edi + 1], dl
movzx edx, byte [edi + 3]
mov byte [edi + 2], bl
mov ecx, dword [ecx + esi*4]
movzx edx, word [ecx + edx*2]
movzx ecx, word [ebp + 0x174]
imul ecx, dword [esp + 0x24]
imul edx, dword [esp + 0x28]
add ecx, 0x8000
add edx, ecx
mov esi, edx
shr esi, 0x10
add esi, edx
shr esi, 0x10
cmp dword [esp + 0x38], 0
jne 0x100539ef
mov ecx, dword [esp + 0x20]
mov ebx, esi
movzx edx, bl
shr edx, cl
mov ecx, dword [esp + 0x1c]
shr ebx, 8
mov ecx, dword [ecx + edx*4]
movzx esi, word [ecx + ebx*2]
movzx edx, si
shr si, 8
movzx ecx, si
mov ebx, 0xffff
mov byte [edi + 3], cl
mov ecx, 0x100
mov byte [edi + 4], dl
add edi, 8
sub eax, 1
jne 0x100537d2
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
test eax, eax
je case.0x10052b1d.3
mov ebx, dword [esp + 0x34]
mov ecx, 0x100
inc ebx
mov esi, 0xffff
movzx edx, byte [ebx + 5]
movzx ecx, cx
imul edx, ecx
movzx ecx, byte [ebx + 6]
add dx, cx
movzx ecx, dx
test cx, cx
jne 0x10053a7c
movzx edx, word [ebp + 0x166]
mov ecx, edx
mov byte [ebx], dl
movzx edx, word [ebp + 0x168]
shr ecx, 8
mov byte [ebx - 1], cl
mov ecx, edx
shr ecx, 8
mov byte [ebx + 2], dl
movzx edx, word [ebp + 0x16a]
mov byte [ebx + 1], cl
jmp 0x10053b2b
cmp cx, si
jae 0x10053b36
movzx edx, byte [ebx - 1]
mov esi, ecx
movzx ecx, byte [ebx]
mov edi, 0xffff
shl edx, 8
sub edi, esi
add edx, ecx
movzx ecx, word [ebp + 0x166]
imul edx, esi
imul ecx, edi
add edx, 0x8000
add ecx, edx
mov edx, ecx
shr edx, 0x10
add edx, ecx
shr edx, 0x10
mov ecx, edx
mov byte [ebx], dl
movzx edx, byte [ebx + 1]
shl edx, 8
shr ecx, 8
mov byte [ebx - 1], cl
movzx ecx, byte [ebx + 2]
add edx, ecx
movzx ecx, word [ebp + 0x168]
imul edx, esi
imul ecx, edi
add edx, 0x8000
add ecx, edx
mov edx, ecx
shr edx, 0x10
add edx, ecx
shr edx, 0x10
mov ecx, edx
mov byte [ebx + 2], dl
movzx edx, byte [ebx + 3]
shr ecx, 8
shl edx, 8
mov byte [ebx + 1], cl
movzx ecx, byte [ebx + 4]
add edx, ecx
movzx ecx, word [ebp + 0x16a]
imul edx, esi
mov esi, 0xffff
imul ecx, edi
add edx, 0x8000
add ecx, edx
mov edx, ecx
shr edx, 0x10
add edx, ecx
shr edx, 0x10
mov ecx, edx
mov byte [ebx + 4], dl
shr ecx, 8
mov byte [ebx + 3], cl
add ebx, 8
mov ecx, 0x100
sub eax, 1
jne 0x10053a34
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret