Function at 0xbac926
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 0xbacae2
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.00bace34
mov ebx, dword [ebp + 0x18]
test al, al
je 0xbacab5
movzx ecx, word [ebp - 0x14]
mov eax, dword [ebp + 0xc]
cmp eax, ecx
jne 0xbfa534
push eax
push dword [ebp - 0xc]
push dword [ebp + 8]
call fcn.00bc6363
add esp, 0xc
test eax, eax
js 0xbacae6
jne 0xbaca73
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.00bacaf2
mov edi, eax
mov dword [ebp - 8], edi
test edi, edi
je 0xbaca68
mov byte [ebp - 1], 1
xor edx, edx
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.00b8337b
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 0xbacaeb
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]
add esp, 0x10
add eax, ebx
cmp byte [ebp - 1], 0
mov dword [esi + 0x14], eax
je 0xbacaa6
cmp byte [ebp - 0x1a], 0
je 0xbaca55
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x1c]
inc eax
push eax
call fcn.00bacf37
push dword [esi + 0x14]
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x30]
call fcn.00baceab
mov byte [esi + 0x20], 1
mov al, 1
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x14
cmp dword [esi + 0xc], 0
mov edi, dword [ebp - 8]
mov dword [ebp - 8], edi
jbe 0xbfa54c
mov eax, dword [esi + 0x14]
xor edx, edx
sub eax, dword [esi + 0x10]
div dword [esi + 0xc]
mov ecx, dword [ebp - 0x18]
cmp ecx, eax
ja 0xbfa53b
mov eax, dword [esi + 0xc]
imul eax, ecx
add edi, eax
jmp 0xbac963
push eax
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00baceab
jmp 0xbaca55
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.00b8337b
mov edx, eax
jmp 0xbac9d4
xor al, al
jmp 0xbaca6b
mov dword [ebp - 8], edi
jmp 0xbacabb
xor al, al
jmp 0xbaca6a
sub eax, ecx
jmp 0xbac99e
push eax
lea ecx, [ebp - 0x1c]
call fcn.00bacf37
mov ecx, dword [ebp - 0x18]
jmp 0xbaca99
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 0xbfa58e
push dword [esi + 0x14]
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x44]
call fcn.00bace34
test al, al
je 0xbfa58b
inc ebx
cmp ebx, dword [ebp - 0x18]
jb 0xbfa572
mov edi, dword [ebp - 8]
push ebx
lea ecx, [ebp - 0x1c]
call fcn.00bacf37
jmp 0xbac963