Function at 0x52f820
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x10
cmp dword [esp + 0x20], 0
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov dword [esp], ecx
je 0x530856
mov al, byte [eax + 8]
push ebp
test al, 4
je 0x52f855
cmp al, 3
je 0x530855
mov ebp, dword [esp + 0x20]
test ebp, ebp
je 0x530855
jmp 0x52f859
mov ebp, dword [esp + 0x20]
movzx eax, al
cmp eax, 6
ja case.default.0x52f868
push ebx
push esi
push edi
jmp dword [eax*4 + 0x53085c]
mov edx, dword [esp + 0x24]
movzx eax, byte [edx + 9]
dec eax
cmp eax, 0xf
ja case.0x52f888.3
movzx eax, byte [eax + 0x530890]
jmp dword [eax*4 + 0x530878]
mov esi, dword [esp + 0x28]
mov edx, 7
test ecx, ecx
jbe case.0x52f888.3
mov edi, dword [esp + 0x30]
mov ebp, ecx
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 0x52f8db
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 0x52f8e7
mov edx, 7
inc esi
jmp 0x52f8e8
dec edx
sub ebp, 1
jne 0x52f8a6
jmp case.0x52f888.3
mov edi, dword [esp + 0x38]
mov esi, dword [esp + 0x28]
mov edx, 6
test edi, edi
je 0x52f99f
test ecx, ecx
jbe case.0x52f888.3
mov dword [esp + 0x18], 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 0x52f94a
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 0x52f97c
movzx eax, al
lea ecx, [eax*4]
or ecx, eax
add ecx, ecx
add ecx, ecx
or ecx, eax
add ecx, ecx
add ecx, ecx
or ecx, eax
mov al, byte [ecx + edi]
mov ecx, 6
sub ecx, edx
mov ebx, 0x3f3f
sar ebx, cl
shr al, 6
mov ecx, edx
and bl, byte [esi]
shl al, cl
or bl, al
mov byte [esi], bl
test edx, edx
jne 0x52f98c
mov edx, 6
inc esi
jmp 0x52f98f
sub edx, 2
sub dword [esp + 0x18], 1
jne 0x52f913
jmp case.0x52f888.3
test ecx, ecx
jbe case.0x52f888.3
mov edi, dword [esp + 0x30]
mov ebp, ecx
lea ecx, [ecx]
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 0x52f9e5
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 0x52f9f1
mov edx, 6
inc esi
jmp 0x52f9f4
sub edx, 2
sub ebp, 1
jne 0x52f9b0
jmp case.0x52f888.3
mov edi, dword [esp + 0x38]
mov esi, dword [esp + 0x28]
mov edx, 4
test edi, edi
je 0x52fa9a
test ecx, ecx
jbe case.0x52f888.3
mov dword [esp + 0x18], ecx
nop
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 0x52fa57
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 0x52fa7b
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
shr al, 4
mov ecx, edx
and bl, byte [esi]
shl al, cl
or bl, al
mov byte [esi], bl
test edx, edx
jne 0x52fa8b
mov edx, 4
inc esi
jmp 0x52fa8e
sub edx, 4
sub dword [esp + 0x18], 1
jne 0x52fa20
jmp case.0x52f888.3
test ecx, ecx
jbe case.0x52f888.3
mov edi, dword [esp + 0x30]
mov ebp, ecx
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 0x52fadd
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 0x52fae9
mov edx, 4
inc esi
jmp 0x52faec
sub edx, 4
sub ebp, 1
jne 0x52faa8
jmp case.0x52f888.3
mov esi, dword [esp + 0x38]
mov eax, dword [esp + 0x28]
test esi, esi
je 0x52fb34
test ecx, ecx
jbe case.0x52f888.3
mov edi, dword [esp + 0x30]
mov edx, ecx
mov cl, byte [eax]
movzx bx, cl
cmp bx, word [ebp + 8]
jne 0x52fb21
mov cl, byte [edi + 8]
jmp 0x52fb27
movzx ecx, cl
mov cl, byte [ecx + esi]
mov byte [eax], cl
inc eax
sub edx, 1
jne 0x52fb10
jmp case.0x52f888.3
test ecx, ecx
jbe case.0x52f888.3
mov esi, dword [esp + 0x30]
movzx dx, byte [eax]
cmp dx, word [ebp + 8]
jne 0x52fb4f
mov dl, byte [esi + 8]
mov byte [eax], dl
inc eax
sub ecx, 1
jne 0x52fb40
jmp case.0x52f888.3
mov esi, dword [esp + 0x44]
mov eax, dword [esp + 0x28]
test esi, esi
je 0x52fbd1
test ecx, ecx
jbe case.0x52f888.3
mov bl, byte [esp + 0x50]
mov dword [esp + 0x18], ecx
mov dl, byte [eax]
mov cl, byte [eax + 1]
movzx di, dl
mov ebp, 0x100
imul di, bp
movzx bp, cl
add di, bp
mov ebp, dword [esp + 0x2c]
cmp di, word [ebp + 8]
jne 0x52fba7
mov edi, dword [esp + 0x30]
mov dl, byte [edi + 9]
mov byte [eax], dl
mov cl, byte [edi + 8]
jmp 0x52fbbf
movzx edi, cl
mov cl, bl
shr edi, cl
movzx edx, dl
mov ecx, dword [esi + edi*4]
movzx ecx, word [ecx + edx*2]
mov edx, ecx
shr edx, 8
mov byte [eax], dl
mov byte [eax + 1], cl
add eax, 2
sub dword [esp + 0x18], 1
jne 0x52fb76
jmp case.0x52f888.3
test ecx, ecx
jbe case.0x52f888.3
mov esi, dword [esp + 0x30]
lea ecx, [ecx]
movzx dx, byte [eax]
mov edi, 0x100
imul dx, di
movzx di, byte [eax + 1]
add dx, di
cmp dx, word [ebp + 8]
jne 0x52fc08
movzx edx, byte [esi + 9]
mov byte [eax], dl
movzx edx, byte [esi + 8]
mov byte [eax + 1], dl
add eax, 2
sub ecx, 1
jne 0x52fbe0
jmp case.0x52f888.3
mov eax, dword [esp + 0x24]
cmp byte [eax + 9], 8
jne 0x52fcf5
mov edx, dword [esp + 0x38]
test edx, edx
je 0x52fca1
test ecx, ecx
jbe case.0x52f888.3
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x30]
add eax, 2
mov edi, ecx
mov cl, byte [eax - 2]
movzx bx, cl
cmp bx, word [ebp + 2]
jne 0x52fc76
movzx bx, byte [eax - 1]
cmp bx, word [ebp + 4]
jne 0x52fc76
movzx bx, byte [eax]
cmp bx, word [ebp + 6]
jne 0x52fc76
movzx ecx, byte [esi + 2]
mov byte [eax - 2], cl
movzx ecx, byte [esi + 4]
mov byte [eax - 1], cl
movzx ecx, byte [esi + 6]
jmp 0x52fc92
movzx ecx, cl
movzx ecx, byte [ecx + edx]
mov byte [eax - 2], cl
movzx ecx, byte [eax - 1]
movzx ecx, byte [ecx + edx]
mov byte [eax - 1], cl
movzx ecx, byte [eax]
movzx ecx, byte [ecx + edx]
mov byte [eax], cl
add eax, 3
sub edi, 1
jne 0x52fc40
jmp case.0x52f888.3
test ecx, ecx
jbe case.0x52f888.3
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x30]
add eax, 2
movzx dx, byte [eax - 2]
cmp dx, word [ebp + 2]
jne 0x52fce8
movzx dx, byte [eax - 1]
cmp dx, word [ebp + 4]
jne 0x52fce8
movzx dx, byte [eax]
cmp dx, word [ebp + 6]
jne 0x52fce8
movzx edx, byte [esi + 2]
mov byte [eax - 2], dl
movzx edx, byte [esi + 4]
mov byte [eax - 1], dl
movzx edx, byte [esi + 6]
mov byte [eax], dl
add eax, 3
sub ecx, 1
jne 0x52fcb4
jmp case.0x52f888.3
mov esi, dword [esp + 0x44]
test esi, esi
je 0x52fe1c
test ecx, ecx
jbe case.0x52f888.3
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x30]
add eax, 2
mov dword [esp + 0x18], ecx
jmp 0x52fd20
mov bl, byte [eax - 2]
mov cl, byte [eax - 1]
movzx dx, bl
mov ebp, 0x100
imul dx, bp
movzx bp, cl
add dx, bp
mov ebp, dword [esp + 0x2c]
cmp dx, word [ebp + 2]
jne 0x52fdae
movzx dx, byte [eax]
mov ebp, 0x100
imul dx, bp
movzx bp, byte [eax + 1]
add dx, bp
mov ebp, dword [esp + 0x2c]
cmp dx, word [ebp + 4]
jne 0x52fdae
movzx dx, byte [eax + 2]
mov ebp, 0x100
imul dx, bp
movzx bp, byte [eax + 3]
add dx, bp
mov ebp, dword [esp + 0x2c]
cmp dx, word [ebp + 6]
jne 0x52fdae
movzx ecx, byte [edi + 3]
mov byte [eax - 2], cl
movzx edx, byte [edi + 2]
mov byte [eax - 1], dl
movzx ecx, byte [edi + 5]
mov byte [eax], cl
movzx edx, byte [edi + 4]
mov byte [eax + 1], dl
movzx ecx, byte [edi + 7]
mov byte [eax + 2], cl
movzx edx, byte [edi + 6]
mov byte [eax + 3], dl
jmp 0x52fe09
movzx edx, byte [esp + 0x50]
movzx ebp, cl
mov cl, dl
shr ebp, cl
movzx ecx, bl
mov ebx, dword [esi + ebp*4]
movzx ecx, word [ebx + ecx*2]
mov ebx, ecx
shr ebx, 8
mov byte [eax - 2], bl
movzx ebx, byte [eax + 1]
mov byte [eax - 1], cl
mov cl, dl
shr ebx, cl
movzx ecx, byte [eax]
mov ebx, dword [esi + ebx*4]
movzx ecx, word [ebx + ecx*2]
mov ebx, ecx
shr ebx, 8
mov byte [eax], bl
movzx ebx, byte [eax + 3]
mov byte [eax + 1], cl
mov cl, dl
movzx edx, byte [eax + 2]
shr ebx, cl
mov ecx, dword [esi + ebx*4]
movzx ecx, word [ecx + edx*2]
mov edx, ecx
shr edx, 8
mov byte [eax + 2], dl
mov byte [eax + 3], cl
add eax, 6
sub dword [esp + 0x18], 1
jne 0x52fd20
jmp case.0x52f888.3
test ecx, ecx
jbe case.0x52f888.3
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x30]
add eax, 2
nop
movzx dx, byte [eax - 2]
mov edi, 0x100
imul dx, di
movzx di, byte [eax - 1]
add dx, di
cmp dx, word [ebp + 2]
jne 0x52feac
movzx dx, byte [eax]
mov edi, 0x100
imul dx, di
movzx di, byte [eax + 1]
add dx, di
cmp dx, word [ebp + 4]
jne 0x52feac
movzx dx, byte [eax + 2]
mov edi, 0x100
imul dx, di
movzx di, byte [eax + 3]
add dx, di
cmp dx, word [ebp + 6]
jne 0x52feac
movzx edx, byte [esi + 3]
mov byte [eax - 2], dl
movzx edx, byte [esi + 2]
mov byte [eax - 1], dl
movzx edx, byte [esi + 5]
mov byte [eax], dl
movzx edx, byte [esi + 4]
mov byte [eax + 1], dl
movzx edx, byte [esi + 7]
mov byte [eax + 2], dl
movzx edx, byte [esi + 6]
mov byte [eax + 3], dl
add eax, 6
sub ecx, 1
jne 0x52fe30
jmp case.0x52f888.3
mov eax, dword [esp + 0x24]
cmp byte [eax + 9], 8
jne 0x52fff8
mov ebp, dword [esp + 0x40]
test ebp, ebp
je 0x52ff80
cmp dword [esp + 0x3c], 0
je 0x52ff80
cmp dword [esp + 0x38], 0
je 0x52ff80
cmp dword [esp + 0x10], 0
mov ecx, dword [esp + 0x28]
mov esi, ecx
jbe case.0x52f888.3
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x34]
mov dword [esp + 0x18], edx
lea ebx, [ebx]
movzx ax, byte [ecx + 1]
movzx eax, ax
mov edx, 0xff
cmp ax, dx
jne 0x52ff2b
movzx eax, byte [ecx]
mov edx, dword [esp + 0x38]
jmp 0x52ff6b
test ax, ax
jne 0x52ff39
mov edx, dword [esp + 0x30]
mov al, byte [edx + 8]
jmp 0x52ff6e
movzx ebx, byte [ecx]
movzx bx, byte [ebx + ebp]
sub edx, eax
imul bx, ax
imul dx, word [edi + 8]
add dx, bx
mov eax, 0x80
add dx, ax
movzx eax, dx
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
add ecx, 2
inc esi
sub dword [esp + 0x18], 1
jne 0x52ff10
jmp case.0x52f888.3
cmp dword [esp + 0x10], 0
mov ecx, dword [esp + 0x28]
mov esi, ecx
jbe case.0x52f888.3
mov ebp, dword [esp + 0x10]
mov edi, dword [esp + 0x34]
lea esp, [esp]
mov al, byte [ecx + 1]
cmp al, 0xff
jne 0x52ffab
mov dl, byte [ecx]
jmp 0x52ffe8
test al, al
jne 0x52ffb8
mov eax, dword [esp + 0x30]
mov dl, byte [eax + 8]
jmp 0x52ffe8
movzx bx, byte [ecx]
movzx ax, al
mov edx, 0xff
imul bx, ax
sub edx, eax
imul dx, word [edi + 8]
add dx, bx
mov eax, 0x80
add dx, ax
movzx eax, dx
mov edx, eax
shr edx, 8
add edx, eax
sar edx, 8
mov byte [esi], dl
add ecx, 2
inc esi
sub ebp, 1
jne 0x52ffa0
jmp case.0x52f888.3
cmp dword [esp + 0x44], 0
je 0x53010a
cmp dword [esp + 0x48], 0
je 0x53010a
cmp dword [esp + 0x4c], 0
je 0x53010a
mov edx, dword [esp + 0x28]
mov esi, edx
test ecx, ecx
jbe case.0x52f888.3
mov bl, byte [esp + 0x50]
mov edi, dword [esp + 0x30]
mov eax, ecx
inc edx
mov dword [esp + 0x18], eax
jmp 0x530040
movzx cx, byte [edx + 1]
mov eax, 0x100
imul cx, ax
movzx ax, byte [edx + 2]
add cx, ax
movzx eax, cx
mov ecx, 0xffff
cmp ax, cx
jne 0x53007c
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]
movzx eax, word [eax + ecx*2]
jmp 0x5300ea
test ax, ax
jne 0x53008e
mov al, byte [edi + 9]
mov byte [esi], al
mov cl, byte [edi + 8]
mov byte [esi + 1], cl
jmp 0x5300f4
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
movzx edi, al
mov cl, bl
shr edi, cl
mov ecx, dword [esp + 0x48]
shr eax, 8
mov ecx, dword [ecx + edi*4]
movzx eax, word [ecx + eax*2]
mov edi, dword [esp + 0x30]
mov ecx, eax
shr ecx, 8
mov byte [esi + 1], al
mov byte [esi], cl
add edx, 4
add esi, 2
sub dword [esp + 0x18], 1
jne 0x530040
jmp case.0x52f888.3
cmp dword [esp + 0x10], 0
mov ecx, dword [esp + 0x28]
mov esi, ecx
jbe case.0x52f888.3
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x34]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x30]
add ecx, 3
mov edi, edi
movzx ax, byte [ecx - 1]
mov ebx, 0x100
imul ax, bx
movzx bx, byte [ecx]
add ax, bx
movzx eax, ax
mov ebx, 0xffff
cmp ax, bx
jne 0x53015b
mov ax, word [ecx - 3]
mov word [esi], ax
jmp 0x5301b8
test ax, ax
jne 0x53016c
movzx eax, byte [edx + 9]
mov byte [esi], al
movzx eax, byte [edx + 8]
jmp 0x5301b5
movzx dx, byte [ecx - 3]
mov ebx, 0x100
imul dx, bx
movzx bx, byte [ecx - 2]
add dx, bx
movzx ebx, word [edi + 8]
movzx eax, ax
movzx edx, dx
imul edx, eax
mov ebp, 0xffff
sub ebp, eax
imul ebx, ebp
lea edx, [edx + ebx + 0x8000]
mov eax, edx
shr eax, 0x10
add eax, edx
shr eax, 0x10
mov edx, eax
shr edx, 8
mov byte [esi], dl
mov edx, dword [esp + 0x30]
mov byte [esi + 1], al
add ecx, 4
add esi, 2
sub dword [esp + 0x18], 1
jne 0x530130
jmp case.0x52f888.3
mov eax, dword [esp + 0x24]
cmp byte [eax + 9], 8
jne 0x53043d
mov edi, dword [esp + 0x40]
test edi, edi
je 0x530344
cmp dword [esp + 0x3c], 0
je 0x530344
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x530344
cmp dword [esp + 0x10], 0
jbe case.0x52f888.3
mov ebp, dword [esp + 0x28]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x30]
lea esi, [ebp + 2]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x34]
inc ebp
mov al, byte [ebp + 2]
cmp al, 0xff
jne 0x53024c
movzx eax, byte [ebp - 1]
movzx eax, byte [eax + ecx]
mov byte [esi - 2], al
movzx eax, byte [ebp]
movzx eax, byte [eax + ecx]
mov byte [esi - 1], al
movzx eax, byte [ebp + 1]
movzx eax, byte [eax + ecx]
jmp 0x53032c
test al, al
jne 0x530267
movzx eax, byte [ebx + 2]
mov byte [esi - 2], al
movzx eax, byte [ebx + 4]
mov byte [esi - 1], al
movzx eax, byte [ebx + 6]
jmp 0x53032c
movzx ebx, byte [ebp - 1]
movzx edi, byte [ebx + edi]
movzx ebx, word [edx + 2]
movzx ax, al
imul di, ax
mov ecx, 0xff
sub ecx, eax
imul bx, cx
add di, bx
mov ebx, 0x80
add di, bx
movzx edi, di
mov ebx, edi
shr ebx, 8
add ebx, edi
sar ebx, 8
movzx edi, bl
mov ebx, dword [esp + 0x3c]
movzx ebx, byte [edi + ebx]
mov byte [esi - 2], bl
movzx edi, byte [ebp]
mov ebx, dword [esp + 0x40]
movzx edi, byte [edi + ebx]
movzx ebx, word [edx + 4]
imul di, ax
imul bx, cx
add di, bx
mov ebx, 0x80
add di, bx
movzx edi, di
mov ebx, edi
shr ebx, 8
add ebx, edi
sar ebx, 8
movzx edi, bl
mov ebx, dword [esp + 0x3c]
movzx ebx, byte [edi + ebx]
mov edi, dword [esp + 0x40]
mov byte [esi - 1], bl
movzx ebx, byte [ebp + 1]
movzx ebx, byte [ebx + edi]
imul bx, ax
mov ax, word [edx + 6]
imul ax, cx
add bx, ax
mov ecx, 0x80
add bx, cx
movzx eax, bx
mov ebx, dword [esp + 0x30]
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
add ebp, 4
add esi, 3
sub dword [esp + 0x18], 1
jne 0x530222
jmp case.0x52f888.3
cmp dword [esp + 0x10], 0
jbe case.0x52f888.3
mov ebp, dword [esp + 0x28]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x30]
lea esi, [ebp + 2]
inc ebp
mov dword [esp + 0x18], ecx
mov al, byte [ebp + 2]
cmp al, 0xff
jne 0x530382
movzx eax, byte [ebp - 1]
mov byte [esi - 2], al
mov cl, byte [ebp]
mov byte [esi - 1], cl
movzx eax, byte [ebp + 1]
mov byte [esi], al
jmp 0x530427
test al, al
jne 0x53039c
movzx ecx, byte [edx + 2]
mov byte [esi - 2], cl
mov al, byte [edx + 4]
mov byte [esi - 1], al
movzx ecx, byte [edx + 6]
jmp 0x530425
movzx edi, byte [ebp - 1]
movzx ebx, word [edx + 2]
movzx ax, al
imul di, ax
mov ecx, 0xff
sub ecx, eax
imul bx, cx
add di, bx
mov ebx, 0x80
add di, bx
movzx edi, di
mov ebx, edi
shr ebx, 8
add ebx, edi
sar ebx, 8
mov byte [esi - 2], bl
movzx edi, word [edx + 4]
movzx ebx, byte [ebp]
imul di, cx
imul bx, ax
add di, bx
mov ebx, 0x80
add di, bx
movzx edi, di
mov ebx, edi
shr ebx, 8
add ebx, edi
sar ebx, 8
mov byte [esi - 1], bl
movzx edi, byte [ebp + 1]
imul di, ax
mov ax, word [edx + 6]
imul ax, cx
add di, ax
mov ecx, 0x80
add di, cx
movzx eax, di
mov ecx, eax
shr ecx, 8
add ecx, eax
sar ecx, 8
mov byte [esi], cl
add ebp, 4
add esi, 3
sub dword [esp + 0x18], 1
jne 0x530363
jmp case.0x52f888.3
mov edi, dword [esp + 0x44]
test edi, edi
je 0x5306b6
cmp dword [esp + 0x48], 0
je 0x5306b6
cmp dword [esp + 0x4c], 0
je 0x5306b6
test ecx, ecx
jbe case.0x52f888.3
mov edx, dword [esp + 0x28]
mov bl, byte [esp + 0x50]
lea eax, [edx + 2]
inc edx
mov dword [esp + 0x1c], ecx
jmp 0x530480
movzx cx, byte [edx + 5]
mov esi, 0x100
imul cx, si
movzx si, byte [edx + 6]
add cx, si
movzx esi, cx
mov ecx, 0xffff
cmp si, cx
jne 0x530527
movzx esi, byte [edx]
movzx ecx, bl
shr esi, cl
mov dword [esp + 0x18], ecx
movzx ecx, byte [edx - 1]
mov esi, dword [edi + esi*4]
movzx esi, word [esi + ecx*2]
mov ecx, esi
shr ecx, 8
mov byte [eax - 2], cl
mov dword [esp + 0x14], esi
movzx ecx, byte [esp + 0x14]
mov byte [eax - 1], cl
movzx esi, byte [edx + 2]
movzx ecx, byte [esp + 0x18]
shr esi, cl
movzx ecx, byte [edx + 1]
mov esi, dword [edi + esi*4]
movzx esi, word [esi + ecx*2]
mov ecx, esi
shr ecx, 8
mov byte [eax], cl
mov dword [esp + 0x14], esi
movzx ecx, byte [esp + 0x14]
mov byte [eax + 1], cl
movzx esi, byte [edx + 4]
movzx ecx, byte [esp + 0x18]
shr esi, cl
movzx ecx, byte [edx + 3]
mov esi, dword [edi + esi*4]
movzx esi, word [esi + ecx*2]
mov ecx, esi
shr ecx, 8
mov dword [esp + 0x14], esi
mov byte [eax + 2], cl
movzx ecx, byte [esp + 0x14]
jmp 0x53069d
test si, si
jne 0x53056f
mov ecx, dword [esp + 0x30]
movzx ecx, byte [ecx + 3]
mov byte [eax - 2], cl
mov ecx, dword [esp + 0x30]
movzx ecx, byte [ecx + 2]
mov byte [eax - 1], cl
mov ecx, dword [esp + 0x30]
movzx ecx, byte [ecx + 5]
mov byte [eax], cl
mov ecx, dword [esp + 0x30]
movzx ecx, byte [ecx + 4]
mov byte [eax + 1], cl
mov ecx, dword [esp + 0x30]
movzx ecx, byte [ecx + 7]
mov byte [eax + 2], cl
mov ecx, dword [esp + 0x30]
movzx ecx, byte [ecx + 6]
jmp 0x53069d
movzx edi, si
movzx esi, byte [edx]
movzx ecx, bl
shr esi, cl
mov ebx, dword [esp + 0x4c]
mov dword [esp + 0x18], ecx
movzx ecx, byte [edx - 1]
mov esi, dword [ebx + esi*4]
movzx ecx, word [esi + ecx*2]
mov esi, dword [esp + 0x30]
imul ecx, edi
movzx esi, word [esi + 2]
mov ebp, 0xffff
sub ebp, edi
imul esi, ebp
lea ecx, [ecx + esi + 0x8000]
mov esi, ecx
shr esi, 0x10
add esi, ecx
movzx ecx, word [esp + 0x50]
shr esi, 0x10
movzx ebx, si
mov dword [esp + 0x14], ecx
movzx esi, bl
shr esi, cl
mov ecx, dword [esp + 0x48]
shr ebx, 8
mov ecx, dword [ecx + esi*4]
movzx ecx, word [ecx + ebx*2]
mov byte [eax - 1], cl
mov ebx, ecx
movzx ecx, byte [esp + 0x18]
shr ebx, 8
mov byte [eax - 2], bl
movzx esi, byte [edx + 2]
shr esi, cl
movzx ecx, byte [edx + 1]
mov ebx, dword [esp + 0x4c]
mov esi, dword [ebx + esi*4]
movzx ecx, word [esi + ecx*2]
mov esi, dword [esp + 0x30]
imul ecx, edi
movzx esi, word [esi + 4]
imul esi, ebp
lea ecx, [ecx + esi + 0x8000]
mov esi, ecx
shr esi, 0x10
add esi, ecx
mov ecx, dword [esp + 0x14]
shr esi, 0x10
movzx ebx, si
movzx esi, bl
shr esi, cl
mov ecx, dword [esp + 0x48]
shr ebx, 8
mov ecx, dword [ecx + esi*4]
movzx ecx, word [ecx + ebx*2]
mov ebx, ecx
mov byte [eax + 1], cl
movzx ecx, byte [esp + 0x18]
shr ebx, 8
mov byte [eax], bl
movzx esi, byte [edx + 4]
mov ebx, dword [esp + 0x4c]
shr esi, cl
movzx ecx, byte [edx + 3]
mov esi, dword [ebx + esi*4]
movzx ecx, word [esi + ecx*2]
mov esi, dword [esp + 0x30]
imul ecx, edi
movzx esi, word [esi + 6]
imul esi, ebp
lea ecx, [ecx + esi + 0x8000]
mov esi, ecx
shr esi, 0x10
add esi, ecx
mov ecx, dword [esp + 0x14]
shr esi, 0x10
movzx ebx, si
movzx esi, bl
shr esi, cl
mov ecx, dword [esp + 0x48]
mov ecx, dword [ecx + esi*4]
mov edi, dword [esp + 0x44]
shr ebx, 8
movzx ecx, word [ecx + ebx*2]
mov ebx, ecx
shr ebx, 8
mov byte [eax + 2], bl
mov bl, byte [esp + 0x50]
mov byte [eax + 3], cl
add edx, 8
add eax, 6
sub dword [esp + 0x1c], 1
jne 0x530480
jmp case.0x52f888.3
mov edx, ecx
test edx, edx
jbe case.0x52f888.3
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x30]
lea eax, [ecx + 2]
add ecx, 7
mov dword [esp + 0x1c], edx
movzx dx, byte [ecx - 1]
mov edi, 0x100
imul dx, di
movzx di, byte [ecx]
add dx, di
movzx edx, dx
mov edi, 0xffff
cmp dx, di
jne 0x530707
mov edx, dword [ecx - 7]
mov dword [eax - 2], edx
mov dx, word [ecx - 3]
mov word [eax + 2], dx
jmp 0x530812
test dx, dx
jne 0x530737
movzx edx, byte [esi + 3]
mov byte [eax - 2], dl
movzx edx, byte [esi + 2]
mov byte [eax - 1], dl
movzx edx, byte [esi + 5]
mov byte [eax], dl
movzx edx, byte [esi + 4]
mov byte [eax + 1], dl
movzx edx, byte [esi + 7]
mov byte [eax + 2], dl
movzx edx, byte [esi + 6]
jmp 0x53080f
movzx esi, byte [ecx - 5]
mov edi, 0x100
imul si, di
movzx edi, byte [ecx - 4]
add si, di
movzx esi, si
mov dword [esp + 0x18], esi
movzx esi, byte [ecx - 3]
mov edi, 0x100
imul si, di
movzx edi, byte [ecx - 2]
add si, di
movzx esi, si
mov dword [esp + 0x14], esi
movzx esi, dx
movzx dx, byte [ecx - 7]
mov edi, 0x100
imul dx, di
movzx edi, byte [ecx - 6]
add dx, di
mov edi, dword [esp + 0x30]
movzx ebx, word [edi + 2]
movzx edx, dx
imul edx, esi
mov ebp, 0xffff
sub ebp, esi
imul ebx, ebp
lea ebx, [edx + ebx + 0x8000]
mov edx, ebx
shr edx, 0x10
add edx, ebx
shr edx, 0x10
mov ebx, edx
mov byte [eax - 1], dl
shr ebx, 8
mov byte [eax - 2], bl
movzx edx, word [edi + 4]
movzx ebx, word [esp + 0x18]
imul edx, ebp
imul ebx, esi
lea ebx, [edx + ebx + 0x8000]
mov edx, ebx
shr edx, 0x10
add edx, ebx
shr edx, 0x10
mov ebx, edx
mov byte [eax + 1], dl
shr ebx, 8
mov byte [eax], bl
movzx edx, word [edi + 6]
movzx edi, word [esp + 0x14]
imul edx, ebp
imul edi, esi
lea esi, [edx + edi + 0x8000]
mov edx, esi
shr edx, 0x10
add edx, esi
mov esi, dword [esp + 0x30]
shr edx, 0x10
mov ebx, edx
shr ebx, 8
mov byte [eax + 2], bl
mov byte [eax + 3], dl
add ecx, 8
add eax, 6
sub dword [esp + 0x1c], 1
jne 0x5306d2
pop edi
pop esi
pop ebx
mov edx, dword [esp + 0x18]
mov al, byte [edx + 8]
test al, 4
je 0x530855
dec byte [edx + 0xa]
mov cl, byte [edx + 0xa]
and al, 0xfb
mov byte [edx + 8], al
mov al, byte [edx + 9]
imul cl
mov byte [edx + 0xb], al
movzx eax, al
imul eax, dword [esp + 4]
add eax, 7
shr eax, 3
mov dword [edx + 4], eax
pop ebp
add esp, 0x10
ret