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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xb8
mov ebx, ecx
mov eax, dword [0x597010]
xor eax, ebp
mov dword [esp + 0xb0], eax
mov dword [esp + 0x5b], 0xffffffff
mov dword [esp + 0x58], 0xffffffff
mov esi, dword [ecx + 0x84]
mov eax, dword [ecx + 0x88]
cmp esi, eax
je 0x4c12c9
cmp byte [ebx + 0xb4], 0
je 0x4c12c9
cmp dword [ebx + 0x90], 0
je 0x4c12fd
mov ecx, dword [ebx + 4]
mov edi, dword [ebx + 0x7c]
movzx ecx, byte [ecx + 0x35]
xor edx, edx
cmp cl, byte [edi + 0x20]
setae dl
mov dword [esp + 0x38], edx
jmp 0x4c1305
mov dword [esp + 0x40], 0
xor edx, edx
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
jmp 0x4c132a
mov dword [esp + 0x38], 0
mov edx, dword [esi + 0x20]
mov ecx, dword [esi + 0x24]
mov dword [esp + 0x48], ecx
mov ecx, dword [esi + 0x2c]
mov dword [esp + 0x44], ecx
mov ecx, dword [esi + 0x28]
mov dword [esp + 0x4c], ecx
mov ecx, dword [esi + 0x30]
mov dword [esp + 0x3c], ecx
mov cl, 1
mov dword [esp + 0x40], ecx
mov edi, dword [ebx + 0x74]
test edi, edi
je 0x4c14f3
cmp byte [ebx + 0xb4], 0
je 0x4c14f3
mov ecx, dword [ebx + 0x78]
mov byte [esp + 0x34], 1
cmp dword [ecx + 8], 0
jne 0x4c13d8
mov ecx, dword [ebx + 0x7c]
cmp dword [ecx + 8], 0
jne 0x4c13d8
cmp esi, eax
mov dword [esp + 0x50], edx
je 0x4c13a0
mov eax, dword [ebx + 4]
mov eax, dword [eax + 0x1e0]
mov ecx, dword [0x599b40]
call dword [section..00cfg]
lea eax, [esp + 0x88]
mov dword [esp], eax
call ecx
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x88]
cmp eax, dword [esi + 0x20]
mov eax, dword [esp + 0x8c]
sbb eax, dword [esi + 0x24]
jge 0x4c13d8
lea esi, [ebx + 0x10]
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
sub esp, 4
test al, al
jne 0x4c13bf
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
sub esp, 4
cmp dword [ebx + 0x20], 0
setne byte [esp + 0x34]
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
sub esp, 4
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x40]
mov byte [esp + 0x60], al
mov eax, dword [esp + 0x58]
mov dword [esp + 0x61], eax
mov eax, dword [esp + 0x5b]
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], edx
mov eax, dword [esp + 0x48]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x84], 0xffffffff
mov dword [esp + 0x80], 0xffffffff
mov eax, dword [edi]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [section..00cfg]
movsd xmm0, qword [esp + 0x80]
movsd qword [esp + 0x28], xmm0
movups xmm0, xmmword [esp + 0x60]
movups xmm1, xmmword [esp + 0x70]
movups xmmword [esp + 0x18], xmm1
movups xmmword [esp + 8], xmm0
movzx eax, byte [esp + 0x34]
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
lea eax, [esp + 0x88]
mov dword [esp], eax
mov ecx, edi
call esi
sub esp, 0x34
movzx edx, byte [esp + 0x88]
mov eax, dword [esp + 0x89]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x5b], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x9c]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0xac]
mov dword [esp + 0x34], ecx
mov esi, dword [esp + 0xa8]
mov ecx, dword [esp + 0x98]
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0xa0]
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0xa4]
mov dword [esp + 0x3c], ecx
jmp 0x4c1506
mov eax, edx
mov esi, 0xffffffff
mov dword [esp + 0x34], 0xffffffff
mov edx, dword [esp + 0x40]
movzx ecx, byte [ebx + 0x118]
test dl, dl
je 0x4c1562
test cl, cl
je 0x4c1562
mov ecx, dword [ebx + 0x120]
mov edi, eax
xor ecx, eax
mov edi, dword [ebx + 0x124]
xor edi, dword [esp + 0x48]
or edi, ecx
jne 0x4c1574
mov ecx, dword [ebx + 0x128]
xor ecx, dword [esp + 0x4c]
mov edi, dword [ebx + 0x12c]
xor edi, dword [esp + 0x44]
or edi, ecx
jne 0x4c1574
mov ecx, dword [esp + 0x38]
cmp dword [ebx + 0x130], ecx
jne 0x4c1574
mov ecx, dword [esp + 0x3c]
cmp dword [ebx + 0x134], ecx
jne 0x4c1574
jmp 0x4c1695
test dl, dl
setne ch
test cl, cl
setne cl
cmp ch, cl
je 0x4c1695
mov byte [ebx + 0x118], dl
mov ecx, dword [esp + 0x58]
mov edi, dword [esp + 0x5b]
mov dword [ebx + 0x119], ecx
mov dword [ebx + 0x11c], edi
mov dword [esp + 0x40], edx
mov ecx, dword [esp + 0x48]
mov dword [ebx + 0x124], ecx
mov edx, eax
mov dword [ebx + 0x120], eax
mov edi, esi
mov dword [esp + 0x54], esi
mov eax, dword [esp + 0x44]
mov dword [ebx + 0x12c], eax
mov ecx, dword [esp + 0x4c]
mov dword [ebx + 0x128], ecx
mov esi, dword [esp + 0x38]
mov dword [ebx + 0x130], esi
mov eax, dword [esp + 0x3c]
mov dword [ebx + 0x134], eax
mov eax, dword [esp + 0x34]
mov dword [ebx + 0x13c], eax
mov dword [ebx + 0x138], edi
mov edi, dword [ebx + 0x70]
mov dword [esp + 0x50], edi
mov eax, dword [esp + 0x40]
mov byte [esp + 0x88], al
mov edi, dword [esp + 0x5b]
mov dword [esp + 0x8c], edi
mov edi, dword [esp + 0x58]
mov dword [esp + 0x89], edi
mov dword [esp + 0x90], edx
mov eax, dword [esp + 0x48]
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], ecx
mov eax, dword [esp + 0x44]
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], esi
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0xac], eax
movsd xmm0, qword [esp + 0xa8]
movsd qword [esp + 0x28], xmm0
movups xmm0, xmmword [esp + 0x88]
movups xmm1, xmmword [esp + 0x98]
movups xmmword [esp + 0x18], xmm1
movups xmmword [esp + 8], xmm0
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
mov dword [esp], ebx
mov ecx, dword [esp + 0x50]
call fcn.004ce660
sub esp, 0x30
mov ecx, dword [esp + 0xb0]
xor ecx, ebp
call fcn.00528e13
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4