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 [0x101ebe94]
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.1015dd59
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
test ebx, ebx
sete bl
mov eax, dword [0x101f372c]
mov ecx, dword [0x101f7284]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x1000191e
mov eax, dword [0x101f3728]
test eax, eax
je 0x100016ef
push 0x10192240
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100016ef
mov eax, dword [0x101eb004]
movdqu xmm0, xmmword [eax - 0x10]
movdqa xmmword [esp + 0x30], xmm0
mov eax, dword [0x101eb018]
or eax, dword [0x101eb01c]
jne 0x10001961
pxor xmm0, xmm0
movq qword [0x101eb020], xmm0
lea edi, [esp + 0x30]
push 0x101eb018
push section..data
push 0x10001f64
push edi
call dword [sym.imp.ADVAPI32.dll_EventRegister]
test eax, eax
jne 0x100016ef
mov eax, dword [0x101eb004]
movzx ecx, word [eax]
push ecx
push eax
push 2
push dword [0x101eb01c]
push dword [0x101eb018]
call dword [sym.imp.ADVAPI32.dll_EventSetInformation]
cmp dword [section..data], 3
jb 0x100018f2
test byte [0x101eb00d], 0x40
je 0x100018f2
mov eax, 0x4000
not eax
and eax, dword [0x101eb014]
or eax, dword [0x101eb010]
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 [0x10191db0]
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 [0x10191dc0]
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 [0x10191dd0]
movsd qword [esp + 0x58], xmm0
movsd xmm0, qword [0x10191de0]
lea edx, [esp + 0x98]
movsd qword [edx], xmm0
mov ecx, 0x4000
mov dword [edx + 0xc], ecx
mov dword [edx + 8], eax
mov ecx, dword [0x101eb004]
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, 0x101d5818
sub ebx, ecx
mov dword [esp + 0x3c], 2
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], 0x101d5774
movq xmm0, qword [0x10191df0]
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 [0x101eb01c]
push dword [0x101eb018]
call dword [sym.imp.ADVAPI32.dll_EventWriteTransfer]
mov eax, dword [0x101eb018]
mov ecx, dword [0x101eb01c]
xor edx, edx
mov dword [section..data], edx
mov dword [0x101eb018], edx
mov dword [0x101eb01c], edx
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_EventUnregister]
jmp 0x100016ef
push 0x101f372c
call fcn.1015de84
add esp, 4
cmp dword [0x101f372c], 0xffffffff
jne 0x10001736
push 0x800
push 0
push 0x10192226
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [0x101f3728], eax
push 0x101f372c
call fcn.1015de3a
add esp, 4
jmp 0x10001736
mov ecx, 5
int 0x29