Function at 0x5ed010
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 0x5ed387
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 0x5ed060
ja 0x5ed056
cmp edx, eax
jbe 0x5ed060
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 0x5ed0bd
ja 0x5ed075
test edx, edx
je 0x5ed0bd
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 0x5ed080
ja 0x5ed0a5
cmp edi, dword [ebp - 0x28]
jb 0x5ed080
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 0x5ed0ea
cmp eax, 0x10
jb 0x5ed40f
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 0x5ed160
jb 0x5ed353
cmp esi, 0x10
jae 0x5ed160
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 0x5ed396
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 0x5ed39f
cmp ecx, 0x10
jb 0x5ed3bd
mov edi, ecx
push ebx
and edi, 0xfffffff0
push edi
push edx
push esi
call fcn.005ecb00
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 0x5ed40f
xorps xmm0, xmm0
movlpd qword [ebp - 0x68], xmm0
test ebx, ebx
jb 0x5ed409
ja 0x5ed3d5
test ecx, ecx
je 0x5ed409
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 0x5ed3e0
mov ecx, dword [ebp - 0x14]
ja 0x5ed409
cmp edi, ecx
jb 0x5ed3e0
add dword [esi + 0x38], ecx
adc dword [esi + 0x3c], ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret