Function at 0x3059bec
Capabilities:
Enumerate pe sections

Disassembly:
push 0x278
push 0x310b860
call fcn.03105bbc
mov eax, edx
mov dword [ebp - 0x264], eax
mov esi, ecx
mov dword [ebp - 0x260], esi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], edi
mov dword [ebp - 0x284], 0x301d6dc
mov dword [ebp - 0x280], esi
mov dword [ebp - 0x27c], eax
xor ebx, ebx
mov dword [ebp - 0x274], ebx
mov dword [ebp - 0x278], 4
mov ecx, dword [esi + 8]
lea edx, [edi + 0x68]
mov eax, dword [ecx]
lea ecx, [ebp - 0x284]
push ecx
push dword [ebp + 0xc]
push dword [edi + 0xc]
push dword [edi + 8]
push edx
mov edx, dword [ebp - 0x264]
push dword [edx + 0x40]
mov ecx, dword [esi + 8]
call dword [eax + 0x44]
test eax, eax
je 0x3059ecc
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
lea edx, [ebp - 0x254]
push edx
push ebx
push ebx
lea edx, [ebp - 0x288]
push edx
lea edx, [edi + 0x68]
push edx
call dword [eax + 0x30]
test eax, eax
je 0x3059cee
mov dword [ebp - 0x254], ebx
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
push 0x200
lea edx, [ebp - 0x220]
push edx
push dword [edi + 0xc]
push dword [edi + 8]
push dword [esi]
call dword [eax + 0x78]
mov dword [ebp - 0x258], eax
test eax, eax
je 0x3059ce6
or dword [esi + 0x78], 2
mov ecx, dword [esi + 0x14]
mov edx, dword [ecx]
push eax
push 0x200
push dword [edi + 0xc]
push dword [edi + 8]
push 0x301c894
push 4
push ecx
call dword [edx + 4]
add esp, 0x1c
mov eax, dword [ebp - 0x258]
jmp 0x3059ecc
lea eax, [ebp - 0x220]
jmp 0x3059cf4
mov eax, dword [ebp - 0x254]
mov dword [ebp - 0x24c], eax
xor edx, edx
mov ecx, eax
call fcn.030651b4
mov ecx, eax
mov dword [ebp - 0x258], ecx
test ecx, ecx
jne 0x3059d38
mov edi, 0x80070482
mov eax, dword [esi + 0x14]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x25c]
push dword [edx + 0xc]
push dword [edx + 8]
push 0x301c8cc
push 4
push eax
call dword [ecx + 4]
add esp, 0x14
jmp 0x3059eb3
mov edi, ebx
movzx eax, word [ecx + 0x14]
lea edx, [ecx + 0x18]
add edx, eax
mov dword [ebp - 0x250], edx
cmp dword [ebp - 0x254], ebx
je 0x3059de7
mov dword [ebp - 4], ebx
mov dword [ebp - 0x26c], ebx
movzx eax, word [ecx + 6]
cmp ebx, eax
jae 0x3059da3
imul eax, ebx, 0x28
add eax, edx
push eax
push dword [ebp + 0xc]
push dword [ebp - 0x25c]
mov edx, dword [ebp - 0x264]
mov ecx, esi
call fcn.03059b82
test eax, eax
je 0x3059d8e
mov edi, eax
mov dword [ebp - 0x268], edi
inc ebx
mov dword [ebp - 0x26c], ebx
mov edx, dword [ebp - 0x250]
mov ecx, dword [ebp - 0x258]
jmp 0x3059d5e
mov dword [ebp - 4], 0xfffffffe
jmp 0x3059eb3
sub edx, dword [ebp - 0x24c]
mov eax, dword [ebp - 0x25c]
add edx, dword [eax + 8]
mov dword [ebp - 0x250], edx
push 0
pop edx
adc edx, dword [eax + 0xc]
mov dword [ebp - 0x24c], edx
mov dword [ebp - 0x260], ebx
xor eax, eax
cmp ax, word [ecx + 6]
jae 0x3059eb3
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
push 0x28
lea edx, [ebp - 0x248]
push edx
push dword [ebp - 0x24c]
mov edx, dword [ebp - 0x250]
push edx
push dword [esi]
call dword [eax + 0x78]
test eax, eax
je 0x3059e64
mov edi, eax
mov ecx, dword [esi + 0x14]
mov edx, dword [ecx]
push eax
push 0x28
push dword [ebp - 0x24c]
push dword [ebp - 0x250]
push 0x301c904
push 4
push ecx
call dword [edx + 4]
add esp, 0x1c
jmp 0x3059e87
lea eax, [ebp - 0x248]
push eax
push dword [ebp + 0xc]
push dword [ebp - 0x25c]
mov edx, dword [ebp - 0x264]
mov ecx, esi
call fcn.03059b82
test eax, eax
je 0x3059e87
mov edi, eax
add dword [ebp - 0x250], 0x28
adc dword [ebp - 0x24c], ebx
mov ecx, dword [ebp - 0x260]
inc ecx
mov dword [ebp - 0x260], ecx
mov eax, dword [ebp - 0x258]
movzx eax, word [eax + 6]
cmp ecx, eax
jb 0x3059e1a
cmp dword [ebp - 0x254], 0
je 0x3059eca
mov ecx, dword [esi + 8]
mov edx, dword [ecx]
push dword [ebp - 0x254]
call dword [edx + 0x34]
mov eax, edi
call fcn.03105c04
ret 8