Function at 0x101a0f33
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x4c
mov edx, dword [esp + 0x54]
mov ecx, dword [edx]
xor eax, eax
push ebx
mov ebx, dword [esp + 0x60]
mov dword [esp + 0x1c], eax
mov eax, dword [ecx + 4]
mov eax, dword [eax + 4]
push ebp
mov ebp, dword [esp + 0x60]
push esi
mov esi, dword [eax + 8]
movzx eax, word [ecx + 2]
xor ecx, ecx
mov dword [esp + 0x20], ecx
test ebp, ebp
je 0x101a0f67
mov dword [ebp], ecx
test ebx, ebx
je 0x101a0f6d
mov dword [ebx], ecx
mov ecx, dword [esp + 0x5c]
mov ecx, dword [ecx + 8]
jmp 0x101a0f81
cmp dword [ecx], edx
je 0x101a1027
mov ecx, dword [ecx + 0xc]
test ecx, ecx
jne 0x101a0f76
test esi, esi
je 0x101a11ca
push edi
mov edi, eax
mov eax, dword [esi]
push esi
call dword [eax + 0xc]
cmp edi, eax
jae 0x101a11c9
mov eax, dword [esi]
lea ecx, [esp + 0x24]
push ecx
push edi
push esi
call dword [eax + 0x10]
test eax, eax
js 0x101a11c9
mov esi, dword [esp + 0x24]
mov ecx, dword [esi + 0x14]
lea eax, [esp + 0x18]
push eax
call fcn.1001edf0
test eax, eax
js 0x101a11bf
mov ecx, dword [esi + 0x14]
lea eax, [esp + 0x34]
push eax
call fcn.10021c52
test eax, eax
js 0x101a11bf
mov ecx, dword [esp + 0x18]
xor eax, eax
mov byte [esp + 0x13], al
mov eax, dword [ecx + 0x20]
mov eax, dword [eax + 0x258]
mov ecx, dword [ecx + 0x24]
mov dword [esp + 0x2c], eax
call fcn.1007ba24
mov edi, eax
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x2c]
mov ecx, dword [eax + 0x34]
mov dword [esp + 0x1c], ecx
cmp ecx, 0xffffffff
je 0x101a11bf
mov edx, dword [esp + 0x1c]
cmp ecx, dword [eax + 4]
jbe 0x101a1041
xor eax, eax
mov ecx, eax
jmp 0x101a1045
test ebp, ebp
je 0x101a1031
mov eax, dword [ecx + 4]
mov dword [ebp], eax
test ebx, ebx
je 0x101a103a
mov eax, dword [ecx + 8]
mov dword [ebx], eax
xor eax, eax
jmp 0x101a11ce
mov ecx, dword [eax]
add ecx, edx
mov al, byte [ecx + 1]
and al, 7
cmp al, 1
je 0x101a1059
cmp word [ecx + 0x30], 0xffff
jne 0x101a1195
movzx eax, word [ecx + 0x34]
mov esi, edi
add edi, eax
movzx eax, byte [ecx + 0x26]
and eax, 3
add eax, 0xfffffffe
mov dword [esp + 0x14], edi
cmp eax, 1
ja 0x101a1195
mov eax, dword [esp + 0x18]
push edx
push dword [eax + 0x20]
lea ecx, [esp + 0x40]
call fcn.1004c061
mov ecx, dword [esp + 0x2c]
xor eax, eax
mov edi, eax
lea eax, [esp + 0x38]
push eax
call fcn.1005d035
cmp eax, dword [esp + 0x64]
jne 0x101a1191
mov edx, dword [esp + 0x14]
mov byte [esp + 0x13], 1
cmp esi, edx
jae 0x101a1191
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 4]
mov ecx, esi
imul ecx, ecx, 0xc
add eax, 6
add eax, ecx
mov dword [esp + 0x30], ecx
mov ecx, edx
sub ecx, esi
xor edx, edx
cmp word [eax], dx
je 0x101a10da
inc edi
add eax, 0xc
dec ecx
jne 0x101a10d4
mov dword [esp + 0x20], edi
test edi, edi
je 0x101a1191
mov eax, edi
shl eax, 3
push eax
call dword [sym.imp.ole32.dll_CoTaskMemAlloc]
mov edi, eax
test edi, edi
je 0x101a1148
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x14]
xor eax, eax
mov edx, eax
mov ecx, edi
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 4]
movzx eax, word [eax + ebx + 6]
mov dword [esp + 0x30], eax
test eax, eax
je 0x101a1132
lea eax, [esi + 1]
mov dword [ecx], edx
mov dword [ecx + 4], eax
add ecx, 8
add edx, dword [esp + 0x30]
inc esi
add ebx, 0xc
cmp esi, ebp
jb 0x101a110c
mov ebx, dword [esp + 0x6c]
mov ebp, dword [esp + 0x68]
mov eax, dword [esp + 0x28]
jmp 0x101a1151
mov eax, 0x8007000e
mov dword [esp + 0x28], eax
test edi, edi
je 0x101a1191
test eax, eax
js 0x101a1191
push 0x10
call dword [sym.imp.ole32.dll_CoTaskMemAlloc]
mov edx, dword [esp + 0x20]
mov ecx, eax
test ecx, ecx
je 0x101a1184
mov eax, dword [esp + 0x64]
mov esi, dword [esp + 0x60]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov dword [ecx + 8], edi
mov eax, dword [esi + 8]
mov dword [ecx + 0xc], eax
mov dword [esi + 8], ecx
test ebp, ebp
je 0x101a118b
mov dword [ebp], edx
test ebx, ebx
je 0x101a1191
mov dword [ebx], edi
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x2c]
mov edx, dword [esp + 0x1c]
cmp edx, dword [eax + 4]
jbe 0x101a11a9
xor ecx, ecx
jmp 0x101a11ad
mov ecx, dword [eax]
add ecx, edx
cmp byte [esp + 0x13], 0
mov ecx, dword [ecx + 4]
mov dword [esp + 0x1c], ecx
je 0x101a100f
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
pop edi
mov eax, dword [esp + 0x24]
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret 0x10