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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x150
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov eax, dword [0x10146014]
xor eax, ebp
mov dword [esp + 0x148], eax
mov dword [esp + 0x140], esi
mov dword [esp + 0x144], edx
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0xd0], xmm0
movdqa xmmword [esp + 0xc0], xmm0
movdqa xmmword [esp + 0xe0], xmm0
movdqa xmmword [esp + 0xf0], xmm0
movdqa xmmword [esp + 0x100], xmm0
movdqa xmmword [esp + 0x110], xmm0
mov dword [esp + 8], ecx
lea eax, [ecx + 0x18]
pxor xmm0, xmm0
movdqa xmmword [esp + 0x90], xmm0
movdqa xmmword [esp + 0xa0], xmm0
movdqa xmmword [esp + 0xb0], xmm0
movdqu xmmword [esp + 0xc8], xmm0
movdqu xmmword [esp + 0xd8], xmm0
movdqu xmmword [esp + 0xe8], xmm0
movdqu xmmword [esp + 0xf8], xmm0
movdqu xmmword [esp + 0x108], xmm0
movdqa xmmword [esp + 0x120], xmm0
movdqa xmmword [esp + 0x130], xmm0
mov dword [esp + 4], eax
push eax
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x1003f264
lea esi, [esp + 0x84]
pcmpeqd xmm0, xmm0
movdqa xmmword [esi - 4], xmm0
mov byte [esi - 4], 1
lea eax, [esp + 0x140]
mov ecx, esi
push 2
push eax
call fcn.100945c0
cmp byte [esi - 4], 0
je 0x1003f3bf
mov eax, dword [ebp + 8]
mov edi, dword [eax + 0x10]
mov eax, dword [ebp + 0xc]
mov ebx, dword [eax + 0x10]
mov ecx, dword [edi + 4]
mov eax, dword [ebx + 4]
mov dword [esp + 0xc], ecx
cmp ecx, 1
jne 0x1003f3dc
cmp eax, 1
jne 0x1003f3dc
mov eax, dword [esp + 8]
mov ecx, dword [eax]
mov esi, dword [eax + 4]
mov edx, dword [edi + 0xc]
mov dword [esp + 0x14], esi
xor edx, esi
mov esi, dword [edi + 8]
mov dword [esp], ecx
xor esi, ecx
or esi, edx
mov edx, dword [eax + 0xc]
mov ecx, dword [eax + 8]
jne 0x1003ee14
mov esi, dword [edi + 0x10]
xor esi, ecx
mov eax, dword [edi + 0x14]
xor eax, edx
or eax, esi
jne 0x1003ee14
mov eax, dword [edi + 0x1c]
mov esi, dword [ebp + 0xc]
xor eax, dword [esi + 4]
mov esi, dword [edi + 0x18]
mov dword [esp + 0x10], edx
mov edx, ecx
mov ecx, dword [ebp + 0xc]
xor esi, dword [ecx]
mov ecx, edx
mov edx, dword [esp + 0x10]
or esi, eax
jne 0x1003ee14
mov esi, dword [ebp + 0xc]
mov eax, dword [esi + 8]
xor eax, dword [edi + 0x20]
mov esi, dword [esi + 0xc]
xor esi, dword [edi + 0x24]
or esi, eax
je 0x1003f3d9
mov esi, ecx
mov eax, dword [esp]
xor eax, dword [ebx + 8]
mov ecx, dword [esp + 0x14]
xor ecx, dword [ebx + 0xc]
or ecx, eax
jne 0x1003ee5a
xor esi, dword [ebx + 0x10]
xor edx, dword [ebx + 0x14]
or edx, esi
jne 0x1003ee5a
mov eax, dword [ebx + 0x1c]
mov edx, dword [ebp + 8]
xor eax, dword [edx + 4]
mov ecx, dword [ebx + 0x18]
xor ecx, dword [edx]
or ecx, eax
jne 0x1003ee5a
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 8]
xor eax, dword [ebx + 0x20]
mov ecx, dword [ecx + 0xc]
xor ecx, dword [ebx + 0x24]
or ecx, eax
je 0x1003f3d9
mov ecx, dword [edi + 0x60]
xor ecx, 1
xor eax, eax
inc eax
or ecx, dword [edi + 0x64]
jne 0x1003f3dc
mov ecx, dword [ebx + 0x60]
xor ecx, 1
or ecx, dword [ebx + 0x64]
jne 0x1003f3dc
lea eax, [edi + 8]
movups xmm0, xmmword [eax]
movaps xmmword [esp + 0x40], xmm0
movups xmm0, xmmword [edi + 0x18]
movaps xmmword [esp + 0x50], xmm0
mov eax, dword [ebp + 8]
movups xmm0, xmmword [eax]
movaps xmmword [esp + 0x60], xmm0
mov eax, dword [edi + 0x50]
mov ecx, dword [edi + 0x54]
xor esi, esi
inc esi
mov edx, eax
add edx, esi
mov dword [edi + 0x50], edx
mov edx, ecx
mov esi, 0
adc edx, esi
mov dword [edi + 0x54], edx
lea edx, [ebx + 8]
mov dword [esp], edx
mov edx, dword [esp + 8]
movups xmm0, xmmword [edx]
lea edx, [esp + 0xc8]
movups xmmword [edx], xmm0
mov edx, dword [ebp + 0xc]
movups xmm0, xmmword [edx]
mov esi, edx
lea edx, [esp + 0xd8]
movups xmmword [edx], xmm0
movaps xmm0, xmmword [esp + 0x60]
movaps xmmword [esp + 0xb0], xmm0
movaps xmm0, xmmword [esp + 0x40]
movaps xmm1, xmmword [esp + 0x50]
movaps xmmword [esp + 0xa0], xmm1
movaps xmmword [esp + 0x90], xmm0
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc0], eax
mov eax, dword [esp]
movups xmm0, xmmword [eax]
movaps xmmword [esp + 0x40], xmm0
movups xmm0, xmmword [ebx + 0x18]
movaps xmmword [esp + 0x50], xmm0
movups xmm0, xmmword [esi]
movaps xmmword [esp + 0x60], xmm0
mov edx, dword [ebx + 0x50]
mov dword [esp], edx
mov eax, dword [ebx + 0x54]
xor esi, esi
inc esi
add edx, esi
mov dword [ebx + 0x50], edx
mov edx, eax
mov ecx, 0
adc edx, ecx
mov dword [ebx + 0x54], edx
mov ecx, dword [esp + 8]
movups xmm0, xmmword [ecx]
lea edx, [esp + 0x120]
movups xmmword [edx], xmm0
mov esi, dword [ebp + 8]
movups xmm0, xmmword [esi]
lea edx, [esp + 0x130]
movups xmmword [edx], xmm0
movaps xmm0, xmmword [esp + 0x60]
lea edx, [esp + 0xe8]
movups xmmword [edx + 0x20], xmm0
movdqa xmm0, xmmword [esp + 0x40]
movaps xmm1, xmmword [esp + 0x50]
movups xmmword [edx + 0x10], xmm1
movdqu xmmword [edx], xmm0
mov dword [esp + 0x11c], eax
mov eax, dword [esp]
mov dword [esp + 0x118], eax
push ebx
push dword [ebp + 0xc]
push edi
push esi
call fcn.100400a0
mov eax, 3
mov dword [edi + 4], eax
mov dword [ebx + 4], eax
mov eax, dword [edi + 0x50]
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x50]
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0x54]
mov dword [esp + 0x18], eax
xor ecx, ecx
inc ecx
mov dword [edi + 0x50], ecx
mov eax, dword [edi + 0x54]
mov dword [esp + 0xc], eax
xor eax, eax
mov dword [edi + 0x54], eax
mov dword [ebx + 0x50], ecx
mov dword [ebx + 0x54], eax
cmp byte [edi + 0xc1], 0
jne 0x1003f3c1
mov al, 1
mov dword [esp], eax
cmp byte [ebx + 0xc1], 0
jne 0x1003f3cd
mov esi, dword [esp + 4]
cmp byte [esp + 0x80], 0
je 0x1003f01e
lea ecx, [esp + 0x84]
call fcn.10094640
test esi, esi
je 0x1003f029
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov ebx, 0xfffffff4
cmp byte [esp], 0
je 0x1003f24a
mov edi, dword [esp + 8]
mov ecx, edi
push dword [ebp + 8]
call fcn.1003fcc0
test eax, eax
jne 0x1003f316
mov ecx, edi
push dword [ebp + 0xc]
call fcn.1003fcc0
test eax, eax
jne 0x1003f316
lea ebx, [esp + 0x108]
mov eax, dword [edi + 0x14]
mov dword [esp + 4], eax
mov eax, 0x58
push eax
call fcn.100c1c01
add esp, 4
mov esi, eax
mov ecx, eax
lea eax, [esp + 0xd8]
push eax
lea eax, [esp + 0xcc]
push eax
push dword [ebx - 0x44]
push dword [ebx - 0x48]
lea eax, [esp + 0xc0]
push eax
lea eax, [esp + 0xb4]
push eax
call fcn.100878e0
mov dword [esp + 0x3c], esi
mov eax, dword [esp + 0x3c]
lea edx, [esp + 0x90]
mov ecx, dword [esp + 4]
push eax
push edx
call fcn.1006e160
mov esi, dword [edi + 0x14]
mov eax, 0x58
push eax
call fcn.100c1c01
add esp, 4
mov edi, eax
mov ecx, eax
lea eax, [esp + 0x130]
push eax
lea eax, [esp + 0x124]
push eax
push dword [ebx + 0x14]
push dword [ebx + 0x10]
push ebx
lea eax, [esp + 0x10c]
push eax
call fcn.100878e0
mov dword [esp + 0x3c], edi
mov eax, dword [esp + 0x3c]
mov ecx, esi
push eax
lea eax, [esp + 0xec]
push eax
call fcn.1006e160
xor eax, eax
mov dword [esp + 4], eax
mov edx, dword [esp + eax*4 + 0x140]
pxor xmm0, xmm0
movdqa xmmword [esp + 0x20], xmm0
xor eax, eax
dec eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
lea ecx, [esp + 0x40]
mov edi, edx
push edx
call fcn.10094680
mov eax, dword [esp + 0x40]
mov esi, dword [eax + 0x10]
mov al, byte [esi + 0xc0]
test al, al
jne 0x1003f272
cmp byte [esi + 0xc1], 0
jne 0x1003f272
lea ecx, [esp + 0x40]
call fcn.100946f0
mov dword [esp], 0
xor eax, eax
dec eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
lea esi, [esp + 0x74]
mov ecx, esi
mov dword [esp + 0x14], edi
push edi
call fcn.10094680
mov eax, dword [esp + 0x74]
mov eax, dword [eax + 0x10]
cmp dword [eax + 4], 4
je 0x1003f2e9
movups xmm0, xmmword [eax + 8]
movaps xmmword [esp + 0x40], xmm0
movdqu xmm0, xmmword [eax + 0x18]
movdqa xmmword [esp + 0x80], xmm0
mov ecx, dword [eax + 0x50]
mov dword [esp + 0x10], ecx
mov ebx, dword [eax + 0x54]
add ecx, 1
mov edx, ebx
adc edx, 0
mov dword [eax + 0x50], ecx
mov dword [eax + 0x54], edx
mov ecx, esi
call fcn.100946f0
mov esi, dword [esp + 8]
mov eax, dword [esi + 0x14]
mov dword [esp + 0xc], eax
push pe_nt_image_headers32
call fcn.100c1c01
add esp, 4
mov edi, eax
mov ecx, eax
lea edx, [esp + 0x80]
push edx
lea eax, [esp + 0x44]
push eax
mov eax, dword [esp + 0x1c]
push eax
push esi
push ebx
push dword [esp + 0x24]
push eax
push edx
call fcn.10087780
mov dword [esp + 0x74], edi
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0xc]
push eax
lea eax, [esp + 0x44]
push eax
call fcn.1006e160
mov edx, dword [esp]
test edx, edx
jne 0x1003f2f7
mov eax, dword [esp + 4]
inc eax
cmp eax, 2
jne 0x1003f118
xor ebx, ebx
mov ecx, dword [esp + 0x148]
xor ecx, ebp
call fcn.100c2603
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
mov ecx, dword [esp + 4]
call fcn.10084100
jmp 0x1003ed53
movdqu xmm0, xmmword [esi + 8]
movdqa xmmword [esp + 0x20], xmm0
mov ecx, dword [esi + 0x50]
mov dword [esp + 0x10], ecx
mov ebx, dword [esi + 0x54]
mov byte [esp + 0x14], al
mov eax, ecx
add eax, 1
mov ecx, ebx
adc ecx, 0
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], ecx
lea eax, [esi + 0x18]
mov dword [esp + 0xc], eax
push 0x40
call fcn.100c1c01
add esp, 4
mov dword [esp], eax
mov ecx, eax
push dword [esi + 0x7c]
push dword [esi + 0x78]
push ebx
push dword [esp + 0x1c]
push edi
push dword [esp + 0x20]
call fcn.10087870
lea ecx, [esp + 0x40]
call fcn.100946f0
cmp byte [esp + 0x14], 0
je 0x1003f17a
mov ecx, dword [esp + 8]
push edi
call fcn.1003fe30
jmp 0x1003f22f
lea ecx, [esp + 0x74]
call fcn.100946f0
jmp 0x1003f22f
mov eax, dword [esp + 8]
mov ecx, dword [eax + 0x14]
mov dword [esp + 0x1c], edx
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x20]
push eax
push edx
call fcn.1006e160
jmp 0x1003f23a
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x1003f44d
xor eax, eax
dec eax
lea ecx, [esp + 0x40]
mov dword [ecx], eax
mov dword [ecx + 4], eax
push 2
lea eax, [esp + 0x144]
push eax
call fcn.100945c0
mov edx, dword [ebp + 8]
mov edi, dword [edx + 0x10]
mov eax, dword [ebp + 0xc]
mov esi, dword [eax + 0x10]
mov ecx, dword [esp + 8]
push esi
push eax
push edi
push edx
call fcn.100400a0
xor eax, eax
mov byte [edi + 0xc0], al
mov byte [esi + 0xc0], al
xor eax, eax
inc eax
mov dword [edi + 4], eax
mov dword [esi + 4], eax
mov eax, dword [esp + 0x14]
mov dword [edi + 0x50], eax
mov eax, dword [esp + 0xc]
mov dword [edi + 0x54], eax
mov eax, dword [esp + 0x10]
mov dword [esi + 0x50], eax
mov eax, dword [esp + 0x18]
mov dword [esi + 0x54], eax
lea ecx, [esp + 0x40]
call fcn.10094640
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov esi, dword [esp + 8]
mov ecx, esi
push dword [ebp + 8]
call fcn.1008cb40
mov ecx, esi
push dword [ebp + 0xc]
call fcn.1008cb40
jmp 0x1003f24a
ud2
mov byte [edi + 0xc0], 1
jmp 0x1003eff2
mov byte [ebx + 0xc0], 1
jmp 0x1003f004
xor eax, eax
inc eax
mov bh, byte [ebp + 0x10]
cmp eax, 1
sete bl
or bl, bh
lea ecx, [esp + 0x84]
call fcn.10094640
mov byte [esp + 0x80], 0
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
cmp dword [esp + 0xc], 1
je 0x1003f410
test bh, bh
je 0x1003f41c
mov ecx, dword [esp + 8]
push dword [ebp + 8]
call fcn.1008cb40
test bl, bl
je 0x1003f42c
mov ecx, dword [esp + 8]
push dword [ebp + 0xc]
call fcn.1008cb40
xor eax, eax
dec eax
xor esi, esi
mov dword [esp], 0
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
jmp 0x1003f008
mov ecx, dword [esp + 4]
call fcn.10084100
jmp 0x1003f328