Function at 0xaf0130
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x7c
mov edx, dword [ebp + 8]
mov eax, dword [edx]
test ah, 0x40
jne 0xaf01d3
mov ecx, dword [ebp + 8]
mov eax, 0xffffffff
mov edx, dword [ecx + 4]
cmp byte [edx + 4], 7
jbe 0xaf01a4
mov edi, dword [ecx + 0x18]
test edi, edi
jne 0xaf01ac
mov eax, dword [ecx]
test eax, 0x4005
jne 0xaf01ac
test ah, 0x10
jne 0xaf0341
test eax, 0x10000
mov esi, 0xffffffff
jne 0xaf01e8
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x18]
test ecx, ecx
jne 0xaf01c6
test dword [eax], 0x4005
jne 0xaf01c6
cmp esi, 0xffffffff
mov eax, 0xffffffff
je 0xaf01a4
mov ecx, dword [ebp + 8]
xor eax, eax
or dword [ecx], 0x4000
add esp, 0x7c
pop ebx
pop esi
pop edi
pop ebp
ret
mov esi, dword [ebp + 8]
mov dword [esp], esi
call fcn.00ae2930
mov edx, eax
mov eax, 0xffffffff
test edx, edx
js 0xaf01a4
mov eax, dword [esi]
jmp 0xaf0168
mov edx, dword [ebp + 8]
mov dword [esp], edx
call fcn.00ae29a0
jmp 0xaf018f
mov dword [esp + 4], 1
mov dword [esp], edx
call fcn.00aefec0
jmp 0xaf0147
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
mov ebx, dword [eax + 0x1c]
test ebx, ebx
je 0xaf017d
mov edx, dword [edx + 0x30]
mov edx, dword [edx]
test edx, edx
je 0xaf017d
cmp byte [eax + 4], 0x20
mov ebx, dword [edx + 4]
jne 0xaf017d
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x14]
mov edi, dword [ebx + 0x10]
movzx edx, byte [ebx + 5]
mov dword [ebp - 0x1c], eax
mov eax, ecx
or eax, edi
or eax, dword [ebp - 0x1c]
cmp dl, 2
je 0xaf0793
cmp dl, 4
jne 0xaf017d
cmp eax, 0xffffff
jne 0xaf017d
mov esi, dword [ebp + 8]
mov dword [ebp - 0x2c], 0xaebed0
mov dword [ebp - 0x3c], 0xaebed0
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
shl eax, 3
add ecx, 1
imul eax, ecx
add eax, 4
add eax, 0x18
mov byte [ebp - 0x60], dl
mov dword [esp], eax
call sub.msvcrt.dll_malloc
movzx edx, byte [ebp - 0x60]
test eax, eax
mov esi, eax
je 0xaf077f
mov byte [eax], dl
movzx eax, byte [ebx + 6]
mov byte [esi + 1], al
movzx eax, byte [ebx + 7]
mov byte [esi + 2], al
movzx eax, byte [ebx + 8]
mov byte [esi + 3], al
movzx eax, byte [ebx + 0xa]
mov byte [esi + 4], al
movzx eax, byte [ebx + 0xb]
mov byte [esi + 5], al
movzx eax, byte [ebx + 0xc]
mov byte [esi + 6], al
movzx eax, byte [ebx + 0xd]
mov byte [esi + 7], al
mov eax, dword [ebx + 0x10]
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov dword [esi + 8], eax
mov eax, dword [ebx + 0x14]
mov edx, dword [edx + 0xc]
mov ecx, dword [ecx + 8]
mov dword [esi + 0xc], eax
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x24], ecx
mov dword [esi + 0x10], eax
mov eax, dword [ebx + 0x1c]
mov dword [esi + 0x14], eax
lea eax, [esi + 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x14]
mov edi, dword [eax + 4]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x48], esi
mov esi, dword [ebp - 0x40]
cmp dword [ebp - 0x44], esi
jle 0xaf07ea
mov dword [ebp - 0x34], 0
xor esi, esi
mov ebx, esi
cmp dword [ebp - 0x24], ebx
jle 0xaf0734
mov ecx, dword [ebp - 0x1c]
mov edx, dword [edi + 0x1c]
and edx, dword [ecx + ebx*4]
movzx ecx, byte [edi + 0xd]
shr edx, cl
cmp edx, 0xff
je 0xaf0734
add ebx, 1
jmp 0xaf0318
mov eax, dword [ebp + 8]
mov esi, dword [eax + 4]
movzx eax, byte [esi + 5]
movzx edx, al
cmp al, 3
mov dword [ebp - 0x1c], edx
ja 0xaf0382
cmp al, 2
jae 0xaf05c2
sub al, 1
jne 0xaf038a
mov eax, dword [ebp + 8]
mov ebx, 2
imul ecx, dword [eax + 0xc], 3
mov eax, dword [eax + 8]
mov edx, eax
sar edx, 0x1f
idiv ebx
add eax, 1
imul ecx, eax
add ecx, 2
jmp 0xaf038c
cmp al, 4
je 0xaf05ed
xor ecx, ecx
mov dword [esp], ecx
call sub.msvcrt.dll_malloc
test eax, eax
mov dword [ebp - 0x5c], eax
je 0xaf077f
cmp dword [ebp - 0x1c], 4
mov eax, 0xff
mov ebx, 0xffff
mov ecx, dword [ebp + 8]
cmovne ebx, eax
mov eax, dword [esi + 0x1c]
mov edx, dword [ecx + 0x14]
mov ecx, dword [ebp - 0x1c]
not eax
mov dword [ebp - 0x30], eax
and eax, dword [esi + 0x20]
mov ecx, dword [ecx*4 + 0x1259978]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 0x5c]
mov esi, dword [esi + 8]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x2c], esi
test eax, eax
mov dword [ebp - 0x58], eax
jle 0xaf06bd
mov esi, ebx
mov edi, ecx
neg esi
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], esi
cmp dword [ebp - 0x2c], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
jle 0xaf06b2
lea esi, [esi]
mov edx, dword [ebp - 0x40]
mov esi, dword [ebp - 0x1c]
imul esi, dword [ebp - 0x40]
mov dword [ebp - 0x24], ebx
add esi, dword [ebp - 0x38]
mov ebx, edx
mov dword [ebp - 0x28], edi
jmp 0xaf0446
add ebx, 1
add esi, dword [ebp - 0x1c]
cmp dword [ebp - 0x2c], ebx
jle 0xaf0651
mov dword [esp], esi
call dword [ebp - 0x34]
and eax, dword [ebp - 0x30]
cmp dword [ebp - 0x3c], eax
je 0xaf0437
mov dword [ebp - 0x20], ebx
mov ecx, dword [ebp - 0x20]
cmp dword [ebp - 0x2c], ecx
mov ebx, dword [ebp - 0x24]
mov dword [ebp - 0x4c], esi
mov edi, dword [ebp - 0x28]
jle 0xaf0767
mov edx, dword [ebp - 0x1c]
imul edx, dword [ebp - 0x20]
add edx, dword [ebp - 0x38]
mov dword [ebp - 0x24], ebx
mov esi, dword [ebp - 0x20]
mov dword [ebp - 0x28], edi
mov edi, dword [ebp - 0x3c]
mov ebx, edx
jmp 0xaf0495
add esi, 1
add ebx, dword [ebp - 0x1c]
cmp dword [ebp - 0x2c], esi
jle 0xaf0680
mov dword [esp], ebx
call dword [ebp - 0x34]
and eax, dword [ebp - 0x30]
cmp edi, eax
jne 0xaf0486
mov edx, esi
mov edi, dword [ebp - 0x28]
sub edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x24]
sub ecx, dword [ebp - 0x40]
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x40], esi
cmp dword [ebp - 0x2c], ecx
mov esi, 1
cmovne esi, dword [ebp - 0x44]
cmp ebx, ecx
mov dword [ebp - 0x44], esi
jge 0xaf0506
mov eax, ecx
mov esi, dword [ebp - 0x50]
sub eax, ebx
jmp 0xaf04e9
mov ecx, eax
add eax, esi
lea edx, [eax + ebx]
mov byte [edi], bl
mov byte [edi + 1], 0
add edi, 2
cmp ebx, edx
jge 0xaf0506
cmp dword [ebp - 0x1c], 4
jne 0xaf04d5
mov ecx, eax
add eax, esi
lea edx, [eax + ebx]
mov word [edi], bx
mov word [edi + 2], 0
add edi, 4
cmp ebx, edx
jl 0xaf04e9
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x24], ebx
cmovg eax, ebx
cmp dword [ebp - 0x1c], 4
je 0xaf06a0
mov byte [edi], cl
mov byte [edi + 1], al
add edi, 2
mov dword [ebp - 0x28], edi
mov edx, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x28]
mov esi, dword [ebp - 0x4c]
imul edx, eax
mov ecx, edx
shr ecx, 2
cld
rep movsd dword es:[edi], dword [esi]
test dl, 2
je 0xaf053f
movsw word es:[edi], word [esi]
test dl, 1
je 0xaf0545
movsb byte es:[edi], byte [esi]
mov edi, dword [ebp - 0x28]
add edi, edx
mov edx, dword [ebp - 0x24]
sub edx, eax
je 0xaf0619
add eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], ebx
mov ebx, edx
mov dword [ebp - 0x24], eax
jmp 0xaf05a2
mov byte [edi], 0
mov byte [edi + 1], al
add edi, 2
mov dword [ebp - 0x20], edi
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
imul esi, dword [ebp - 0x1c]
add esi, dword [ebp - 0x38]
imul edx, eax
mov edi, dword [ebp - 0x20]
mov ecx, edx
shr ecx, 2
cld
rep movsd dword es:[edi], dword [esi]
test dl, 2
je 0xaf0590
movsw word es:[edi], word [esi]
test dl, 1
je 0xaf0596
movsb byte es:[edi], byte [esi]
mov edi, dword [ebp - 0x20]
add edi, edx
sub ebx, eax
je 0xaf0616
add dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x28]
cmp ebx, dword [ebp - 0x28]
cmovle eax, ebx
cmp dword [ebp - 0x1c], 4
jne 0xaf0562
mov word [edi], 0
mov word [edi + 2], ax
add edi, 4
mov dword [ebp - 0x20], edi
jmp 0xaf056e
mov ecx, dword [ebp + 8]
mov ebx, dword [ecx + 8]
mov ecx, 0xff
mov edx, ebx
mov eax, ebx
sar edx, 0x1f
idiv ecx
imul ebx, dword [ebp - 0x1c]
lea ecx, [ebx + eax*2 + 2]
mov eax, dword [ebp + 8]
imul ecx, dword [eax + 0xc]
add ecx, 2
jmp 0xaf038c
mov edx, dword [ebp + 8]
mov edi, 0xffff
mov ebx, dword [edx + 8]
mov ecx, dword [edx + 0xc]
mov edx, ebx
mov eax, ebx
sar edx, 0x1f
idiv edi
shl ecx, 2
lea eax, [ebx + eax + 1]
imul ecx, eax
add ecx, 4
jmp 0xaf038c
mov ebx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x44]
mov eax, dword [ebp - 0x48]
mov edx, dword [ebp - 0x40]
test esi, esi
cmove eax, edi
cmp dword [ebp - 0x2c], edx
mov dword [ebp - 0x48], eax
jg 0xaf0420
add dword [ebp - 0x54], 1
mov ecx, dword [ebp + 8]
mov esi, dword [ebp - 0x54]
cmp dword [ebp - 0x58], esi
movzx eax, word [ecx + 0x10]
jle 0xaf06bd
movzx eax, ax
add dword [ebp - 0x38], eax
jmp 0xaf0404
mov dword [ebp - 0x20], ebx
mov edi, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x24]
sub ecx, dword [ebp - 0x40]
mov esi, dword [ebp - 0x20]
imul esi, dword [ebp - 0x1c]
add esi, dword [ebp - 0x38]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x4c], esi
mov esi, dword [ebp - 0x20]
mov dword [ebp - 0x40], esi
jmp 0xaf04b9
mov eax, esi
mov ecx, dword [ebp - 0x20]
sub eax, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x24]
sub ecx, dword [ebp - 0x40]
mov edi, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x40], esi
jmp 0xaf04b9
mov word [edi], cx
mov word [edi + 2], ax
add edi, 4
mov dword [ebp - 0x28], edi
jmp 0xaf0524
mov dword [ebp - 0x20], 0
xor ecx, ecx
jmp 0xaf0660
cmp dword [ebp - 0x1c], 4
je 0xaf071f
mov edx, dword [ebp - 0x48]
mov ebx, edx
mov byte [edx], 0
add ebx, 2
mov byte [edx + 1], 0
mov ecx, dword [ebp + 8]
test dword [ecx], 0x1000001
je 0xaf0708
mov eax, dword [ebp - 0x5c]
sub ebx, dword [ebp - 0x5c]
mov dword [esp], eax
mov dword [esp + 4], ebx
call sub.msvcrt.dll_realloc
test eax, eax
cmove eax, dword [ebp - 0x5c]
mov ecx, dword [ebp + 8]
xor esi, esi
mov edx, dword [ecx + 0x30]
mov edx, dword [edx + 0x18]
mov dword [edx + 4], eax
jmp 0xaf017d
mov eax, dword [ecx + 0x14]
mov dword [esp], eax
call fcn.0108ed00
mov esi, dword [ebp + 8]
mov dword [esi + 0x14], 0
jmp 0xaf06dd
mov eax, dword [ebp - 0x48]
mov ebx, eax
mov word [eax], 0
add ebx, 4
mov word [eax + 2], 0
jmp 0xaf06d2
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x24], eax
jle 0xaf0852
mov ecx, dword [ebp - 0x1c]
mov edx, dword [edi + 0x1c]
and edx, dword [ecx + eax*4]
movzx ecx, byte [edi + 0xd]
shr edx, cl
cmp edx, 0xff
jne 0xaf0852
add dword [ebp - 0x30], 1
jmp 0xaf073a
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x20]
sub ecx, dword [ebp - 0x40]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x40], eax
jmp 0xaf04b9
mov dword [esp], 0
call fcn.00ae69b0
or esi, 0xffffffff
jmp 0xaf017d
cmp eax, 0x7fff
je 0xaf099a
cmp eax, 0xffff
jne 0xaf017d
cmp ecx, 0x7e0
je 0xaf098e
cmp edi, 0x7e0
mov dword [ebp - 0x2c], 0xaebc50
jne 0xaf0981
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x3c], 0xaebac0
mov eax, dword [ecx + 8]
add eax, 1
imul eax, eax, 6
add eax, 2
imul eax, dword [ecx + 0xc]
add eax, 2
jmp 0xaf0266
mov ebx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x48]
cmp byte [ebx + 5], 4
je 0xaf083d
mov edx, dword [ebp - 0x20]
mov ebx, edx
mov byte [edx], 0
add ebx, 2
mov byte [edx + 1], 0
mov ecx, dword [ebp + 8]
test dword [ecx], 0x1000001
jne 0xaf0825
mov eax, dword [ecx + 0x14]
mov dword [esp], eax
call fcn.0108ed00
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0
sub ebx, esi
mov dword [esp + 4], ebx
mov dword [esp], esi
call sub.msvcrt.dll_realloc
test eax, eax
cmove eax, esi
jmp 0xaf06f5
mov eax, dword [ebp - 0x20]
mov ebx, eax
mov word [eax], 0
add ebx, 4
mov word [eax + 2], 0
jmp 0xaf0805
mov ecx, dword [ebp - 0x30]
mov edx, ebx
sub edx, esi
mov esi, 1
mov eax, dword [ebp - 0x38]
cmp dword [ebp - 0x24], edx
cmovne esi, dword [ebp - 0x34]
sub ecx, ebx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], esi
cmp edx, 0xff
jle 0xaf08a3
mov esi, dword [ebp - 0x28]
cmp byte [esi + 5], 4
je 0xaf0893
mov byte [eax], 0xff
mov byte [eax + 1], 0
add eax, 2
sub edx, 0xff
jmp 0xaf0870
mov word [eax], 0xff
mov word [eax + 2], 0
add eax, 4
jmp 0xaf088b
mov ecx, dword [ebp - 0x28]
mov esi, 0xff
cmp dword [ebp - 0x38], 0xff
cmovle esi, dword [ebp - 0x38]
cmp byte [ecx + 5], 4
je 0xaf0972
mov byte [eax], dl
mov edx, esi
mov byte [eax + 1], dl
lea edx, [eax + 2]
mov ecx, dword [ebp - 0x28]
mov dword [esp], edx
mov dword [ebp - 0x60], edx
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [esp + 8], esi
lea eax, [ecx + ebx*4]
mov dword [esp + 4], eax
call dword [ebp - 0x3c]
mov edx, dword [ebp - 0x60]
lea ecx, [esi + ebx]
mov ebx, dword [ebp - 0x38]
sub ebx, esi
lea eax, [edx + eax]
test ebx, ebx
je 0xaf0962
mov edx, dword [ebp - 0x28]
cmp ebx, 0xff
mov esi, 0xff
cmovle esi, ebx
cmp byte [edx + 5], 4
je 0xaf0954
mov edx, esi
mov byte [eax + 1], dl
lea edx, [eax + 2]
mov byte [eax], 0
mov eax, dword [ebp - 0x28]
sub ebx, esi
mov dword [esp], edx
mov dword [ebp - 0x60], edx
mov dword [ebp - 0x64], ecx
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 0xc], edi
mov dword [esp + 8], esi
lea eax, [eax + ecx*4]
mov dword [esp + 4], eax
call dword [ebp - 0x3c]
mov edx, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x64]
add ecx, esi
lea eax, [edx + eax]
jmp 0xaf08fa
mov word [eax], 0
lea edx, [eax + 4]
mov word [eax + 2], si
jmp 0xaf0920
mov edx, dword [ebp - 0x30]
cmp dword [ebp - 0x24], edx
jle 0xaf09c7
mov esi, dword [ebp - 0x30]
jmp 0xaf0316
mov word [eax], dx
lea edx, [eax + 4]
mov word [eax + 2], si
jmp 0xaf08ca
cmp dword [ebp - 0x1c], 0x7e0
jne 0xaf078b
mov dword [ebp - 0x2c], 0xaebc50
jmp 0xaf07c8
cmp ecx, 0x3e0
je 0xaf0a21
cmp edi, 0x3e0
mov dword [ebp - 0x2c], 0xaebd20
je 0xaf07c8
cmp dword [ebp - 0x1c], 0x3e0
jne 0xaf017d
jmp 0xaf07c8
mov edx, eax
xor esi, esi
and edx, 2
add eax, edx
mov ebx, esi
mov edx, eax
cmp dword [ebp - 0x24], ebx
jle 0xaf09f7
mov ecx, dword [ebp - 0x1c]
mov eax, dword [edi + 0x1c]
and eax, dword [ecx + ebx*4]
movzx ecx, byte [edi + 0xd]
shr eax, cl
sub eax, 1
cmp eax, 0xfd
jbe 0xaf09f7
add ebx, 1
jmp 0xaf09d4
mov eax, edx
mov edx, ebx
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x24], edx
jle 0xaf0a2d
mov ecx, dword [ebp - 0x1c]
mov eax, dword [edi + 0x1c]
and eax, dword [ecx + edx*4]
movzx ecx, byte [edi + 0xd]
shr eax, cl
sub eax, 1
cmp eax, 0xfd
ja 0xaf0a2d
add edx, 1
jmp 0xaf09fe
mov dword [ebp - 0x2c], 0xaebd20
jmp 0xaf07c8
mov ecx, ebx
mov eax, dword [ebp - 0x30]
sub ecx, esi
mov esi, edx
cmp dword [ebp - 0x24], ecx
mov dword [ebp - 0x38], ecx
sete cl
sub esi, ebx
movzx ecx, cl
and dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x30], esi
cmp ecx, 0xffff
jle 0xaf0a6b
mov word [eax], 0xffff
sub ecx, 0xffff
mov word [eax + 2], 0
add eax, 4
jmp 0xaf0a4d
cmp dword [ebp - 0x30], 0xffff
mov esi, 0xffff
cmovle esi, dword [ebp - 0x30]
mov word [eax], cx
lea ecx, [eax + 4]
mov word [eax + 2], si
mov eax, dword [ebp - 0x28]
mov dword [esp], ecx
mov dword [ebp - 0x60], edx
mov dword [ebp - 0x64], ecx
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 0xc], edi
mov dword [esp + 8], esi
lea eax, [eax + ebx*4]
mov dword [esp + 4], eax
call dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x64]
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x38], edx
lea eax, [ecx + eax]
lea ecx, [esi + ebx]
mov ebx, dword [ebp - 0x30]
sub ebx, esi
test ebx, ebx
je 0xaf0b10
mov edx, dword [ebp - 0x28]
cmp ebx, 0xffff
mov esi, 0xffff
cmovle esi, ebx
mov word [eax], 0
sub ebx, esi
mov word [eax + 2], si
add eax, 4
mov dword [esp + 0x10], edx
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x64], ecx
mov dword [esp + 0xc], edi
lea eax, [edx + ecx*4]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 8], esi
mov dword [esp], eax
call dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x64]
add eax, dword [ebp - 0x30]
add ecx, esi
jmp 0xaf0abe
mov ecx, dword [ebp - 0x20]
cmp dword [ebp - 0x34], 0
mov edx, dword [ebp - 0x38]
cmove ecx, eax
cmp dword [ebp - 0x24], edx
mov dword [ebp - 0x20], ecx
jle 0xaf0b2c
mov esi, edx
jmp 0xaf09d0
mov esi, dword [ebp + 8]
mov ecx, dword [ebp - 0x1c]
add dword [ebp - 0x40], 1
movzx edx, word [esi + 0x10]
shr dx, 2
movzx edx, dx
lea ecx, [ecx + edx*4]
mov dword [ebp - 0x1c], ecx
jmp 0xaf0301