Function at 0x10030086
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x11c
mov eax, dword [0x10184508]
xor eax, esp
mov dword [esp + 0x118], eax
mov eax, dword [esp + 0x120]
xor edx, edx
mov ecx, dword [esp + 0x128]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x134]
xor esi, esi
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x13c]
mov dword [esp + 0x24], ecx
mov ebx, dword [edi + 0xc]
mov ebp, dword [edi + 0x10]
and ebx, 0xfffffffc
sub ebp, dword [edi + 0x14]
add ebx, dword [eax + 0x408]
test ebp, ebp
cmovle ebp, edx
test byte [eax + 0x414], 8
mov ecx, dword [ebx]
mov dword [esp + 0x14], ecx
je 0x10030242
test ecx, ecx
je 0x100302d9
lea eax, [ebx + 4]
add eax, esi
mov cl, byte [eax]
mov byte [esp + 0x12], cl
movzx ecx, cl
mov dword [esp + 0x18], ecx
movzx ecx, word [eax + 1]
sub ecx, ebp
add ecx, dword [esp + 0x18]
mov dword [esp + 0x1c], ecx
test edx, edx
je 0x10030154
mov cl, byte [edx]
cmp byte [esp + 0x12], cl
mov byte [esp + 0x13], cl
mov ecx, dword [esp + 0x1c]
jbe 0x10030154
movzx ecx, byte [esp + 0x13]
mov eax, dword [esp + 0x18]
sub eax, ecx
push eax
lea eax, [edx + 7]
push eax
lea eax, [esp + 0x30]
add eax, ecx
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [esp + 0x28]
lea eax, [ebx + 4]
add esp, 0xc
add eax, esi
test ecx, ecx
js 0x10030224
test ebp, ebp
je 0x100301a9
movzx eax, byte [eax]
push eax
mov eax, dword [edi + 0x18]
add eax, dword [edi + 0x14]
push eax
lea eax, [esp + 0x30]
push eax
call sub.VCRUNTIME140.dll_memcmp
add esp, 0xc
test eax, eax
jne 0x10030224
movzx ecx, byte [ebx + esi + 4]
lea edx, [ebx + 0xb]
mov eax, dword [edi + 0x10]
add edx, esi
sub eax, ecx
sub eax, dword [edi + 0x14]
push eax
mov eax, dword [edi + 0x18]
add eax, ecx
add eax, dword [edi + 0x14]
push eax
push edx
call sub.VCRUNTIME140.dll_memcmp
add esp, 0xc
test eax, eax
jne 0x10030224
movzx eax, byte [ebx + esi + 4]
push eax
lea eax, [esp + 0x2c]
push eax
mov eax, dword [edi + 0x14]
add eax, 0x1c
add eax, edi
push eax
call sub.VCRUNTIME140.dll_memcpy
movzx eax, word [ebx + esi + 5]
push eax
lea eax, [ebx + 0xb]
add eax, esi
push eax
movzx eax, byte [ebx + esi + 4]
add eax, 0x1c
add eax, dword [edi + 0x14]
add eax, edi
push eax
call sub.VCRUNTIME140.dll_memcpy
movzx ecx, word [ebx + esi + 5]
add esp, 0x18
movzx eax, byte [ebx + esi + 4]
add ecx, eax
add ecx, dword [edi + 0x14]
mov byte [ecx + edi + 0x1c], 0
mov ecx, dword [ebx + esi + 7]
test ecx, ecx
je 0x10030224
cmp dword [esp + 0x1c], 0
sete al
movzx eax, al
push eax
push ecx
lea eax, [edi + 0x1c]
push eax
push dword [esp + 0x2c]
call dword [esp + 0x34]
add esp, 0x10
test al, al
jne 0x100302d9
lea eax, [ebx + esi]
add esi, 7
lea edx, [eax + 4]
movzx eax, word [eax + 5]
add esi, eax
cmp esi, dword [esp + 0x14]
jb 0x100300f8
jmp 0x100302d9
test ecx, ecx
je 0x100302d9
movzx eax, word [ebx + esi + 4]
sub eax, ebp
mov dword [esp + 0x18], eax
js 0x100302c7
mov eax, dword [edi + 0x18]
lea ecx, [ebx + 0xa]
add eax, dword [edi + 0x14]
add ecx, esi
push ebp
push eax
push ecx
call sub.VCRUNTIME140.dll_memcmp
add esp, 0xc
test eax, eax
jne 0x100302c3
movzx eax, word [ebx + esi + 4]
push eax
lea eax, [ebx + 0xa]
add eax, esi
push eax
mov eax, dword [edi + 0x14]
add eax, 0x1c
add eax, edi
push eax
call sub.VCRUNTIME140.dll_memcpy
movzx eax, word [ebx + esi + 4]
add esp, 0xc
add eax, dword [edi + 0x14]
mov byte [eax + edi + 0x1c], 0
mov ecx, dword [ebx + esi + 6]
test ecx, ecx
je 0x100302c3
cmp dword [esp + 0x18], 0
sete al
movzx eax, al
push eax
push ecx
lea eax, [edi + 0x1c]
push eax
push dword [esp + 0x2c]
call dword [esp + 0x34]
add esp, 0x10
test al, al
jne 0x100302d9
mov ecx, dword [esp + 0x14]
movzx eax, word [ebx + esi + 4]
add esi, 6
add esi, eax
cmp esi, ecx
jb 0x1003024a
mov ecx, dword [esp + 0x128]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1000234c
add esp, 0x11c
ret