Function at 0x1012a020
Capabilities:
Enumerate pe sections

Disassembly:
push 0xffffffffffffffff
push 0x10174345
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10206870]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x3c]
xor ebx, ebx
mov dword [esp + 0x20], vtable.CTList_class_CDevice_.0
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x34], ebx
call fcn.1013c470
cmp dword [eax + 0x3c], ebx
jne 0x1012a086
mov esi, dword [esi + 0xc]
lea ecx, [esp + 0x20]
mov dword [esp + 0x34], 0xffffffff
call fcn.100014a0
mov eax, esi
jmp 0x1012a8c8
cmp dword [esi + 0xc], ebx
jne 0x1012a0ac
push 0xc
call fcn.1003ddbb
add esp, 4
cmp eax, ebx
je 0x1012a0a7
mov dword [eax], vtable.CTList_class_CDevice_.0
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
jmp 0x1012a0a9
xor eax, eax
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 8]
cmp eax, ebx
jne 0x1012a89a
or eax, 0xffffffff
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
call fcn.1013c470
mov eax, dword [eax + 0x3c]
lea ecx, [esp + 0x20]
push ecx
push 0x1600
push 0x1022
mov ecx, eax
call fcn.10074900
test eax, eax
jle 0x1012a2d6
mov eax, dword [esp + 0x24]
mov ebp, eax
test eax, eax
je 0x1012a2d6
mov esi, dword [eax + 4]
test esi, esi
je 0x1012a2d6
or eax, 0xffffffff
mov dword [esp + 0x1c], eax
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x1012a133
mov edx, dword [ecx]
mov edx, dword [edx + 0x18]
lea eax, [esp + 0x1c]
push eax
movzx eax, byte [esi + 0x16]
push 0x60
push eax
movzx eax, byte [esi + 0x15]
push eax
movzx eax, byte [esi + 0x14]
push eax
call edx
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x40]
mov ecx, dword [ebx + 0x5c]
mov edi, dword [ebx + 0x58]
and eax, 7
imul ecx, eax
mov eax, 1
or dl, 0xff
cmp edi, eax
jle 0x1012a158
nop
add eax, eax
add dl, dl
cmp eax, edi
jl 0x1012a150
movzx eax, dl
and eax, dword [ebx + 0x1c]
cmp eax, ecx
je 0x1012a183
test ebp, ebp
je 0x1012a2d6
mov eax, dword [ebp + 8]
test eax, eax
je 0x1012a2d6
mov esi, dword [eax + 4]
mov ebp, eax
test esi, esi
jne 0x1012a104
jmp 0x1012a2d6
movzx ebx, byte [esi + 0x14]
movzx edi, byte [esi + 0x15]
mov ecx, dword [esp + 0x3c]
mov ecx, dword [ecx + 0xc]
push esi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], edi
call fcn.100014e0
cmp ebx, 0xffffffff
je 0x1012a2d6
cmp edi, 0xffffffff
je 0x1012a2d6
call fcn.1013c470
mov eax, dword [eax + 0x30]
test eax, eax
je 0x1012a2d6
mov edi, dword [eax + 4]
test edi, edi
je 0x1012a2d6
mov eax, dword [edi + 4]
test eax, eax
je 0x1012a2d6
jmp 0x1012a1e0
test byte [eax + 4], 1
je 0x1012a2be
mov ecx, dword [eax + 0x18]
movzx edx, word [ecx + 4]
movzx esi, dx
mov ebp, 0x1022
cmp si, bp
jne 0x1012a233
movzx esi, word [ecx + 6]
mov ebp, 0x1601
cmp si, bp
jne 0x1012a233
movzx edx, byte [eax + 0x14]
cmp edx, ebx
jne 0x1012a2be
movzx ecx, byte [eax + 0x15]
cmp ecx, dword [esp + 0x14]
jne 0x1012a2be
mov edx, dword [esp + 0x3c]
mov ecx, dword [edx + 0xc]
push eax
jmp 0x1012a2b9
movzx esi, dx
mov ebp, 0x1022
cmp si, bp
jne 0x1012a24e
movzx esi, word [ecx + 6]
mov ebp, 0x1602
cmp si, bp
je 0x1012a29f
movzx esi, dx
mov ebp, 0x1022
cmp si, bp
jne 0x1012a269
movzx esi, word [ecx + 6]
mov ebp, 0x1603
cmp si, bp
je 0x1012a29f
movzx esi, dx
mov ebp, 0x1022
cmp si, bp
jne 0x1012a284
movzx esi, word [ecx + 6]
mov ebp, 0x1604
cmp si, bp
je 0x1012a29f
movzx edx, dx
mov esi, 0x1022
cmp dx, si
jne 0x1012a2be
movzx ecx, word [ecx + 6]
mov edx, 0x1605
cmp cx, dx
jne 0x1012a2be
movzx ecx, byte [eax + 0x14]
cmp ecx, ebx
jne 0x1012a2be
movzx edx, byte [eax + 0x15]
cmp edx, dword [esp + 0x14]
jne 0x1012a2be
push eax
mov eax, dword [esp + 0x40]
mov ecx, dword [eax + 0xc]
call fcn.100014e0
test edi, edi
je 0x1012a2d6
mov eax, dword [edi + 8]
test eax, eax
je 0x1012a2d6
mov edi, eax
mov eax, dword [eax + 4]
test eax, eax
jne 0x1012a1e0
call fcn.1013c470
mov eax, dword [eax + 0x3c]
lea ecx, [esp + 0x20]
push ecx
push 0x1400
push 0x1022
mov ecx, eax
call fcn.10074900
test eax, eax
jle 0x1012a4c7
mov eax, dword [esp + 0x24]
mov ebp, eax
test eax, eax
je 0x1012a3ae
mov edi, dword [eax + 4]
test edi, edi
je 0x1012a3ae
mov ebx, dword [esp + 0x40]
lea esp, [esp]
or eax, 0xffffffff
mov dword [esp + 0x1c], eax
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x1012a34f
mov edx, dword [ecx]
mov edx, dword [edx + 0x18]
lea eax, [esp + 0x1c]
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 + 0x1c]
mov ecx, dword [ebx + 0x5c]
mov esi, dword [ebx + 0x58]
and eax, 7
imul ecx, eax
mov eax, 1
or dl, 0xff
cmp esi, eax
jle 0x1012a36f
add eax, eax
add dl, dl
cmp eax, esi
jl 0x1012a367
movzx eax, dl
and eax, dword [ebx + 0x1c]
cmp eax, ecx
je 0x1012a38f
test ebp, ebp
je 0x1012a3b2
mov eax, dword [ebp + 8]
test eax, eax
je 0x1012a3b2
mov edi, dword [eax + 4]
mov ebp, eax
test edi, edi
jne 0x1012a320
jmp 0x1012a3b2
movzx ecx, byte [edi + 0x14]
movzx edx, byte [edi + 0x15]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x18], ecx
mov ecx, dword [eax + 0xc]
push edi
mov dword [esp + 0x18], edx
call fcn.100014e0
jmp 0x1012a3b2
mov ebx, dword [esp + 0x40]
cmp dword [esp + 0x18], 0xffffffff
je 0x1012a4cb
cmp dword [esp + 0x14], 0xffffffff
je 0x1012a4cb
call fcn.1013c470
mov eax, dword [eax + 0x30]
test eax, eax
je 0x1012a4cb
mov edi, dword [eax + 4]
test edi, edi
je 0x1012a4cb
mov eax, dword [edi + 4]
test eax, eax
je 0x1012a4cb
mov edi, edi
test byte [eax + 4], 1
je 0x1012a4ad
mov ecx, dword [eax + 0x18]
movzx edx, word [ecx + 4]
movzx esi, dx
mov ebp, 0x1022
cmp si, bp
jne 0x1012a420
movzx esi, word [ecx + 6]
mov ebp, 0x1401
cmp si, bp
je 0x1012a48c
movzx esi, dx
mov ebp, 0x1022
cmp si, bp
jne 0x1012a43b
movzx esi, word [ecx + 6]
mov ebp, 0x1402
cmp si, bp
je 0x1012a48c
movzx esi, dx
mov ebp, 0x1022
cmp si, bp
jne 0x1012a456
movzx esi, word [ecx + 6]
mov ebp, 0x1403
cmp si, bp
je 0x1012a48c
movzx esi, dx
mov ebp, 0x1022
cmp si, bp
jne 0x1012a471
movzx esi, word [ecx + 6]
mov ebp, 0x1404
cmp si, bp
je 0x1012a48c
movzx edx, dx
mov esi, 0x1022
cmp dx, si
jne 0x1012a4ad
movzx ecx, word [ecx + 6]
mov edx, 0x1405
cmp cx, dx
jne 0x1012a4ad
movzx ecx, byte [eax + 0x14]
cmp ecx, dword [esp + 0x18]
jne 0x1012a4ad
movzx edx, byte [eax + 0x15]
cmp edx, dword [esp + 0x14]
jne 0x1012a4ad
push eax
mov eax, dword [esp + 0x40]
mov ecx, dword [eax + 0xc]
call fcn.100014e0
test edi, edi
je 0x1012a4cb
mov eax, dword [edi + 8]
test eax, eax
je 0x1012a4cb
mov edi, eax
mov eax, dword [eax + 4]
test eax, eax
jne 0x1012a3f0
jmp 0x1012a4cb
mov ebx, dword [esp + 0x40]
call fcn.1013c470
mov eax, dword [eax + 0x3c]
lea ecx, [esp + 0x20]
push ecx
push 0x141a
push 0x1022
mov ecx, eax
call fcn.10074900
test eax, eax
jle 0x1012a6b5
mov eax, dword [esp + 0x24]
mov ebp, eax
test eax, eax
je 0x1012a59c
mov edi, dword [eax + 4]
test edi, edi
je 0x1012a59c
lea ebx, [ebx]
or eax, 0xffffffff
mov dword [esp + 0x1c], eax
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x1012a53f
mov edx, dword [ecx]
mov edx, dword [edx + 0x18]
lea eax, [esp + 0x1c]
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 + 0x1c]
mov ecx, dword [ebx + 0x5c]
mov esi, dword [ebx + 0x58]
and eax, 7
imul ecx, eax
mov eax, 1
or dl, 0xff
cmp esi, eax
jle 0x1012a55f
add eax, eax
add dl, dl
cmp eax, esi
jl 0x1012a557
movzx eax, dl
and eax, dword [ebx + 0x1c]
cmp eax, ecx
je 0x1012a57f
test ebp, ebp
je 0x1012a59c
mov eax, dword [ebp + 8]
test eax, eax
je 0x1012a59c
mov edi, dword [eax + 4]
mov ebp, eax
test edi, edi
jne 0x1012a510
jmp 0x1012a59c
movzx ecx, byte [edi + 0x14]
movzx edx, byte [edi + 0x15]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x18], ecx
mov ecx, dword [eax + 0xc]
push edi
mov dword [esp + 0x18], edx
call fcn.100014e0
cmp dword [esp + 0x18], 0xffffffff
je 0x1012a6b5
cmp dword [esp + 0x14], 0xffffffff
je 0x1012a6b5
call fcn.1013c470
mov eax, dword [eax + 0x30]
test eax, eax
je 0x1012a6b5
mov edi, dword [eax + 4]
test edi, edi
je 0x1012a6b5
mov eax, dword [edi + 4]
test eax, eax
je 0x1012a6b5
jmp 0x1012a5e0
test byte [eax + 4], 1
je 0x1012a69d
mov ecx, dword [eax + 0x18]
movzx edx, word [ecx + 4]
movzx esi, dx
mov ebx, 0x1022
cmp si, bx
jne 0x1012a610
movzx esi, word [ecx + 6]
mov ebx, 0x141b
cmp si, bx
je 0x1012a67c
movzx esi, dx
mov ebx, 0x1022
cmp si, bx
jne 0x1012a62b
movzx esi, word [ecx + 6]
mov ebx, 0x141c
cmp si, bx
je 0x1012a67c
movzx esi, dx
mov ebx, 0x1022
cmp si, bx
jne 0x1012a646
movzx esi, word [ecx + 6]
mov ebx, 0x141d
cmp si, bx
je 0x1012a67c
movzx esi, dx
mov ebx, 0x1022
cmp si, bx
jne 0x1012a661
movzx esi, word [ecx + 6]
mov ebx, 0x141e
cmp si, bx
je 0x1012a67c
movzx edx, dx
mov esi, 0x1022
cmp dx, si
jne 0x1012a69d
movzx ecx, word [ecx + 6]
mov edx, 0x141f
cmp cx, dx
jne 0x1012a69d
movzx ecx, byte [eax + 0x14]
cmp ecx, dword [esp + 0x18]
jne 0x1012a69d
movzx edx, byte [eax + 0x15]
cmp edx, dword [esp + 0x14]
jne 0x1012a69d
push eax
mov eax, dword [esp + 0x40]
mov ecx, dword [eax + 0xc]
call fcn.100014e0
test edi, edi
je 0x1012a6b5
mov eax, dword [edi + 8]
test eax, eax
je 0x1012a6b5
mov edi, eax
mov eax, dword [eax + 4]
test eax, eax
jne 0x1012a5e0
call fcn.1013c470
mov eax, dword [eax + 0x3c]
lea ecx, [esp + 0x20]
push ecx
push 0x1570
push 0x1022
mov ecx, eax
call fcn.10074900
mov ebx, dword [esp + 0x24]
test eax, eax
jle 0x1012a89a
mov ebp, ebx
test ebx, ebx
je 0x1012a789
mov edi, dword [ebx + 4]
test edi, edi
je 0x1012a789
or eax, 0xffffffff
mov dword [esp + 0x1c], eax
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x1012a723
mov edx, dword [ecx]
mov edx, dword [edx + 0x18]
lea eax, [esp + 0x1c]
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 + 0x1c]
mov esi, dword [esp + 0x40]
mov ecx, dword [esi + 0x5c]
mov esi, dword [esi + 0x58]
and eax, 7
imul ecx, eax
mov eax, 1
or dl, 0xff
cmp esi, eax
jle 0x1012a748
nop
add eax, eax
add dl, dl
cmp eax, esi
jl 0x1012a740
movzx eax, dl
mov edx, dword [esp + 0x40]
and eax, dword [edx + 0x1c]
cmp eax, ecx
je 0x1012a76c
test ebp, ebp
je 0x1012a789
mov eax, dword [ebp + 8]
test eax, eax
je 0x1012a789
mov edi, dword [eax + 4]
mov ebp, eax
test edi, edi
jne 0x1012a6f4
jmp 0x1012a789
movzx ecx, byte [edi + 0x15]
movzx eax, byte [edi + 0x14]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x14], ecx
mov ecx, dword [edx + 0xc]
push edi
mov dword [esp + 0x1c], eax
call fcn.100014e0
cmp dword [esp + 0x18], 0xffffffff
je 0x1012a89a
cmp dword [esp + 0x14], 0xffffffff
je 0x1012a89a
call fcn.1013c470
mov eax, dword [eax + 0x30]
test eax, eax
je 0x1012a89a
mov edi, dword [eax + 4]
test edi, edi
je 0x1012a89a
mov eax, dword [edi + 4]
test eax, eax
je 0x1012a89a
test byte [eax + 4], 1
je 0x1012a882
mov ecx, dword [eax + 0x18]
movzx edx, word [ecx + 4]
movzx esi, dx
mov ebp, 0x1022
cmp si, bp
jne 0x1012a7f5
movzx esi, word [ecx + 6]
mov ebp, 0x1571
cmp si, bp
je 0x1012a861
movzx esi, dx
mov ebp, 0x1022
cmp si, bp
jne 0x1012a810
movzx esi, word [ecx + 6]
mov ebp, 0x1572
cmp si, bp
je 0x1012a861
movzx esi, dx
mov ebp, 0x1022
cmp si, bp
jne 0x1012a82b
movzx esi, word [ecx + 6]
mov ebp, 0x1573
cmp si, bp
je 0x1012a861
movzx esi, dx
mov ebp, 0x1022
cmp si, bp
jne 0x1012a846
movzx esi, word [ecx + 6]
mov ebp, 0x1574
cmp si, bp
je 0x1012a861
movzx edx, dx
mov esi, 0x1022
cmp dx, si
jne 0x1012a882
movzx ecx, word [ecx + 6]
mov edx, 0x1575
cmp cx, dx
jne 0x1012a882
movzx ecx, byte [eax + 0x14]
cmp ecx, dword [esp + 0x18]
jne 0x1012a882
movzx edx, byte [eax + 0x15]
cmp edx, dword [esp + 0x14]
jne 0x1012a882
push eax
mov eax, dword [esp + 0x40]
mov ecx, dword [eax + 0xc]
call fcn.100014e0
test edi, edi
je 0x1012a89a
mov eax, dword [edi + 8]
test eax, eax
je 0x1012a89a
mov edi, eax
mov eax, dword [eax + 4]
test eax, eax
jne 0x1012a7c5
mov ecx, dword [esp + 0x3c]
mov edi, dword [ecx + 0xc]
mov dword [esp + 0x34], 0xffffffff
mov ecx, ebx
mov esi, ebx
test ebx, ebx
je 0x1012a8c6
mov esi, dword [esi + 8]
test ecx, ecx
je 0x1012a8c0
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov ecx, esi
test esi, esi
jne 0x1012a8b1
mov eax, edi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 8