Function at 0x10002ffe
Capabilities:
Enumerate pe sections

Disassembly:
jmp 0x10017a07
sub esp, 0x1c
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
push ebx
push ebp
mov edx, dword [eax + 0x18]
mov eax, dword [eax + 0x1c]
push esi
push edi
or edi, 0xffffffff
add edx, edi
mov dword [esp + 0x10], edx
adc eax, edi
xor ebp, ebp
cmp dword [esp + 0x40], ebp
ja 0x10017a38
cmp ecx, 8
jb 0x10017d32
cmp eax, dword [esp + 0x40]
jb 0x10017d32
ja 0x10017a4c
cmp edx, ecx
jb 0x10017d32
mov eax, dword [esp + 0x30]
lea edx, [ecx + eax]
mov ebx, edx
mov cl, byte [ebx]
mov al, cl
and al, 0xf0
cmp al, 0xa0
jne 0x10017d32
push 0xfffffffffffffffe
pop esi
cmp esi, ebx
sbb eax, eax
neg eax
inc ebx
mov dword [esp + 0x20], eax
cmp edx, esi
ja 0x10017d32
and cl, 0xf
movzx eax, cl
cdq
mov ecx, eax
mov esi, edx
cmp ecx, 0xf
jne 0x10017b8d
cmp esi, ebp
jne 0x10017b8d
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x30]
add eax, ecx
cmp eax, ebx
jb 0x10017d32
mov cl, byte [ebx]
lea esi, [ebx + 1]
mov al, cl
mov dword [esp + 0x3c], esi
and al, 0xf0
cmp al, 0x10
jne 0x10017d32
xor edx, edx
movzx ecx, cl
and ecx, 0xf
inc edx
shl edx, cl
mov eax, edx
not eax
cmp eax, esi
jb 0x10017d32
mov ecx, dword [esp + 0x10]
lea ebx, [edx + esi]
add ecx, dword [esp + 0x30]
lea eax, [ebx - 1]
mov dword [esp + 0x1c], ebx
push 0xffffffffffffffff
pop edi
cmp ecx, eax
jb 0x10017d32
cmp dl, 1
jne 0x10017aff
movzx eax, byte [esi]
cdq
mov ecx, eax
mov esi, edx
jmp 0x10017b77
cmp dl, 2
jne 0x10017b10
mov ax, word [esi]
rol ax, 8
movzx eax, ax
jmp 0x10017af8
cmp dl, 4
jne 0x10017b1d
mov ecx, dword [esi]
mov esi, ebp
bswap ecx
jmp 0x10017b77
cmp dl, 8
jne 0x10017b31
mov ecx, dword [esp + 0x3c]
mov esi, dword [esi]
bswap esi
mov ecx, dword [ecx + 4]
bswap ecx
jmp 0x10017b77
movzx eax, dl
xorps xmm0, xmm0
movlpd qword [esp + 0x24], xmm0
mov esi, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x18], ebp
test dl, dl
je 0x10017b77
mov edi, dword [esp + 0x3c]
mov ebp, eax
mov ebx, dword [esp + 0x18]
movzx eax, byte [ebx + edi]
shld esi, ecx, 8
cdq
shl ecx, 8
add eax, ecx
mov ecx, eax
adc esi, edx
inc ebx
cmp ebx, ebp
jl 0x10017b57
mov ebx, dword [esp + 0x1c]
or edi, 0xffffffff
xor ebp, ebp
cmp esi, ebp
ja 0x10017d32
jb 0x10017b8d
cmp ecx, 0x7fffffff
ja 0x10017d32
mov eax, dword [esp + 0x48]
cdq
cmp esi, edx
jb 0x10017d32
ja 0x10017ba4
cmp ecx, eax
jbe 0x10017d32
mov eax, dword [esp + 0x44]
mov al, byte [eax + 7]
movzx esi, al
mov byte [esp + 0x3c], al
mov eax, ecx
mul esi
mov ecx, ebp
mov dword [esp + 0x14], esi
or ecx, edx
mov dword [esp + 0x1c], eax
je 0x10017bc9
xor ecx, ecx
inc ecx
jmp 0x10017bcd
mov ecx, dword [esp + 0x20]
test ecx, ecx
jne 0x10017d32
not eax
cmp eax, ebx
jb 0x10017d32
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
dec ecx
mov edx, dword [esp + 0x30]
add ecx, ebx
add eax, edx
cmp eax, ecx
jb 0x10017d32
imul esi, dword [esp + 0x48]
lea eax, [edx + 8]
add esi, ebx
cmp esi, eax
jb 0x10017d1f
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x14]
mov eax, dword [eax + 0x18]
mov dword [esp + 0x20], eax
sub eax, ecx
add eax, edx
cmp eax, esi
jb 0x10017d1f
mov al, byte [esp + 0x3c]
cmp al, 1
jne 0x10017c37
movzx eax, byte [esi]
cdq
mov ecx, eax
mov ebx, edx
jmp 0x10017c99
cmp al, 2
jne 0x10017c47
mov ax, word [esi]
rol ax, 8
movzx eax, ax
jmp 0x10017c30
cmp al, 4
jne 0x10017c53
mov ecx, dword [esi]
mov ebx, ebp
bswap ecx
jmp 0x10017c99
cmp al, 8
jne 0x10017c62
mov ebx, dword [esi]
mov ecx, dword [esi + 4]
bswap ecx
bswap ebx
jmp 0x10017c99
xorps xmm0, xmm0
mov dword [esp + 0x3c], ebp
movlpd qword [esp + 0x24], xmm0
test ecx, ecx
mov ebx, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
je 0x10017c99
mov edi, dword [esp + 0x14]
movzx eax, byte [esi + ebp]
shld ebx, ecx, 8
cdq
shl ecx, 8
add ecx, eax
adc ebx, edx
inc ebp
cmp ebp, edi
jl 0x10017c7f
or edi, 0xffffffff
xor ebp, ebp
mov eax, dword [esp + 0x44]
cmp dword [eax + 0xc], ebx
ja 0x10017ca9
jb 0x10017d1f
cmp dword [eax + 8], ecx
jbe 0x10017d1f
mov al, byte [eax + 6]
movzx ebx, al
imul ecx, ebx
add ecx, dword [esp + 0x20]
add ecx, dword [esp + 0x30]
cmp al, 1
jne 0x10017cc8
movzx eax, byte [ecx]
cdq
mov esi, eax
mov edi, edx
jmp 0x10017d21
cmp al, 2
jne 0x10017cd8
mov ax, word [ecx]
rol ax, 8
movzx eax, ax
jmp 0x10017cc1
cmp al, 4
jne 0x10017ce4
mov esi, dword [ecx]
mov edi, ebp
bswap esi
jmp 0x10017d21
cmp al, 8
jne 0x10017cf3
mov edi, dword [ecx]
mov esi, dword [ecx + 4]
bswap esi
bswap edi
jmp 0x10017d21
xorps xmm0, xmm0
movlpd qword [esp + 0x3c], xmm0
mov edi, dword [esp + 0x40]
mov esi, dword [esp + 0x3c]
test ebx, ebx
je 0x10017d21
movzx eax, byte [ecx + ebp]
shld edi, esi, 8
cdq
shl esi, 8
add esi, eax
adc edi, edx
inc ebp
cmp ebp, ebx
jl 0x10017d08
jmp 0x10017d21
mov esi, edi
mov ecx, dword [esp + 0x4c]
test ecx, ecx
je 0x10017d2e
mov dword [ecx], esi
mov dword [ecx + 4], edi
mov al, 1
jmp 0x10017d34
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret