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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xb0
mov dword [esp + 8], edx
mov esi, ecx
mov eax, dword [0x101ece94]
xor eax, ebp
mov dword [esp + 0xa8], eax
pcmpeqd xmm0, xmm0
lea ebx, [esp + 0x10]
movq qword [ebx], xmm0
mov dword [ebx + 8], 0xffffffff
mov ecx, ebx
call fcn.10002264
test esi, esi
je 0x100016a8
cmp word [esi], 0
je 0x100016a8
xor edi, edi
inc edi
mov dword [esp + 4], 0
push ebx
push esi
call fcn.100011b4
add esp, 8
mov ebx, eax
jmp 0x100016c3
mov ecx, dword [ebp + 0xc]
xor edi, edi
lea edx, [esp + 0x10]
push edi
push edi
call fcn.10001b29
add esp, 8
mov ebx, eax
mov al, 1
mov dword [esp + 4], eax
mov esi, ebx
test ebx, ebx
jne 0x100016eb
mov esi, dword [ebp + 0x10]
lea ecx, [esp + 0x10]
call fcn.10002502
push esi
push dword [ebp + 8]
push dword [esp + 0x10]
push edi
push 1
push eax
call fcn.10002c24
add esp, 0x18
mov esi, eax
test esi, esi
js 0x10001710
lea ecx, [esp + 0x10]
call fcn.10002278
mov ecx, dword [esp + 0xa8]
xor ecx, ebp
call fcn.1015ecd2
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
test ebx, ebx
sete bl
mov eax, dword [0x101f472c]
mov ecx, dword [0x101f8284]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x1000191e
mov eax, dword [0x101f4728]
test eax, eax
je 0x100016ef
push 0x10193240
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100016ef
mov eax, dword [0x101ec004]
movdqu xmm0, xmmword [eax - 0x10]
movdqa xmmword [esp + 0x30], xmm0
mov eax, dword [0x101ec018]
or eax, dword [0x101ec01c]
jne 0x10001961
pxor xmm0, xmm0
movq qword [0x101ec020], xmm0
lea edi, [esp + 0x30]
push 0x101ec018
push section..data
push 0x10001f64
push edi
call dword [sym.imp.ADVAPI32.dll_EventRegister]
test eax, eax
jne 0x100016ef
mov eax, dword [0x101ec004]
movzx ecx, word [eax]
push ecx
push eax
push 2
push dword [0x101ec01c]
push dword [0x101ec018]
call dword [sym.imp.ADVAPI32.dll_EventSetInformation]
cmp dword [section..data], 3
jb 0x100018f2
test byte [0x101ec00d], 0x40
je 0x100018f2
mov eax, 0x4000
not eax
and eax, dword [0x101ec014]
or eax, dword [0x101ec010]
jne 0x100018f2
xor eax, eax
lea edx, [esp + 0x24]
mov ecx, dword [esp + 4]
mov byte [edx], cl
lea ecx, [esp + 0x28]
mov dword [ecx + 4], eax
mov dword [ecx], 0x1000000
mov dword [esp + 0x80], ecx
lea ecx, [esp + 0x20]
mov byte [ecx], bl
mov dword [esp + 0x84], eax
movsd xmm0, qword [0x10192db0]
movsd qword [esp + 0x88], xmm0
mov dword [esp + 0x70], edx
lea edx, [esp + 0x1c]
mov dword [edx], esi
mov dword [esp + 0x74], eax
movsd xmm0, qword [0x10192dc0]
movsd qword [esp + 0x78], xmm0
mov dword [esp + 0x64], eax
mov dword [esp + 0x60], ecx
movsd qword [esp + 0x68], xmm0
mov dword [esp + 0x54], eax
mov dword [esp + 0x50], edx
movsd xmm0, qword [0x10192dd0]
movsd qword [esp + 0x58], xmm0
movsd xmm0, qword [0x10192de0]
lea edx, [esp + 0x98]
movsd qword [edx], xmm0
mov ecx, 0x4000
mov dword [edx + 0xc], ecx
mov dword [edx + 8], eax
mov ecx, dword [0x101ec004]
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], ecx
movzx ecx, word [ecx]
mov dword [esp + 0x38], ecx
mov ecx, str.ETW0
mov ebx, 0x101d6998
sub ebx, ecx
mov dword [esp + 0x3c], 2
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], 0x101d68f4
movq xmm0, qword [0x10192df0]
movq qword [esp + 0x48], xmm0
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 0xc], ebx
push edi
push 6
push eax
push eax
push edx
push dword [0x101ec01c]
push dword [0x101ec018]
call dword [sym.imp.ADVAPI32.dll_EventWriteTransfer]
mov eax, dword [0x101ec018]
mov ecx, dword [0x101ec01c]
xor edx, edx
mov dword [section..data], edx
mov dword [0x101ec018], edx
mov dword [0x101ec01c], edx
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_EventUnregister]
jmp 0x100016ef
push 0x101f472c
call fcn.1015edfd
add esp, 4
cmp dword [0x101f472c], 0xffffffff
jne 0x10001736
push 0x800
push 0
push 0x10193226
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [0x101f4728], eax
push 0x101f472c
call fcn.1015edb3
add esp, 4
jmp 0x10001736
mov ecx, 5
int 0x29