Function at 0x1012b1c0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov dword [esp], ecx
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x1012c124
mov al, byte [eax + 8]
test al, 4
push ebp
je 0x1012b1f6
cmp al, 3
je 0x1012c123
mov ebp, dword [esp + 0x20]
test ebp, ebp
je 0x1012c123
jmp 0x1012b1fa
mov ebp, dword [esp + 0x20]
movzx eax, al
cmp eax, 6
push ebx
ja case.default.0x1012b209
push esi
push edi
jmp dword [eax*4 + 0x1012c128]
mov edx, dword [esp + 0x24]
movzx eax, byte [edx + 9]
dec eax
cmp eax, 0xf
ja case.0x1012b229.3
movzx eax, byte [eax + 0x1012c15c]
jmp dword [eax*4 + 0x1012c144]
mov eax, dword [esp + 0x10]
test eax, eax
mov esi, dword [esp + 0x28]
mov edx, 7
jbe case.0x1012b229.3
mov edi, dword [esp + 0x30]
mov ebp, eax
jmp 0x1012b250
mov bl, byte [esi]
mov al, bl
mov cl, dl
shr al, cl
and al, 1
movzx cx, al
mov eax, dword [esp + 0x2c]
cmp cx, word [eax + 8]
jne 0x1012b285
mov ecx, 7
sub ecx, edx
mov eax, 0x7f7f
sar eax, cl
mov ecx, edx
and al, bl
mov byte [esi], al
mov bl, byte [edi + 8]
shl bl, cl
or bl, al
mov byte [esi], bl
test edx, edx
jne 0x1012b291
mov edx, 7
inc esi
jmp 0x1012b292
dec edx
dec ebp
jne 0x1012b250
jmp case.0x1012b229.3
mov edi, dword [esp + 0x38]
test edi, edi
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x28]
mov edx, 6
je 0x1012b34c
test eax, eax
jbe case.0x1012b229.3
mov ecx, eax
mov dword [esp + 0x14], ecx
mov bl, byte [esi]
mov ebp, dword [esp + 0x2c]
mov cl, dl
mov al, bl
shr al, cl
and al, 3
movzx cx, al
cmp cx, word [ebp + 8]
jne 0x1012b2f8
mov ecx, 6
sub ecx, edx
mov eax, 0x3f3f
sar eax, cl
mov ecx, dword [esp + 0x30]
and al, bl
mov byte [esi], al
mov bl, byte [ecx + 8]
mov ecx, edx
shl bl, cl
jmp 0x1012b32a
movzx eax, al
lea ecx, [eax*4]
or ecx, eax
shl ecx, 2
or ecx, eax
shl ecx, 2
or ecx, eax
mov al, byte [ecx + edi]
mov ecx, 6
sub ecx, edx
mov ebx, 0x3f3f
sar ebx, cl
mov cl, byte [esi]
shr al, 6
and bl, cl
mov ecx, edx
shl al, cl
or bl, al
test edx, edx
mov byte [esi], bl
jne 0x1012b33a
mov edx, 6
inc esi
jmp 0x1012b33d
sub edx, 2
dec dword [esp + 0x14]
jne 0x1012b2c1
jmp case.0x1012b229.3
test eax, eax
jbe case.0x1012b229.3
mov ebp, dword [esp + 0x10]
mov edi, dword [esp + 0x30]
lea esp, [esp]
mov bl, byte [esi]
mov al, bl
mov cl, dl
shr al, cl
and al, 3
movzx cx, al
mov eax, dword [esp + 0x2c]
cmp cx, word [eax + 8]
jne 0x1012b395
mov ecx, 6
sub ecx, edx
mov eax, 0x3f3f
sar eax, cl
mov ecx, edx
and al, bl
mov byte [esi], al
mov bl, byte [edi + 8]
shl bl, cl
or bl, al
mov byte [esi], bl
test edx, edx
jne 0x1012b3a1
mov edx, 6
inc esi
jmp 0x1012b3a4
sub edx, 2
dec ebp
jne 0x1012b360
jmp case.0x1012b229.3
mov edi, dword [esp + 0x38]
test edi, edi
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x28]
mov edx, 4
je 0x1012b44e
test eax, eax
jbe case.0x1012b229.3
mov ecx, eax
mov dword [esp + 0x14], ecx
mov bl, byte [esi]
mov ebp, dword [esp + 0x2c]
mov cl, dl
mov al, bl
shr al, cl
and al, 0xf
movzx cx, al
cmp cx, word [ebp + 8]
jne 0x1012b40a
mov ecx, 4
sub ecx, edx
mov eax, 0xf0f
sar eax, cl
mov ecx, dword [esp + 0x30]
and al, bl
mov byte [esi], al
mov bl, byte [ecx + 8]
mov ecx, edx
shl bl, cl
jmp 0x1012b430
movzx eax, al
mov ecx, eax
shl ecx, 4
or ecx, eax
mov al, byte [ecx + edi]
mov ecx, 4
sub ecx, edx
mov ebx, 0xf0f
sar ebx, cl
mov cl, byte [esi]
shr al, 4
and bl, cl
mov ecx, edx
shl al, cl
or bl, al
test edx, edx
mov byte [esi], bl
jne 0x1012b440
mov edx, 4
inc esi
jmp 0x1012b443
sub edx, 4
dec dword [esp + 0x14]
jne 0x1012b3d3
jmp case.0x1012b229.3
test eax, eax
jbe case.0x1012b229.3
mov ebp, dword [esp + 0x10]
mov edi, dword [esp + 0x30]
mov edi, edi
mov bl, byte [esi]
mov al, bl
mov cl, dl
shr al, cl
and al, 0xf
movzx cx, al
mov eax, dword [esp + 0x2c]
cmp cx, word [eax + 8]
jne 0x1012b495
mov ecx, 4
sub ecx, edx
mov eax, 0xf0f
sar eax, cl
mov ecx, edx
and al, bl
mov byte [esi], al
mov bl, byte [edi + 8]
shl bl, cl
or bl, al
mov byte [esi], bl
test edx, edx
jne 0x1012b4a1
mov edx, 4
inc esi
jmp 0x1012b4a4
sub edx, 4
dec ebp
jne 0x1012b460
jmp case.0x1012b229.3
mov edx, dword [esp + 0x38]
test edx, edx
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x28]
je 0x1012b4f2
test ecx, ecx
jbe case.0x1012b229.3
mov edi, dword [esp + 0x30]
mov esi, ecx
lea ebx, [ebx]
mov cl, byte [eax]
movzx bx, cl
cmp bx, word [ebp + 8]
jne 0x1012b4e1
mov cl, byte [edi + 8]
jmp 0x1012b4e7
movzx ecx, cl
mov cl, byte [ecx + edx]
mov byte [eax], cl
inc eax
dec esi
jne 0x1012b4d0
jmp case.0x1012b229.3
test ecx, ecx
jbe case.0x1012b229.3
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x30]
movzx dx, byte [eax]
cmp dx, word [ebp + 8]
jne 0x1012b511
mov dl, byte [esi + 8]
mov byte [eax], dl
inc eax
dec ecx
jne 0x1012b502
jmp case.0x1012b229.3
mov esi, dword [esp + 0x44]
test esi, esi
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x28]
je 0x1012b593
test ecx, ecx
jbe case.0x1012b229.3
mov bl, byte [esp + 0x50]
mov dword [esp + 0x14], ecx
lea ebx, [ebx]
mov dl, byte [eax]
mov cl, byte [eax + 1]
movzx di, dl
movzx bp, cl
shl edi, 8
add edi, ebp
mov ebp, dword [esp + 0x2c]
cmp di, word [ebp + 8]
jne 0x1012b56a
mov edi, dword [esp + 0x30]
mov dl, byte [edi + 9]
mov byte [eax], dl
mov cl, byte [edi + 8]
jmp 0x1012b57d
movzx edi, cl
mov cl, bl
shr edi, cl
movzx edx, dl
mov ecx, dword [esi + edi*4]
mov cx, word [ecx + edx*2]
mov byte [eax], ch
mov byte [eax + 1], cl
mov ecx, dword [esp + 0x14]
add eax, 2
dec ecx
mov dword [esp + 0x14], ecx
jne 0x1012b540
jmp case.0x1012b229.3
test ecx, ecx
jbe case.0x1012b229.3
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x30]
movzx dx, byte [eax]
movzx di, byte [eax + 1]
shl edx, 8
add edx, edi
cmp dx, word [ebp + 8]
jne 0x1012b5c2
mov dl, byte [ecx + 9]
mov byte [eax], dl
mov dl, byte [ecx + 8]
mov byte [eax + 1], dl
add eax, 2
dec esi
jne 0x1012b5a3
jmp case.0x1012b229.3
mov eax, dword [esp + 0x24]
cmp byte [eax + 9], 8
mov eax, dword [esp + 0x10]
jne 0x1012b6ac
mov edx, dword [esp + 0x38]
test edx, edx
je 0x1012b659
test eax, eax
jbe case.0x1012b229.3
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0x30]
add eax, 2
mov edi, edi
mov cl, byte [eax - 2]
movzx bx, cl
cmp bx, word [ebp + 2]
jne 0x1012b633
movzx bx, byte [eax - 1]
cmp bx, word [ebp + 4]
jne 0x1012b633
movzx bx, byte [eax]
cmp bx, word [ebp + 6]
jne 0x1012b633
mov cl, byte [esi + 2]
mov byte [eax - 2], cl
mov cl, byte [esi + 4]
mov byte [eax - 1], cl
mov cl, byte [esi + 6]
jmp 0x1012b64c
movzx ecx, cl
mov cl, byte [ecx + edx]
mov byte [eax - 2], cl
movzx ecx, byte [eax - 1]
mov cl, byte [ecx + edx]
mov byte [eax - 1], cl
movzx ecx, byte [eax]
mov cl, byte [ecx + edx]
mov byte [eax], cl
add eax, 3
dec edi
jne 0x1012b600
jmp case.0x1012b229.3
test eax, eax
jbe case.0x1012b229.3
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x30]
add eax, 2
movzx dx, byte [eax - 2]
cmp dx, word [ebp + 2]
jne 0x1012b6a1
movzx dx, byte [eax - 1]
cmp dx, word [ebp + 4]
jne 0x1012b6a1
movzx dx, byte [eax]
cmp dx, word [ebp + 6]
jne 0x1012b6a1
mov dl, byte [ecx + 2]
mov byte [eax - 2], dl
mov dl, byte [ecx + 4]
mov byte [eax - 1], dl
mov dl, byte [ecx + 6]
mov byte [eax], dl
add eax, 3
dec esi
jne 0x1012b670
jmp case.0x1012b229.3
mov esi, dword [esp + 0x44]
test esi, esi
je 0x1012b7a9
test eax, eax
jbe case.0x1012b229.3
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x30]
add eax, 2
mov dword [esp + 0x14], ecx
mov bl, byte [eax - 2]
mov cl, byte [eax - 1]
movzx dx, bl
movzx bp, cl
shl edx, 8
add edx, ebp
mov ebp, dword [esp + 0x2c]
cmp dx, word [ebp + 2]
jne 0x1012b746
movzx dx, byte [eax]
movzx bp, byte [eax + 1]
shl edx, 8
add edx, ebp
mov ebp, dword [esp + 0x2c]
cmp dx, word [ebp + 4]
jne 0x1012b746
movzx dx, byte [eax + 2]
movzx bp, byte [eax + 3]
shl edx, 8
add edx, ebp
mov ebp, dword [esp + 0x2c]
cmp dx, word [ebp + 6]
jne 0x1012b746
mov cl, byte [edi + 3]
mov byte [eax - 2], cl
mov dl, byte [edi + 2]
mov byte [eax - 1], dl
mov cl, byte [edi + 5]
mov byte [eax], cl
mov dl, byte [edi + 4]
mov byte [eax + 1], dl
mov cl, byte [edi + 7]
mov byte [eax + 2], cl
mov dl, byte [edi + 6]
mov byte [eax + 3], dl
jmp 0x1012b792
movzx edx, byte [esp + 0x50]
movzx ebp, cl
mov cl, dl
shr ebp, cl
movzx ecx, bl
mov ebx, dword [esi + ebp*4]
mov cx, word [ebx + ecx*2]
movzx ebx, byte [eax + 1]
mov byte [eax - 1], cl
mov cl, dl
shr ebx, cl
mov byte [eax - 2], ch
movzx ecx, byte [eax]
mov ebx, dword [esi + ebx*4]
mov cx, word [ebx + ecx*2]
movzx ebx, byte [eax + 3]
mov byte [eax + 1], cl
mov cl, dl
movzx edx, byte [eax + 2]
shr ebx, cl
mov byte [eax], ch
mov ecx, dword [esi + ebx*4]
mov cx, word [ecx + edx*2]
mov byte [eax + 2], ch
mov byte [eax + 3], cl
mov ecx, dword [esp + 0x14]
add eax, 6
dec ecx
mov dword [esp + 0x14], ecx
jne 0x1012b6d3
jmp case.0x1012b229.3
test eax, eax
jbe case.0x1012b229.3
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x30]
add eax, 2
movzx dx, byte [eax - 2]
movzx di, byte [eax - 1]
shl edx, 8
add edx, edi
cmp dx, word [ebp + 2]
jne 0x1012b821
movzx dx, byte [eax]
movzx di, byte [eax + 1]
shl edx, 8
add edx, edi
cmp dx, word [ebp + 4]
jne 0x1012b821
movzx dx, byte [eax + 2]
movzx di, byte [eax + 3]
shl edx, 8
add edx, edi
cmp dx, word [ebp + 6]
jne 0x1012b821
mov dl, byte [ecx + 3]
mov byte [eax - 2], dl
mov dl, byte [ecx + 2]
mov byte [eax - 1], dl
mov dl, byte [ecx + 5]
mov byte [eax], dl
mov dl, byte [ecx + 4]
mov byte [eax + 1], dl
mov dl, byte [ecx + 7]
mov byte [eax + 2], dl
mov dl, byte [ecx + 6]
mov byte [eax + 3], dl
add eax, 6
dec esi
jne 0x1012b7c0
jmp case.0x1012b229.3
mov eax, dword [esp + 0x24]
cmp byte [eax + 9], 8
jne 0x1012b956
mov ebp, dword [esp + 0x40]
test ebp, ebp
je 0x1012b8ed
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x1012b8ed
mov eax, dword [esp + 0x38]
test eax, eax
je 0x1012b8ed
mov eax, dword [esp + 0x10]
test eax, eax
mov ecx, dword [esp + 0x28]
mov esi, ecx
jbe case.0x1012b229.3
mov edi, dword [esp + 0x34]
mov edx, eax
mov dword [esp + 0x14], edx
lea ebx, [ebx]
movzx ax, byte [ecx + 1]
cmp ax, 0xff
jne 0x1012b894
movzx eax, byte [ecx]
mov edx, dword [esp + 0x38]
jmp 0x1012b8d4
test ax, ax
jne 0x1012b8a2
mov edx, dword [esp + 0x30]
mov al, byte [edx + 8]
jmp 0x1012b8d7
movzx ebx, byte [ecx]
movzx bx, byte [ebx + ebp]
mov edx, 0xff
sub edx, eax
imul dx, word [edi + 8]
imul ebx, eax
lea eax, [edx + ebx + 0x80]
movzx eax, ax
mov edx, eax
shr edx, 8
add edx, eax
sar edx, 8
movzx eax, dl
mov edx, dword [esp + 0x3c]
mov al, byte [eax + edx]
mov byte [esi], al
mov eax, dword [esp + 0x14]
add ecx, 2
inc esi
dec eax
mov dword [esp + 0x14], eax
jne 0x1012b880
jmp case.0x1012b229.3
mov eax, dword [esp + 0x10]
test eax, eax
mov ecx, dword [esp + 0x28]
mov esi, ecx
jbe case.0x1012b229.3
mov edi, dword [esp + 0x34]
mov ebp, eax
mov al, byte [ecx + 1]
cmp al, 0xff
jne 0x1012b910
mov dl, byte [ecx]
jmp 0x1012b948
test al, al
jne 0x1012b91d
mov eax, dword [esp + 0x30]
mov dl, byte [eax + 8]
jmp 0x1012b948
movzx bx, byte [ecx]
movzx ax, al
mov edx, 0xff
sub edx, eax
imul ebx, eax
imul dx, word [edi + 8]
lea eax, [edx + ebx + 0x80]
movzx eax, ax
mov edx, eax
shr edx, 8
add edx, eax
sar edx, 8
add ecx, 2
mov byte [esi], dl
inc esi
dec ebp
jne 0x1012b905
jmp case.0x1012b229.3
mov eax, dword [esp + 0x44]
test eax, eax
je 0x1012ba5d
mov eax, dword [esp + 0x48]
test eax, eax
je 0x1012ba5d
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x1012ba5d
mov eax, dword [esp + 0x10]
test eax, eax
mov edx, dword [esp + 0x28]
mov esi, edx
jbe case.0x1012b229.3
mov bl, byte [esp + 0x50]
mov edi, dword [esp + 0x30]
inc edx
mov dword [esp + 0x14], eax
lea esp, [esp]
movzx ax, byte [edx + 1]
movzx cx, byte [edx + 2]
shl eax, 8
add eax, ecx
cmp ax, 0xffff
jne 0x1012b9ce
movzx eax, byte [edx]
mov ebp, dword [esp + 0x44]
mov cl, bl
shr eax, cl
movzx ecx, byte [edx - 1]
mov eax, dword [ebp + eax*4]
mov ax, word [eax + ecx*2]
jmp 0x1012ba3e
test ax, ax
jne 0x1012b9dd
mov cl, byte [edi + 9]
mov byte [esi], cl
mov al, byte [edi + 8]
jmp 0x1012ba40
movzx edi, byte [edx]
mov ebp, dword [esp + 0x4c]
mov cl, bl
shr edi, cl
movzx ecx, byte [edx - 1]
mov edi, dword [ebp + edi*4]
movzx ecx, word [edi + ecx*2]
mov edi, dword [esp + 0x34]
movzx edi, word [edi + 8]
movzx eax, ax
imul ecx, eax
mov ebp, 0xffff
sub ebp, eax
imul edi, ebp
lea ecx, [ecx + edi + 0x8000]
mov eax, ecx
shr eax, 0x10
add eax, ecx
shr eax, 0x10
movzx eax, ax
mov edi, eax
and edi, 0xff
mov cl, bl
shr edi, cl
mov ecx, dword [esp + 0x48]
shr eax, 8
mov ecx, dword [ecx + edi*4]
mov ax, word [ecx + eax*2]
mov edi, dword [esp + 0x30]
mov byte [esi], ah
mov byte [esi + 1], al
mov eax, dword [esp + 0x14]
add edx, 4
add esi, 2
dec eax
mov dword [esp + 0x14], eax
jne 0x1012b9a0
jmp case.0x1012b229.3
mov eax, dword [esp + 0x10]
test eax, eax
mov ecx, dword [esp + 0x28]
mov edx, ecx
jbe case.0x1012b229.3
mov edi, dword [esp + 0x34]
mov esi, dword [esp + 0x30]
add ecx, 3
mov dword [esp + 0x14], eax
mov edi, edi
movzx ax, byte [ecx - 1]
movzx bx, byte [ecx]
shl eax, 8
add eax, ebx
cmp ax, 0xffff
jne 0x1012ba9d
mov ax, word [ecx - 3]
mov word [edx], ax
jmp 0x1012baec
test ax, ax
jne 0x1012baac
mov al, byte [esi + 9]
mov byte [edx], al
mov al, byte [esi + 8]
jmp 0x1012bae9
movzx si, byte [ecx - 3]
movzx bx, byte [ecx - 2]
movzx eax, ax
shl esi, 8
mov ebp, 0xffff
sub ebp, eax
add esi, ebx
movzx ebx, word [edi + 8]
movzx esi, si
imul ebx, ebp
imul esi, eax
lea esi, [esi + ebx + 0x8000]
mov eax, esi
shr eax, 0x10
add eax, esi
mov esi, dword [esp + 0x30]
shr eax, 0x10
mov byte [edx], ah
mov byte [edx + 1], al
mov eax, dword [esp + 0x14]
add ecx, 4
add edx, 2
dec eax
mov dword [esp + 0x14], eax
jne 0x1012ba80
jmp case.0x1012b229.3
mov ecx, dword [esp + 0x24]
cmp byte [ecx + 9], 8
jne 0x1012bd62
mov ebp, dword [esp + 0x40]
test ebp, ebp
je 0x1012bc6c
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x1012bc6c
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x1012bc6c
mov eax, dword [esp + 0x10]
test eax, eax
jbe case.0x1012b229.3
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0x30]
mov edx, eax
lea esi, [edi + 2]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x34]
inc edi
mov al, byte [edi + 2]
cmp al, 0xff
jne 0x1012bb7c
movzx eax, byte [edi - 1]
mov al, byte [eax + ecx]
mov byte [esi - 2], al
movzx eax, byte [edi]
mov al, byte [eax + ecx]
mov byte [esi - 1], al
movzx eax, byte [edi + 1]
mov al, byte [eax + ecx]
jmp 0x1012bc50
test al, al
jne 0x1012bb94
mov al, byte [ebx + 2]
mov byte [esi - 2], al
mov al, byte [ebx + 4]
mov byte [esi - 1], al
mov al, byte [ebx + 6]
jmp 0x1012bc50
movzx ebx, byte [edi - 1]
movzx bx, byte [ebx + ebp]
movzx ax, al
xor ebp, ebp
mov bp, word [edx + 2]
mov ecx, 0xff
imul ebx, eax
sub ecx, eax
imul bp, cx
lea ebx, [ebx + ebp + 0x80]
movzx ebp, bx
mov ebx, ebp
shr ebx, 8
add ebx, ebp
mov ebp, dword [esp + 0x3c]
sar ebx, 8
movzx ebx, bl
mov bl, byte [ebx + ebp]
mov ebp, dword [esp + 0x40]
mov byte [esi - 2], bl
movzx ebx, byte [edi]
movzx bx, byte [ebx + ebp]
xor ebp, ebp
mov bp, word [edx + 4]
imul bp, cx
imul ebx, eax
lea ebx, [ebx + ebp + 0x80]
movzx ebp, bx
mov ebx, ebp
shr ebx, 8
add ebx, ebp
mov ebp, dword [esp + 0x3c]
sar ebx, 8
movzx ebx, bl
mov bl, byte [ebx + ebp]
mov ebp, dword [esp + 0x40]
mov byte [esi - 1], bl
movzx ebx, byte [edi + 1]
movzx bx, byte [ebx + ebp]
imul ebx, eax
xor eax, eax
mov ax, word [edx + 6]
imul ax, cx
lea eax, [ebx + eax + 0x80]
mov ebx, dword [esp + 0x30]
movzx eax, ax
mov ecx, eax
shr ecx, 8
add ecx, eax
sar ecx, 8
movzx eax, cl
mov ecx, dword [esp + 0x3c]
mov al, byte [eax + ecx]
mov ecx, dword [esp + 0x38]
mov byte [esi], al
mov eax, dword [esp + 0x14]
add edi, 4
add esi, 3
dec eax
mov dword [esp + 0x14], eax
jne 0x1012bb56
jmp case.0x1012b229.3
mov eax, dword [esp + 0x10]
test eax, eax
jbe case.0x1012b229.3
mov edi, dword [esp + 0x28]
mov edx, dword [esp + 0x30]
mov ecx, eax
lea esi, [edi + 2]
inc edi
mov dword [esp + 0x14], ecx
lea ebx, [ebx]
mov al, byte [edi + 2]
cmp al, 0xff
jne 0x1012bcac
mov al, byte [edi - 1]
mov byte [esi - 2], al
mov cl, byte [edi]
mov byte [esi - 1], cl
mov al, byte [edi + 1]
mov byte [esi], al
jmp 0x1012bd48
test al, al
jne 0x1012bcc4
mov cl, byte [edx + 2]
mov byte [esi - 2], cl
mov al, byte [edx + 4]
mov byte [esi - 1], al
mov cl, byte [edx + 6]
jmp 0x1012bd46
movzx bx, byte [edi - 1]
movzx ax, al
xor ebp, ebp
mov bp, word [edx + 2]
mov ecx, 0xff
imul ebx, eax
sub ecx, eax
imul bp, cx
lea ebx, [ebx + ebp + 0x80]
movzx ebp, bx
mov ebx, ebp
shr ebx, 8
add ebx, ebp
sar ebx, 8
mov byte [esi - 2], bl
movzx bp, byte [edi]
xor ebx, ebx
mov bx, word [edx + 4]
imul bx, cx
imul ebp, eax
lea ebx, [ebx + ebp + 0x80]
movzx ebp, bx
mov ebx, ebp
shr ebx, 8
add ebx, ebp
sar ebx, 8
mov byte [esi - 1], bl
movzx bx, byte [edi + 1]
imul ebx, eax
xor eax, eax
mov ax, word [edx + 6]
imul ax, cx
lea eax, [ebx + eax + 0x80]
movzx eax, ax
mov ecx, eax
shr ecx, 8
add ecx, eax
sar ecx, 8
mov byte [esi], cl
mov eax, dword [esp + 0x14]
add edi, 4
add esi, 3
dec eax
mov dword [esp + 0x14], eax
jne 0x1012bc90
jmp case.0x1012b229.3
mov edi, dword [esp + 0x44]
test edi, edi
je 0x1012bf93
mov eax, dword [esp + 0x48]
test eax, eax
je 0x1012bf93
mov ebp, dword [esp + 0x4c]
test ebp, ebp
je 0x1012bf93
mov ecx, dword [esp + 0x10]
test ecx, ecx
jbe case.0x1012b229.3
mov edx, dword [esp + 0x28]
mov bl, byte [esp + 0x50]
lea eax, [edx + 2]
inc edx
mov dword [esp + 0x1c], ecx
movzx si, byte [edx + 5]
movzx cx, byte [edx + 6]
shl esi, 8
add esi, ecx
cmp si, 0xffff
jne 0x1012be09
movzx esi, byte [edx]
movzx ecx, bl
shr esi, cl
mov dword [esp + 0x14], ecx
movzx ecx, byte [edx - 1]
mov esi, dword [edi + esi*4]
mov cx, word [esi + ecx*2]
mov byte [eax - 1], cl
mov cl, byte [esp + 0x14]
mov byte [eax - 2], ch
movzx esi, byte [edx + 2]
shr esi, cl
movzx ecx, byte [edx + 1]
mov esi, dword [edi + esi*4]
mov cx, word [esi + ecx*2]
mov byte [eax + 1], cl
mov cl, byte [esp + 0x14]
mov byte [eax], ch
movzx esi, byte [edx + 4]
shr esi, cl
movzx ecx, byte [edx + 3]
mov esi, dword [edi + esi*4]
mov cx, word [esi + ecx*2]
jmp 0x1012bf73
test si, si
jne 0x1012be4b
mov ecx, dword [esp + 0x30]
mov cl, byte [ecx + 3]
mov byte [eax - 2], cl
mov ecx, dword [esp + 0x30]
mov cl, byte [ecx + 2]
mov byte [eax - 1], cl
mov ecx, dword [esp + 0x30]
mov cl, byte [ecx + 5]
mov byte [eax], cl
mov ecx, dword [esp + 0x30]
mov cl, byte [ecx + 4]
mov byte [eax + 1], cl
mov ecx, dword [esp + 0x30]
mov cl, byte [ecx + 7]
mov byte [eax + 2], cl
mov ecx, dword [esp + 0x30]
mov cl, byte [ecx + 6]
jmp 0x1012bf76
movzx ecx, bl
movzx ebx, byte [edx]
shr ebx, cl
mov dword [esp + 0x14], ecx
movzx ecx, byte [edx - 1]
mov ebx, dword [ebp + ebx*4]
movzx ecx, word [ebx + ecx*2]
mov ebx, dword [esp + 0x34]
movzx ebx, word [ebx + 2]
movzx esi, si
imul ecx, esi
mov edi, 0xffff
sub edi, esi
imul ebx, edi
lea ebx, [ecx + ebx + 0x8000]
mov ecx, ebx
shr ecx, 0x10
add ecx, ebx
shr ecx, 0x10
movzx ebp, cx
movzx ecx, word [esp + 0x50]
mov dword [esp + 0x18], ecx
mov ebx, ebp
and ebx, 0xff
shr ebx, cl
mov ecx, dword [esp + 0x48]
shr ebp, 8
mov ecx, dword [ecx + ebx*4]
mov cx, word [ecx + ebp*2]
mov byte [eax - 1], cl
mov cl, byte [esp + 0x14]
mov byte [eax - 2], ch
movzx ebx, byte [edx + 2]
shr ebx, cl
movzx ecx, byte [edx + 1]
mov ebp, dword [esp + 0x4c]
mov ebx, dword [ebp + ebx*4]
movzx ecx, word [ebx + ecx*2]
mov ebx, dword [esp + 0x34]
imul ecx, esi
movzx ebx, word [ebx + 4]
imul ebx, edi
lea ebx, [ecx + ebx + 0x8000]
mov ecx, ebx
shr ecx, 0x10
add ecx, ebx
shr ecx, 0x10
movzx ebp, cx
mov ecx, dword [esp + 0x18]
mov ebx, ebp
and ebx, 0xff
shr ebx, cl
mov ecx, dword [esp + 0x48]
shr ebp, 8
mov ecx, dword [ecx + ebx*4]
mov cx, word [ecx + ebp*2]
mov ebp, dword [esp + 0x4c]
mov byte [eax + 1], cl
mov cl, byte [esp + 0x14]
mov byte [eax], ch
movzx ebx, byte [edx + 4]
shr ebx, cl
movzx ecx, byte [edx + 3]
mov ebx, dword [ebp + ebx*4]
movzx ecx, word [ebx + ecx*2]
imul ecx, esi
mov esi, dword [esp + 0x34]
movzx esi, word [esi + 6]
imul esi, edi
lea esi, [ecx + esi + 0x8000]
mov ecx, esi
shr ecx, 0x10
add ecx, esi
shr ecx, 0x10
movzx esi, cx
mov ecx, dword [esp + 0x18]
mov edi, esi
and edi, 0xff
shr edi, cl
mov ecx, dword [esp + 0x48]
shr esi, 8
mov ecx, dword [ecx + edi*4]
mov cx, word [ecx + esi*2]
mov edi, dword [esp + 0x44]
mov bl, byte [esp + 0x50]
mov byte [eax + 2], ch
mov byte [eax + 3], cl
mov ecx, dword [esp + 0x1c]
add edx, 8
add eax, 6
dec ecx
mov dword [esp + 0x1c], ecx
jne 0x1012bda2
jmp case.0x1012b229.3
mov ecx, dword [esp + 0x10]
test ecx, ecx
jbe case.0x1012b229.3
mov edx, dword [esp + 0x28]
mov esi, dword [esp + 0x30]
lea eax, [edx + 2]
add edx, 7
mov dword [esp + 0x18], ecx
movzx cx, byte [edx - 1]
movzx di, byte [edx]
shl ecx, 8
add ecx, edi
cmp cx, 0xffff
jne 0x1012bfdd
lea ecx, [edx - 7]
mov ebx, dword [ecx]
lea edi, [eax - 2]
mov dword [edi], ebx
mov cx, word [ecx + 4]
mov word [edi + 4], cx
jmp 0x1012c0c3
test cx, cx
jne 0x1012c007
mov cl, byte [esi + 3]
mov byte [eax - 2], cl
mov cl, byte [esi + 2]
mov byte [eax - 1], cl
mov cl, byte [esi + 5]
mov byte [eax], cl
mov cl, byte [esi + 4]
mov byte [eax + 1], cl
mov cl, byte [esi + 7]
mov byte [eax + 2], cl
mov cl, byte [esi + 6]
jmp 0x1012c0c0
movzx si, byte [edx - 5]
movzx di, byte [edx - 4]
movzx bx, byte [edx - 2]
movzx bp, byte [edx - 6]
movzx ecx, cx
mov dword [esp + 0x1c], ecx
shl esi, 8
add esi, edi
movzx di, byte [edx - 3]
shl edi, 8
add edi, ebx
mov ebx, 0xffff
sub ebx, ecx
movzx cx, byte [edx - 7]
movzx edi, di
shl ecx, 8
add ecx, ebp
mov ebp, dword [esp + 0x30]
movzx ebp, word [ebp + 2]
movzx ecx, cx
imul ebp, ebx
imul ecx, dword [esp + 0x1c]
lea ebp, [ecx + ebp + 0x8000]
mov ecx, ebp
shr ecx, 0x10
add ecx, ebp
shr ecx, 0x10
mov byte [eax - 2], ch
mov byte [eax - 1], cl
mov ecx, dword [esp + 0x30]
movzx ecx, word [ecx + 4]
imul ecx, ebx
movzx ebp, si
mov esi, dword [esp + 0x1c]
imul ebp, esi
imul edi, esi
lea ebp, [ecx + ebp + 0x8000]
mov ecx, ebp
shr ecx, 0x10
add ecx, ebp
shr ecx, 0x10
mov byte [eax], ch
mov byte [eax + 1], cl
mov ecx, dword [esp + 0x30]
movzx ecx, word [ecx + 6]
imul ecx, ebx
lea esi, [ecx + edi + 0x8000]
mov ecx, esi
shr ecx, 0x10
add ecx, esi
mov esi, dword [esp + 0x30]
shr ecx, 0x10
mov byte [eax + 2], ch
mov byte [eax + 3], cl
mov ecx, dword [esp + 0x18]
add edx, 8
add eax, 6
dec ecx
mov dword [esp + 0x18], ecx
jne 0x1012bfb1
pop edi
pop esi
mov ecx, dword [esp + 0x1c]
mov al, byte [ecx + 8]
test al, 4
je 0x1012c122
mov bl, byte [ecx + 0xa]
and al, 0xfb
dec bl
mov byte [ecx + 8], al
mov al, byte [ecx + 9]
mov dl, bl
imul dl
mov byte [ecx + 0xb], al
cmp al, 8
mov byte [ecx + 0xa], bl
movzx eax, al
jb 0x1012c114
shr eax, 3
imul eax, dword [esp + 8]
pop ebx
mov dword [ecx + 4], eax
pop ebp
add esp, 0x10
ret
imul eax, dword [esp + 8]
add eax, 7
shr eax, 3
mov dword [ecx + 4], eax
pop ebx
pop ebp
add esp, 0x10
ret