Function at 0x10ba8b45
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, ecx
mov ecx, dword [esi + 4]
xor ebx, ebx
push edi
lea edx, [esp + 0x10]
mov word [esp + 0x10], bx
mov word [esp + 0x12], bx
mov eax, dword [ecx]
push edx
call dword [eax + 0x14]
mov ecx, dword [esi + 0x30]
cmp ecx, ebx
lea ebp, [esi + 0x88]
je 0x10ba8b9a
push ebp
call fcn.10ba4ab0
lea eax, [esp + 0x10]
push eax
mov ecx, ebp
call fcn.10ba8710
push ebp
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call fcn.10ba87b0
mov ax, word [esp + 0x12]
mov dx, word [esp + 0x10]
jmp 0x10ba8bc6
mov dx, word [esp + 0x10]
mov ax, word [esp + 0x12]
mov word [esp + 0x14], dx
mov word [esp + 0x16], dx
mov ecx, dword [esp + 0x14]
mov word [esp + 0x18], ax
mov word [esp + 0x1a], ax
mov dword [ebp], ecx
mov ecx, dword [esp + 0x18]
mov dword [ebp + 4], ecx
mov ecx, dword [esi + 0x1c]
cmp ecx, ebx
je 0x10ba8d11
mov edx, dword [esi + 0x68]
cmp edx, ebx
mov edi, dword [esi + 0x50]
je 0x10ba8be7
mov eax, dword [esi + 0x6c]
sub eax, edx
sar eax, 5
cmp edi, eax
jb 0x10ba8bfa
mov eax, dword [esi + 0x68]
cmp eax, ebx
jne 0x10ba8bf2
xor edi, edi
jmp 0x10ba8bfa
mov edi, dword [esi + 0x6c]
sub edi, eax
sar edi, 5
test byte [esi + 0x84], 8
mov dword [esi + 0xa0], edi
je 0x10ba8cb7
mov ebx, dword [esi + 0x54]
mov eax, edi
cdq
sub eax, edx
sar eax, 1
sub ebx, eax
mov dword [esi + 0xa4], ebx
jns 0x10ba8c76
mov dword [esi + 0xa4], 0
xor ebx, ebx
lea edi, [esi + 0x90]
push edi
call fcn.10ba4ab0
lea eax, [esp + 0x10]
push eax
mov ecx, edi
call fcn.10ba8710
mov cx, word [edi + 6]
sub cx, word [edi + 4]
push edi
imul cx, word [esi + 0x50]
add cx, word [edi + 4]
lea edx, [esp + 0x14]
mov word [edi + 6], cx
push edx
mov ecx, esi
call fcn.10ba87b0
mov ax, word [esp + 0x12]
mov dx, word [esp + 0x10]
jmp 0x10ba8d45
mov edx, dword [esi + 0x68]
test edx, edx
jne 0x10ba8c81
xor eax, eax
jmp 0x10ba8c89
mov eax, dword [esi + 0x6c]
sub eax, edx
sar eax, 5
add ebx, edi
cmp ebx, eax
jb 0x10ba8c2b
mov edx, dword [esi + 0x68]
test edx, edx
jne 0x10ba8ca2
xor eax, eax
sub eax, edi
mov dword [esi + 0xa4], eax
jmp 0x10ba8c2b
mov eax, dword [esi + 0x6c]
sub eax, edx
sar eax, 5
sub eax, edi
mov dword [esi + 0xa4], eax
jmp 0x10ba8c2b
mov eax, dword [esi + 0x54]
cmp eax, reloc.ole32.dll_CoCreateGuid
jne 0x10ba8cc7
mov dword [esi + 0xa4], ebx
jmp 0x10ba8ce2
mov edx, dword [esi + 0xa4]
cmp eax, edx
jl 0x10ba8cdc
lea edx, [edx + edi - 1]
cmp eax, edx
jle 0x10ba8ce2
sub eax, edi
inc eax
mov dword [esi + 0xa4], eax
mov edx, dword [esi + 0x68]
cmp edx, ebx
jne 0x10ba8ced
xor eax, eax
jmp 0x10ba8cf5
mov eax, dword [esi + 0x6c]
sub eax, edx
sar eax, 5
mov edx, dword [esi + 0xa4]
add edi, edx
cmp edi, eax
jbe 0x10ba8c2d
dec edx
mov dword [esi + 0xa4], edx
jmp 0x10ba8c2d
mov word [esp + 0x14], dx
mov word [esp + 0x16], dx
mov ecx, dword [esp + 0x14]
mov word [esp + 0x18], ax
mov word [esp + 0x1a], ax
mov dword [esi + 0x90], ecx
mov ecx, dword [esp + 0x18]
mov dword [esi + 0xa0], ebx
mov dword [esi + 0xa4], ebx
mov dword [esi + 0x94], ecx
mov ecx, dword [esi + 0x44]
cmp ecx, ebx
je 0x10ba8d6e
lea edi, [esi + 0x98]
push edi
call fcn.10ba4ab0
lea edx, [esp + 0x10]
push edx
mov ecx, edi
call fcn.10ba8710
push edi
mov ecx, esi
call fcn.10ba87f0
jmp 0x10ba8d96
mov word [esp + 0x18], ax
mov word [esp + 0x1a], ax
mov ecx, dword [esp + 0x18]
mov word [esp + 0x14], dx
mov word [esp + 0x16], dx
mov eax, dword [esp + 0x14]
mov dword [esi + 0x98], eax
mov dword [esi + 0x9c], ecx
cmp dword [esi + 0x30], ebx
je 0x10ba8da3
push ebp
mov ecx, esi
call fcn.10ba87f0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret