Function at 0x4e5240
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 esi, esp
mov eax, dword [0x5f3418]
xor eax, ebp
mov dword [esi + 0xa8], eax
cmp dword [ebp + 8], 0
je 0x4e5622
mov edi, ecx
lea edx, [ebp + 8]
cmp dword [edx + 0x38], 0
jne 0x4e54f0
mov ebx, esp
pcmpeqd xmm0, xmm0
movdqa xmmword [esi + 0x90], xmm0
movdqa xmmword [esi + 0x80], xmm0
mov eax, dword [edi + 4]
mov eax, dword [eax + 0x2b8]
mov byte [esi + 0x80], 0
mov dword [esi + 0x98], eax
movdqa xmmword [esi + 0x70], xmm0
movdqa xmmword [esi + 0x60], xmm0
movdqa xmmword [esi + 0x50], xmm0
movdqa xmmword [esi + 0x40], xmm0
movdqa xmmword [esi + 0x30], xmm0
movdqa xmmword [esi + 0x20], xmm0
movdqa xmmword [esi + 0x10], xmm0
push eax
sub esp, 0x3c
mov eax, esp
mov ecx, dword [edx]
mov dword [eax + 4], ecx
mov dword [edx], 0
movups xmm0, xmmword [edx + 4]
movups xmmword [eax + 8], xmm0
movups xmm0, xmmword [edx + 0x14]
movups xmmword [eax + 0x18], xmm0
movq xmm0, qword [edx + 0x24]
movq qword [eax + 0x28], xmm0
mov ecx, dword [edx + 0x2c]
mov dword [eax + 0x30], ecx
mov dword [edx + 0x2c], 0
mov ecx, dword [edx + 0x30]
mov dword [eax + 0x34], ecx
mov dword [edx + 0x30], 0
mov ecx, dword [edx + 0x34]
mov dword [eax + 0x38], ecx
lea ecx, [esi + 0x10]
mov dword [eax], ecx
lea ecx, [esi + 0x80]
mov dword [eax + 0x3c], ecx
mov ecx, edi
call fcn.004e5630
mov esp, ebx
mov eax, dword [edi + 4]
cmp dword [eax + 0x22c], 0
jne 0x4e534b
movq xmm0, qword [0x5f7238]
pshufd xmm1, xmm0, 0x55
movd dword [esi + 0x38], xmm0
movd dword [esi + 0x3c], xmm1
mov ebx, esp
push eax
sub esp, 0x74
mov eax, esp
mov ecx, dword [esi + 0x10]
mov dword [eax], ecx
mov dword [esi + 0x10], 0
movups xmm0, xmmword [esi + 0x14]
movups xmmword [eax + 4], xmm0
movups xmm0, xmmword [esi + 0x51]
movups xmmword [eax + 0x41], xmm0
movups xmm0, xmmword [esi + 0x48]
movups xmmword [eax + 0x38], xmm0
movups xmm0, xmmword [esi + 0x28]
movups xmm1, xmmword [esi + 0x38]
movups xmmword [eax + 0x28], xmm1
movups xmmword [eax + 0x18], xmm0
movzx ecx, byte [esi + 0x6a]
mov byte [eax + 0x5a], cl
movzx ecx, word [esi + 0x68]
mov word [eax + 0x58], cx
mov ecx, dword [esi + 0x6c]
mov dword [eax + 0x5c], ecx
mov dword [esi + 0x6c], 0
movsd xmm0, qword [esi + 0x70]
movsd qword [eax + 0x60], xmm0
mov ecx, dword [esi + 0x78]
mov dword [eax + 0x68], ecx
mov dword [esi + 0x78], 0
mov ecx, dword [esi + 0x7c]
mov dword [eax + 0x6c], ecx
lea ecx, [esi + 0x80]
mov dword [eax + 0x70], ecx
mov byte [eax + 0x74], 1
mov ecx, edi
call fcn.004e5e00
mov esp, ebx
mov eax, dword [esi + 0x78]
test eax, eax
jne 0x4e549c
mov edi, dword [esi + 0x6c]
test edi, edi
jne 0x4e542d
mov edi, dword [esi + 0x10]
test edi, edi
lea ecx, [ebp + 8]
jne 0x4e54d0
mov eax, dword [ecx + 0x30]
test eax, eax
jne 0x4e5481
mov eax, dword [ecx + 0x2c]
test eax, eax
jne 0x4e55c2
mov edi, dword [ecx]
test edi, edi
jne 0x4e54b3
mov ecx, dword [esi + 0xa8]
xor ecx, ebp
call fcn.00512ee3
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x3c
lock dec dword [edi + 4]
jne 0x4e53e8
mov eax, dword [edi]
mov ebx, dword [eax + 8]
cmp ebx, 0x50b580
jne 0x4e559e
mov ebx, dword [eax + 4]
cmp ebx, 0x501670
jne 0x4e55af
mov eax, dword [edi + 0xc]
test eax, eax
je 0x4e5463
lock dec dword [eax]
je 0x4e5614
mov ebx, dword [edi + 8]
test ebx, ebx
je 0x4e5473
lock dec dword [ebx]
je 0x4e55de
push edi
call fcn.0050fc7c
add esp, 4
jmp 0x4e53e8
lock dec dword [eax]
jne 0x4e5401
push eax
mov edi, ecx
call fcn.0050fc7c
mov ecx, edi
add esp, 4
jmp 0x4e5401
lock dec dword [eax]
jne 0x4e53e1
push eax
call fcn.0050fc7c
add esp, 4
jmp 0x4e53e1
lock dec dword [edi]
jne 0x4e5416
mov ecx, dword [edi + 8]
call dword [section..00cfg]
push edi
call ecx
add esp, 4
jmp 0x4e5416
lock dec dword [edi]
jne 0x4e53f6
mov ecx, dword [edi + 8]
call dword [section..00cfg]
push edi
call ecx
lea ecx, [ebp + 8]
add esp, 4
jmp 0x4e53f6
mov dword [esi + 0xc], esp
pcmpeqd xmm0, xmm0
lea eax, [esi + 0x10]
movdqa xmmword [eax + 0x10], xmm0
movdqa xmmword [eax], xmm0
mov ecx, dword [edi + 4]
mov ecx, dword [ecx + 0x2b8]
mov byte [eax], 0
mov dword [eax + 0x18], ecx
push eax
sub esp, 0x6c
mov dword [esi + 4], esp
mov dword [esi + 8], esp
sub esp, 0x40
mov edx, esp
lea ecx, [ebp + 8]
mov ecx, dword [ecx]
mov dword [edx + 4], ecx
xor ecx, ecx
lea ebx, [ebp + 8]
mov dword [ebx], ecx
lea ebx, [ebp + 8]
movups xmm0, xmmword [ebx + 4]
movups xmmword [edx + 8], xmm0
lea ebx, [ebp + 8]
movups xmm0, xmmword [ebx + 0x14]
movups xmmword [edx + 0x18], xmm0
lea ebx, [ebp + 8]
movsd xmm0, qword [ebx + 0x24]
movsd qword [edx + 0x28], xmm0
lea ebx, [ebp + 8]
mov ebx, dword [ebx + 0x2c]
mov dword [edx + 0x30], ebx
lea ebx, [ebp + 8]
mov dword [ebx + 0x2c], ecx
lea ebx, [ebp + 8]
mov ebx, dword [ebx + 0x30]
mov dword [edx + 0x34], ebx
lea ebx, [ebp + 8]
mov dword [ebx + 0x30], ecx
lea ecx, [ebp + 8]
mov ecx, dword [ecx + 0x34]
mov dword [edx + 0x38], ecx
mov ecx, dword [esi + 4]
mov dword [edx], ecx
mov dword [edx + 0x3c], eax
mov ecx, edi
call fcn.004e5630
mov esp, dword [esi + 8]
mov ecx, edi
call fcn.004015d0
lea ecx, [ebp + 8]
mov esp, dword [esi + 0xc]
jmp 0x4e53f6
mov ecx, ebx
call dword [section..00cfg]
mov ecx, edi
call ebx
jmp 0x4e53e8
mov ecx, ebx
call dword [section..00cfg]
mov ecx, edi
push 1
call ebx
jmp 0x4e53e8
lock dec dword [eax + 4]
jne 0x4e540c
push eax
mov edi, ecx
call fcn.0050b620
mov ecx, edi
add esp, 4
jmp 0x4e540c
mov eax, dword [ebx + 0x10]
mov ecx, eax
shr ecx, 0xe
mov edx, eax
shr edx, 0x13
mov edx, dword [edx*4 + 0x6c24fc]
bt edx, ecx
jb 0x4e5625
mov dword [ebx + 0x10], 0
lea ecx, [ebx + 4]
call fcn.0040dae0
push ebx
call fcn.0050fc7c
add esp, 4
jmp 0x4e5473
push eax
call fcn.0050fc7c
add esp, 4
jmp 0x4e5463
int3
push eax
call fcn.004e3ba0
add esp, 4
jmp 0x4e55f7