Function at 0x100597f0
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 [0x100ea080]
xor eax, ebp
mov dword [esi + 0x168], eax
lea eax, [edi + 0x18]
mov dword [esi + 0x34], 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 0x10059867
push eax
call fcn.100a6614
add esp, 4
lea ebx, [esi + 0xc0]
push dword [esi + 0x34]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov eax, dword [esi + 0xc]
cmp eax, 3
mov edi, dword [esi + 0x18]
jne 0x1005a090
xorps xmm0, xmm0
movaps xmmword [esi + 0x70], xmm0
mov dword [esi + 0xc0], 0xffffffff
mov dword [esi + 0xc4], 0xffffffff
mov dword [esi + 0xc8], 0xffffffff
mov ecx, ebx
push dword [ebp + 8]
call fcn.10078df0
mov eax, dword [esi + 0xc0]
mov eax, dword [eax + 0x10]
movdqu xmm0, xmmword [eax + 8]
movdqa xmmword [esi + 0x70], xmm0
mov ecx, ebx
call fcn.10078e60
mov eax, dword [esi + 0x74]
xor eax, dword [edi + 4]
mov ecx, dword [esi + 0x70]
xor ecx, dword [edi]
or ecx, eax
jne 0x100598cf
mov eax, dword [edi + 8]
xor eax, dword [esi + 0x78]
mov ecx, dword [edi + 0xc]
xor ecx, dword [esi + 0x7c]
or ecx, eax
je 0x100598df
mov ecx, dword [ebp + 0x14]
call fcn.10054c10
test al, al
je 0x1005a19b
push dword [esi + 0x34]
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x1005a083
pcmpeqd xmm0, xmm0
movdqa xmmword [esi + 0x120], xmm0
movdqa xmmword [esi + 0x130], xmm0
movdqa xmmword [esi + 0x110], xmm0
movdqa xmmword [esi + 0x100], xmm0
movdqa xmmword [esi + 0xf0], xmm0
movdqa xmmword [esi + 0xe0], xmm0
movdqa xmmword [esi + 0xd0], xmm0
movdqa xmmword [esi + 0xc0], xmm0
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.1005b600
pcmpeqd xmm0, xmm0
movdqa xmmword [esi + 0x90], xmm0
mov dword [esi + 0xa4], 0xffffffff
mov dword [esi + 0xa0], 0xffffffff
lea eax, [esi + 0x90]
mov dword [esi + 0xa8], eax
mov dword [esi + 0xb8], eax
mov byte [esi + 0xa4], 1
mov dword [esi + 0xac], eax
mov dword [esi + 0xb0], eax
lea eax, [esi + 0xa4]
mov dword [esi + 0xb4], 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 0x10059a00
lea ecx, [esi + 0x12c]
push edx
call fcn.1005b720
jmp 0x10059a24
jae 0x10059a24
lea eax, [eax + eax*2]
lea edi, [ecx + eax*8]
cmp edi, ebx
je 0x10059a1e
nop dword [eax]
add ebx, 0xffffffe8
mov ecx, ebx
call fcn.1005bb10
cmp edi, ebx
jne 0x10059a10
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 + 0xac]
mov edi, dword [esi + 0xb0]
sub edi, eax
sar edi, 2
mov edx, ecx
sub edx, edi
jbe 0x10059a60
lea ecx, [esi + 0xac]
push edx
call fcn.1005b8c0
mov eax, dword [esi + 0xac]
jmp 0x10059a6b
jae 0x10059a6b
lea ecx, [eax + ecx*4]
mov dword [esi + 0xb0], ecx
mov ecx, dword [ebp + 8]
mov dword [eax], ecx
mov eax, dword [ebp + 0x14]
mov ebx, dword [eax + 0x34]
cmp dword [eax + 0x38], ebx
jne 0x10059b20
mov dword [esi + 0x48], 0xffffffff
mov dword [esi + 0x4c], 0xffffffff
mov eax, dword [esi + 0xac]
mov edx, dword [esi + 0xb0]
sub edx, eax
sar edx, 2
lea ecx, [esi + 0x48]
push edx
push eax
call fcn.10078d40
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x10]
mov ecx, dword [edx + 0xc]
mov eax, dword [esi + 0x74]
mov dword [esi + 0x24], 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 + 0x3c], 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 0x10059d20
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 0x10059d20
mov edi, dword [ecx + 8]
mov eax, dword [ecx + 0xc]
mov edx, dword [esi + 0xc]
mov ecx, dword [esi + 0x24]
jmp 0x10059d84
xor edi, edi
jmp 0x10059b90
mov eax, dword [esi + 0x1c]
mov dword [ecx], eax
lea ecx, [esi + 0x50]
call fcn.1005bb40
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.1005bbf0
lea ecx, [esi + 0x50]
call fcn.1005bb10
add edi, dword [esi + 0x12c]
mov eax, dword [esi + 0xac]
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 0x10059a7f
mov dword [esi + 0x2c], edi
shl edi, 4
lea eax, [ebx + edi]
mov dword [esi + 0x1c], eax
movdqu xmm0, xmmword [ebx + edi]
sub esp, 0x10
movdqu xmmword [esp], xmm0
call fcn.10044ae0
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 0x10059d00
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 0x10059c20
add edx, 0xffffffff
and edx, eax
jmp 0x10059c2e
cmp eax, edx
jae 0x10059c28
mov edx, eax
jmp 0x10059c2e
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 0x10059d00
mov ecx, dword [ecx]
mov eax, 0
test ecx, ecx
je 0x10059d00
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 + 0x3c], edi
mov eax, dword [eax + 4]
mov dword [esi + 0x38], eax
mov edi, dword [edx + 4]
mov edx, dword [esi + 0x10]
mov ebx, dword [esi + 0x24]
jmp 0x10059ca0
and eax, dword [esi + 0x44]
cmp eax, ebx
je 0x10059ced
jmp 0x10059cf3
mov eax, dword [ecx + 4]
cmp eax, edx
jne 0x10059cd0
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 0x10059ced
mov eax, dword [ecx + 0x10]
xor eax, dword [esi + 0x3c]
mov edx, dword [ecx + 0x14]
xor edx, dword [esi + 0x38]
or edx, eax
mov edx, dword [esi + 0x10]
jne 0x10059ced
jmp 0x10059cf7
cmp dword [esi + 0x14], 1
jbe 0x10059c90
mov ebx, dword [esi + 0xc]
cmp eax, ebx
jb 0x10059ce6
xor edx, edx
div ebx
mov eax, edx
mov edx, dword [esi + 0x10]
mov ebx, dword [esi + 0x24]
cmp eax, ebx
jne 0x10059cf3
mov ecx, dword [ecx]
test ecx, ecx
jne 0x10059ca0
xor eax, eax
jmp 0x10059d00
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 0x10059b30
lock add dword [eax], 1
jmp 0x10059b30
mov ebx, dword [esi + 0x1c]
mov dword [esi + 0x20], eax
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 0x3c]
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 0x10059d60
mov ecx, ebx
xor ecx, edi
mov ebx, dword [esi + 0x20]
xor ebx, eax
or ebx, ecx
jne 0x10059d60
mov dword [esi + 0xc], 3
jmp 0x10059ec0
mov ecx, dword [esi + 0x10]
add ecx, 8
movdqu xmm0, xmmword [ecx]
movdqa 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
mov edx, dword [esi + 0xc]
xor edi, dword [esi + 0x2c]
xor eax, dword [esi + 0x20]
xor ecx, dword [esi + 0x14]
or ecx, eax
xor ebx, edx
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 0x10059dd0
cmp byte [ecx + 0x79], 0
lea ebx, [esi + 0xc0]
je 0x10059de3
cmp byte [ebp + 0x10], 0
jne 0x10059de3
mov dword [esi + 0xc], 1
mov dword [esi + 0x28], 0xfffffff2
jmp 0x10059ec6
mov dword [esi + 0xc], 1
mov dword [esi + 0x28], 0xfffffff4
jmp 0x10059ec0
mov dword [esi + 0xc], 1
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + 0x20]
or eax, dword [edx + 0x24]
jne 0x10059e1a
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 0x10059e46
movaps xmm0, xmmword [esi + 0x70]
mov eax, dword [ebp + 0x18]
movups xmmword [eax], xmm0
mov eax, dword [esi + 0x10]
movdqu xmm0, xmmword [eax + 0x18]
mov eax, dword [esi + 0x40]
movdqu xmmword [eax], xmm0
mov dword [esi + 0xc], 2
jmp 0x10059ec0
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 0x10059e71
add edx, 1
add ecx, 0x18
mov ebx, dword [esi + 0x1c]
cmp edx, ebx
jae 0x10059f69
mov edi, dword [ecx]
cmp dword [edi + 4], 1
jne 0x10059ea5
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 0x10059e60
mov edi, dword [eax + 0x20]
xor edi, dword [ecx - 8]
mov ebx, dword [eax + 0x24]
xor ebx, dword [ecx - 4]
or ebx, edi
jne 0x10059e60
mov dword [esi + 0x28], 0xfffffff1
jmp 0x10059eac
mov dword [esi + 0x28], 0xfffffff4
mov eax, dword [esi + 0x10]
add dword [eax + 0x28], 0xffffffff
adc dword [eax + 0x2c], 0xffffffff
nop word [eax + eax]
lea ebx, [esi + 0xc0]
lea ecx, [esi + 0x48]
call fcn.10078db0
mov eax, dword [esi + 0xac]
test eax, eax
je 0x10059f09
mov dword [esi + 0xb0], eax
mov ecx, dword [esi + 0xb8]
test ecx, ecx
je 0x10059f00
cmp eax, ecx
jne 0x10059f00
mov byte [ecx + 0x14], 0
jmp 0x10059f09
push eax
call fcn.100a6614
add esp, 4
mov edi, dword [esi + 0x12c]
test edi, edi
je 0x1005984f
mov ebx, dword [esi + 0x130]
mov eax, edi
cmp ebx, edi
je 0x10059f44
nop word cs:[eax + eax]
nop dword [eax]
add ebx, 0xffffffe8
mov ecx, ebx
call fcn.1005bb10
cmp edi, ebx
jne 0x10059f30
mov eax, dword [esi + 0x12c]
mov dword [esi + 0x130], edi
mov ecx, dword [esi + 0x138]
test ecx, ecx
je 0x10059840
cmp eax, ecx
jne 0x10059840
mov byte [ecx + 0x60], 0
jmp 0x10059849
cmp byte [esi + 0x30], 0
mov ecx, dword [esi + 0x14]
je 0x10059e24
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 0x1005a038
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
movq xmm0, qword [ebx + 0x40]
movq 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.10056110
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 0x10059e24
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.10055cc0
mov dword [ebx + 4], 2
cmp byte [ebx + 0x79], 0
je 0x10059f90
mov byte [ebx + 0x78], 1
jmp 0x10059f90
mov ecx, dword [esi + 0x34]
call fcn.1004a7e0
jmp 0x100598f0
cmp eax, 2
jne 0x1005a1e6
xor edi, edi
test byte [esi + 0x30], 1
je 0x1005a1e9
mov ecx, dword [ebp + 0x14]
mov eax, dword [ecx + 0x34]
mov edx, dword [ecx + 0x38]
cmp edx, eax
je 0x1005a1e9
mov dword [esi + 0x10], edx
mov dword [esi + 0x14], eax
xor edx, edx
mov ebx, 0x10
jmp 0x1005a0fd
mov ecx, edi
call fcn.1005bb10
mov ecx, dword [ebp + 0x14]
mov eax, dword [ecx + 0x34]
mov dword [esi + 0x14], eax
mov eax, dword [ecx + 0x38]
mov edx, dword [esi + 0xc]
add edx, 1
mov dword [esi + 0x10], eax
sub eax, dword [esi + 0x14]
sar eax, 4
add ebx, 0x60
cmp edx, eax
jae 0x1005a202
mov dword [esi + 0xc], 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 0x1005a190
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]
mov eax, dword [esi + 0x10]
jne 0x1005a0e3
pcmpeqd xmm0, xmm0
movdqa xmmword [esi + 0xc0], xmm0
mov dword [esi + 0xd4], 0xffffffff
mov dword [esi + 0xd0], 0xffffffff
lea ecx, [esi + 0xc0]
call fcn.10049950
add edi, ebx
mov ecx, dword [esi + 0x18]
lea eax, [esi + 0xc0]
push eax
push edi
mov edi, eax
call fcn.10055a10
test eax, eax
jne 0x1005a0d0
mov eax, dword [esi + 0x18]
mov ecx, dword [eax + 0x14]
mov eax, dword [ecx]
push edi
call dword [eax + 0xc]
jmp 0x1005a0d0
mov ecx, dword [ebp + 0x14]
mov eax, dword [esi + 0x10]
jmp 0x1005a0e3
push 2
call fcn.10045310
add esp, 4
test al, al
je 0x1005a1df
lea edi, [esi + 0xc0]
mov ecx, edi
push 2
push 0x4df
push str..._.._mojo_core_ports_node.cc
call fcn.100453d0
lea eax, [esi + 0xc8]
push 0x31
push str.NotifyWillBeRoutedExternally_failed_unexpectedly.
push eax
call fcn.10001ca0
add esp, 0xc
mov ecx, edi
call fcn.100457b0
mov edi, 0xfffffff4
jmp 0x1005a1e9
mov edi, dword [esi + 0x28]
mov ecx, dword [esi + 0x168]
xor ecx, ebp
call fcn.100a6651
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x14
xor edi, edi
jmp 0x1005a1e9