Function at 0x10101960
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
push ebx
push ebp
mov ebp, dword [esp + 0x24]
push esi
push edi
mov edi, dword [esp + 0x30]
mov eax, dword [edi + 0x64]
lea ebx, [edi + 0x128]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x20]
push eax
push 0x20
push dword [edi + 0xbc]
push dword [edi + 0xc0]
push ebp
call fcn.10102a50
add esp, 0x18
mov dword [esp + 0x10], eax
test eax, eax
jne 0x10101c02
lea eax, [esp + 0x10]
push eax
push ebp
call fcn.100d1ad0
mov esi, eax
add esp, 8
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x10101c02
test esi, 0xffffff00
je 0x101019da
pop edi
pop esi
pop ebp
mov eax, 3
pop ebx
add esp, 0x18
ret
and esi, 4
mov dword [esp + 0x24], esi
push ebx
je 0x101019eb
push 0x10245828
jmp 0x101019f0
push 0x1024580c
push ebp
call fcn.100d1800
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
jne 0x10101c02
movzx edx, word [ebx]
movzx eax, word [ebx + 2]
cmp dx, ax
ja 0x10101bfd
mov ecx, 0xff
cmp ax, cx
ja 0x10101bfd
movzx eax, word [ebx + 4]
movzx ecx, word [ebx + 6]
cmp ax, cx
ja 0x10101bfd
mov eax, 0xff
cmp cx, ax
ja 0x10101bfd
movzx ecx, word [ebx + 8]
mov ax, cx
movzx ecx, cl
shr ax, 8
movzx eax, ax
mov dword [esp + 0x14], eax
movzx eax, word [ebx + 4]
mov dword [esp + 0x18], ecx
cmp word [esp + 0x14], ax
jb 0x10101a87
movzx ebp, word [ebx + 6]
cmp word [esp + 0x14], bp
mov ebp, dword [esp + 0x2c]
ja 0x10101a87
cmp cx, dx
movzx ecx, word [ebx + 2]
jb 0x10101a8b
cmp word [esp + 0x18], cx
jbe 0x10101aa4
jmp 0x10101a8b
movzx ecx, word [ebx + 2]
shl eax, 8
add eax, edx
mov word [ebx + 8], ax
movzx eax, word [ebx + 4]
mov edi, eax
mov dword [esp + 0x14], edi
mov edi, edx
mov dword [esp + 0x18], edi
movzx edi, word [ebx + 6]
movzx eax, ax
movzx ecx, cx
sub edi, eax
sub ecx, edx
inc edi
inc ecx
imul edi, ecx
mov dword [esp + 0x1c], edi
lea eax, [edi + edi]
push eax
push ebp
call fcn.100d1290
mov edi, dword [esp + 0x38]
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
jne 0x10101c02
mov edx, dword [esp + 0x14]
movzx eax, word [ebx + 4]
movzx ecx, word [ebx]
movzx edx, dx
sub edx, eax
movzx eax, word [ebx + 2]
sub eax, ecx
inc eax
imul edx, eax
mov eax, dword [esp + 0x18]
movzx eax, ax
sub edx, ecx
add edx, eax
mov eax, dword [ebp + 0x20]
lea eax, [eax + edx*2]
test esi, esi
je 0x10101b10
movzx ecx, byte [eax]
movzx eax, byte [eax + 1]
jmp 0x10101b17
movzx ecx, byte [eax + 1]
movzx eax, byte [eax]
shl cx, 8
or cx, ax
mov eax, 0xffff
movzx edx, cx
cmp dx, ax
jne 0x10101b32
mov edx, 1
jmp 0x10101b44
inc edx
mov ecx, 1
movzx eax, dx
cmp eax, dword [edi + 0x120]
cmovae edx, ecx
mov ecx, dword [edi + 0x124]
movzx eax, dx
add eax, eax
movups xmm0, xmmword [ecx + eax*8]
lea eax, [esp + 0x10]
push eax
push 0
push dword [esp + 0x24]
movups xmmword [ecx], xmm0
push 0
push 2
push dword [esp + 0x34]
call fcn.100d3790
mov edi, eax
add esp, 0x18
mov eax, dword [esp + 0x10]
mov dword [ebx + 0xc], edi
test eax, eax
jne 0x10101c02
movzx eax, word [ebx + 4]
mov dword [esp + 0x30], eax
cmp ax, word [ebx + 6]
ja 0x10101be8
movzx esi, word [ebx]
cmp si, word [ebx + 2]
ja 0x10101bdd
nop dword [eax]
cmp dword [esp + 0x24], 0
push ebp
je 0x10101baf
call fcn.100d14c0
jmp 0x10101bb4
call fcn.100d1500
movzx eax, ax
mov ecx, 0xffff
add esp, 4
cmp ax, cx
jne 0x10101bc8
mov eax, ecx
jmp 0x10101bcc
inc eax
movzx eax, ax
mov word [edi], ax
inc esi
add edi, 2
cmp si, word [ebx + 2]
jbe 0x10101ba0
mov eax, dword [esp + 0x30]
inc eax
mov dword [esp + 0x30], eax
cmp ax, word [ebx + 6]
jbe 0x10101b90
push ebp
call fcn.100d1360
mov eax, dword [esp + 0x14]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
mov eax, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret