Function at 0x1001b276
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x44
push esi
mov esi, ecx
push edi
mov edi, dword [esi + 0x10]
test edi, edi
je 0x1001b408
mov ax, word [esi + 2]
xor ecx, ecx
mov word [ebp - 0x1c], ax
add edi, 0xa
mov al, byte [esi + 4]
mov byte [ebp - 0x1a], al
xor eax, eax
mov dword [ebp - 0x18], ecx
mov word [ebp - 0x14], ax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], ecx
mov byte [ebp - 1], cl
push ebx
push dword [esi + 0x14]
lea eax, [ebp - 8]
mov dword [ebp - 8], edi
push eax
lea ecx, [ebp - 0x1c]
call fcn.1001b851
mov ebx, dword [ebp + 0x18]
test al, al
je 0x1001b34b
movzx ecx, word [ebp - 0x14]
mov eax, dword [ebp + 0xc]
cmp eax, ecx
jne 0x10027dd2
push eax
push dword [ebp - 0xc]
push dword [ebp + 8]
call sub.msvcrt.dll_memcmp
add esp, 0xc
test eax, eax
js 0x1001b40c
je 0x1001b321
mov ecx, dword [esi + 0xc]
mov edi, dword [ebp - 8]
mov dword [ebp - 8], edi
test ecx, ecx
je 0x10027ded
mov eax, dword [esi + 0x14]
xor edx, edx
sub eax, dword [esi + 0x10]
div ecx
mov edx, dword [ebp - 0x18]
cmp edx, eax
ja 0x10027dd9
imul ecx, edx
add edi, ecx
jmp 0x1001b2b3
push ebx
push dword [ebp + 0x14]
lea eax, [ebp - 0x1c]
mov ecx, esi
push dword [ebp + 0x10]
push dword [ebp - 8]
push eax
call fcn.1001b421
mov edi, eax
mov dword [ebp - 8], edi
test edi, edi
je 0x1001b3fd
mov byte [ebp - 1], 1
xor edx, edx
jmp 0x1001b373
mov edi, dword [ebp - 8]
mov dword [esi + 0x14], edi
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x1c]
and dword [ebp - 0x10], 0
mov word [ebp - 0x14], ax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], 1
mov dword [ebp - 0xc], eax
call fcn.1001b956
mov edx, eax
mov cx, word [esi + 6]
mov eax, dword [ebp + 0x14]
and dword [ebp - 0x24], 0
mov word [ebp - 0x30], cx
mov cl, byte [esi + 8]
mov byte [ebp - 0x2e], cl
lea ecx, [ebp - 0x30]
mov word [ebp - 0x28], ax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x20], eax
call fcn.1001b956
mov ecx, dword [esi + 0x14]
lea ebx, [edx + eax]
mov edx, dword [esi + 0x18]
sub edx, ecx
cmp ecx, dword [esi + 0x18]
sbb ecx, ecx
and ecx, edx
cmp ecx, ebx
jb 0x1001b41d
mov eax, dword [esi + 0x14]
sub eax, edi
push eax
mov eax, dword [esi + 0x18]
sub eax, ebx
sub eax, edi
push edi
push eax
lea eax, [ebx + edi]
push eax
call dword [sym.imp.msvcrt.dll_memmove_s]
mov eax, dword [esi + 0x14]
lea ecx, [ebp - 0x1c]
add eax, ebx
add esp, 0x10
cmp byte [ebp - 1], 0
mov dword [esi + 0x14], eax
jne 0x1001b414
push eax
lea eax, [ebp - 8]
push eax
call fcn.1001b8ca
push dword [esi + 0x14]
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x30]
call fcn.1001b8ca
mov byte [esi + 0x20], 1
mov al, 1
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x14
xor al, al
jmp 0x1001b400
mov dword [ebp - 8], edi
jmp 0x1001b351
push 1
call fcn.1001b97d
jmp 0x1001b3ea
xor al, al
jmp 0x1001b3ff
sub eax, ecx
jmp 0x1001b2ea
push eax
lea ecx, [ebp - 0x1c]
call fcn.1001b9a4
mov ecx, dword [esi + 0xc]
mov edx, dword [ebp - 0x18]
jmp 0x1001b31a
mov ax, word [esi + 6]
xor ecx, ecx
mov word [ebp - 0x44], ax
mov ebx, ecx
mov al, byte [esi + 8]
mov byte [ebp - 0x42], al
xor eax, eax
mov dword [ebp - 0x40], ecx
mov word [ebp - 0x3c], ax
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], ecx
cmp dword [ebp - 0x18], eax
jbe 0x10027e2f
push dword [esi + 0x14]
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x44]
call fcn.1001b851
test al, al
je 0x10027e2c
inc ebx
cmp ebx, dword [ebp - 0x18]
jb 0x10027e13
mov edi, dword [ebp - 8]
push ebx
lea ecx, [ebp - 0x1c]
call fcn.1001b9a4
jmp 0x1001b2b3