Function at 0x10131200
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10174ffd
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push esi
push edi
mov eax, dword [0x10206870]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [esp + 0x34]
mov dword [esp + 0x18], eax
push esi
mov esi, dword [esp + 0x1c]
mov eax, 1
mov ebx, 0
mov ecx, 0
mov edx, 0
cpuid
mov dword [esi], eax
mov dword [esi + 4], ebx
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
pop esi
mov ecx, dword [esp + 0x38]
mov edx, dword [ebp + 8]
mov eax, ecx
shr eax, 0x18
mov dword [edx + 0x1c], eax
mov eax, dword [esp + 0x40]
shr eax, 0x1c
and eax, 1
mov dword [edx + 0x368], eax
je 0x1013128a
shr ecx, 0x10
and ecx, 0xff
mov dword [edx + 0x58], ecx
mov eax, dword [ebp + 8]
cmp dword [eax + 0x2ec], 6
jb 0x101312d3
lea ecx, [esp + 0x34]
mov dword [esp + 0x18], ecx
push esi
mov esi, dword [esp + 0x1c]
mov eax, 6
mov ebx, 0
mov ecx, 0
mov edx, 0
cpuid
mov dword [esi], eax
mov dword [esi + 4], ebx
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
pop esi
test byte [esp + 0x3c], 1
je 0x101312d3
mov dword [edi + 0x60], 1
mov edx, dword [ebp + 8]
cmp dword [edx + 0x2f0], 0x80000001
jb case.default.0x10131378
lea eax, [esp + 0x34]
mov dword [esp + 0x18], eax
push esi
mov esi, dword [esp + 0x1c]
mov eax, SysReAllocString
mov ebx, 0
mov ecx, 0
mov edx, 0
cpuid
mov dword [esi], eax
mov dword [esi + 4], ebx
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
pop esi
mov ecx, dword [esp + 0x38]
mov eax, ecx
and eax, 0xffff
mov edx, eax
sar edx, 0xb
and edx, 0xf
mov dword [edi + 0x24], edx
mov edx, eax
and edx, 0xf
mov dword [edi + 0x28], edx
mov edx, eax
sar edx, 4
and edx, 0x7f
mov dword [edi + 0x20], edx
mov edx, eax
sar edx, 0xf
and edx, 1
sar eax, 9
mov dword [edi + 0x2c], edx
mov edx, dword [ebp + 8]
and eax, 0x1f
mov dword [edx + 0x2f8], eax
shr ecx, 0x1c
cmp dword [edi + 0x20], 0
mov dword [edi + 0x1c], ecx
mov eax, edx
jne 0x10131370
mov dword [eax + 0x364], 1
mov ecx, dword [edi + 0x1c]
cmp ecx, 5
ja case.default.0x10131378
jmp dword [ecx*4 + 0x10131bf4]
mov dword [eax + 0x2fc], 0x1000c
jmp case.default.0x10131378
mov ecx, dword [eax + 0x314]
sub ecx, 0
je 0x101313a7
sub ecx, 2
je 0x101313a7
mov dword [eax + 0x2fc], 0x10024
jmp case.default.0x10131378
mov dword [eax + 0x2fc], 0x10022
jmp case.default.0x10131378
mov dword [eax + 0x2fc], 0x1000b
jmp case.default.0x10131378
mov dword [eax + 0x2fc], 0x10023
jmp case.default.0x10131378
mov dword [eax + 0x2fc], 0x10031
jmp case.default.0x10131378
mov dword [eax + 0x2fc], 0x10030
mov eax, dword [ebp + 8]
cmp dword [eax + 0x2f0], 0x80000007
jb 0x101314f7
lea ecx, [esp + 0x34]
mov dword [esp + 0x18], ecx
push esi
mov esi, dword [esp + 0x1c]
mov eax, reloc.OLEAUT32.dll_VariantInit
mov ebx, 0
mov ecx, 0
mov edx, 0
cpuid
mov dword [esi], eax
mov dword [esi + 4], ebx
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
pop esi
test byte [esp + 0x40], 0x80
je 0x101314f7
mov ebx, dword [ebp + 8]
push ebx
mov eax, 0xc0010061
call fcn.100e7c00
push ebx
mov eax, 0xc0010062
call fcn.100e7c00
push ebx
mov eax, 0xc0010063
call fcn.100e7c00
xor esi, esi
lea eax, [esi - 0x3ffeff9c]
push ebx
call fcn.100e7c00
inc esi
cmp esi, 5
jl 0x10131454
mov ebx, dword [ebx + 0x310]
sub ebx, 0x10
je 0x101314ba
sub ebx, 1
jne 0x101314e9
push 0x60
call fcn.1003ddbb
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov dword [esp + 0x60], 1
test esi, esi
je 0x101314ab
push esi
call fcn.100c9fb0
mov dword [esi], vtable.K11_FIDVID_Control.0
mov dword [esp + 0x60], 0xffffffff
mov dword [edi + 0x10], esi
jmp 0x101314e9
xor esi, esi
mov dword [esp + 0x60], 0xffffffff
mov dword [edi + 0x10], esi
jmp 0x101314e9
push 0x60
call fcn.1003ddbb
add esp, 4
mov dword [esp + 0x20], eax
mov dword [esp + 0x60], 0
test eax, eax
je 0x101314dc
push eax
call fcn.100c9fb0
jmp 0x101314de
xor eax, eax
mov dword [esp + 0x60], 0xffffffff
mov dword [edi + 0x10], eax
mov ecx, dword [edi + 0x10]
test ecx, ecx
je 0x101314f7
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
call eax
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x2f0], 0x80000008
jb 0x10131576
lea edx, [esp + 0x34]
mov dword [esp + 0x18], edx
push esi
mov esi, dword [esp + 0x1c]
mov eax, reloc.OLEAUT32.dll_VariantClear
mov ebx, 0
mov ecx, 0
mov edx, 0
cpuid
mov dword [esi], eax
mov dword [esi + 4], ebx
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
pop esi
mov eax, dword [esp + 0x3c]
mov edx, eax
and edx, 0xff
shr eax, 0xc
and eax, 0xf
mov dword [edi + 0x30], edx
jle 0x10131558
mov esi, 1
mov ecx, eax
shl esi, cl
mov dword [edi + 0x34], esi
mov eax, dword [ebp + 8]
inc edx
mov dword [eax + 0x5c], edx
mov edx, 3
mov esi, edx
call fcn.100e72e0
test eax, eax
je 0x10131576
mov ecx, dword [edi + 0x30]
inc ecx
mov dword [eax + 0x10], ecx
mov edx, dword [ebp + 8]
push edx
mov eax, 0xc0010058
call fcn.100e7c00
mov esi, eax
test esi, esi
je 0x10131659
test byte [esi + 0xc], 1
je 0x10131659
call fcn.1013c470
cmp dword [eax + 0x3c], 0
je 0x10131659
call fcn.1013c470
mov ecx, dword [eax + 0x3c]
call fcn.10074720
test eax, eax
jne 0x10131659
mov esi, dword [esi + 0xc]
push 0x2000000
and esi, 0xfff00000
push esi
push eax
call fcn.1013c470
mov ecx, eax
call fcn.1013ccb0
mov ebx, eax
test ebx, ebx
jne 0x1013160e
push 0x14
call fcn.1003ddbb
add esp, 4
test eax, eax
je 0x101315fe
push 0x1000
push esi
push ebx
mov ecx, eax
call fcn.1006aaa0
mov ebx, eax
jmp 0x10131600
xor ebx, ebx
call fcn.1013c470
mov ecx, dword [eax + 0x24]
push ebx
call fcn.10002150
push 0x20
call fcn.1003ddbb
add esp, 4
mov dword [esp + 0x20], eax
mov dword [esp + 0x60], 2
test eax, eax
je 0x10131634
push ebx
mov esi, eax
call fcn.100600f0
mov esi, eax
jmp 0x10131636
xor esi, esi
mov dword [esp + 0x60], 0xffffffff
call fcn.1013c470
mov ecx, dword [eax + 0x28]
push esi
call fcn.10001610
call fcn.1013c470
mov ecx, dword [eax + 0x3c]
call fcn.100756a0
mov eax, dword [ebp + 8]
push eax
push edi
call fcn.10130770
test eax, eax
je 0x1013195e
mov eax, dword [eax + 4]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x1013195e
mov ecx, eax
mov ebx, dword [ecx + 4]
test ebx, ebx
je 0x1013195e
mov esi, dword [ebp + 8]
lea ebx, [ebx]
mov edx, dword [ebx + 0x18]
movzx eax, word [edx + 6]
movzx ecx, ax
mov edx, 0x1200
cmp cx, dx
je 0x101316b5
movzx eax, ax
mov ecx, 0x1300
cmp ax, cx
jne case.0x101316f6.1
or eax, 0xffffffff
mov dword [esp + 0x10], eax
mov ecx, dword [ebx + 8]
test ecx, ecx
je 0x101316e7
mov edx, dword [ecx]
mov edx, dword [edx + 0x18]
lea eax, [esp + 0x10]
push eax
movzx eax, byte [ebx + 0x16]
push 0x88
push eax
movzx eax, byte [ebx + 0x15]
push eax
movzx eax, byte [ebx + 0x14]
push eax
call edx
mov eax, dword [esp + 0x10]
shr eax, 8
and eax, 0xf
cmp eax, 0x13
ja case.0x101316f6.1
jmp dword [eax*4 + 0x10131c0c]
mov dword [esi + 0x394], 1
jmp case.0x101316f6.1
mov dword [esi + 0x394], 2
jmp case.0x101316f6.1
mov dword [esi + 0x394], 3
jmp case.0x101316f6.1
mov dword [esi + 0x394], 4
jmp case.0x101316f6.1
mov dword [esi + 0x394], 5
jmp case.0x101316f6.1
mov dword [esi + 0x394], 6
jmp case.0x101316f6.1
mov dword [esi + 0x394], 7
jmp case.0x101316f6.1
mov dword [esi + 0x394], 8
jmp case.0x101316f6.1
mov dword [esi + 0x394], 9
jmp case.0x101316f6.1
mov dword [esi + 0x394], 0xa
jmp case.0x101316f6.1
mov dword [esi + 0x394], 0xb
jmp case.0x101316f6.1
mov dword [esi + 0x394], 0xc
jmp case.0x101316f6.1
mov dword [esi + 0x394], 0xd
jmp case.0x101316f6.1
mov dword [esi + 0x394], 0xe
jmp case.0x101316f6.1
mov dword [esi + 0x394], 0xf
jmp case.0x101316f6.1
mov dword [esi + 0x394], 0x10
mov eax, dword [ebx + 0x18]
movzx eax, word [eax + 6]
movzx ecx, ax
mov edx, 0x1203
cmp cx, dx
je 0x101317ef
movzx eax, ax
mov ecx, 0x1303
cmp ax, cx
jne 0x10131940
xor esi, esi
mov dword [esp + 0x24], vtable.CTList_class_CRegisterSpace_.0
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
lea edx, [esp + 0x24]
push edx
push 0x12
mov dword [esp + 0x68], 3
mov dword [esp + 0x1c], esi
call fcn.1013c470
mov ecx, eax
call fcn.1013cbc0
mov edx, dword [esp + 0x28]
test eax, eax
jle 0x10131875
cmp edx, esi
je 0x10131875
mov eax, dword [edx + 4]
cmp eax, esi
je 0x10131875
movzx esi, byte [ebx + 0x14]
mov ecx, dword [eax + 0x14]
cmp ecx, esi
jne 0x10131854
movzx esi, byte [ebx + 0x15]
mov ecx, dword [eax + 0x18]
cmp ecx, esi
jne 0x10131854
mov dword [esp + 0x14], 1
mov dword [edi + 0x18], eax
test edx, edx
je 0x10131868
mov eax, dword [edx + 8]
test eax, eax
je 0x10131868
mov edx, eax
mov eax, dword [eax + 4]
test eax, eax
jne 0x10131833
cmp dword [esp + 0x14], 0
jne 0x101318fe
xor esi, esi
push 0xc
call fcn.1003ddbb
add esp, 4
cmp eax, esi
je 0x10131897
mov dword [eax], vtable.AMD_K10_ECS_Status.0
mov dword [eax + 4], ebx
mov dword [eax + 8], 1
mov esi, eax
jmp 0x10131899
xor esi, esi
call fcn.1013c470
mov ecx, dword [eax + 0x18]
push esi
call fcn.10002270
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
push 0x20
call fcn.1003ddbb
add esp, 4
mov dword [esp + 0x20], eax
mov byte [esp + 0x60], 4
test eax, eax
je 0x101318e6
movzx ecx, byte [ebx + 0x15]
movzx edx, byte [ebx + 0x14]
push esi
push ecx
push edx
mov ecx, eax
call fcn.10062080
mov esi, eax
jmp 0x101318e8
xor esi, esi
mov byte [esp + 0x60], 3
mov dword [edi + 0x18], esi
call fcn.1013c470
mov ecx, dword [eax + 0x28]
push esi
call fcn.10001610
mov dword [esp + 0x60], 0xffffffff
mov ecx, dword [esp + 0x28]
xor ebx, ebx
mov dword [esp + 0x24], vtable.CTList_class_CRegisterSpace_.0
mov esi, ecx
cmp ecx, ebx
je 0x10131935
lea ebx, [ebx]
mov esi, dword [esi + 8]
cmp ecx, ebx
je 0x1013192f
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov ecx, esi
cmp esi, ebx
jne 0x10131920
mov esi, dword [ebp + 8]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x1013195e
mov eax, dword [eax + 8]
test eax, eax
je 0x1013195e
mov ebx, dword [eax + 4]
mov dword [esp + 0x1c], eax
test ebx, ebx
jne 0x10131690
mov eax, dword [edi + 0x18]
mov dword [esp + 0x14], eax
test eax, eax
jne 0x10131970
xor ebx, ebx
jmp 0x10131aec
push 0x50
mov dword [esp + 0x24], eax
call fcn.1003de3e
add esp, 4
mov dword [edi + 0x50], eax
xor esi, esi
mov ebx, 0x1e0
jmp 0x10131990
mov ecx, dword [edi + 0x50]
or eax, 0xffffffff
mov dword [esi + ecx], eax
mov edx, dword [edi + 0x50]
mov dword [esi + edx + 4], eax
mov ecx, dword [edi + 0x50]
mov dword [esi + ecx + 8], eax
mov edx, dword [edi + 0x50]
mov ecx, dword [esp + 0x14]
mov dword [esi + edx + 0xc], eax
lea eax, [esp + 0x10]
push eax
push ebx
push 4
call fcn.10061fa0
mov eax, dword [esp + 0x10]
test eax, eax
je 0x101319f7
test eax, 0x8000000
je 0x101319f7
mov edx, eax
shr edx, 6
and edx, 7
mov ecx, eax
shl edx, 8
and eax, 0x3f
add edx, eax
mov eax, dword [edi + 0x50]
shr ecx, 9
mov dword [esi + eax + 4], edx
mov edx, dword [edi + 0x50]
and ecx, 0x7f
mov dword [esi + edx + 8], ecx
inc dword [edi + 0x54]
add ebx, 4
add esi, 0x10
cmp ebx, 0x1f4
jl 0x10131990
cmp dword [edi + 0x10], 0
je 0x10131ac6
nop
mov eax, dword [edi + 0x54]
xor ebx, ebx
dec eax
mov dword [esp + 0x18], ebx
test eax, eax
jle 0x10131ac6
xor esi, esi
mov ecx, dword [edi + 0x10]
mov eax, dword [edi + 0x50]
mov edx, dword [ecx]
mov eax, dword [esi + eax + 4]
mov edx, dword [edx]
push eax
call edx
fstp qword [esp + 0x24]
mov ecx, dword [edi + 0x10]
mov edx, dword [edi + 0x50]
mov eax, dword [ecx]
mov edx, dword [esi + edx + 0x14]
mov eax, dword [eax]
push edx
call eax
fcomp qword [esp + 0x24]
fnstsw ax
test ah, 0x41
jne 0x10131aa6
mov ecx, dword [edi + 0x50]
mov ebx, dword [esi + ecx + 8]
mov edx, dword [esi + ecx + 4]
lea eax, [esi + ecx]
mov ecx, dword [eax]
mov dword [esp + 0x4c], ebx
mov ebx, dword [eax + 0xc]
mov dword [esp + 0x50], ebx
mov ebx, dword [eax + 0x10]
mov dword [eax], ebx
mov ebx, dword [eax + 0x14]
mov dword [eax + 4], ebx
mov ebx, dword [eax + 0x18]
mov dword [eax + 8], ebx
mov ebx, dword [eax + 0x1c]
mov dword [eax + 0xc], ebx
mov eax, dword [edi + 0x50]
lea eax, [esi + eax + 0x10]
mov dword [eax], ecx
mov ecx, dword [esp + 0x4c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x50]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov ebx, 1
mov eax, dword [esp + 0x18]
mov ecx, dword [edi + 0x54]
inc eax
dec ecx
add esi, 0x10
cmp eax, ecx
mov dword [esp + 0x18], eax
jl 0x10131a24
test ebx, ebx
jne 0x10131a10
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x10]
push edx
push 0x15c
push 4
call fcn.10061fa0
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x20]
shr eax, 2
and eax, 7
mov dword [edi + 0x40], eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.10130f80
mov esi, dword [ebp + 8]
push esi
mov eax, 0xc0010015
call fcn.100e7c00
push esi
mov eax, 0xc001001f
call fcn.100e7c00
test ebx, ebx
je 0x10131bc6
lea edx, [esp + 0x10]
push edx
push 0xe8
push 3
mov ecx, ebx
call fcn.10061fa0
mov ecx, dword [esp + 0x10]
mov eax, ecx
shr eax, 0xc
and eax, 3
inc eax
mov dword [edi + 0x38], eax
cmp dword [esi + 0x314], 8
jl 0x10131b60
test ecx, 0x8000
je 0x10131b50
add eax, 4
mov dword [edi + 0x38], eax
test ecx, 0x20000000
je 0x10131b60
mov ecx, dword [edi + 0x38]
add ecx, ecx
mov dword [edi + 0x38], ecx
mov edx, dword [edi + 0x38]
lea eax, [esp + 0x10]
push eax
push 0xd8
push 3
mov ecx, ebx
mov dword [esi + 0x5c], edx
call fcn.10061fa0
mov eax, dword [esp + 0x10]
mov ecx, dword [edi + 0x10]
shr eax, 8
and eax, 0x7f
test ecx, ecx
je 0x10131bc6
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
fstp dword [esp + 0x18]
mov eax, dword [edi + 0x10]
cmp dword [eax + 0x2c], 0
jle 0x10131bc6
cmp dword [eax + 0x30], 0
je 0x10131bc6
mov ecx, dword [eax + 0x30]
mov ecx, dword [ecx + 0xc]
mov eax, dword [edi + 0x38]
imul eax, ecx
mov dword [esp + 0x20], eax
mov dword [edi + 0x3c], eax
fild dword [esp + 0x20]
fmul dword [esp + 0x18]
fstp dword [esi + 0x3b4]
mov edx, dword [edi]
mov eax, dword [edx + 0x20]
push esi
mov ecx, edi
call eax
fstp st(0)
mov edx, dword [edi]
mov eax, dword [edx + 0x24]
push esi
mov ecx, edi
call eax
fstp st(0)
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4