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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xc0
mov esi, ecx
mov eax, dword [0x59d024]
xor eax, ebp
mov dword [esp + 0xb8], eax
xor eax, eax
dec eax
mov dword [esp + 0x63], eax
mov dword [esp + 0x60], eax
mov ebx, dword [ecx + 0x84]
mov ecx, dword [ecx + 0x88]
cmp ebx, ecx
je 0x4d8a11
cmp byte [esi + 0xb4], 0
je 0x4d8a11
mov dword [esp + 0x3c], 0
cmp dword [esi + 0x90], 0
jne 0x4d8a42
mov edx, dword [ebx + 0x20]
mov dword [esp + 0x4c], edx
mov edx, dword [ebx + 0x24]
mov eax, dword [ebx + 0x2c]
mov dword [esp + 0x44], eax
mov eax, dword [ebx + 0x28]
mov dword [esp + 0x48], eax
mov eax, dword [ebx + 0x30]
mov dword [esp + 0x40], eax
mov al, 1
mov edi, dword [esi + 0x74]
test edi, edi
jne 0x4d8a57
xor ebx, ebx
dec ebx
mov dword [esp + 0x38], ebx
mov cl, byte [esi + 0x118]
test al, al
je 0x4d89fe
test cl, cl
je 0x4d89fe
mov ecx, dword [esi + 0x120]
xor ecx, dword [esp + 0x4c]
mov edi, dword [esi + 0x124]
xor edi, edx
or edi, ecx
jne 0x4d88c3
mov ecx, dword [esi + 0x128]
xor ecx, dword [esp + 0x48]
mov edi, dword [esi + 0x12c]
xor edi, dword [esp + 0x44]
or edi, ecx
jne 0x4d88c3
mov ecx, dword [esp + 0x3c]
cmp dword [esi + 0x130], ecx
jne 0x4d88c3
mov ecx, dword [esp + 0x40]
cmp dword [esi + 0x134], ecx
je 0x4d89e6
mov byte [esi + 0x118], al
mov ecx, dword [esp + 0x60]
mov edi, dword [esp + 0x63]
mov dword [esi + 0x119], ecx
mov dword [esi + 0x11c], edi
mov dword [esi + 0x124], edx
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0x4c]
mov dword [esi + 0x120], edx
mov eax, dword [esp + 0x44]
mov dword [esi + 0x12c], eax
mov ecx, dword [esp + 0x48]
mov dword [esi + 0x128], ecx
mov edi, ebx
mov dword [esp + 0x5c], ebx
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x130], eax
mov eax, dword [esp + 0x40]
mov dword [esi + 0x134], eax
mov eax, dword [esp + 0x38]
mov dword [esi + 0x13c], eax
mov dword [esi + 0x138], ebx
mov edi, dword [esi + 0x70]
mov dword [esp + 0x50], edi
mov ebx, dword [esp + 0x54]
mov byte [esp + 0x90], bl
mov edi, dword [esp + 0x63]
mov dword [esp + 0x94], edi
mov edi, dword [esp + 0x60]
mov dword [esp + 0x91], edi
mov dword [esp + 0x98], edx
mov edx, dword [esp + 0x58]
mov dword [esp + 0x9c], edx
mov dword [esp + 0xa0], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0xa4], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0xa8], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0xac], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xb4], eax
movsd xmm0, qword [esp + 0xb0]
movsd qword [esp + 0x28], xmm0
movups xmm0, xmmword [esp + 0x90]
movups xmm1, xmmword [esp + 0xa0]
movups xmmword [esp + 0x18], xmm1
movups xmmword [esp + 8], xmm0
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
mov dword [esp], esi
mov ecx, dword [esp + 0x50]
call fcn.004e24b0
sub esp, 0x30
mov ecx, dword [esp + 0xb8]
xor ecx, ebp
call fcn.004ed092
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
test al, al
setne ch
test cl, cl
setne cl
cmp ch, cl
je 0x4d89e6
jmp 0x4d88c3
xor eax, eax
mov dword [esp + 0x4c], 0
xor edx, edx
mov dword [esp + 0x48], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
jmp 0x4d8851
mov edi, dword [esi + 0x7c]
xor edx, edx
cmp byte [edi + 0x20], 5
setb dl
mov dword [esp + 0x3c], edx
jmp 0x4d8830
cmp byte [esi + 0xb4], 0
je 0x4d885c
mov dword [esp + 0x54], eax
mov eax, dword [esi + 0x78]
cmp dword [eax + 8], 0
mov dword [esp + 0x58], edx
jne 0x4d8bb9
mov eax, dword [esi + 0x7c]
cmp dword [eax + 8], 0
jne 0x4d8bb9
cmp ebx, ecx
jne 0x4d8bc3
lea eax, [esi + 0x10]
mov ebx, eax
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
sub esp, 4
test al, al
je 0x4d8c16
cmp dword [esi + 0x20], 0
setne byte [esp + 0x38]
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
sub esp, 4
mov eax, dword [esp + 0x54]
mov byte [esp + 0x68], al
mov eax, dword [esp + 0x60]
mov dword [esp + 0x69], eax
mov eax, dword [esp + 0x63]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x84], eax
xor eax, eax
dec eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x88], eax
mov eax, dword [edi]
mov ecx, dword [eax + 8]
mov dword [esp + 0x3c], ecx
call dword [section..00cfg]
movsd xmm0, qword [esp + 0x88]
movsd qword [esp + 0x28], xmm0
movups xmm0, xmmword [esp + 0x68]
movups xmm1, xmmword [esp + 0x78]
movups xmmword [esp + 0x18], xmm1
movups xmmword [esp + 8], xmm0
movzx eax, byte [esp + 0x38]
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
lea ebx, [esp + 0x90]
mov dword [esp], ebx
mov ecx, edi
call dword [esp + 0x3c]
sub esp, 0x34
mov cl, byte [ebx]
mov eax, dword [ebx + 1]
mov dword [esp + 0x60], eax
mov eax, dword [ebx + 4]
mov dword [esp + 0x63], eax
mov edx, dword [ebx + 0xc]
mov eax, dword [ebx + 8]
mov dword [esp + 0x4c], eax
mov eax, ecx
mov ecx, dword [ebx + 0x14]
mov dword [esp + 0x44], ecx
mov ecx, dword [ebx + 0x24]
mov dword [esp + 0x38], ecx
mov edi, dword [ebx + 0x20]
mov ecx, dword [ebx + 0x10]
mov dword [esp + 0x48], ecx
mov ecx, dword [ebx + 0x18]
mov dword [esp + 0x3c], ecx
mov ecx, dword [ebx + 0x1c]
mov ebx, edi
mov dword [esp + 0x40], ecx
jmp 0x4d8863
mov byte [esp + 0x38], 1
jmp 0x4d8abc
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x2b0]
mov dword [esp + 0x38], eax
mov eax, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x50], ecx
call dword [section..00cfg]
lea eax, [esp + 0x90]
mov dword [esp], eax
mov ecx, dword [esp + 0x38]
call dword [esp + 0x50]
sub esp, 4
lea ecx, [esp + 0x90]
mov eax, dword [ecx]
cmp eax, dword [ebx + 0x20]
mov eax, dword [ecx + 4]
sbb eax, dword [ebx + 0x24]
mov byte [esp + 0x38], 1
jl 0x4d8a8e
jmp 0x4d8abc
mov ecx, ebx
call fcn.004c2ef0
jmp 0x4d8aa7