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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x170
mov esi, esp
mov edi, ecx
mov ecx, dword [ebp + 0x14]
mov eax, dword [0x6401e4]
xor eax, ebp
mov dword [esi + 0x168], eax
lea eax, [edi + 0x18]
mov dword [esi + 0x3c], eax
lea eax, [ecx + 0x10]
mov dword [esi + 0x40], eax
mov dword [esi + 0x30], 0
lea ebx, [esi + 0xc0]
mov dword [esi + 0x18], edi
jmp 0x4cadd7
push eax
call fcn.00596316
add esp, 4
lea ebx, [esi + 0xc0]
push dword [esi + 0x3c]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov eax, dword [esi + 0xc]
cmp eax, 3
mov edi, dword [esi + 0x18]
jne 0x4cb543
xorps xmm0, xmm0
movaps xmmword [esi + 0x70], xmm0
mov ecx, ebx
push dword [ebp + 8]
call fcn.0050afb0
mov eax, dword [esi + 0xc0]
mov eax, dword [eax + 0x10]
movups xmm0, xmmword [eax + 8]
movaps xmmword [esi + 0x70], xmm0
mov ecx, ebx
call fcn.0050b010
mov eax, dword [esi + 0x74]
xor eax, dword [edi + 4]
mov ecx, dword [esi + 0x70]
xor ecx, dword [edi]
or ecx, eax
jne 0x4cae1f
mov eax, dword [edi + 8]
xor eax, dword [esi + 0x78]
mov ecx, dword [edi + 0xc]
xor ecx, dword [esi + 0x7c]
or ecx, eax
je 0x4cae2f
mov ecx, dword [ebp + 0x14]
call fcn.004c6750
test al, al
je 0x4cb628
mov ecx, dword [esi + 0x3c]
call fcn.00497730
mov byte [esi + 0x120], 0
mov dword [esi + 0x128], ebx
mov dword [esi + 0x12c], 0
mov dword [esi + 0x130], 0
mov dword [esi + 0x134], 0
mov dword [esi + 0x138], ebx
lea ecx, [esi + 0x12c]
push 4
call fcn.004cca30
lea eax, [esi + 0x94]
mov dword [esi + 0xac], eax
mov dword [esi + 0xbc], eax
mov byte [esi + 0xa8], 1
mov dword [esi + 0xb0], eax
mov dword [esi + 0xb4], eax
lea eax, [esi + 0xa8]
mov dword [esi + 0xb8], eax
mov ecx, dword [ebp + 0x14]
mov eax, dword [ecx + 0x38]
sub eax, dword [ecx + 0x34]
sar eax, 4
mov ecx, dword [esi + 0x12c]
mov ebx, dword [esi + 0x130]
mov edx, ebx
sub edx, ecx
sar edx, 3
imul edi, edx, 0xaaaaaaab
mov edx, eax
sub edx, edi
jbe 0x4caee0
lea ecx, [esi + 0x12c]
push edx
call fcn.004ccb50
jmp 0x4caf04
jae 0x4caf04
lea eax, [eax + eax*2]
lea edi, [ecx + eax*8]
cmp edi, ebx
je 0x4caefe
nop dword [eax]
add ebx, 0xffffffe8
mov ecx, ebx
call fcn.004ccf40
cmp edi, ebx
jne 0x4caef0
mov dword [esi + 0x130], edi
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x38]
sub ecx, dword [eax + 0x34]
sar ecx, 4
add ecx, 1
mov eax, dword [esi + 0xb0]
mov edi, dword [esi + 0xb4]
sub edi, eax
sar edi, 2
mov edx, ecx
sub edx, edi
jbe 0x4caf50
lea ecx, [esi + 0xb0]
push edx
call fcn.004cccf0
mov eax, dword [esi + 0xb0]
mov edx, dword [ebp + 0x14]
jmp 0x4caf5e
mov edx, dword [ebp + 0x14]
jae 0x4caf5e
lea ecx, [eax + ecx*4]
mov dword [esi + 0xb4], ecx
mov ecx, dword [ebp + 8]
mov dword [eax], ecx
mov ebx, dword [edx + 0x34]
cmp dword [edx + 0x38], ebx
jne 0x4cb030
mov eax, dword [esi + 0xb0]
mov edx, dword [esi + 0xb4]
sub edx, eax
sar edx, 2
lea ecx, [esi + 0x48]
push edx
push eax
call fcn.0050af10
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x10]
mov ecx, dword [edx + 0xc]
mov eax, dword [esi + 0x74]
mov dword [esi + 0x34], ecx
mov dword [esi + 0x38], eax
xor ecx, eax
mov ebx, dword [edx + 8]
mov eax, dword [esi + 0x70]
mov edi, ebx
mov dword [esi + 0x24], eax
xor edi, eax
or edi, ecx
mov eax, dword [esi + 0x7c]
mov ecx, dword [esi + 0x78]
mov dword [esi + 0x1c], ecx
mov ecx, dword [esi + 0x18]
mov edi, dword [ecx]
mov dword [esi + 0xc], edi
mov edi, dword [ecx + 4]
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], edx
jne 0x4caff0
mov ecx, dword [edx + 0x14]
mov edi, dword [edx + 0x10]
mov dword [esi + 0x2c], edi
xor edi, dword [esi + 0x1c]
mov dword [esi + 0x20], ecx
xor ecx, eax
or ecx, edi
mov ecx, dword [esi + 0x18]
jne 0x4caff0
mov edi, dword [ecx + 8]
mov eax, dword [ecx + 0xc]
mov ecx, dword [esi + 0x34]
jmp 0x4cb24f
mov ebx, dword [esi + 0x1c]
mov dword [esi + 0x20], eax
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 0x24]
xor eax, edx
mov edi, dword [esi + 0x38]
xor edi, dword [esi + 0x14]
or edi, eax
mov edi, dword [ecx + 8]
mov eax, dword [ecx + 0xc]
jne 0x4cb230
mov ecx, ebx
xor ecx, edi
mov ebx, dword [esi + 0x20]
xor ebx, eax
or ebx, ecx
jne 0x4cb230
mov dword [esi + 0xc], 3
jmp 0x4cb300
xor edi, edi
jmp 0x4cb0a0
mov eax, dword [esi + 0x1c]
mov dword [ecx], eax
lea ecx, [esi + 0x50]
call fcn.004ccf70
mov esp, edi
mov ebx, dword [esi + 0x2c]
lea eax, [ebx*8]
lea edi, [eax + eax*2]
mov ecx, dword [esi + 0x12c]
add ecx, edi
lea eax, [esi + 0x50]
push eax
call fcn.004cd020
lea ecx, [esi + 0x50]
call fcn.004ccf40
add edi, dword [esi + 0x12c]
mov eax, dword [esi + 0xb0]
mov dword [eax + ebx*4 + 4], edi
mov edi, ebx
add edi, 1
mov eax, dword [ebp + 0x14]
mov ebx, dword [eax + 0x34]
mov eax, dword [eax + 0x38]
sub eax, ebx
sar eax, 4
cmp edi, eax
jae 0x4caf6f
mov dword [esi + 0x2c], edi
shl edi, 4
lea eax, [ebx + edi]
mov dword [esi + 0x1c], eax
movups xmm0, xmmword [ebx + edi]
sub esp, 0x10
movups xmmword [esp], xmm0
call fcn.004831d0
add esp, 0x10
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0x18]
mov ecx, dword [eax + 0x20]
mov eax, 0
mov dword [esi + 0xc], ecx
test ecx, ecx
je 0x4cb210
mov edx, dword [esi + 0xc]
mov eax, edx
shr eax, 1
and eax, 0x55555555
mov ecx, edx
sub ecx, eax
mov eax, ecx
and eax, 0x33333333
shr ecx, 2
and ecx, 0x33333333
add ecx, eax
mov eax, ecx
shr eax, 4
add eax, ecx
and eax, 0xf0f0f0f
imul eax, eax, 0x1010101
shr eax, 0x18
mov dword [esi + 0x14], eax
cmp eax, 1
mov eax, dword [esi + 0x10]
ja 0x4cb130
add edx, 0xffffffff
and edx, eax
jmp 0x4cb13e
cmp eax, edx
jae 0x4cb138
mov edx, eax
jmp 0x4cb13e
mov ecx, edx
xor edx, edx
div ecx
mov eax, dword [esi + 0x18]
mov eax, dword [eax + 0x1c]
mov dword [esi + 0x24], edx
mov ecx, dword [eax + edx*4]
mov eax, 0
test ecx, ecx
je 0x4cb210
mov ecx, dword [ecx]
mov eax, 0
test ecx, ecx
je 0x4cb210
lea eax, [ebx + edi]
add eax, 8
mov edx, dword [esi + 0xc]
lea edx, [edx - 1]
mov dword [esi + 0x44], edx
mov edx, dword [esi + 0x1c]
mov edi, dword [edx]
mov dword [esi + 0x20], edi
mov edi, dword [eax]
mov dword [esi + 0x38], edi
mov eax, dword [eax + 4]
mov dword [esi + 0x34], eax
mov edi, dword [edx + 4]
mov edx, dword [esi + 0x10]
mov ebx, dword [esi + 0x24]
jmp 0x4cb1b0
and eax, dword [esi + 0x44]
cmp eax, ebx
je 0x4cb1fd
jmp 0x4cb203
mov eax, dword [ecx + 4]
cmp eax, edx
jne 0x4cb1e0
mov eax, dword [ecx + 8]
xor eax, dword [esi + 0x20]
mov edx, dword [ecx + 0xc]
xor edx, edi
or edx, eax
mov edx, dword [esi + 0x10]
jne 0x4cb1fd
mov eax, dword [ecx + 0x10]
xor eax, dword [esi + 0x38]
mov edx, dword [ecx + 0x14]
xor edx, dword [esi + 0x34]
or edx, eax
mov edx, dword [esi + 0x10]
jne 0x4cb1fd
jmp 0x4cb207
cmp dword [esi + 0x14], 1
jbe 0x4cb1a0
mov ebx, dword [esi + 0xc]
cmp eax, ebx
jb 0x4cb1f6
xor edx, edx
div ebx
mov eax, edx
mov edx, dword [esi + 0x10]
mov ebx, dword [esi + 0x24]
cmp eax, ebx
jne 0x4cb203
mov ecx, dword [ecx]
test ecx, ecx
jne 0x4cb1b0
xor eax, eax
jmp 0x4cb210
mov eax, ecx
nop dword [eax]
mov edi, esp
push eax
push eax
mov ecx, esp
mov eax, dword [eax + 0x18]
mov dword [ecx + 4], eax
test eax, eax
je 0x4cb040
lock add dword [eax], 1
jmp 0x4cb040
mov ecx, dword [esi + 0x10]
add ecx, 8
movups xmm0, xmmword [ecx]
movaps xmmword [esi + 0x70], xmm0
mov ebx, dword [esi + 0x70]
mov ecx, dword [esi + 0x74]
mov edx, dword [esi + 0x7c]
mov dword [esi + 0x20], edx
mov edx, dword [esi + 0x78]
mov dword [esi + 0x2c], edx
xor edi, dword [esi + 0x2c]
xor eax, dword [esi + 0x20]
xor ecx, dword [esi + 0x14]
or ecx, eax
xor ebx, dword [esi + 0xc]
or ebx, edi
or ebx, ecx
setne al
mov dword [esi + 0x30], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [esi + 0x10]
cmp dword [ecx + 4], eax
jne 0x4cb290
mov dword [esi + 0xc], 1
cmp byte [ecx + 0x79], 0
je 0x4cb2a0
cmp byte [ebp + 0x10], 0
jne 0x4cb2a0
mov dword [esi + 0x28], 0xfffffff2
jmp 0x4cb300
mov dword [esi + 0xc], 1
mov dword [esi + 0x28], 0xfffffff4
jmp 0x4cb300
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + 0x20]
or eax, dword [edx + 0x24]
jne 0x4cb2d0
mov eax, dword [ecx + 0x28]
mov ecx, dword [ecx + 0x2c]
mov edx, eax
add edx, 1
mov edi, ecx
adc edi, 0
mov ebx, dword [esi + 0x10]
mov dword [ebx + 0x28], edx
mov edx, dword [ebp + 0x14]
mov ebx, dword [esi + 0x10]
mov dword [ebx + 0x2c], edi
mov dword [edx + 0x20], eax
mov dword [edx + 0x24], ecx
mov eax, dword [edx + 0x34]
mov ebx, dword [edx + 0x38]
sub ebx, eax
jne 0x4cb3a9
movaps xmm0, xmmword [esi + 0x70]
mov eax, dword [ebp + 0x18]
movups xmmword [eax], xmm0
mov eax, dword [esi + 0x10]
movups xmm0, xmmword [eax + 0x18]
mov eax, dword [esi + 0x40]
movups xmmword [eax], xmm0
mov dword [esi + 0xc], 2
nop dword [eax]
lea ebx, [esi + 0xc0]
lea ecx, [esi + 0x48]
call fcn.0050af70
mov eax, dword [esi + 0xb0]
test eax, eax
je 0x4cb349
mov dword [esi + 0xb4], eax
mov ecx, dword [esi + 0xbc]
test ecx, ecx
je 0x4cb340
cmp eax, ecx
jne 0x4cb340
mov byte [ecx + 0x14], 0
jmp 0x4cb349
push eax
call fcn.00596316
add esp, 4
mov edi, dword [esi + 0x12c]
test edi, edi
je 0x4cadbf
mov ebx, dword [esi + 0x130]
mov eax, edi
cmp ebx, edi
je 0x4cb384
nop word cs:[eax + eax]
nop dword [eax]
add ebx, 0xffffffe8
mov ecx, ebx
call fcn.004ccf40
cmp edi, ebx
jne 0x4cb370
mov eax, dword [esi + 0x12c]
mov dword [esi + 0x130], edi
mov ecx, dword [esi + 0x138]
test ecx, ecx
je 0x4cadb0
cmp eax, ecx
jne 0x4cadb0
mov byte [ecx + 0x60], 0
jmp 0x4cadb9
mov dword [esi + 0x14], eax
mov ecx, dword [esi + 0x12c]
sar ebx, 4
add ecx, 0x10
xor edx, edx
mov dword [esi + 0x1c], ebx
jmp 0x4cb3cd
add edx, 1
add ecx, 0x18
mov ebx, dword [esi + 0x1c]
cmp edx, ebx
jae 0x4cb424
mov edi, dword [ecx]
cmp dword [edi + 4], 1
jne 0x4cb407
mov edi, dword [ecx - 0xc]
mov eax, dword [esi + 0x10]
xor edi, dword [eax + 0x1c]
mov ebx, dword [ecx - 0x10]
xor ebx, dword [eax + 0x18]
or ebx, edi
jne 0x4cb3c0
mov edi, dword [eax + 0x20]
xor edi, dword [ecx - 8]
mov ebx, dword [eax + 0x24]
xor ebx, dword [ecx - 4]
or ebx, edi
jne 0x4cb3c0
mov dword [esi + 0x28], 0xfffffff1
lea ebx, [esi + 0xc0]
jmp 0x4cb417
mov dword [esi + 0x28], 0xfffffff4
lea ebx, [esi + 0xc0]
mov eax, dword [esi + 0x10]
add dword [eax + 0x28], 0xffffffff
adc dword [eax + 0x2c], 0xffffffff
jmp 0x4cb306
cmp byte [esi + 0x30], 0
mov ecx, dword [esi + 0x14]
je 0x4cb2de
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0x28]
mov dword [esi + 0x20], eax
xor edx, edx
mov edi, 0x10
xor ebx, ebx
jmp 0x4cb4f8
movaps xmm0, xmmword [esi + 0x80]
mov eax, dword [esi + 0x14]
movups xmmword [eax], xmm0
movups xmm0, xmmword [ebx + 8]
mov edx, dword [esi + 0x20]
movups xmmword [edx + edi*4 - 0x40], xmm0
movups xmm0, xmmword [ebx + 0x18]
movups xmmword [edx + edi*4 - 0x30], xmm0
mov ecx, dword [esi + 0x18]
movups xmm0, xmmword [ecx]
movups xmmword [edx + edi*4 - 0x20], xmm0
movaps xmm0, xmmword [esi + 0x50]
movups xmmword [edx + edi*4 - 0x10], xmm0
movsd xmm0, qword [ebx + 0x28]
movsd qword [edx + edi*4], xmm0
movsd xmm0, qword [ebx + 0x60]
movsd qword [edx + edi*4 + 8], xmm0
movsd xmm0, qword [ebx + 0x40]
movsd qword [edx + edi*4 + 0x10], xmm0
movzx eax, byte [ebx + 0x79]
mov byte [edx + edi*4 + 0x18], al
mov dword [edx + edi*4 + 0x19], 0
mov dword [edx + edi*4 + 0x1c], 0
lea eax, [esi + 0x80]
push eax
lea eax, [esi + 0x70]
push eax
push ebx
lea eax, [esi + 0x50]
push eax
call fcn.004c7b80
mov ebx, dword [esi + 0x1c]
add ebx, 1
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x34]
mov eax, dword [eax + 0x38]
sub eax, ecx
sar eax, 4
mov edx, dword [esi + 0xc]
add edx, 0x10
add edi, 0x18
cmp ebx, eax
jae 0x4cb2de
mov dword [esi + 0x1c], ebx
mov eax, dword [esi + 0x12c]
mov ebx, dword [eax + edi]
movups xmm0, xmmword [ecx + edx]
mov dword [esi + 0xc], edx
add ecx, edx
mov dword [esi + 0x14], ecx
movaps xmmword [esi + 0x50], xmm0
xorps xmm0, xmm0
movaps xmmword [esi + 0x80], xmm0
lea ecx, [esi + 0x80]
call fcn.004c7780
mov dword [ebx + 4], 2
cmp byte [ebx + 0x79], 0
je 0x4cb450
mov byte [ebx + 0x78], 1
jmp 0x4cb450
cmp eax, 2
jne 0x4cb673
xor edi, edi
test byte [esi + 0x30], 1
je 0x4cb67a
mov ecx, dword [ebp + 0x14]
mov eax, dword [ecx + 0x34]
mov edx, dword [ecx + 0x38]
mov dword [esi + 0xc], eax
mov dword [esi + 0x14], edx
cmp edx, eax
je 0x4cb67a
xor edx, edx
mov ebx, 0x10
jmp 0x4cb5b0
mov ecx, edi
call fcn.004ccf40
mov ecx, dword [ebp + 0x14]
mov eax, dword [ecx + 0x34]
mov dword [esi + 0xc], eax
mov eax, dword [ecx + 0x38]
mov dword [esi + 0x14], eax
mov edx, dword [esi + 0x10]
add edx, 1
mov eax, dword [esi + 0x14]
sub eax, dword [esi + 0xc]
sar eax, 4
add ebx, 0x60
cmp edx, eax
jae 0x4cb678
mov dword [esi + 0x10], edx
mov edi, dword [ecx + 0x28]
mov edx, dword [edi + ebx - 0xc]
mov ecx, dword [esi + 0x18]
xor edx, dword [ecx + 4]
mov eax, dword [edi + ebx - 0x10]
xor eax, dword [ecx]
or eax, edx
jne 0x4cb620
mov eax, dword [ecx + 8]
xor eax, dword [edi + ebx - 8]
mov edx, dword [ecx + 0xc]
xor edx, dword [edi + ebx - 4]
or edx, eax
mov ecx, dword [ebp + 0x14]
jne 0x4cb596
lea ecx, [esi + 0xc0]
call fcn.00496570
add edi, ebx
mov ecx, dword [esi + 0x18]
lea eax, [esi + 0xc0]
push eax
push edi
mov edi, eax
call fcn.004c7510
test eax, eax
jne 0x4cb580
mov eax, dword [esi + 0x18]
mov ecx, dword [eax + 0x14]
mov eax, dword [ecx]
push edi
call dword [eax + 0xc]
jmp 0x4cb580
mov ecx, dword [ebp + 0x14]
jmp 0x4cb596
push 2
call fcn.00483a10
add esp, 4
test al, al
je 0x4cb66c
lea edi, [esi + 0xc0]
mov ecx, edi
push 2
push 0x4df
push str..._.._mojo_core_ports_node.cc
call fcn.00483ab0
lea eax, [esi + 0xc8]
push 0x31
push str.NotifyWillBeRoutedExternally_failed_unexpectedly.
push eax
call fcn.00401baa
add esp, 0xc
mov ecx, edi
call fcn.00483e50
mov edi, 0xfffffff4
jmp 0x4cb67a
mov edi, dword [esi + 0x28]
jmp 0x4cb67a
xor edi, edi
mov ecx, dword [esi + 0x168]
xor ecx, ebp
call fcn.00596351
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x14