Function at 0x1012e4d0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10174fae
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x10206870]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x18], edi
lea eax, [esp + 0x34]
mov dword [esp + 0x1c], eax
push esi
mov esi, dword [esp + 0x20]
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 0x1012e55e
shr ecx, 0x10
and ecx, 0xff
mov dword [edx + 0x58], ecx
cmp dword [edx + 0x2f0], 0x80000001
jb 0x1012e5f6
lea ecx, [esp + 0x34]
mov dword [esp + 0x1c], ecx
push esi
mov esi, dword [esp + 0x20]
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
jne 0x1012e5f6
mov dword [edx + 0x364], 1
mov eax, dword [ebp + 8]
cmp dword [eax + 0x2f0], 0x80000007
jb 0x1012e6be
lea ecx, [esp + 0x34]
mov dword [esp + 0x1c], ecx
push esi
mov esi, dword [esp + 0x20]
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 0x1012e6be
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
jmp 0x1012e670
lea eax, [esi - 0x3ffeff9c]
push ebx
call fcn.100e7c00
inc esi
cmp esi, 5
jl 0x1012e670
push 0x68
call fcn.1003ddbb
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x50], 0
test eax, eax
je 0x1012e6a4
push eax
call fcn.100c9770
jmp 0x1012e6a6
xor eax, eax
mov dword [esp + 0x50], 0xffffffff
mov dword [edi + 0x10], eax
test eax, eax
je 0x1012e6be
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x14]
call eax
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x2f0], 0x80000008
jb 0x1012e728
lea edx, [esp + 0x34]
mov dword [esp + 0x1c], edx
push esi
mov esi, dword [esp + 0x20]
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]
and eax, 0xff
mov dword [edi + 0x30], eax
lea ecx, [eax + 1]
mov eax, dword [ebp + 8]
mov edx, 3
mov esi, edx
mov dword [eax + 0x5c], ecx
call fcn.100e72e0
test eax, eax
je 0x1012e728
mov edx, dword [edi + 0x30]
inc edx
mov dword [eax + 0x10], edx
mov eax, dword [ebp + 8]
push eax
mov eax, 0xc0010058
call fcn.100e7c00
mov esi, eax
test esi, esi
je 0x1012e80b
test byte [esi + 0xc], 1
je 0x1012e80b
call fcn.1013c470
cmp dword [eax + 0x3c], 0
je 0x1012e80b
call fcn.1013c470
mov ecx, dword [eax + 0x3c]
call fcn.10074720
test eax, eax
jne 0x1012e80b
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 0x1012e7c0
push 0x14
call fcn.1003ddbb
add esp, 4
test eax, eax
je 0x1012e7b0
push 0x1000
push esi
push ebx
mov ecx, eax
call fcn.1006aaa0
mov ebx, eax
jmp 0x1012e7b2
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 + 0x1c], eax
mov dword [esp + 0x50], 1
test eax, eax
je 0x1012e7e6
push ebx
mov esi, eax
call fcn.100600f0
mov esi, eax
jmp 0x1012e7e8
xor esi, esi
mov dword [esp + 0x50], 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 ecx, dword [ebp + 8]
push ecx
push edi
call fcn.1012df00
test eax, eax
je 0x1012e9cf
mov ecx, dword [eax + 4]
mov dword [esp + 0x24], ecx
test ecx, ecx
je 0x1012e9cf
mov ebx, dword [ecx + 4]
test ebx, ebx
je 0x1012e9cf
jmp 0x1012e844
mov ecx, dword [esp + 0x24]
mov edx, dword [ebx + 0x18]
movzx eax, word [edx + 6]
mov edx, 0x1703
cmp ax, dx
jne 0x1012e9b5
xor esi, esi
mov dword [esp + 0x28], vtable.CTList_class_CRegisterSpace_.0
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
lea eax, [esp + 0x28]
push eax
push 0x12
mov dword [esp + 0x58], 2
call fcn.1013c470
mov ecx, eax
call fcn.1013cbc0
mov edi, dword [esp + 0x2c]
test eax, eax
jle 0x1012e8e2
mov edx, edi
test edi, edi
je 0x1012e8e2
mov eax, dword [edi + 4]
test eax, eax
je 0x1012e8e2
jmp 0x1012e8a0
movzx edi, byte [ebx + 0x14]
mov ecx, dword [eax + 0x14]
cmp ecx, edi
jne 0x1012e8c2
movzx edi, byte [ebx + 0x15]
mov ecx, dword [eax + 0x18]
cmp ecx, edi
jne 0x1012e8c2
mov ecx, dword [esp + 0x18]
mov esi, 1
mov dword [ecx + 0x18], eax
test edx, edx
je 0x1012e8d6
mov eax, dword [edx + 8]
test eax, eax
je 0x1012e8d6
mov edx, eax
mov eax, dword [eax + 4]
test eax, eax
jne 0x1012e8a0
mov edi, dword [esp + 0x2c]
test esi, esi
jne 0x1012e96f
push 0xc
call fcn.1003ddbb
add esp, 4
test eax, eax
je 0x1012e904
mov dword [eax], vtable.AMD_K10_ECS_Status.0
mov dword [eax + 4], ebx
mov dword [eax + 8], 1
mov esi, eax
jmp 0x1012e906
xor esi, esi
call fcn.1013c470
mov ecx, dword [eax + 0x18]
push esi
call fcn.10002270
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
push 0x20
call fcn.1003ddbb
add esp, 4
mov dword [esp + 0x1c], eax
mov byte [esp + 0x50], 3
test eax, eax
je 0x1012e953
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 0x1012e955
xor esi, esi
mov eax, dword [esp + 0x18]
mov byte [esp + 0x50], 2
mov dword [eax + 0x18], esi
call fcn.1013c470
mov ecx, dword [eax + 0x28]
push esi
call fcn.10001610
xor ebx, ebx
mov dword [esp + 0x50], 0xffffffff
mov dword [esp + 0x28], vtable.CTList_class_CRegisterSpace_.0
mov ecx, edi
mov esi, edi
cmp edi, ebx
je 0x1012e9a5
lea esp, [esp]
mov esi, dword [esi + 8]
cmp ecx, ebx
je 0x1012e99f
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov ecx, esi
cmp esi, ebx
jne 0x1012e990
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x18]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
test ecx, ecx
je 0x1012e9cf
mov eax, dword [ecx + 8]
test eax, eax
je 0x1012e9cf
mov ebx, dword [eax + 4]
mov dword [esp + 0x24], eax
test ebx, ebx
jne 0x1012e840
mov ecx, dword [edi + 0x18]
test ecx, ecx
jne 0x1012e9da
xor esi, esi
jmp 0x1012e9fa
lea edx, [esp + 0x14]
push edx
push 0x15c
push 4
mov esi, ecx
call fcn.10061fa0
mov eax, dword [esp + 0x14]
shr eax, 2
and eax, 7
mov dword [edi + 0x3c], eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.1012dd00
mov ebx, dword [ebp + 8]
push ebx
mov eax, 0xc0010015
call fcn.100e7c00
push ebx
mov eax, 0xc001001f
call fcn.100e7c00
test esi, esi
je 0x1012ea9d
lea edx, [esp + 0x14]
push edx
push 0xd8
push 3
mov ecx, esi
call fcn.10061fa0
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov ecx, dword [esi + 0x10]
shr eax, 8
and eax, 0x7f
test ecx, ecx
je 0x1012eaa1
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
fstp dword [esp + 0x18]
mov ecx, dword [esi + 0x10]
mov edx, dword [ecx + 0x2c]
test edx, edx
jle 0x1012eaa1
mov eax, dword [esi + 0x3c]
cmp eax, 0xffffffff
je 0x1012ea6a
cmp eax, edx
jl 0x1012ea70
xor eax, eax
cmp eax, edx
jge 0x1012eaa1
cmp dword [ecx + 0x30], 0
je 0x1012eaa1
mov ecx, dword [ecx + 0x30]
shl eax, 4
mov ecx, dword [eax + ecx + 0xc]
mov eax, dword [ebx + 0x5c]
imul eax, ecx
mov dword [esp + 0x1c], eax
mov dword [esi + 0x38], eax
fild dword [esp + 0x1c]
fmul dword [esp + 0x18]
fstp dword [ebx + 0x3b4]
jmp 0x1012eaa1
mov esi, dword [esp + 0x18]
mov edx, dword [esi]
mov eax, dword [edx + 0x20]
push ebx
mov ecx, esi
call eax
fstp st(0)
mov edx, dword [esi]
mov eax, dword [edx + 0x24]
push ebx
mov ecx, esi
call eax
fstp st(0)
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4