Function at 0x10130770
Capabilities:
Enumerate pe sections

Disassembly:
push 0xffffffffffffffff
push 0x101743ae
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10206870]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x38]
mov edi, dword [esp + 0x34]
xor esi, esi
mov dword [esp + 0x18], vtable.CTList_class_CDevice_.0
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x2c], esi
call fcn.1013c470
cmp dword [eax + 0x3c], esi
jne 0x101307da
mov esi, dword [edi + 0xc]
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], 0xffffffff
call fcn.100014a0
mov eax, esi
jmp 0x10130bd8
cmp dword [edi + 0xc], esi
jne 0x10130800
push 0xc
call fcn.1003ddbb
add esp, 4
cmp eax, esi
je 0x101307fb
mov dword [eax], vtable.CTList_class_CDevice_.0
mov dword [eax + 4], esi
mov dword [eax + 8], esi
jmp 0x101307fd
xor eax, eax
mov dword [edi + 0xc], eax
mov eax, dword [edi + 0xc]
mov eax, dword [eax + 8]
cmp eax, esi
jne 0x10130ba8
call fcn.1013c470
mov eax, dword [eax + 0x3c]
lea ecx, [esp + 0x18]
push ecx
push 0x1200
push 0x1022
mov ecx, eax
call fcn.10074900
test eax, eax
jle 0x101309e5
mov eax, dword [esp + 0x1c]
mov ebx, eax
cmp eax, esi
je 0x10130ba8
mov edi, dword [eax + 4]
test edi, edi
je 0x10130ba8
lea ecx, [ecx]
or eax, 0xffffffff
mov dword [esp + 0x14], eax
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x1013087f
mov edx, dword [ecx]
mov edx, dword [edx + 0x18]
lea eax, [esp + 0x14]
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 + 0x14]
mov ecx, dword [esp + 0x34]
mov ecx, dword [ecx + 0x34]
mov esi, dword [ebp + 0x58]
and eax, 7
imul ecx, eax
mov eax, 1
or dl, 0xff
cmp esi, eax
jle 0x101308a8
jmp 0x101308a0
add eax, eax
add dl, dl
cmp eax, esi
jl 0x101308a0
movzx edx, dl
and edx, dword [ebp + 0x1c]
cmp edx, ecx
je 0x101308d3
test ebx, ebx
je 0x10130ba8
mov eax, dword [ebx + 8]
test eax, eax
je 0x10130ba8
mov edi, dword [eax + 4]
mov ebx, eax
test edi, edi
jne 0x10130850
jmp 0x10130ba8
movzx esi, byte [edi + 0x15]
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 0xc]
movzx ebx, byte [edi + 0x14]
push edi
mov dword [esp + 0x3c], esi
call fcn.100014e0
cmp ebx, 0xffffffff
je 0x10130ba8
cmp esi, 0xffffffff
je 0x10130ba8
call fcn.1013c470
mov eax, dword [eax + 0x30]
test eax, eax
je 0x10130ba8
mov edi, dword [eax + 4]
test edi, edi
je 0x10130ba8
mov eax, dword [edi + 4]
test eax, eax
je 0x10130ba8
test byte [eax + 4], 1
je 0x101309c0
mov ecx, dword [eax + 0x18]
movzx edx, word [ecx + 4]
movzx esi, dx
mov ebp, 0x1022
cmp si, bp
jne 0x10130950
movzx esi, word [ecx + 6]
mov ebp, 0x1201
cmp si, bp
je 0x101309a1
movzx esi, dx
mov ebp, 0x1022
cmp si, bp
jne 0x1013096b
movzx esi, word [ecx + 6]
mov ebp, 0x1202
cmp si, bp
je 0x101309a1
movzx esi, dx
mov ebp, 0x1022
cmp si, bp
jne 0x10130986
movzx esi, word [ecx + 6]
mov ebp, 0x1203
cmp si, bp
je 0x101309a1
movzx edx, dx
mov esi, 0x1022
cmp dx, si
jne 0x101309c0
movzx ecx, word [ecx + 6]
mov edx, 0x1204
cmp cx, dx
jne 0x101309c0
movzx ecx, byte [eax + 0x14]
cmp ecx, ebx
jne 0x101309c0
movzx edx, byte [eax + 0x15]
cmp edx, dword [esp + 0x38]
jne 0x101309c0
push eax
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 0xc]
call fcn.100014e0
test edi, edi
je 0x10130ba8
mov eax, dword [edi + 8]
test eax, eax
je 0x10130ba8
mov edi, eax
mov eax, dword [eax + 4]
test eax, eax
jne 0x10130924
jmp 0x10130ba8
call fcn.1013c470
mov eax, dword [eax + 0x3c]
lea ecx, [esp + 0x18]
push ecx
push 0x1300
push 0x1022
mov ecx, eax
call fcn.10074900
test eax, eax
jle 0x10130ba8
mov ebx, dword [esp + 0x1c]
test ebx, ebx
je 0x10130ba8
mov edx, ebx
mov edi, dword [edx + 4]
test edi, edi
je 0x10130ba8
or eax, 0xffffffff
mov dword [esp + 0x14], eax
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x10130a53
mov eax, dword [ecx]
mov eax, dword [eax + 0x18]
lea edx, [esp + 0x14]
push edx
movzx edx, byte [edi + 0x16]
push 0x60
push edx
movzx edx, byte [edi + 0x15]
push edx
movzx edx, byte [edi + 0x14]
push edx
call eax
mov eax, dword [esp + 0x14]
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 0x10130a78
jmp 0x10130a70
add eax, eax
add dl, dl
cmp eax, esi
jl 0x10130a70
movzx edx, dl
and edx, dword [ebp + 0x1c]
cmp edx, ecx
je 0x10130aa3
test ebx, ebx
je 0x10130ba8
mov eax, dword [ebx + 8]
test eax, eax
je 0x10130ba8
mov edi, dword [eax + 4]
mov ebx, eax
test edi, edi
jne 0x10130a24
jmp 0x10130ba8
movzx esi, byte [edi + 0x15]
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 0xc]
movzx ebx, byte [edi + 0x14]
push edi
mov dword [esp + 0x3c], esi
call fcn.100014e0
cmp ebx, 0xffffffff
je 0x10130ba8
cmp esi, 0xffffffff
je 0x10130ba8
call fcn.1013c470
mov eax, dword [eax + 0x30]
test eax, eax
je 0x10130ba8
mov edi, dword [eax + 4]
test edi, edi
je 0x10130ba8
mov eax, dword [edi + 4]
test eax, eax
je 0x10130ba8
test byte [eax + 4], 1
je 0x10130b90
mov ecx, dword [eax + 0x18]
movzx edx, word [ecx + 4]
movzx esi, dx
mov ebp, 0x1022
cmp si, bp
jne 0x10130b20
movzx esi, word [ecx + 6]
mov ebp, 0x1301
cmp si, bp
je 0x10130b71
movzx esi, dx
mov ebp, 0x1022
cmp si, bp
jne 0x10130b3b
movzx esi, word [ecx + 6]
mov ebp, 0x1302
cmp si, bp
je 0x10130b71
movzx esi, dx
mov ebp, 0x1022
cmp si, bp
jne 0x10130b56
movzx esi, word [ecx + 6]
mov ebp, 0x1303
cmp si, bp
je 0x10130b71
movzx edx, dx
mov esi, 0x1022
cmp dx, si
jne 0x10130b90
movzx ecx, word [ecx + 6]
mov edx, 0x1304
cmp cx, dx
jne 0x10130b90
movzx ecx, byte [eax + 0x14]
cmp ecx, ebx
jne 0x10130b90
movzx edx, byte [eax + 0x15]
cmp edx, dword [esp + 0x38]
jne 0x10130b90
push eax
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 0xc]
call fcn.100014e0
test edi, edi
je 0x10130ba8
mov eax, dword [edi + 8]
test eax, eax
je 0x10130ba8
mov edi, eax
mov eax, dword [eax + 4]
test eax, eax
jne 0x10130af4
mov ecx, dword [esp + 0x34]
mov edi, dword [ecx + 0xc]
mov dword [esp + 0x2c], 0xffffffff
mov ecx, dword [esp + 0x1c]
mov esi, ecx
test ecx, ecx
je 0x10130bd6
mov esi, dword [esi + 8]
test ecx, ecx
je 0x10130bd0
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov ecx, esi
test esi, esi
jne 0x10130bc1
mov eax, edi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 8