Function at 0x66102b20
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
xor ebp, ebp
push edi
mov edi, 1
push esi
xor esi, esi
push ebx
sub esp, 0x4c
jmp 0x66102b4b
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_Sleep]
sub esp, 4
add esi, 1
mov eax, ebp
lock cmpxchg dword [0x66238ad0], edi
mov ebx, eax
test eax, eax
je 0x66102b78
cmp esi, 0x1f
jbe 0x66102b38
mov dword [esp], 1
call dword [sym.imp.KERNEL32.dll_Sleep]
sub esp, 4
jmp 0x66102b48
mov edx, dword [0x66238acc]
mov edi, 2
test edx, edx
je 0x66102b9c
mov eax, dword [esp + 0x60]
mov dword [esp], eax
call fcn.6610a370
test eax, eax
jne 0x66102bb0
mov edi, 7
xor eax, eax
xchg dword [0x66238ad0], eax
add esp, 0x4c
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret 0xc
mov eax, dword [esp + 0x64]
mov dword [esp], eax
call fcn.6610a370
test eax, eax
je 0x66102b97
mov ecx, dword [0x66238ac8]
test ecx, ecx
je 0x66102bf8
mov eax, dword [0x66238ac0]
jmp 0x66102be2
add ebx, 1
add eax, 0x2c
cmp ebx, ecx
je 0x66102bf8
mov edx, dword [esp + 0x60]
cmp dword [eax], edx
jne 0x66102bd8
mov edi, 3
jmp 0x66102b9c
mov eax, dword [esp + 0x60]
mov edi, 9
mov dword [esp], eax
call fcn.6610a220
mov esi, eax
test eax, eax
je 0x66102b9c
mov eax, dword [esp + 0x60]
mov dword [esp + 0x24], esi
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x1c]
mov dword [esp], eax
call fcn.66103520
test eax, eax
je 0x66102cfb
mov ecx, dword [0x66238ac0]
test ecx, ecx
je 0x66102d62
mov eax, dword [0x66238ac8]
mov edx, dword [0x66238ac4]
cmp eax, edx
jae 0x66102d23
lea edx, [eax + 1]
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
imul eax, eax, 0x2c
mov dword [0x66238ac8], edx
movzx edx, byte [esp + 0x2c]
mov ebp, edi
and ebp, 1
and edx, 0xf
add ecx, eax
mov eax, dword [esp + 0x1c]
mov dword [ecx + 8], esi
mov dword [ecx], eax
mov eax, dword [esp + 0x20]
mov dword [ecx + 4], eax
movzx eax, byte [ecx + 0x14]
and eax, 0xfffffff8
or eax, ebp
mov byte [ecx + 0x14], al
movzx eax, byte [ecx + 0x18]
and eax, 0xfffffff0
or eax, edx
mov byte [ecx + 0x18], al
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
mov dword [ecx + 0x20], edx
mov dword [ecx + 0x1c], eax
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov dword [ecx + 0x24], eax
lea eax, [ecx + 0xc]
mov dword [ecx + 0x28], edx
test edi, edi
je 0x66102d0d
mov edx, dword [esp + 0x60]
mov ebx, dword [edx - 5]
sub edx, 5
mov dword [ecx + 0xc], ebx
movzx ecx, word [edx + 4]
mov word [eax + 4], cx
movzx edx, byte [edx + 6]
mov byte [eax + 6], dl
mov eax, dword [esp + 0x68]
xor edi, edi
test eax, eax
je 0x66102b9c
mov eax, dword [esp + 0x68]
mov dword [eax], esi
jmp 0x66102b9c
mov edi, 8
mov dword [esp], esi
call fcn.6610a2e0
jmp 0x66102b9c
mov edx, dword [esp + 0x60]
mov edx, dword [edx]
mov dword [ecx + 0xc], edx
mov ecx, dword [esp + 0x60]
movzx edx, byte [ecx + 4]
mov byte [eax + 4], dl
jmp 0x66102ce2
imul edx, edx, 0x58
mov eax, dword [0x66238acc]
mov dword [esp + 8], ecx
mov dword [esp + 4], 0
mov dword [esp], eax
mov dword [esp + 0xc], edx
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
sub esp, 0x10
mov ecx, eax
test eax, eax
je 0x66102da1
mov dword [0x66238ac0], eax
mov eax, dword [0x66238ac8]
shl dword [0x66238ac4], 1
jmp 0x66102c58
mov eax, dword [0x66238acc]
mov dword [esp + 8], 0x580
mov dword [0x66238ac4], 0x20
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, eax
mov dword [0x66238ac0], eax
sub esp, 0xc
mov eax, dword [0x66238ac8]
test ecx, ecx
jne 0x66102c58
mov edi, 9
jmp 0x66102d00