Function at 0x10133720
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x240
mov esi, ecx
mov edi, dword [ebp + 8]
mov eax, dword [0x101b9014]
xor eax, ebp
mov dword [esp + 0x238], eax
mov eax, dword [edi + 0x1c]
mov bl, byte [eax + 0x54]
xor eax, eax
test bl, bl
setne al
lea eax, [eax + eax*8]
mov word [ecx + 0x48], ax
mov ecx, edi
call fcn.101304a0
ror eax, 0x10
mov dword [esi + 0x4a], eax
mov ecx, edi
call fcn.10130510
mov dword [esp], esi
mov byte [esi + 0x4e], al
test bl, bl
je 0x101338c0
xor eax, eax
inc eax
xor ecx, ecx
cpuid
mov esi, edx
sar esi, 0x1f
or esi, ecx
test dl, 0x10
mov edi, edx
mov eax, 4
mov ecx, 0x104
cmove ecx, eax
mov dword [esp + 0x18], ecx
mov eax, 0x80000001
xor ecx, ecx
cpuid
mov dword [esp + 8], edx
xor eax, eax
xor ecx, ecx
cpuid
xor ebx, ebx
mov edx, edi
mov ecx, edi
and ecx, 0x40
shl ecx, 3
mov dword [esp + 0xc], ecx
shr edi, 0x14
mov ecx, esi
shld esi, edx, 0xd
and edi, 8
shr edx, 0x10
and edx, 0x400
mov dword [esp + 0x1c], edx
lea edx, [ecx + ecx]
and edx, 0x4000
mov dword [esp + 0x10], edx
mov edx, ecx
shr edx, 9
and edx, 0x20000
mov dword [esp + 0x14], edx
shr ecx, 2
and ecx, 0x10000000
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 8]
mov edx, ecx
shr edx, 0x1b
shr ecx, 0x18
and ecx, 0xffffff80
mov dword [esp + 8], ecx
cmp eax, 7
jl 0x10133830
mov eax, 7
mov dword [esp + 4], edx
xor ecx, ecx
cpuid
mov edx, dword [esp + 4]
and ebx, 1
shl ebx, 0x16
or edi, dword [esp + 0xc]
or edi, dword [esp + 0x1c]
or edi, dword [esp + 0x18]
or edi, dword [esp + 8]
and esi, 0x2040
or esi, edi
or esi, dword [esp + 0x10]
or esi, dword [esp + 0x14]
or esi, dword [esp + 0x20]
or esi, ebx
and edx, 1
mov dword [esp + 4], edx
push 0xc
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
mov edi, esi
or edi, 0x1000
test eax, eax
cmove edi, esi
xor eax, eax
inc eax
xor esi, esi
xor ecx, ecx
cpuid
bt edx, 0x18
jae 0x101338a6
lea ebx, [esp + 0x30]
push 0x200
push 0xff
push ebx
call fcn.10149430
add esp, 0xc
fxsave [ebx]
mov eax, dword [ebx + 0x1c]
and eax, 0x40
shl eax, 5
or edi, eax
mov eax, dword [esp]
mov dword [eax + 0x68], edi
mov edi, eax
mov eax, dword [esp + 4]
mov dword [edi + 0x6c], eax
mov dword [edi + 0x74], esi
mov dword [edi + 0x70], esi
jmp 0x10133a17
xor eax, eax
xor ecx, ecx
cpuid
lea eax, [esp + 0x30]
mov dword [eax], ebx
xor edi, edi
dec edi
mov dword [eax + 4], edx
lea ebx, [esp + 0x24]
mov dword [ebx], edi
mov dword [ebx + 4], edi
mov dword [ebx + 8], edi
mov dword [eax + 8], ecx
xor esi, esi
mov ecx, ebx
push 0xc
push eax
call fcn.10036424
movzx eax, byte [ebx + 0xb]
test al, al
mov ecx, dword [ebx + 4]
mov edx, eax
cmovs edx, ecx
cmp edx, 0xc
jne 0x10133aec
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov edx, dword [esp + 0x24]
test al, al
js 0x10133923
mov edi, ebx
cmp esi, eax
jbe 0x1013392d
jmp 0x10133ae9
mov edi, edx
cmp ecx, esi
jb 0x10133ae9
mov edi, dword [edi + esi]
mov dword [esp + esi + 0x30], edi
add esi, 4
cmp esi, 0xc
jne 0x10133914
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov esi, dword [esp]
mov dword [esi + 0x68], ecx
mov dword [esi + 0x6c], edx
mov dword [esi + 0x70], eax
xor eax, eax
inc eax
xor ecx, ecx
cpuid
mov edi, edx
xor eax, eax
inc eax
xor ecx, ecx
cpuid
mov dword [esi + 0x74], eax
mov dword [esi + 0x78], edi
mov edi, esi
mov bl, byte [esp + 0x2f]
movzx esi, bl
test bl, bl
js 0x10133982
sete cl
lea eax, [esp + 0x24]
mov edx, esi
jmp 0x10133999
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
test edx, edx
sete cl
je 0x10133999
test eax, eax
je 0x10133aef
cmp edx, 0xc
jne 0x101339b6
test cl, cl
jne 0x101339f7
push 0xc
push str.AuthenticAMD
push eax
call fcn.10147f9d
add esp, 0xc
test eax, eax
je 0x101339f7
test bl, bl
js 0x101339c3
sete cl
lea eax, [esp + 0x24]
jmp 0x101339da
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x28]
test esi, esi
sete cl
je 0x101339da
test eax, eax
je 0x10133af2
cmp esi, 0xc
jne 0x10133a07
test cl, cl
jne 0x101339f7
push 0xc
push str.HygonGenuine
push eax
call fcn.10147f9d
add esp, 0xc
test eax, eax
jne 0x10133a07
mov eax, 0x80000001
xor ecx, ecx
cpuid
mov dword [edi + 0x7c], edx
mov bl, byte [esp + 0x2f]
test bl, bl
jns 0x10133a17
push dword [esp + 0x24]
call fcn.10145bd4
add esp, 4
mov dword [edi + 0x5c], 2
mov edx, dword [ebp + 8]
mov al, byte [edx + 0x2c]
add al, al
or al, 1
mov byte [edi + 0x4f], al
xor eax, eax
lea ecx, [esp + 0x30]
mov dword [ecx + 4], eax
mov dword [ecx], eax
mov dword [ecx + 8], eax
mov edi, dword [edx + 0x20]
mov ebx, dword [edx + 0x24]
mov esi, dword [edx + 0x28]
add edx, 0x10
push edx
call fcn.1003660c
mov eax, dword [esp]
mov dword [eax + 0x50], edi
mov edi, dword [esp]
mov dword [edi + 0x54], ebx
mov dword [edi + 0x58], esi
mov ecx, dword [edi + 0x80]
test ecx, ecx
jne 0x10133ab4
sub edi, 0xffffff80
push 0x4c
call fcn.10145ba4
add esp, 4
mov esi, edi
mov edi, eax
xorps xmm0, xmm0
movups xmmword [eax + 4], xmm0
movups xmmword [eax + 0x14], xmm0
movups xmmword [eax + 0x24], xmm0
xor ebx, ebx
mov dword [eax + 0x38], ebx
mov dword [eax + 0x34], ebx
push 4
call fcn.10145ba4
add esp, 4
mov dword [eax], ebx
mov dword [edi + 0x3c], eax
mov dword [edi + 0x48], ebx
mov dword [edi + 0x40], ebx
mov dword [edi + 0x44], ebx
mov dword [edi], 0x1019c9d8
mov ecx, esi
push edi
call fcn.10133af6
mov ecx, dword [esi]
lea eax, [esp + 0x30]
push eax
call fcn.101416bc
cmp byte [esp + 0x3b], 0
jns 0x10133ad1
push dword [esp + 0x30]
call fcn.10145bd4
add esp, 4
mov ecx, dword [esp + 0x238]
xor ecx, ebp
call fcn.101465a3
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
int3
int3
int3
int3