Function at 0x1007a5a0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x30
push ebx
mov ebx, dword [esp + 0x50]
push ebp
push esi
push edi
test ebx, ebx
jle 0x1007a5bb
mov esi, dword [esp + 0x60]
mov ecx, ebx
lea edi, [esp + 0x30]
rep movsd dword es:[edi], dword [esi]
mov edx, dword [esp + 0x54]
cmp edx, 8
jl 0x1007aa59
cmp ebx, 2
je 0x1007aa59
cmp ebx, 3
jne 0x1007a84d
mov eax, dword [esp + 0x58]
test eax, eax
jle 0x1007abae
mov ecx, dword [esp + 0x48]
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x34]
mov ebx, dword [esp + 0x30]
add ecx, ecx
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x44]
jmp 0x1007a614
mov edx, dword [esp + 0x54]
mov ebp, ecx
and ecx, 3
mov dword [esp + 0x24], ecx
jle 0x1007a64e
mov dword [esp + 0x5c], ecx
movzx ecx, word [eax]
movzx edx, byte [ecx + ebx]
mov byte [ebp], dl
movzx edx, byte [ecx + edi]
mov byte [ebp + 1], dl
mov cl, byte [ecx + esi]
mov byte [ebp + 2], cl
add eax, 2
add ebp, 3
dec dword [esp + 0x5c]
jne 0x1007a623
mov edx, dword [esp + 0x54]
mov ecx, dword [esp + 0x24]
sub edx, ecx
movzx ecx, word [eax]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x5c], ecx
movzx ecx, word [eax + 2]
add edx, 0xfffffff9
add eax, 4
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x24], 0
test edx, edx
jle 0x1007a748
dec edx
shr edx, 2
inc edx
mov dword [esp + 0x20], edx
add edx, edx
add edx, edx
mov dword [esp + 0x24], edx
lea ebx, [ebx]
movzx edx, byte [ecx + edi]
mov dword [esp + 0x18], edx
movzx edx, byte [ecx + esi]
movzx ecx, byte [ecx + ebx]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x5c]
movzx edx, byte [edx + esi]
shl ecx, 8
add ecx, edx
mov edx, dword [esp + 0x5c]
movzx edx, byte [edx + edi]
shl ecx, 8
add ecx, edx
mov edx, dword [esp + 0x5c]
movzx edx, byte [edx + ebx]
shl ecx, 8
add ecx, edx
mov dword [ebp], ecx
movzx edx, word [eax]
movzx ecx, byte [edx + edi]
movzx edx, byte [edx + ebx]
movzx ebp, word [eax + 2]
shl ecx, 8
add ecx, edx
movzx edx, byte [esi + ebp]
movzx ebp, byte [edi + ebp]
shl edx, 8
add edx, ebp
movzx ebp, word [eax + 2]
movzx ebp, byte [ebx + ebp]
shl edx, 8
add edx, ebp
movzx ebp, word [eax]
movzx ebp, byte [esi + ebp]
shl edx, 8
add edx, ebp
movzx ebp, word [eax + 4]
shl ecx, 8
add ecx, dword [esp + 0x14]
mov dword [esp + 0x5c], ebp
movzx ebp, word [eax + 6]
shl ecx, 8
add ecx, dword [esp + 0x18]
mov dword [esp + 0x18], ebp
mov ebp, dword [esp + 0x1c]
mov dword [ebp + 4], ecx
mov ecx, dword [esp + 0x18]
mov dword [ebp + 8], edx
add ebp, 0xc
add eax, 8
dec dword [esp + 0x20]
mov dword [esp + 0x1c], ebp
jne 0x1007a690
movzx edx, byte [ecx + edi]
mov dword [esp + 0x18], edx
movzx edx, byte [ecx + esi]
movzx ecx, byte [ecx + ebx]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x5c]
movzx edx, byte [edx + esi]
shl ecx, 8
add ecx, edx
mov edx, dword [esp + 0x5c]
movzx edx, byte [edx + edi]
shl ecx, 8
add ecx, edx
mov edx, dword [esp + 0x5c]
movzx edx, byte [edx + ebx]
shl ecx, 8
add ecx, edx
mov dword [ebp], ecx
movzx edx, word [eax + 2]
movzx ecx, byte [edx + esi]
movzx edx, byte [edx + edi]
shl ecx, 8
add ecx, edx
movzx edx, word [eax + 2]
movzx edx, byte [edx + ebx]
shl ecx, 8
add ecx, edx
movzx edx, word [eax]
movzx edx, byte [edx + esi]
shl ecx, 8
add ecx, edx
mov dword [esp + 0x5c], ecx
movzx ecx, word [eax]
movzx edx, byte [ecx + edi]
movzx ecx, byte [ecx + ebx]
shl edx, 8
add edx, ecx
mov ecx, dword [esp + 0x24]
shl edx, 8
add edx, dword [esp + 0x14]
add ecx, 4
shl edx, 8
add edx, dword [esp + 0x18]
add eax, 4
mov dword [ebp + 4], edx
mov edx, dword [esp + 0x5c]
mov dword [ebp + 8], edx
mov edx, dword [esp + 0x2c]
add ebp, 0xc
cmp ecx, edx
jge 0x1007a823
sub edx, ecx
mov dword [esp + 0x5c], edx
jmp 0x1007a800
movzx ecx, word [eax]
movzx edx, byte [ecx + ebx]
mov byte [ebp], dl
movzx edx, byte [ecx + edi]
mov byte [ebp + 1], dl
mov cl, byte [ecx + esi]
mov byte [ebp + 2], cl
add eax, 2
add ebp, 3
dec dword [esp + 0x5c]
jne 0x1007a800
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x44]
add ecx, dword [esp + 0x50]
add eax, dword [esp + 0x10]
dec dword [esp + 0x28]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x44], eax
jne 0x1007a610
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
cmp ebx, 4
jne 0x1007abae
mov eax, dword [esp + 0x58]
test eax, eax
jle 0x1007abae
mov ecx, dword [esp + 0x48]
add ecx, ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x24], eax
mov esi, dword [esp + 0x4c]
mov eax, esi
and eax, 3
jne 0x1007a903
mov edi, dword [esp + 0x44]
movzx ecx, word [edi]
lea ebx, [edx - 1]
add edi, 2
test ebx, ebx
jle 0x1007a8cd
mov eax, dword [esp + 0x3c]
movzx eax, byte [ecx + eax]
mov ebp, dword [esp + 0x38]
movzx ebp, byte [ecx + ebp]
shl eax, 8
add eax, ebp
mov ebp, dword [esp + 0x34]
movzx ebp, byte [ecx + ebp]
shl eax, 8
add eax, ebp
mov ebp, dword [esp + 0x30]
movzx ecx, byte [ecx + ebp]
shl eax, 8
add eax, ecx
movzx ecx, word [edi]
mov dword [esi], eax
add esi, 4
add edi, 2
dec ebx
jne 0x1007a890
mov eax, dword [esp + 0x3c]
movzx eax, byte [ecx + eax]
mov edi, dword [esp + 0x38]
movzx edi, byte [ecx + edi]
shl eax, 8
add eax, edi
mov edi, dword [esp + 0x34]
movzx edi, byte [ecx + edi]
shl eax, 8
add eax, edi
mov edi, dword [esp + 0x30]
movzx ecx, byte [ecx + edi]
shl eax, 8
add eax, ecx
mov dword [esi], eax
jmp 0x1007aa37
mov ebx, dword [esp + 0x44]
mov esi, 4
sub esi, eax
lea eax, [esi*8]
mov ebp, 0x20
sub ebp, eax
xor edi, edi
mov dword [esp + 0x28], eax
movzx eax, word [ebx]
test esi, esi
jle 0x1007a943
lea esp, [esp]
mov edx, dword [esp + edi*4 + 0x30]
mov cl, byte [eax + edx]
mov edx, dword [esp + 0x4c]
mov byte [edi + edx], cl
inc edi
cmp edi, esi
jl 0x1007a930
mov edx, dword [esp + 0x3c]
movzx edx, byte [eax + edx]
mov ecx, dword [esp + 0x38]
movzx ecx, byte [eax + ecx]
add edi, dword [esp + 0x4c]
shl edx, 8
add edx, ecx
mov ecx, dword [esp + 0x34]
movzx ecx, byte [eax + ecx]
shl edx, 8
add edx, ecx
mov ecx, dword [esp + 0x30]
movzx eax, byte [eax + ecx]
movzx ecx, word [ebx + 2]
shl edx, 8
add edx, eax
mov eax, dword [esp + 0x54]
add eax, 0xfffffffe
add ebx, 4
test eax, eax
jle 0x1007a9e0
mov dword [esp + 0x5c], eax
lea esp, [esp]
mov eax, dword [esp + 0x3c]
movzx eax, byte [ecx + eax]
mov esi, dword [esp + 0x38]
movzx esi, byte [ecx + esi]
shl eax, 8
add eax, esi
mov esi, dword [esp + 0x34]
movzx esi, byte [ecx + esi]
shl eax, 8
add eax, esi
mov esi, dword [esp + 0x30]
movzx ecx, byte [ecx + esi]
shl eax, 8
add eax, ecx
mov ecx, ebp
mov esi, eax
shl esi, cl
mov ecx, dword [esp + 0x28]
shr edx, cl
movzx ecx, word [ebx]
add esi, edx
mov dword [edi], esi
add edi, 4
add ebx, 2
dec dword [esp + 0x5c]
mov edx, eax
jne 0x1007a990
mov eax, dword [esp + 0x3c]
movzx eax, byte [ecx + eax]
mov esi, dword [esp + 0x38]
movzx esi, byte [ecx + esi]
shl eax, 8
add eax, esi
mov esi, dword [esp + 0x34]
movzx esi, byte [ecx + esi]
shl eax, 8
add eax, esi
mov esi, dword [esp + 0x30]
movzx ecx, byte [ecx + esi]
mov esi, dword [esp + 0x28]
shl eax, 8
add eax, ecx
mov ebx, eax
mov ecx, ebp
shl ebx, cl
mov ecx, esi
shr edx, cl
mov ecx, ebp
add ebx, edx
mov edx, dword [edi + 4]
shr edx, cl
mov dword [edi], ebx
shl edx, cl
mov ecx, esi
shr eax, cl
add edx, eax
mov dword [edi + 4], edx
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x10]
add dword [esp + 0x4c], eax
add dword [esp + 0x44], ecx
dec dword [esp + 0x24]
jne 0x1007a870
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
mov eax, dword [esp + 0x58]
cmp edx, 2
jge 0x1007aacb
test eax, eax
jle 0x1007abae
mov ecx, dword [esp + 0x48]
add ecx, ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x5c], eax
xor ecx, ecx
test ebx, ebx
jle 0x1007aaad
mov edi, edi
mov eax, dword [esp + 0x4c]
mov esi, dword [esp + 0x44]
mov edi, dword [esp + ecx*4 + 0x30]
add eax, ecx
test edx, edx
jle 0x1007aaa8
mov ebp, edx
movzx edx, word [esi]
mov dl, byte [edx + edi]
mov byte [eax], dl
add eax, ebx
add esi, 2
dec ebp
jne 0x1007aa94
mov edx, dword [esp + 0x54]
inc ecx
cmp ecx, ebx
jl 0x1007aa80
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x10]
add dword [esp + 0x4c], eax
add dword [esp + 0x44], ecx
dec dword [esp + 0x5c]
jne 0x1007aa78
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
test eax, eax
jle 0x1007abae
mov ecx, dword [esp + 0x48]
add ecx, ecx
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x20], eax
xor esi, esi
mov dword [esp + 0x24], esi
test ebx, ebx
jle 0x1007ab94
mov eax, edx
and eax, 1
mov dword [esp + 0x1c], eax
lea esp, [esp]
mov eax, dword [esp + 0x4c]
movzx edi, word [ecx]
movzx ebp, word [ecx + 2]
add eax, esi
mov esi, dword [esp + esi*4 + 0x30]
add edx, 0xfffffffd
add ecx, 4
test edx, edx
jle 0x1007ab55
dec edx
shr edx, 1
inc edx
mov dword [esp + 0x28], edx
movzx edx, byte [edi + esi]
movzx edi, word [ecx]
mov dword [esp + 0x2c], edx
movzx edx, byte [esi + ebp]
movzx ebp, word [ecx + 2]
mov dword [esp + 0x5c], edx
movzx edx, byte [esp + 0x2c]
mov byte [eax], dl
movzx edx, byte [esp + 0x5c]
add ecx, 4
dec dword [esp + 0x28]
mov byte [eax + ebx], dl
lea eax, [eax + ebx*2]
jne 0x1007ab23
cmp dword [esp + 0x1c], 0
movzx edx, byte [esi + ebp]
mov dword [esp + 0x5c], edx
movzx edx, byte [edi + esi]
mov byte [eax], dl
movzx edx, byte [esp + 0x5c]
mov byte [eax + ebx], dl
je 0x1007ab7b
movzx ecx, word [ecx]
mov dl, byte [ecx + esi]
mov byte [eax + ebx*2], dl
mov esi, dword [esp + 0x24]
mov edx, dword [esp + 0x54]
mov ecx, dword [esp + 0x44]
inc esi
mov dword [esp + 0x24], esi
cmp esi, ebx
jl 0x1007ab00
mov eax, dword [esp + 0x50]
add ecx, dword [esp + 0x10]
add dword [esp + 0x4c], eax
dec dword [esp + 0x20]
mov dword [esp + 0x44], ecx
jne 0x1007aae5
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret