Function at 0x10016550
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x10041dc9
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x100695e8]
xor eax, esp
mov dword [esp + 0x9c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100695e8]
xor eax, esp
push eax
lea eax, [esp + 0xb4]
mov dword fs:[0], eax
mov eax, dword [esp + 0xc4]
mov dword [esp + 0x30], eax
mov dword [esp + 0x4c], eax
xor eax, eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x40], eax
xor ecx, ecx
cpuid
mov dword [esp + 0x48], 0
xorps xmm0, xmm0
lea esi, [esp + 0x1c]
movq qword [esp + 0x20], xmm0
mov dword [esp + 0x1c], 0xffffffff
mov dword [esp + 0x28], 0
mov dword [esi], eax
mov dword [esi + 4], ebx
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x20]
movq qword [esp + 0x50], xmm0
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x24]
xor ebp, ebp
movq qword [esp + 0x58], xmm0
mov dword [esp + 0xbc], 0
movq qword [esp + 0x60], xmm0
movq qword [esp + 0x68], xmm0
mov dword [esp + 0x58], eax
xor esi, esi
nop
xor ecx, ecx
mov eax, esi
cpuid
lea edi, [esp + 0x1c]
mov dword [edi], eax
mov dword [edi + 4], ebx
mov dword [edi + 8], ecx
mov dword [edi + 0xc], edx
cmp esi, 1
jne 0x100166a4
mov ebp, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
mov eax, ebp
sar eax, 4
and eax, 0xf
mov dword [esp + 0x34], eax
mov eax, ebp
sar eax, 8
and eax, 0xf
mov dword [esp + 0x2c], eax
mov eax, ebp
sar eax, 0xc
and eax, 3
mov dword [esp + 0x44], eax
mov eax, ebp
sar eax, 0x10
and eax, 0xf
sar edi, 8
sar ebp, 0x14
mov dword [esp + 0x3c], eax
movzx eax, byte [esp + 0x20]
and edi, 0xff
and ebp, 0xff
shl edi, 3
mov dword [esp + 0x38], eax
mov dword [esp + 0x40], edi
inc esi
cmp esi, dword [esp + 0x14]
jbe 0x10016630
xor ecx, ecx
mov eax, 0x80000000
cpuid
lea esi, [esp + 0x1c]
push 0x40
mov dword [esi], eax
mov dword [esi + 4], ebx
mov dword [esi + 8], ecx
lea eax, [esp + 0x74]
push 0
mov dword [esi + 0xc], edx
mov edi, dword [esp + 0x24]
push eax
mov dword [esp + 0x20], ebp
call fcn.100275b0
mov esi, 0x80000000
add esp, 0xc
cmp edi, esi
jb 0x10016785
lea esp, [esp]
xor ecx, ecx
mov eax, esi
cpuid
lea ebp, [esp + 0x1c]
mov dword [ebp], eax
mov eax, ebp
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
cmp esi, 0x80000002
jne 0x1001672a
movq xmm0, qword [esp + 0x1c]
movq qword [esp + 0x70], xmm0
movq xmm0, qword [esp + 0x24]
movq qword [esp + 0x78], xmm0
jmp 0x10016778
cmp esi, 0x80000003
jne 0x10016752
movq xmm0, qword [esp + 0x1c]
movq qword [esp + 0x80], xmm0
movq xmm0, qword [esp + 0x24]
movq qword [esp + 0x88], xmm0
jmp 0x10016778
cmp esi, 0x80000004
jne 0x10016778
movq xmm0, qword [esp + 0x1c]
movq qword [esp + 0x90], xmm0
movq xmm0, qword [esp + 0x24]
movq qword [esp + 0x98], xmm0
inc esi
cmp esi, edi
jbe 0x100166f0
mov ebp, dword [esp + 0x14]
mov eax, dword [0x10069550]
mov ecx, 0x10069550
call dword [eax + 0xc]
mov ecx, dword [esp + 0x30]
add eax, 0x10
mov dword [ecx], eax
mov eax, dword [0x10069550]
mov ecx, 0x10069550
mov dword [esp + 0xbc], 0
mov dword [esp + 0x48], 1
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [esp + 0x18], edi
mov ebx, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [esp + 0x50]
mov dword [esp + 0xbc], 1
push 0
test eax, 0xffff0000
jne 0x10016808
movzx esi, ax
push esi
call fcn.1000dc30
add esp, 8
test eax, eax
je 0x100168ad
push esi
push eax
lea ecx, [esp + 0x20]
call fcn.100159c0
mov edi, dword [esp + 0x18]
jmp 0x100168ad
push 0
push 0xffffffffffffffff
push eax
push 0
push 3
call ebx
lea esi, [eax - 1]
test esi, esi
jle 0x10016858
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, esi
or eax, ecx
jge 0x10016839
push esi
lea ecx, [esp + 0x1c]
call fcn.10015950
mov edi, dword [esp + 0x18]
push esi
push edi
push 0xffffffffffffffff
lea eax, [esp + 0x5c]
push eax
push 0
push 3
call ebx
cmp esi, dword [edi - 8]
jg 0x10016873
xor eax, eax
mov dword [edi - 0xc], esi
mov word [edi + esi*2], ax
jmp 0x100168ad
cmp dword [edi - 0xc], 0
mov esi, dword [edi - 0x10]
lea edx, [edi - 0x10]
je 0x100168ad
cmp dword [edx + 0xc], 0
lea ecx, [edx + 0xc]
jge 0x1001688b
cmp dword [edi - 8], 0
jge 0x1001687d
push 0x80070057
call fcn.1000e050
xor eax, eax
mov dword [edi - 0xc], 0
mov word [edi], ax
jmp 0x100168ad
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x1001689f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [esp + 0x18], edi
mov eax, dword [0x10069550]
mov ecx, 0x10069550
mov dword [esp + 0xbc], 2
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x14], esi
lea eax, [esp + 0x70]
mov byte [esp + 0xbc], 3
push 0
test eax, 0xffff0000
jne 0x10016909
movzx ebx, ax
push ebx
call fcn.1000dc30
add esp, 8
test eax, eax
je 0x100169b6
push ebx
push eax
lea ecx, [esp + 0x1c]
call fcn.100159c0
mov esi, dword [esp + 0x14]
jmp 0x100169b6
push 0
push 0xffffffffffffffff
push eax
push 0
push 3
call ebx
lea ebx, [eax - 1]
test ebx, ebx
jle 0x10016961
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, ebx
or eax, ecx
jge 0x1001693a
push ebx
lea ecx, [esp + 0x18]
call fcn.10015950
mov esi, dword [esp + 0x14]
push ebx
push esi
push 0xffffffffffffffff
lea eax, [esp + 0x7c]
push eax
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp ebx, dword [esi - 8]
jg 0x10016873
xor eax, eax
mov dword [esi - 0xc], ebx
mov word [esi + ebx*2], ax
jmp 0x100169b6
cmp dword [esi - 0xc], 0
mov ebx, dword [esi - 0x10]
lea edx, [esi - 0x10]
je 0x100169b6
cmp dword [edx + 0xc], 0
lea ecx, [edx + 0xc]
jge 0x10016994
cmp dword [esi - 8], 0
jge 0x10016986
push 0x80070057
call fcn.1000e050
xor eax, eax
mov dword [esi - 0xc], 0
mov word [esi], ax
jmp 0x100169b6
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x100169a8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x44]
mov ebx, dword [esp + 0x38]
push ebp
push eax
mov eax, dword [esp + 0x54]
push eax
mov eax, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x4c]
push eax
push esi
push edi
push str._s_s_d_d_d_d_d_d_d
push ebx
mov byte [esp + 0xe8], 4
call fcn.1001b5c0
add esi, 0xfffffff0
or ebp, 0xffffffff
add esp, 0x2c
mov byte [esp + 0xbc], 2
lea eax, [esi + 0xc]
mov ecx, ebp
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10016a15
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
mov byte [esp + 0xbc], 0
lea eax, [edi + 0xc]
lock xadd dword [eax], ebp
dec ebp
test ebp, ebp
jg 0x10016a34
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
mov ecx, dword [esp + 0xb4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x9c]
xor ecx, esp
call fcn.10026aaf
add esp, 0xac
ret