Function at 0x48a450
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 [0x520014]
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 0x48a677
mov eax, dword [ecx + 0x18]
mov edx, 2
lock xadd dword [eax], edx
test dl, 1
jne 0x48a6a6
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.0048b4c0
cmp byte [esi + 4], 0
je 0x48a695
lea eax, [esi + 0x28]
mov ecx, ebx
push edi
push eax
call fcn.0048b6d0
lea ebx, [esi + 0x78]
lea edi, [esi + 0x28]
mov ecx, ebx
push edi
call fcn.0048a330
mov byte [ebx - 8], 1
mov ecx, edi
call fcn.0048b890
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.0048b430
cmp byte [ebx - 8], 0
lea ebx, [ebp + 0xc]
je 0x48a5f0
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x48a59c
lea eax, [esi + 0x7c]
push eax
call fcn.0046db70
mov dword [esi + 0x10], esp
sub esp, 0x50
mov ebx, esp
cmp byte [esi + 0x70], 0
je 0x48a70d
lea eax, [ebp + 0xc]
mov edi, dword [eax]
mov ecx, ebx
lea eax, [esi + 0x78]
push eax
call fcn.0048a330
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.0048a740
je 0x48a660
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 0x48a619
mov eax, dword [ebx]
mov al, byte [eax + 0x12]
and al, 0x7f
cmp al, 1
jne 0x48a619
mov eax, dword [edx + 0x18]
mov ecx, 0xfffffffe
lock xadd dword [eax], ecx
cmp ecx, 3
je 0x48a6c3
mov ecx, ebx
push 0
call fcn.0048b700
test al, al
jne 0x48a66c
mov ecx, dword [esi + 0xc]
push 0
call fcn.0048b510
cmp byte [esi + 0x70], 0
je 0x48a63e
lea ecx, [esi + 0x78]
call fcn.0048b890
mov ecx, ebx
call fcn.0048b550
mov edi, dword [edi]
mov ecx, dword [esi + 0xc8]
xor ecx, ebp
call fcn.0048f468
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x10
mov ecx, ebx
call fcn.0048a740
jmp 0x48a5e7
mov ecx, dword [esi + 0xc]
push ebx
call fcn.0048b520
jmp 0x48a630
cmp al, 2
je 0x48a4a3
test al, al
jne 0x48a6b7
mov eax, dword [ecx + 0x18]
mov eax, dword [eax]
test al, 1
sete al
mov dword [esi + 4], eax
jmp 0x48a4a3
lea eax, [esi + 0x28]
mov ecx, ebx
push edi
push eax
call fcn.00462730
jmp 0x48a531
mov eax, dword [ecx + 0x18]
mov edx, 0xfffffffe
lock xadd dword [eax], edx
cmp edx, 3
je 0x48a6eb
mov dword [esi + 4], 0
jmp 0x48a4a3
lea edi, [edx + 0x3c]
push edi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x48a712
mov eax, dword [esi + 8]
mov ecx, dword [eax + 0x40]
call fcn.00470930
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
lea edi, [ebp + 8]
jmp 0x48a619
lea edi, [ecx + 0x3c]
push edi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x48a71b
mov eax, dword [esi + 8]
mov ecx, dword [eax + 0x40]
call fcn.00470930
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
jmp 0x48a6b7
call fcn.004bb3f0
mov ecx, edi
call fcn.00470810
jmp 0x48a6d1
mov ecx, edi
call fcn.00470810
jmp 0x48a6f9