Function at 0x10003380
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001b694
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x10026010]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [sym.imp.HardwareLib.dll_DebugStringA]
push str.CCPUIDWrapper::InitCPUIDWrapper_enter
call ebx
push 0x44
call fcn.10007ad6
add esp, 8
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
mov dword [eax], vtable.CPUIDSDK.0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0x20], 0
mov dword [eax + 0x24], 0
mov dword [eax + 0x28], 0
mov dword [eax + 0x2c], 0
mov dword [eax + 0x30], 0
mov dword [eax + 0x34], 0
mov dword [eax + 0x38], 0
mov dword [eax + 0x3c], 0
mov dword [eax + 0x40], 0
mov dword [ebp - 4], 0xffffffff
lea edi, [esi + 0x14]
mov dword [esi], eax
mov eax, edi
cmp dword [edi + 0x14], 0x10
jb 0x10003455
mov eax, dword [edi]
push eax
push str.CCPUIDWrapper::InitCPUIDWrapper_LoadLibraryA__m_modulepath_s
call ebx
add esp, 8
cmp dword [edi + 0x14], 0x10
jb 0x10003468
mov edi, dword [edi]
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x100035d3
push str.CCPUIDWrapper::InitCPUIDWrapper_InitDll
call ebx
mov eax, dword [esi]
add esp, 4
mov dword [ebp - 0x10], eax
push str.QueryInterface
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x10003561
push 0x99b13362
call edi
mov ecx, dword [ebp - 0x10]
push 0xf931f263
mov dword [ecx + 8], eax
call edi
mov ecx, dword [ebp - 0x10]
push 0xf795ef2b
mov dword [ecx + 0xc], eax
call edi
mov ecx, dword [ebp - 0x10]
push 0xf9fdf3fb
mov dword [ecx + 0x10], eax
call edi
mov ecx, dword [ebp - 0x10]
push 0xa85d50ba
mov dword [ecx + 0x14], eax
call edi
mov ecx, dword [ebp - 0x10]
push 0xcd5b9ab7
mov dword [ecx + 0x18], eax
call edi
mov ecx, dword [ebp - 0x10]
push 0x90b7216e
mov dword [ecx + 0x1c], eax
call edi
mov ecx, dword [ebp - 0x10]
push 0x35c06b8
mov dword [ecx + 0x20], eax
call edi
mov ecx, dword [ebp - 0x10]
push 0x66e8cdd1
mov dword [ecx + 0x24], eax
call edi
mov ecx, dword [ebp - 0x10]
push 0xcb7196e3
mov dword [ecx + 0x28], eax
call edi
mov ecx, dword [ebp - 0x10]
push 0xcb5796af
mov dword [ecx + 0x2c], eax
call edi
mov ecx, dword [ebp - 0x10]
push 0xa6694cd2
mov dword [ecx + 0x30], eax
call edi
mov ecx, dword [ebp - 0x10]
push 0xafa15f4
mov dword [ecx + 0x34], eax
call edi
mov ecx, dword [ebp - 0x10]
push 0x9eef3dde
mov dword [ecx + 0x38], eax
call edi
mov ecx, dword [ebp - 0x10]
push 0xa06f40de
mov dword [ecx + 0x3c], eax
call edi
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x40], eax
push str.CCPUIDWrapper::InitCPUIDWrapper_CreateInstance
call ebx
mov edi, dword [esi]
add esp, 4
mov eax, dword [edi + 8]
test eax, eax
je 0x100035d3
call eax
mov dword [edi + 4], eax
test eax, eax
je 0x100035d3
push str.CCPUIDWrapper::InitCPUIDWrapper_Init
call ebx
mov edx, dword [esi]
lea ecx, [esi + 4]
add esp, 4
mov edi, dword [edx + 0x10]
test edi, edi
je 0x100035cd
lea eax, [esi + 8]
push eax
push ecx
push dword [esi + 0xc]
push str.cpuidsdk.dll
push dword [esi + 0x10]
push dword [edx + 4]
call edi
test eax, eax
je 0x100035d3
push str.CCPUIDWrapper::InitCPUIDWrapper_leave
call ebx
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ecx], 0x10
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret