Function at 0x10122a20
Capabilities:
Enumerate pe sections

Disassembly:
push 0xffffffffffffffff
push 0x101742ff
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10206870]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x3c]
xor ebx, ebx
mov dword [esp + 0x1c], vtable.CTList_class_CDevice_.0
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x30], ebx
call fcn.1013c470
cmp dword [eax + 0x3c], ebx
jne 0x10122a8a
mov eax, dword [esp + 0x38]
mov esi, dword [eax + 0xc]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x30], 0xffffffff
call fcn.100014a0
mov eax, esi
jmp 0x10122d37
mov esi, dword [esp + 0x38]
cmp dword [esi + 0xc], ebx
jne 0x10122ab4
push 0xc
call fcn.1003ddbb
add esp, 4
cmp eax, ebx
je 0x10122aaf
mov dword [eax], vtable.CTList_class_CDevice_.0
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
jmp 0x10122ab1
xor eax, eax
mov dword [esi + 0xc], eax
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx + 8]
cmp eax, ebx
jne 0x10122d04
call fcn.1013c470
mov eax, dword [eax + 0x3c]
lea edx, [esp + 0x1c]
push edx
push 0x1460
push 0x1022
mov ecx, eax
call fcn.10074900
test eax, eax
jle 0x10122d04
mov ebx, dword [esp + 0x20]
test ebx, ebx
je 0x10122d02
mov eax, ebx
mov edi, dword [eax + 4]
test edi, edi
je 0x10122d02
or eax, 0xffffffff
mov dword [esp + 0x3c], eax
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x10122b30
mov edx, dword [ecx]
mov edx, dword [edx + 0x18]
lea eax, [esp + 0x3c]
push eax
movzx eax, byte [edi + 0x16]
push 0x60
push eax
movzx eax, byte [edi + 0x15]
push eax
movzx eax, byte [edi + 0x14]
push eax
call edx
mov eax, dword [esp + 0x3c]
mov ecx, dword [ebp + 0x5c]
mov esi, dword [ebp + 0x58]
and eax, 7
imul ecx, eax
mov eax, 1
or dl, 0xff
cmp esi, eax
jle 0x10122b50
add eax, eax
add dl, dl
cmp eax, esi
jl 0x10122b48
movzx eax, dl
and eax, dword [ebp + 0x1c]
cmp eax, ecx
je 0x10122b7b
test ebx, ebx
je 0x10122d02
mov eax, dword [ebx + 8]
test eax, eax
je 0x10122d02
mov edi, dword [eax + 4]
mov ebx, eax
test edi, edi
jne 0x10122b01
jmp 0x10122d02
mov ecx, dword [esp + 0x38]
mov ecx, dword [ecx + 0xc]
movzx ebx, byte [edi + 0x14]
movzx ebp, byte [edi + 0x15]
push edi
call fcn.100014e0
cmp ebx, 0xffffffff
je 0x10122d02
cmp ebp, 0xffffffff
je 0x10122d02
call fcn.1013c470
mov eax, dword [eax + 0x30]
test eax, eax
je 0x10122d02
mov eax, dword [eax + 4]
mov dword [esp + 0x18], eax
test eax, eax
je 0x10122d02
mov eax, dword [eax + 4]
test eax, eax
je 0x10122d02
lea esp, [esp]
test byte [eax + 4], 1
je 0x10122ce4
mov ecx, dword [eax + 0x18]
movzx edx, word [ecx + 4]
movzx esi, dx
mov edi, 0x1022
cmp si, di
jne 0x10122c21
movzx esi, word [ecx + 6]
mov edi, 0x1461
cmp si, di
jne 0x10122c21
movzx edx, byte [eax + 0x14]
cmp edx, ebx
jne 0x10122ce4
movzx ecx, byte [eax + 0x15]
cmp ecx, ebp
jne 0x10122ce4
mov edx, dword [esp + 0x38]
mov ecx, dword [edx + 0xc]
push eax
jmp 0x10122cdf
movzx esi, dx
mov edi, 0x1022
cmp si, di
jne 0x10122c40
movzx esi, word [ecx + 6]
mov edi, 0x1462
cmp si, di
je 0x10122cc7
movzx esi, dx
mov edi, 0x1022
cmp si, di
jne 0x10122c5b
movzx esi, word [ecx + 6]
mov edi, 0x1463
cmp si, di
je 0x10122cc7
movzx esi, dx
mov edi, 0x1022
cmp si, di
jne 0x10122c76
movzx esi, word [ecx + 6]
mov edi, 0x1464
cmp si, di
je 0x10122cc7
movzx esi, dx
mov edi, 0x1022
cmp si, di
jne 0x10122c91
movzx esi, word [ecx + 6]
mov edi, 0x1465
cmp si, di
je 0x10122cc7
movzx esi, dx
mov edi, 0x1022
cmp si, di
jne 0x10122cac
movzx esi, word [ecx + 6]
mov edi, 0x1466
cmp si, di
je 0x10122cc7
movzx edx, dx
mov esi, 0x1022
cmp dx, si
jne 0x10122ce4
movzx ecx, word [ecx + 6]
mov edx, 0x1467
cmp cx, dx
jne 0x10122ce4
movzx ecx, byte [eax + 0x14]
cmp ecx, ebx
jne 0x10122ce4
movzx edx, byte [eax + 0x15]
cmp edx, ebp
jne 0x10122ce4
push eax
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 0xc]
call fcn.100014e0
mov eax, dword [esp + 0x18]
test eax, eax
je 0x10122d02
mov eax, dword [eax + 8]
test eax, eax
je 0x10122d02
mov dword [esp + 0x18], eax
mov eax, dword [eax + 4]
test eax, eax
jne 0x10122bd0
xor ebx, ebx
mov ecx, dword [esp + 0x38]
mov edi, dword [ecx + 0xc]
mov dword [esp + 0x30], 0xffffffff
mov ecx, dword [esp + 0x20]
mov esi, ecx
cmp ecx, ebx
je 0x10122d35
lea ecx, [ecx]
mov esi, dword [esi + 8]
cmp ecx, ebx
je 0x10122d2f
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov ecx, esi
cmp esi, ebx
jne 0x10122d20
mov eax, edi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 8