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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xd0
mov esi, esp
mov eax, dword [0x526014]
xor eax, ebp
mov dword [esi + 0xc8], eax
lea ebx, [ebp + 0xc]
mov eax, dword [ebx - 4]
mov dword [esi + 0xc], eax
mov eax, dword [ebx]
mov al, byte [eax + 0x12]
and al, 0x7f
mov dl, 1
mov dword [esi + 4], edx
cmp al, 1
mov dword [esi + 8], ecx
jne 0x48fa87
mov eax, dword [ecx + 0x18]
mov edx, 2
lock xadd dword [eax], edx
test dl, 1
jne 0x48fab6
pcmpeqd xmm0, xmm0
movdqa xmmword [esi + 0x70], xmm0
movdqa xmmword [esi + 0x80], xmm0
movdqa xmmword [esi + 0x90], xmm0
movdqa xmmword [esi + 0xa0], xmm0
movdqa xmmword [esi + 0xb0], xmm0
xor eax, eax
dec eax
mov dword [esi + 0xc4], eax
mov dword [esi + 0xc0], eax
mov byte [esi + 0x70], 0
pxor xmm0, xmm0
movdqu xmmword [esi + 0x78], xmm0
movdqu xmmword [esi + 0x88], xmm0
movdqu xmmword [esi + 0x98], xmm0
movdqu xmmword [esi + 0xa8], xmm0
xor ecx, ecx
mov dword [esi + 0xbc], ecx
mov dword [esi + 0xb8], ecx
lea edi, [esi + 0x14]
mov dword [edi], eax
mov ecx, dword [ebx]
push edi
call fcn.004908d0
cmp byte [esi + 4], 0
je 0x48faa5
lea eax, [esi + 0x28]
mov ecx, ebx
push edi
push eax
call fcn.00490ae0
lea ebx, [esi + 0x78]
lea edi, [esi + 0x28]
mov ecx, ebx
push edi
call fcn.0048f740
mov byte [ebx - 8], 1
mov ecx, edi
call fcn.00490ca0
lea ecx, [esi + 0x14]
mov eax, dword [ecx]
mov dl, byte [eax + 0x10]
mov byte [esi + 0x20], dl
movsd xmm0, qword [eax + 8]
movsd qword [esi + 0x18], xmm0
mov edx, dword [eax + 0x11]
mov dword [esi + 0x21], edx
movzx eax, word [eax + 0x15]
mov word [esi + 0x25], ax
movsd qword [edi], xmm0
movsd xmm0, qword [esi + 0x1f]
movsd qword [edi + 7], xmm0
lea edi, [ebp + 8]
call fcn.00490840
cmp byte [ebx - 8], 0
lea ebx, [ebp + 0xc]
je 0x48fa00
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x48f9ac
lea eax, [esi + 0x7c]
push eax
call fcn.004710e0
mov dword [esi + 0x10], esp
sub esp, 0x50
mov ebx, esp
cmp byte [esi + 0x70], 0
je 0x48fb1d
lea eax, [ebp + 0xc]
mov edi, dword [eax]
mov ecx, ebx
lea eax, [esi + 0x78]
push eax
call fcn.0048f740
mov dword [ebx + 0x48], edi
lea eax, [esi + 0x28]
mov dword [ebx + 0x4c], eax
mov ebx, dword [esi + 8]
mov eax, dword [ebx]
mov edi, dword [eax + 4]
cmp edi, fcn.0048fb50
je 0x48fa7b
mov ecx, edi
call dword [section..00cfg]
mov ecx, ebx
call edi
lea edi, [ebp + 8]
mov esp, dword [esi + 0x10]
lea ebx, [ebp + 0xc]
cmp byte [esi + 4], 0
mov edx, dword [esi + 8]
je 0x48fa29
mov eax, dword [ebx]
mov al, byte [eax + 0x12]
and al, 0x7f
cmp al, 1
jne 0x48fa29
mov eax, dword [edx + 0x18]
mov ecx, 0xfffffffe
lock xadd dword [eax], ecx
cmp ecx, 3
je 0x48fad3
mov ecx, ebx
push 0
call fcn.00490b10
test al, al
jne 0x48fa70
mov ecx, dword [esi + 0xc]
push 0
call fcn.00490920
cmp byte [esi + 0x70], 0
je 0x48fa4e
lea ecx, [esi + 0x78]
call fcn.00490ca0
mov ecx, ebx
call fcn.00490960
mov edi, dword [edi]
mov ecx, dword [esi + 0xc8]
xor ecx, ebp
call fcn.004948c8
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x10
mov ecx, dword [esi + 0xc]
push ebx
call fcn.00490930
jmp 0x48fa40
mov ecx, ebx
call fcn.0048fb50
jmp 0x48f9f7
cmp al, 2
je 0x48f8b3
test al, al
jne 0x48fac7
mov eax, dword [ecx + 0x18]
mov eax, dword [eax]
test al, 1
sete al
mov dword [esi + 4], eax
jmp 0x48f8b3
lea eax, [esi + 0x28]
mov ecx, ebx
push edi
push eax
call fcn.00465280
jmp 0x48f941
mov eax, dword [ecx + 0x18]
mov edx, 0xfffffffe
lock xadd dword [eax], edx
cmp edx, 3
je 0x48fafb
mov dword [esi + 4], 0
jmp 0x48f8b3
lea edi, [edx + 0x3c]
push edi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x48fb22
mov eax, dword [esi + 8]
mov ecx, dword [eax + 0x40]
call fcn.00474000
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
lea edi, [ebp + 8]
jmp 0x48fa29
lea edi, [ecx + 0x3c]
push edi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x48fb2b
mov eax, dword [esi + 8]
mov ecx, dword [eax + 0x40]
call fcn.00474000
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
jmp 0x48fac7
call fcn.004c0850
mov ecx, edi
call fcn.00473ee0
jmp 0x48fae1
mov ecx, edi
call fcn.00473ee0
jmp 0x48fb09