Function at 0x4af7a0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov ecx, dword [esi + 0x38]
mov eax, ecx
mov ebx, dword [esi + 0x3c]
or eax, ebx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], ebx
je 0x4afb17
mov eax, dword [ebp + 0x10]
mov edx, 0x10
sub edx, ecx
mov edi, 0
mov dword [ebp - 0x28], edx
sbb edi, ebx
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x2c], edi
cmp edi, ebx
jb 0x4af7f0
ja 0x4af7e6
cmp edx, eax
jbe 0x4af7f0
mov edx, eax
mov dword [ebp - 0x28], eax
mov edi, ebx
mov dword [ebp - 0x2c], ebx
mov ecx, dword [ebp + 0xc]
xorps xmm0, xmm0
movlpd qword [ebp - 0x68], xmm0
test edi, edi
jb 0x4af84d
ja 0x4af805
test edx, edx
je 0x4af84d
mov eax, dword [ebp - 0x64]
mov ebx, ecx
mov edi, dword [ebp - 0x68]
mov dword [ebp - 0x34], eax
mov ecx, dword [esi + 0x38]
lea edx, [edi + esi]
mov al, byte [edi + ebx]
add edi, 1
mov byte [edx + ecx + 0x40], al
mov eax, dword [ebp - 0x34]
adc eax, 0
mov dword [ebp - 0x34], eax
cmp eax, dword [ebp - 0x2c]
jb 0x4af810
ja 0x4af835
cmp edi, dword [ebp - 0x28]
jb 0x4af810
mov ecx, dword [esi + 0x38]
mov eax, dword [esi + 0x3c]
mov ebx, dword [ebp + 0x14]
mov edi, dword [ebp - 0x2c]
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp - 0x28]
sub eax, edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x34]
sbb ebx, edi
add ecx, edx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x1c], ecx
add eax, edx
mov ecx, dword [ebp - 0x30]
adc ecx, edi
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], ecx
jne 0x4af87a
cmp eax, 0x10
jb 0x4afb9f
mov ecx, dword [esi + 8]
lea eax, [esi + 0x40]
mov edx, dword [esi + 0xc]
mov ebx, 0x1000000
mov edi, dword [esi + 0x10]
mov dword [ebp - 0x10], eax
xor eax, eax
cmp byte [esi + 0x50], al
mov dword [ebp - 0x34], ecx
cmovne ebx, eax
mov dword [ebp - 0x38], edx
mov eax, dword [esi]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x44], 0
lea eax, [eax + eax*4]
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x4c], eax
lea eax, [ecx + ecx*4]
mov ecx, dword [esi + 0x18]
mov dword [ebp - 0x3c], eax
lea eax, [edx + edx*4]
mov edx, dword [esi + 0x1c]
mov dword [ebp - 0x30], eax
lea eax, [edi + edi*4]
mov edi, dword [esi + 0x14]
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 0x20]
mov dword [ebp - 8], eax
mov eax, dword [esi + 0x24]
mov esi, 0x10
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
nop dword [eax]
mov eax, dword [eax]
and eax, 0x3ffffff
add edi, eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x24], edi
mov eax, dword [eax + 3]
shr eax, 2
and eax, 0x3ffffff
add ecx, eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x28], ecx
mov eax, dword [eax + 6]
shr eax, 4
and eax, 0x3ffffff
add edx, eax
mov dword [ebp - 4], edx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 9]
shr eax, 6
add dword [ebp - 8], eax
mov eax, dword [edx + 0xc]
shr eax, 8
or eax, ebx
add dword [ebp - 0xc], eax
mov eax, ecx
mul dword [ebp - 0x20]
mov ebx, eax
mov ecx, edx
mov eax, dword [ebp - 4]
mul dword [ebp - 0x30]
add ebx, eax
mov eax, dword [ebp - 8]
adc ecx, edx
mul dword [ebp - 0x3c]
add ebx, eax
mov eax, dword [ebp - 0xc]
adc ecx, edx
mul dword [ebp - 0x4c]
add ebx, eax
mov eax, edi
adc ecx, edx
mul dword [ebp - 0x18]
add ebx, eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x40], ebx
adc ecx, edx
mul dword [ebp - 0x20]
mov edi, eax
mov ebx, edx
mov eax, dword [ebp - 0x24]
mul dword [ebp - 0x38]
add edi, eax
mov eax, dword [ebp - 0x28]
adc ebx, edx
mul dword [ebp - 0x34]
add edi, eax
mov eax, dword [ebp - 4]
adc ebx, edx
mul dword [ebp - 0x2c]
add edi, eax
mov eax, dword [ebp - 8]
adc ebx, edx
mul dword [ebp - 0x18]
add edi, eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x54], edi
adc ebx, edx
mul dword [ebp - 0x50]
mov dword [ebp - 0x58], ebx
mov edi, eax
mov ebx, edx
mov eax, dword [ebp - 0x28]
mul dword [ebp - 0x38]
add edi, eax
mov eax, dword [ebp - 4]
adc ebx, edx
mul dword [ebp - 0x34]
add edi, eax
mov eax, dword [ebp - 8]
adc ebx, edx
mul dword [ebp - 0x2c]
add edi, eax
mov eax, dword [ebp - 0xc]
adc ebx, edx
mul dword [ebp - 0x18]
add edi, eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x5c], edi
adc ebx, edx
mul dword [ebp - 0x20]
mov dword [ebp - 0x60], ebx
mov ebx, dword [ebp - 0x40]
shrd ebx, ecx, 0x1a
xor ecx, ecx
add ebx, eax
mov eax, dword [ebp - 8]
adc ecx, edx
mul dword [ebp - 0x30]
add ebx, eax
mov eax, dword [ebp - 0xc]
adc ecx, edx
mul dword [ebp - 0x3c]
add ebx, eax
mov eax, dword [ebp - 0x24]
adc ecx, edx
mul dword [ebp - 0x2c]
add ebx, eax
mov eax, dword [ebp - 0x28]
adc ecx, edx
mul dword [ebp - 0x18]
add ebx, eax
mov eax, dword [ebp - 8]
mov edi, ebx
adc ecx, edx
mul dword [ebp - 0x20]
shrd edi, ecx, 0x1a
xor ecx, ecx
add edi, eax
mov eax, dword [ebp - 0xc]
adc ecx, edx
mul dword [ebp - 0x30]
add edi, eax
mov eax, dword [ebp - 0x24]
adc ecx, edx
mul dword [ebp - 0x34]
add edi, eax
mov eax, dword [ebp - 0x28]
adc ecx, edx
mul dword [ebp - 0x2c]
add edi, eax
mov eax, dword [ebp - 4]
adc ecx, edx
mul dword [ebp - 0x18]
add edi, eax
mov eax, edi
adc ecx, edx
mov edx, dword [ebp - 0x54]
and eax, 0x3ffffff
shrd edi, ecx, 0x1a
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x58]
add edx, edi
mov ecx, edx
adc eax, 0
and ecx, 0x3ffffff
shrd edx, eax, 0x1a
mov eax, dword [ebp - 0x60]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0x5c]
add ecx, edx
mov edx, ecx
adc eax, 0
and edx, 0x3ffffff
shrd ecx, eax, 0x1a
mov eax, dword [ebp - 0x40]
and eax, 0x3ffffff
mov dword [ebp - 0xc], edx
lea edi, [ecx + ecx*4]
add edi, eax
mov eax, edi
shr eax, 0x1a
and edi, 0x3ffffff
mov edx, dword [ebp - 0x44]
mov ecx, ebx
mov ebx, dword [ebp - 0x48]
and ecx, 0x3ffffff
add ecx, eax
mov eax, dword [ebp - 0x10]
add eax, 0x10
add esi, 0xfffffff0
mov dword [ebp - 0x10], eax
adc edx, 0xffffffff
mov dword [ebp - 0x44], edx
test edx, edx
mov edx, dword [ebp - 4]
ja 0x4af8f0
jb 0x4afae3
cmp esi, 0x10
jae 0x4af8f0
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov ebx, dword [ebp - 0x64]
mov edx, dword [ebp - 0x1c]
mov dword [esi + 0x1c], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x18], ecx
mov ecx, dword [ebp - 0x14]
mov dword [esi + 0x14], edi
mov dword [esi + 0x24], eax
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
jmp 0x4afb26
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x1c], edx
test ebx, ebx
jne 0x4afb2f
cmp ecx, 0x10
jb 0x4afb4d
mov edi, ecx
push ebx
and edi, 0xfffffff0
push edi
push edx
push esi
call fcn.004af290
mov ecx, dword [ebp - 0x14]
add esp, 0x10
add dword [ebp - 0x1c], edi
sub ecx, edi
mov dword [ebp - 0x14], ecx
sbb ebx, ebx
mov eax, ecx
or eax, ebx
je 0x4afb9f
xorps xmm0, xmm0
movlpd qword [ebp - 0x68], xmm0
test ebx, ebx
jb 0x4afb99
ja 0x4afb65
test ecx, ecx
je 0x4afb99
mov eax, dword [ebp - 0x64]
mov edi, dword [ebp - 0x68]
mov dword [ebp + 8], eax
nop
mov eax, dword [ebp - 0x1c]
lea edx, [edi + esi]
mov ecx, dword [esi + 0x38]
mov al, byte [edi + eax]
add edi, 1
mov byte [edx + ecx + 0x40], al
mov eax, dword [ebp + 8]
adc eax, 0
mov dword [ebp + 8], eax
cmp eax, ebx
jb 0x4afb70
mov ecx, dword [ebp - 0x14]
ja 0x4afb99
cmp edi, ecx
jb 0x4afb70
add dword [esi + 0x38], ecx
adc dword [esi + 0x3c], ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret