Function at 0x6e1d20
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.0x6e1dbd.3
mov ebx, dword [esp + 0x30]
jmp dword [ebx*4 + 0x6e2df0]
movzx ecx, byte [edi + 9]
mov ebx, dword [esp + 0x10]
dec ecx
cmp ecx, 0xf
ja case.0x6e1dbd.3
movzx ecx, byte [ecx + 0x6e2e24]
jmp dword [ecx*4 + 0x6e2e0c]
mov esi, dword [esp + 0x34]
mov ebx, 7
mov dword [esp + 0x38], ebx
test eax, eax
je case.0x6e1dbd.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 0x6e1e21
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 0x6e1e2c
mov ebx, 7
jmp 0x6e1e2d
dec ebx
inc esi
mov dword [esp + 0x38], ebx
cmp dword [esp + 0x28], 0
cmovne esi, edi
sub eax, 1
jne 0x6e1de4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
mov ebx, 6
test esi, esi
je 0x6e1f0d
mov edi, dword [esp + 0x34]
test eax, eax
je case.0x6e1dbd.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 0x6e1eb2
mov dl, byte [ebp + 0x16c]
mov ecx, ebx
and dh, byte [esp + 0x30]
shl dl, cl
or dl, dh
jmp 0x6e1ee1
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 0x6e1eee
mov ebx, 6
jmp 0x6e1ef1
sub ebx, 2
inc edi
cmp dword [esp + 0x24], 0
cmovne edi, dword [esp + 0x20]
sub eax, 1
jne 0x6e1e70
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.0x6e1dbd.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 0x6e1f65
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 0x6e1f70
mov ebx, 6
jmp 0x6e1f73
sub ebx, 2
inc esi
mov dword [esp + 0x38], ebx
cmp dword [esp + 0x28], 0
cmovne esi, edi
sub eax, 1
jne 0x6e1f28
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
mov ebx, 4
test esi, esi
je 0x6e2042
mov edi, dword [esp + 0x34]
test eax, eax
je case.0x6e1dbd.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 0x6e1ff3
mov dl, byte [ebp + 0x16c]
mov ecx, ebx
and dh, byte [esp + 0x30]
shl dl, cl
or dl, dh
jmp 0x6e2016
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 0x6e2023
mov ebx, 4
jmp 0x6e2026
sub ebx, 4
inc edi
cmp dword [esp + 0x24], 0
cmovne edi, dword [esp + 0x20]
sub eax, 1
jne 0x6e1fb1
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.0x6e1dbd.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 0x6e209d
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 0x6e20a8
mov ebx, 4
jmp 0x6e20ab
sub ebx, 4
inc esi
mov dword [esp + 0x38], ebx
cmp dword [esp + 0x28], 0
cmovne esi, edi
sub eax, 1
jne 0x6e2060
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
mov edx, dword [esp + 0x34]
test esi, esi
je 0x6e2108
test eax, eax
je case.0x6e1dbd.3
movzx edi, word [ebp + 0x1bc]
nop dword [eax]
mov bl, byte [edx]
movzx ecx, bl
cmp cx, di
jne 0x6e20f2
mov cl, byte [ebp + 0x16c]
jmp 0x6e20f8
movzx ecx, bl
mov cl, byte [ecx + esi]
mov byte [edx], cl
inc edx
sub eax, 1
jne 0x6e20e0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
test eax, eax
je case.0x6e1dbd.3
movzx esi, word [ebp + 0x1bc]
movzx ecx, byte [edx]
cmp cx, si
jne 0x6e2127
mov cl, byte [ebp + 0x16c]
mov byte [edx], cl
inc edx
sub eax, 1
jne 0x6e2117
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
test ebx, ebx
je 0x6e21bf
mov ebx, dword [esp + 0x34]
test eax, eax
je case.0x6e1dbd.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 0x6e217e
movzx ecx, word [ebp + 0x16c]
jmp 0x6e21a1
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 0x6e2155
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
mov esi, dword [esp + 0x34]
test eax, eax
je case.0x6e1dbd.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 0x6e2203
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 0x6e21e0
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.0x6e1dbd.3
cmp cl, 8
jne 0x6e2305
mov edx, dword [esp + 0x34]
test esi, esi
je 0x6e22ac
movzx edi, word [ebp + 0x1b6]
inc edx
nop dword [eax + eax]
mov bl, byte [edx - 1]
movzx ecx, bl
cmp cx, di
jne 0x6e227f
movzx ecx, byte [edx]
cmp cx, word [ebp + 0x1b8]
jne 0x6e227f
movzx ecx, byte [edx + 1]
cmp cx, word [ebp + 0x1ba]
jne 0x6e227f
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 0x6e2299
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 0x6e2240
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 0x6e22f5
movzx ecx, byte [edx - 1]
cmp cx, word [ebp + 0x1b8]
jne 0x6e22f5
movzx ecx, byte [edx]
cmp cx, word [ebp + 0x1ba]
jne 0x6e22f5
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 0x6e22b6
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
test ebx, ebx
mov ebx, 0x100
je 0x6e2434
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 0x6e23a3
movzx edx, byte [edi]
movzx ecx, bx
imul edx, ecx
movzx ecx, byte [edi + 1]
add dx, cx
cmp dx, word [ebp + 0x1b8]
jne 0x6e23a3
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 0x6e23a3
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 0x6e2411
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 0x6e2320
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 0x6e24b7
movzx edx, byte [esi]
movzx ecx, byte [esi + 1]
imul edx, ebx
add dx, cx
cmp dx, word [ebp + 0x1b8]
jne 0x6e24b7
movzx edx, byte [esi + 2]
movzx ecx, byte [esi + 3]
imul edx, ebx
add dx, cx
cmp dx, word [ebp + 0x1ba]
jne 0x6e24b7
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 0x6e2442
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
cmp byte [edi + 9], 8
mov ebx, dword [esp + 0x10]
jne 0x6e25f2
test edx, edx
je 0x6e2584
test ecx, ecx
je 0x6e2584
test esi, esi
je 0x6e2584
mov edi, dword [esp + 0x34]
test eax, eax
je case.0x6e1dbd.3
mov edx, 0xff
nop
movzx ebx, byte [edi + 1]
cmp bx, dx
jne 0x6e2511
movzx ecx, byte [edi]
mov dl, byte [ecx + esi]
jmp 0x6e256d
test bx, bx
jne 0x6e251e
mov dl, byte [ebp + 0x16c]
jmp 0x6e256d
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 0x6e2569
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 0x6e2500
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
mov ebx, dword [esp + 0x34]
test eax, eax
je case.0x6e1dbd.3
mov edx, 0xff
mov cl, byte [ebx + 1]
test cl, cl
jne 0x6e25a6
mov cl, byte [ebp + 0x16c]
mov byte [ebx], cl
jmp 0x6e25e2
cmp cl, 0xff
jae 0x6e25e2
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 0x6e2595
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
test ebx, ebx
je 0x6e2714
cmp dword [esp + 0x1c], 0
je 0x6e2714
cmp dword [esp + 0x18], 0
je 0x6e2714
test eax, eax
je case.0x6e1dbd.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 0x6e2668
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 0x6e26e6
test cx, cx
jne 0x6e2678
movzx ecx, word [ebp + 0x16c]
mov edx, ecx
jmp 0x6e26eb
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 0x6e26c3
mov ecx, edx
jmp 0x6e26e3
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 0x6e2630
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
test eax, eax
je case.0x6e1dbd.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 0x6e2752
movzx edx, word [ebp + 0x16c]
jmp 0x6e2790
cmp cx, si
jae 0x6e279a
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 0x6e2730
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
cmp byte [edi + 9], 8
mov ebx, dword [esp + 0x10]
jne 0x6e2a3d
test edx, edx
je 0x6e293f
test ecx, ecx
je 0x6e293f
test esi, esi
je 0x6e293f
test eax, eax
je case.0x6e1dbd.3
mov edi, dword [esp + 0x34]
mov ebx, 0x80
inc edi
mov cl, byte [edi + 2]
cmp cl, 0xff
jne 0x6e280f
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 0x6e2928
test cl, cl
jne 0x6e2831
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 0x6e2928
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 0x6e288a
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 0x6e28d7
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 0x6e2924
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 0x6e27e7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
test eax, eax
je case.0x6e1dbd.3
mov edx, dword [esp + 0x34]
inc edx
mov dword [esp + 0x38], edx
mov cl, byte [edx + 2]
test cl, cl
jne 0x6e2979
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 0x6e2a25
cmp cl, 0xff
jae 0x6e2a25
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 0x6e2950
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
test ebx, ebx
je 0x6e2cbd
cmp dword [esp + 0x1c], 0
je 0x6e2cbd
cmp dword [esp + 0x18], 0
je 0x6e2cbd
test eax, eax
je case.0x6e1dbd.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 0x6e2af9
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 0x6e2c99
test cx, cx
jne 0x6e2b36
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 0x6e2c9e
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 0x6e2bb6
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 0x6e2bbd
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 0x6e2c28
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 0x6e2c8f
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 0x6e2a72
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
test eax, eax
je case.0x6e1dbd.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 0x6e2d1c
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 0x6e2dcb
cmp cx, si
jae 0x6e2dd6
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 0x6e2cd4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret