Function at 0x40fbf0
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 0x410b54
mov al, byte [eax + 8]
test al, 4
push ebp
je 0x40fc26
cmp al, 3
je 0x410b53
mov ebp, dword [esp + 0x20]
test ebp, ebp
je 0x410b53
jmp 0x40fc2a
mov ebp, dword [esp + 0x20]
movzx eax, al
cmp eax, 6
push ebx
ja case.default.0x40fc39
push esi
push edi
jmp dword [eax*4 + 0x410b58]
mov edx, dword [esp + 0x24]
movzx eax, byte [edx + 9]
dec eax
cmp eax, 0xf
ja case.0x40fc59.3
movzx eax, byte [eax + 0x410b8c]
jmp dword [eax*4 + 0x410b74]
mov eax, dword [esp + 0x10]
test eax, eax
mov esi, dword [esp + 0x28]
mov edx, 7
jbe case.0x40fc59.3
mov edi, dword [esp + 0x30]
mov ebp, eax
jmp 0x40fc80
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 0x40fcb5
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 0x40fcc1
mov edx, 7
inc esi
jmp 0x40fcc2
dec edx
dec ebp
jne 0x40fc80
jmp case.0x40fc59.3
mov edi, dword [esp + 0x38]
test edi, edi
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x28]
mov edx, 6
je 0x40fd7c
test eax, eax
jbe case.0x40fc59.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 0x40fd28
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 0x40fd5a
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 0x40fd6a
mov edx, 6
inc esi
jmp 0x40fd6d
sub edx, 2
dec dword [esp + 0x14]
jne 0x40fcf1
jmp case.0x40fc59.3
test eax, eax
jbe case.0x40fc59.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 0x40fdc5
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 0x40fdd1
mov edx, 6
inc esi
jmp 0x40fdd4
sub edx, 2
dec ebp
jne 0x40fd90
jmp case.0x40fc59.3
mov edi, dword [esp + 0x38]
test edi, edi
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x28]
mov edx, 4
je 0x40fe7e
test eax, eax
jbe case.0x40fc59.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 0x40fe3a
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 0x40fe60
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 0x40fe70
mov edx, 4
inc esi
jmp 0x40fe73
sub edx, 4
dec dword [esp + 0x14]
jne 0x40fe03
jmp case.0x40fc59.3
test eax, eax
jbe case.0x40fc59.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 0x40fec5
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 0x40fed1
mov edx, 4
inc esi
jmp 0x40fed4
sub edx, 4
dec ebp
jne 0x40fe90
jmp case.0x40fc59.3
mov edx, dword [esp + 0x38]
test edx, edx
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x28]
je 0x40ff22
test ecx, ecx
jbe case.0x40fc59.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 0x40ff11
mov cl, byte [edi + 8]
jmp 0x40ff17
movzx ecx, cl
mov cl, byte [ecx + edx]
mov byte [eax], cl
inc eax
dec esi
jne 0x40ff00
jmp case.0x40fc59.3
test ecx, ecx
jbe case.0x40fc59.3
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x30]
movzx dx, byte [eax]
cmp dx, word [ebp + 8]
jne 0x40ff41
mov dl, byte [esi + 8]
mov byte [eax], dl
inc eax
dec ecx
jne 0x40ff32
jmp case.0x40fc59.3
mov esi, dword [esp + 0x44]
test esi, esi
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x28]
je 0x40ffc3
test ecx, ecx
jbe case.0x40fc59.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 0x40ff9a
mov edi, dword [esp + 0x30]
mov dl, byte [edi + 9]
mov byte [eax], dl
mov cl, byte [edi + 8]
jmp 0x40ffad
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 0x40ff70
jmp case.0x40fc59.3
test ecx, ecx
jbe case.0x40fc59.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 0x40fff2
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 0x40ffd3
jmp case.0x40fc59.3
mov eax, dword [esp + 0x24]
cmp byte [eax + 9], 8
mov eax, dword [esp + 0x10]
jne 0x4100dc
mov edx, dword [esp + 0x38]
test edx, edx
je 0x410089
test eax, eax
jbe case.0x40fc59.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 0x410063
movzx bx, byte [eax - 1]
cmp bx, word [ebp + 4]
jne 0x410063
movzx bx, byte [eax]
cmp bx, word [ebp + 6]
jne 0x410063
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 0x41007c
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 0x410030
jmp case.0x40fc59.3
test eax, eax
jbe case.0x40fc59.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 0x4100d1
movzx dx, byte [eax - 1]
cmp dx, word [ebp + 4]
jne 0x4100d1
movzx dx, byte [eax]
cmp dx, word [ebp + 6]
jne 0x4100d1
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 0x4100a0
jmp case.0x40fc59.3
mov esi, dword [esp + 0x44]
test esi, esi
je 0x4101d9
test eax, eax
jbe case.0x40fc59.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 0x410176
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 0x410176
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 0x410176
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 0x4101c2
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 0x410103
jmp case.0x40fc59.3
test eax, eax
jbe case.0x40fc59.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 0x410251
movzx dx, byte [eax]
movzx di, byte [eax + 1]
shl edx, 8
add edx, edi
cmp dx, word [ebp + 4]
jne 0x410251
movzx dx, byte [eax + 2]
movzx di, byte [eax + 3]
shl edx, 8
add edx, edi
cmp dx, word [ebp + 6]
jne 0x410251
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 0x4101f0
jmp case.0x40fc59.3
mov eax, dword [esp + 0x24]
cmp byte [eax + 9], 8
jne 0x410386
mov ebp, dword [esp + 0x40]
test ebp, ebp
je 0x41031d
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x41031d
mov eax, dword [esp + 0x38]
test eax, eax
je 0x41031d
mov eax, dword [esp + 0x10]
test eax, eax
mov ecx, dword [esp + 0x28]
mov esi, ecx
jbe case.0x40fc59.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 0x4102c4
movzx eax, byte [ecx]
mov edx, dword [esp + 0x38]
jmp 0x410304
test ax, ax
jne 0x4102d2
mov edx, dword [esp + 0x30]
mov al, byte [edx + 8]
jmp 0x410307
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 0x4102b0
jmp case.0x40fc59.3
mov eax, dword [esp + 0x10]
test eax, eax
mov ecx, dword [esp + 0x28]
mov esi, ecx
jbe case.0x40fc59.3
mov edi, dword [esp + 0x34]
mov ebp, eax
mov al, byte [ecx + 1]
cmp al, 0xff
jne 0x410340
mov dl, byte [ecx]
jmp 0x410378
test al, al
jne 0x41034d
mov eax, dword [esp + 0x30]
mov dl, byte [eax + 8]
jmp 0x410378
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 0x410335
jmp case.0x40fc59.3
mov eax, dword [esp + 0x44]
test eax, eax
je 0x41048d
mov eax, dword [esp + 0x48]
test eax, eax
je 0x41048d
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x41048d
mov eax, dword [esp + 0x10]
test eax, eax
mov edx, dword [esp + 0x28]
mov esi, edx
jbe case.0x40fc59.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 0x4103fe
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 0x41046e
test ax, ax
jne 0x41040d
mov cl, byte [edi + 9]
mov byte [esi], cl
mov al, byte [edi + 8]
jmp 0x410470
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 0x4103d0
jmp case.0x40fc59.3
mov eax, dword [esp + 0x10]
test eax, eax
mov ecx, dword [esp + 0x28]
mov edx, ecx
jbe case.0x40fc59.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 0x4104cd
mov ax, word [ecx - 3]
mov word [edx], ax
jmp 0x41051c
test ax, ax
jne 0x4104dc
mov al, byte [esi + 9]
mov byte [edx], al
mov al, byte [esi + 8]
jmp 0x410519
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 0x4104b0
jmp case.0x40fc59.3
mov ecx, dword [esp + 0x24]
cmp byte [ecx + 9], 8
jne 0x410792
mov ebp, dword [esp + 0x40]
test ebp, ebp
je 0x41069c
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x41069c
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x41069c
mov eax, dword [esp + 0x10]
test eax, eax
jbe case.0x40fc59.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 0x4105ac
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 0x410680
test al, al
jne 0x4105c4
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 0x410680
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 0x410586
jmp case.0x40fc59.3
mov eax, dword [esp + 0x10]
test eax, eax
jbe case.0x40fc59.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 0x4106dc
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 0x410778
test al, al
jne 0x4106f4
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 0x410776
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 0x4106c0
jmp case.0x40fc59.3
mov edi, dword [esp + 0x44]
test edi, edi
je 0x4109c3
mov eax, dword [esp + 0x48]
test eax, eax
je 0x4109c3
mov ebp, dword [esp + 0x4c]
test ebp, ebp
je 0x4109c3
mov ecx, dword [esp + 0x10]
test ecx, ecx
jbe case.0x40fc59.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 0x410839
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 0x4109a3
test si, si
jne 0x41087b
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 0x4109a6
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 0x4107d2
jmp case.0x40fc59.3
mov ecx, dword [esp + 0x10]
test ecx, ecx
jbe case.0x40fc59.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 0x410a0d
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 0x410af3
test cx, cx
jne 0x410a37
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 0x410af0
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 0x4109e1
pop edi
pop esi
mov ecx, dword [esp + 0x1c]
mov al, byte [ecx + 8]
test al, 4
je 0x410b52
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 0x410b44
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