Function at 0x4795b0
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 0x47a4ff
mov al, byte [eax + 8]
test al, 4
push ebp
je 0x4795e6
cmp al, 3
je 0x47a4fe
mov ebp, dword [esp + 0x20]
test ebp, ebp
je 0x47a4fe
jmp 0x4795ea
mov ebp, dword [esp + 0x20]
movzx eax, al
cmp eax, 6
push ebx
ja case.default.0x4795f9
push esi
push edi
jmp dword [eax*4 + 0x47a504]
mov edx, dword [esp + 0x24]
movzx eax, byte [edx + 9]
dec eax
cmp eax, 0xf
ja case.0x479619.3
movzx eax, byte [eax + 0x47a538]
jmp dword [eax*4 + 0x47a520]
mov eax, dword [esp + 0x10]
test eax, eax
mov esi, dword [esp + 0x28]
mov edx, 7
jbe case.0x479619.3
mov edi, dword [esp + 0x30]
mov ebp, eax
jmp 0x479640
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 0x479675
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 0x479681
mov edx, 7
inc esi
jmp 0x479682
dec edx
dec ebp
jne 0x479640
jmp case.0x479619.3
mov edi, dword [esp + 0x38]
test edi, edi
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x28]
mov edx, 6
je 0x47973c
test eax, eax
jbe case.0x479619.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 0x4796e8
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 0x47971a
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 0x47972a
mov edx, 6
inc esi
jmp 0x47972d
sub edx, 2
dec dword [esp + 0x14]
jne 0x4796b1
jmp case.0x479619.3
test eax, eax
jbe case.0x479619.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 0x479785
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 0x479791
mov edx, 6
inc esi
jmp 0x479794
sub edx, 2
dec ebp
jne 0x479750
jmp case.0x479619.3
mov edi, dword [esp + 0x38]
test edi, edi
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x28]
mov edx, 4
je 0x47983e
test eax, eax
jbe case.0x479619.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 0x4797fa
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 0x479820
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 0x479830
mov edx, 4
inc esi
jmp 0x479833
sub edx, 4
dec dword [esp + 0x14]
jne 0x4797c3
jmp case.0x479619.3
test eax, eax
jbe case.0x479619.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 0x479885
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 0x479891
mov edx, 4
inc esi
jmp 0x479894
sub edx, 4
dec ebp
jne 0x479850
jmp case.0x479619.3
mov edx, dword [esp + 0x38]
test edx, edx
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x28]
je 0x4798e2
test ecx, ecx
jbe case.0x479619.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 0x4798d1
mov cl, byte [edi + 8]
jmp 0x4798d7
movzx ecx, cl
mov cl, byte [ecx + edx]
mov byte [eax], cl
inc eax
dec esi
jne 0x4798c0
jmp case.0x479619.3
test ecx, ecx
jbe case.0x479619.3
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x30]
movzx dx, byte [eax]
cmp dx, word [ebp + 8]
jne 0x479901
mov dl, byte [esi + 8]
mov byte [eax], dl
inc eax
dec ecx
jne 0x4798f2
jmp case.0x479619.3
mov esi, dword [esp + 0x44]
test esi, esi
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x28]
je 0x479983
test ecx, ecx
jbe case.0x479619.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 0x47995a
mov edi, dword [esp + 0x30]
mov dl, byte [edi + 9]
mov byte [eax], dl
mov cl, byte [edi + 8]
jmp 0x47996d
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 0x479930
jmp case.0x479619.3
test ecx, ecx
jbe case.0x479619.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 0x4799b2
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 0x479993
jmp case.0x479619.3
mov eax, dword [esp + 0x24]
cmp byte [eax + 9], 8
mov eax, dword [esp + 0x10]
jne 0x479a9c
mov edx, dword [esp + 0x38]
test edx, edx
je 0x479a49
test eax, eax
jbe case.0x479619.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 0x479a23
movzx bx, byte [eax - 1]
cmp bx, word [ebp + 4]
jne 0x479a23
movzx bx, byte [eax]
cmp bx, word [ebp + 6]
jne 0x479a23
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 0x479a3c
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 0x4799f0
jmp case.0x479619.3
test eax, eax
jbe case.0x479619.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 0x479a91
movzx dx, byte [eax - 1]
cmp dx, word [ebp + 4]
jne 0x479a91
movzx dx, byte [eax]
cmp dx, word [ebp + 6]
jne 0x479a91
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 0x479a60
jmp case.0x479619.3
mov esi, dword [esp + 0x44]
test esi, esi
je 0x479b99
test eax, eax
jbe case.0x479619.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 0x479b36
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 0x479b36
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 0x479b36
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 0x479b82
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 0x479ac3
jmp case.0x479619.3
test eax, eax
jbe case.0x479619.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 0x479c11
movzx dx, byte [eax]
movzx di, byte [eax + 1]
shl edx, 8
add edx, edi
cmp dx, word [ebp + 4]
jne 0x479c11
movzx dx, byte [eax + 2]
movzx di, byte [eax + 3]
shl edx, 8
add edx, edi
cmp dx, word [ebp + 6]
jne 0x479c11
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 0x479bb0
jmp case.0x479619.3
mov eax, dword [esp + 0x24]
cmp byte [eax + 9], 8
jne 0x479d46
mov ebp, dword [esp + 0x40]
test ebp, ebp
je 0x479cdd
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x479cdd
mov eax, dword [esp + 0x38]
test eax, eax
je 0x479cdd
mov eax, dword [esp + 0x10]
test eax, eax
mov ecx, dword [esp + 0x28]
mov esi, ecx
jbe case.0x479619.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 0x479c84
movzx eax, byte [ecx]
mov edx, dword [esp + 0x38]
jmp 0x479cc4
test ax, ax
jne 0x479c92
mov edx, dword [esp + 0x30]
mov al, byte [edx + 8]
jmp 0x479cc7
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 0x479c70
jmp case.0x479619.3
mov eax, dword [esp + 0x10]
test eax, eax
mov ecx, dword [esp + 0x28]
mov esi, ecx
jbe case.0x479619.3
mov edi, dword [esp + 0x34]
mov ebp, eax
mov al, byte [ecx + 1]
cmp al, 0xff
jne 0x479d00
mov dl, byte [ecx]
jmp 0x479d38
test al, al
jne 0x479d0d
mov eax, dword [esp + 0x30]
mov dl, byte [eax + 8]
jmp 0x479d38
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 0x479cf5
jmp case.0x479619.3
mov eax, dword [esp + 0x44]
test eax, eax
je 0x479e4d
mov eax, dword [esp + 0x48]
test eax, eax
je 0x479e4d
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x479e4d
mov eax, dword [esp + 0x10]
test eax, eax
mov edx, dword [esp + 0x28]
mov esi, edx
jbe case.0x479619.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 0x479dbe
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 0x479e2e
test ax, ax
jne 0x479dcd
mov cl, byte [edi + 9]
mov byte [esi], cl
mov al, byte [edi + 8]
jmp 0x479e30
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 0x479d90
jmp case.0x479619.3
mov eax, dword [esp + 0x10]
test eax, eax
mov ecx, dword [esp + 0x28]
mov edx, ecx
jbe case.0x479619.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 0x479e8d
mov ax, word [ecx - 3]
mov word [edx], ax
jmp 0x479edc
test ax, ax
jne 0x479e9c
mov al, byte [esi + 9]
mov byte [edx], al
mov al, byte [esi + 8]
jmp 0x479ed9
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 0x479e70
jmp case.0x479619.3
mov ecx, dword [esp + 0x24]
cmp byte [ecx + 9], 8
jne 0x47a152
mov ebp, dword [esp + 0x40]
test ebp, ebp
je 0x47a05c
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x47a05c
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x47a05c
mov eax, dword [esp + 0x10]
test eax, eax
jbe case.0x479619.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 0x479f6c
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 0x47a040
test al, al
jne 0x479f84
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 0x47a040
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 0x479f46
jmp case.0x479619.3
mov eax, dword [esp + 0x10]
test eax, eax
jbe case.0x479619.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 0x47a09c
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 0x47a138
test al, al
jne 0x47a0b4
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 0x47a136
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 0x47a080
jmp case.0x479619.3
mov edi, dword [esp + 0x44]
test edi, edi
je 0x47a383
mov eax, dword [esp + 0x48]
test eax, eax
je 0x47a383
mov ebp, dword [esp + 0x4c]
test ebp, ebp
je 0x47a383
mov ecx, dword [esp + 0x10]
test ecx, ecx
jbe case.0x479619.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 0x47a1f9
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 0x47a363
test si, si
jne 0x47a23b
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 0x47a366
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 0x47a192
jmp case.0x479619.3
mov ecx, dword [esp + 0x10]
test ecx, ecx
jbe case.0x479619.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 0x47a3cd
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 0x47a4b3
test cx, cx
jne 0x47a3f7
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 0x47a4b0
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 0x47a3a1
pop edi
pop esi
mov ecx, dword [esp + 0x1c]
mov al, byte [ecx + 8]
test al, 4
je 0x47a4fd
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
movzx edx, al
imul edx, dword [esp + 8]
add edx, 7
shr edx, 3
mov byte [ecx + 0xa], bl
mov byte [ecx + 0xb], al
mov dword [ecx + 4], edx
pop ebx
pop ebp
add esp, 0x10
ret