Function at 0x1011a830
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10174e2e
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x10206870]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov dword [esp + 0x18], ecx
lea eax, [esp + 0x1c]
mov dword [esp + 0x14], eax
push esi
mov esi, dword [esp + 0x18]
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 + 0x20]
mov eax, dword [esp + 0x28]
mov edi, dword [ebp + 8]
mov edx, ecx
shr edx, 0x18
shr eax, 0x1c
and eax, 1
mov dword [edi + 0x1c], edx
mov dword [edi + 0x368], eax
je 0x1011a8bc
shr ecx, 0x10
and ecx, 0xff
mov dword [edi + 0x58], ecx
cmp dword [edi + 0x2f0], reloc.OLEAUT32.dll_VariantInit
jb 0x1011a91c
lea eax, [esp + 0x1c]
mov dword [esp + 0x14], eax
push esi
mov esi, dword [esp + 0x18]
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
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x18]
mov edx, eax
mov ecx, eax
shr edx, 1
and ecx, 1
and edx, 1
shr eax, 2
and eax, 1
mov dword [ebx + 0x20], ecx
mov dword [ebx + 0x18], edx
mov dword [ebx + 0x1c], eax
jmp 0x1011a920
mov ebx, dword [esp + 0x18]
cmp dword [edi + 0x2f0], reloc.OLEAUT32.dll_VariantClear
jb 0x1011a974
lea eax, [esp + 0x1c]
mov dword [esp + 0x14], eax
push esi
mov esi, dword [esp + 0x18]
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 + 0x24]
mov ebx, dword [esp + 0x18]
and eax, 0xff
inc eax
cmp dword [edi + 0x58], eax
mov dword [edi + 0x5c], eax
jle 0x1011a974
mov dword [edi + 0x58], eax
mov edx, edi
mov esi, ebx
call fcn.10116510
cmp dword [ebx + 0x18], 0
jne 0x1011a989
cmp dword [ebx + 0x1c], 0
je 0x1011a9fb
cmp dword [ebx + 0x24], 0x40
push 0x3c
jl 0x1011a9b1
call fcn.1003ddbb
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x38], 0
test eax, eax
je 0x1011a9d1
push eax
call fcn.100ca440
jmp 0x1011a9d3
call fcn.1003ddbb
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x38], 1
test eax, eax
je 0x1011a9d1
push eax
call fcn.100ca860
jmp 0x1011a9d3
xor eax, eax
mov dword [esp + 0x38], 0xffffffff
mov ecx, eax
mov dword [ebx + 0x10], eax
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
call eax
test eax, eax
je 0x1011a9fb
mov ecx, dword [ebx + 0x10]
cmp dword [ecx + 0xc], 0x2a
jne 0x1011a9fb
mov dword [ebx + 0x34], 1
push edi
mov eax, 0xc001001e
call fcn.100e7c00
test eax, eax
je 0x1011aa1f
mov edx, dword [eax + 0xc]
shr edx, 4
and edx, 0xf
mov dword [ebx + 0x2c], edx
mov eax, dword [eax + 0xc]
and eax, 0xf
mov dword [ebx + 0x30], eax
mov dword [edi + 0x32c], 0xc8
mov ecx, dword [ebx + 0x10]
test ecx, ecx
je 0x1011aa98
mov eax, dword [ecx + 0xc]
cmp eax, 0xffffffff
je 0x1011aa98
mov edx, dword [ecx]
push eax
mov eax, dword [edx]
call eax
fstp dword [esp + 0x14]
fldz
fcomp dword [esp + 0x14]
fnstsw ax
test ah, 5
jp 0x1011aa98
mov eax, edi
call fcn.100e5790
fcomp dword [0x1017d344]
fnstsw ax
test ah, 0x41
jne 0x1011aa98
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx + 0xc]
cmp eax, 0xffffffff
je 0x1011aa78
mov edx, dword [ecx]
push eax
mov eax, dword [edx]
call eax
jmp 0x1011aa7e
fld dword [0x101f69a8]
mov eax, edi
fstp dword [esp + 0x14]
call fcn.100e5790
fmul dword [esp + 0x14]
call fcn.1003f8e0
mov dword [edi + 0x324], eax
push edi
push ebx
call fcn.1011a380
mov ecx, eax
mov dword [esp + 0x14], ecx
test ecx, ecx
je 0x1011abdd
mov esi, dword [ecx + 4]
test esi, esi
je 0x1011abdd
mov eax, dword [esi + 4]
test eax, eax
je 0x1011abdd
mov ecx, dword [eax + 0x18]
mov edx, 0x1100
cmp word [ecx + 6], dx
jne case.0x1011ab1a.1
or edx, 0xffffffff
mov dword [esp + 0x10], edx
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x1011ab0b
mov edx, dword [ecx]
mov edx, dword [edx + 0x18]
lea ebx, [esp + 0x10]
push ebx
movzx ebx, byte [eax + 0x16]
push 0x88
push ebx
movzx ebx, byte [eax + 0x15]
movzx eax, byte [eax + 0x14]
push ebx
push eax
call edx
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x18]
shr edx, 8
and edx, 0xf
cmp edx, 0xe
ja case.0x1011ab1a.1
jmp dword [edx*4 + 0x1011ad78]
mov dword [edi + 0x394], 1
jmp case.0x1011ab1a.1
mov dword [edi + 0x394], 2
jmp case.0x1011ab1a.1
mov dword [edi + 0x394], 3
jmp case.0x1011ab1a.1
mov dword [edi + 0x394], 4
jmp case.0x1011ab1a.1
mov dword [edi + 0x394], 5
jmp case.0x1011ab1a.1
mov dword [edi + 0x394], 6
jmp case.0x1011ab1a.1
mov dword [edi + 0x394], 7
jmp case.0x1011ab1a.1
mov dword [edi + 0x394], 8
jmp case.0x1011ab1a.1
mov dword [edi + 0x394], 9
jmp case.0x1011ab1a.1
mov dword [edi + 0x394], 0xa
jmp case.0x1011ab1a.1
mov dword [edi + 0x394], 0xb
jmp case.0x1011ab1a.1
mov dword [edi + 0x394], 0xc
jmp case.0x1011ab1a.1
mov dword [edi + 0x394], 0xd
test esi, esi
je 0x1011abd9
mov eax, dword [esi + 8]
test eax, eax
je 0x1011abd9
mov esi, eax
mov eax, dword [eax + 4]
test eax, eax
jne 0x1011aac3
mov ecx, dword [esp + 0x14]
cmp dword [ebx + 0x24], 8
jl 0x1011ad55
test ecx, ecx
je 0x1011ad55
mov ebx, dword [ecx + 4]
test ebx, ebx
je 0x1011ad55
mov esi, dword [ebx + 4]
test esi, esi
je 0x1011ad55
jmp 0x1011ac10
mov eax, dword [esi + 0x18]
mov ecx, 0x1103
cmp word [eax + 6], cx
jne 0x1011ad3d
mov ecx, dword [esi + 8]
mov dword [esp + 0x14], 0xffffffff
test ecx, ecx
je 0x1011ac51
mov edx, dword [ecx]
mov edx, dword [edx + 0x18]
lea eax, [esp + 0x14]
push eax
movzx eax, byte [esi + 0x16]
push 0xe4
push eax
movzx eax, byte [esi + 0x15]
push eax
movzx eax, byte [esi + 0x14]
push eax
call edx
mov ecx, dword [esi + 8]
and dword [esp + 0x14], 0x7fffffbb
test ecx, ecx
je 0x1011ac7f
push dword [esp + 0x14]
movzx edx, byte [esi + 0x16]
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
push 0xe4
push edx
movzx edx, byte [esi + 0x15]
push edx
movzx edx, byte [esi + 0x14]
push edx
call eax
mov ecx, dword [esi + 8]
or eax, 0xffffffff
mov dword [esp + 0x14], eax
test ecx, ecx
je 0x1011acb1
mov edx, dword [ecx]
mov edx, dword [edx + 0x18]
lea eax, [esp + 0x14]
push eax
movzx eax, byte [esi + 0x16]
push 0xe4
push eax
movzx eax, byte [esi + 0x15]
push eax
movzx eax, byte [esi + 0x14]
push eax
call edx
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
cmp dword [ecx + 0x24], 0x60
jge 0x1011acc5
shr eax, 0x10
and eax, 0xff
jmp 0x1011accd
shr eax, 0xe
and eax, 0x3ff
test eax, eax
je 0x1011ad3d
push 0x16c
call fcn.1003ddbb
add esp, 4
test eax, eax
je 0x1011acef
push 1
mov ecx, eax
call fcn.100550e0
mov esi, eax
jmp 0x1011acf1
xor esi, esi
push 0x101e29a4
lea edx, [esi + 4]
push 0x100
push edx
call fcn.1013b440
fld dword [0x101f7228]
fstp dword [esi + 0x168]
mov dword [edi + 0x498], esi
or dword [esi + 0x144], 0x1802000
add esp, 0xc
call fcn.1013c470
mov ecx, dword [eax + 0x38]
mov edx, dword [ecx + 8]
mov dword [esi + 0x148], edx
mov ecx, dword [eax + 0x38]
push esi
call fcn.100021e0
test ebx, ebx
je 0x1011ad55
mov eax, dword [ebx + 8]
test eax, eax
je 0x1011ad55
mov esi, dword [eax + 4]
mov ebx, eax
test esi, esi
jne 0x1011ac10
push edi
mov eax, 0xc0010015
call fcn.100e7c00
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4