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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x40
mov ebx, dword [ebp + 8]
mov eax, dword [0x644040]
xor eax, ebp
mov dword [esp + 0x38], eax
mov ecx, dword [fcn.005087f0]
cmp ecx, fcn.005087f0
je 0x558cee
call dword [0x63e64c]
push 0
push ebx
push 0x635c90
call ecx
add esp, 0xc
mov ecx, dword [esp + 0x38]
xor ecx, ebp
call fcn.00568175
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
test ebx, ebx
je 0x558cdb
mov eax, ebx
and eax, 0xffe00000
mov esi, dword [eax + 0x1000]
prefetcht0 byte [ebx]
mov ecx, ebx
shr ecx, 9
mov edx, ecx
and edx, 0xfe0
lea edi, [eax + edx]
add edi, 0x1000
movzx edx, byte [eax + edx + 0x101e]
and edx, 0x3f
shl edx, 5
sub edi, edx
mov edx, esi
prefetcht0 byte [edi]
cmp byte [esi + 4], 0
mov dword [esp], edi
je 0x558d8e
test ebx, 0xfff
je 0x558e65
cmp byte [0x64a7fc], 0
je 0x5592ce
mov eax, dword [edi + 8]
mov eax, dword [eax + 0xc]
lea esi, [ebx + eax]
add esi, 0xfffffffc
mov eax, dword [esi]
and eax, 0x3fffffff
cmp eax, 1
jne 0x55920b
mov eax, dword [esi]
nop dword [eax]
mov ecx, eax
and ecx, 0xfffffffe
lock cmpxchg dword [esi], ecx
jne 0x558d70
test al, 1
je 0x5592e3
test eax, 0x3ffffffe
jne 0x559253
cmp byte [edx + 3], 0
je 0x558eaa
mov eax, dword [0x64783c]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
cmp byte [eax + 0x90], 0
je 0x5592d5
mov eax, dword [0x64783c]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
mov esi, dword [eax + 0xc8]
cmp esi, 2
jb 0x558eaa
mov eax, edi
mov edi, ebx
mov ebx, dword [eax + 8]
lea eax, [edx + 0x48]
lea ecx, [edx + 0x1148]
cmp ecx, ebx
setae cl
cmp eax, ebx
ja 0x5592c7
test cl, cl
je 0x558e81
sub ebx, eax
sar ebx, 5
add dword [esi + 0x30], 1
adc dword [esi + 0x34], 0
movzx eax, word [0x646148]
cmp ebx, eax
ja 0x558e79
mov eax, dword [esi + ebx*8 + 0x78]
bswap eax
mov dword [edi], eax
mov dword [esi + ebx*8 + 0x78], edi
inc byte [esi + ebx*8 + 0x7c]
movzx eax, word [esi + ebx*8 + 0x7e]
add dword [esi], eax
add dword [esi + 0x38], 1
adc dword [esi + 0x3c], 0
movzx eax, byte [esi + ebx*8 + 0x7d]
cmp byte [esi + ebx*8 + 0x7c], al
ja 0x558f36
movzx eax, byte [esi + 4]
test al, 1
jne 0x559294
movzx eax, word [esi + ebx*8 + 0x7e]
sub eax, dword [edx + 0x10]
add dword [esi + 0x68], 1
adc dword [esi + 0x6c], 0
add dword [esi + 0x70], eax
adc dword [esi + 0x74], 0
jmp 0x558cdb
and ecx, 0xff8
lea esi, [ecx + eax]
add esi, 0x2000
jmp 0x558d5b
add dword [esi + 0x40], 1
adc dword [esi + 0x44], 0
mov eax, dword [esp]
test byte [eax + 0xf], 8
jne 0x559280
mov eax, dword [eax + 8]
add eax, 0xc
mov ebx, edi
mov eax, dword [eax]
sub eax, dword [edx + 0x10]
add dword [esi + 0x68], 1
adc dword [esi + 0x6c], 0
add dword [esi + 0x70], eax
adc dword [esi + 0x74], 0
mov dword [ebx], 0
lea esi, [edx + 0x40]
push esi
mov edi, ebx
mov ebx, edx
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x559288
mov edx, dword [esp]
mov eax, dword [edx + 8]
mov eax, dword [eax + 0xc]
sub dword [ebx + 0x117c], eax
mov eax, dword [edx]
cmp eax, edi
je 0x5592fe
bswap eax
mov dword [edi], eax
mov dword [edx], edi
mov eax, dword [edx + 0xc]
mov ecx, eax
and ecx, 0xefffffff
mov dword [edx + 0xc], ecx
test eax, 0x3ffe
je 0x559301
mov ecx, edx
lea edi, [eax + 0x3ffe]
and edi, 0x3ffe
mov edx, eax
and edx, 0xefffc001
or edx, edi
mov dword [ecx + 0xc], edx
test al, 1
jne 0x558f2d
test edi, edi
je 0x558f2d
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
jmp 0x558cdb
push 1
call fcn.00508f60
jmp 0x558f21
mov dword [esp + 8], edx
movzx edi, al
mov dword [esp], edi
shr edi, 1
mov ecx, dword [esi + ebx*8 + 0x78]
movzx eax, word [esi + ebx*8 + 0x7e]
push eax
call fcn.00508ee0
movzx eax, byte [esi + ebx*8 + 0x7c]
cmp byte [esp], 1
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], eax
jbe 0x559104
mov ecx, dword [esi + ebx*8 + 0x78]
movzx eax, word [esi + ebx*8 + 0x7e]
mov dword [esp + 0xc], eax
mov edx, edi
cmp dl, 1
je 0x558f9f
lea eax, [edx - 1]
mov edi, ecx
mov ecx, dword [ecx]
test ecx, ecx
je 0x5592eb
bswap ecx
test ecx, 0x1fc000
je 0x55932e
prefetcht0 byte [ecx]
dec eax
jne 0x558f7f
mov eax, dword [ecx]
test eax, eax
mov dword [esp + 0x10], ecx
je 0x5592c0
bswap eax
test eax, 0x1fc000
je 0x559304
mov edi, eax
prefetcht0 byte [eax]
mov eax, dword [esi + 0x2f8]
add eax, 0x40
mov dword [esp + 4], eax
push eax
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x5592a4
test edi, edi
je 0x5590d1
mov edx, edi
jmp 0x558ffc
xor edi, edi
jmp 0x559013
push 1
call fcn.00508f60
mov edx, edi
test edi, edi
je 0x5590d1
mov edi, dword [edx]
test edi, edi
je 0x558fe7
bswap edi
test edi, 0x1fc000
je 0x55931a
prefetcht0 byte [edi]
mov eax, dword [esi + 0x2f8]
mov dword [esp + 0x14], eax
mov ecx, edx
and ecx, 0xffe00000
mov dword [esp], edx
mov edx, dword [esp]
shr edx, 9
and edx, 0x1fe0
or edx, ecx
mov ecx, edx
or ecx, 0x1000
or edx, 0x101e
movzx edx, byte [edx]
and edx, 0x3f
shl edx, 5
sub ecx, edx
mov edx, dword [ecx + 8]
mov edx, dword [edx + 0xc]
mov eax, dword [esp + 0x14]
sub dword [eax + 0x117c], edx
mov edx, dword [esp]
mov eax, dword [ecx]
cmp eax, edx
je 0x5592f2
bswap eax
mov dword [edx], eax
mov dword [ecx], edx
mov eax, dword [ecx + 0xc]
mov edx, eax
and edx, 0xefffffff
mov dword [ecx + 0xc], edx
test eax, 0x3ffe
je 0x5592f5
mov edx, eax
mov eax, 0x3ffe
mov dword [esp], edx
add edx, eax
and edx, eax
mov eax, dword [esp]
and eax, 0xefffc001
or eax, edx
mov dword [ecx + 0xc], eax
test byte [esp], 1
jne 0x558feb
test edx, edx
jne 0x558ff2
jmp 0x558feb
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov dword [esi + ebx*8 + 0x78], 0
jmp 0x5590e5
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov eax, dword [esp + 0x10]
mov dword [eax], 0
mov ecx, dword [esp + 0x1c]
mov byte [esi + ebx*8 + 0x7c], cl
sub ecx, dword [esp + 0x18]
movzx eax, word [esi + ebx*8 + 0x7e]
imul eax, ecx
add dword [esi], eax
mov edx, dword [esp + 8]
jmp 0x558e3d
movzx eax, word [esi + ebx*8 + 0x7e]
mov dword [esp + 0x10], eax
mov edi, dword [esi + ebx*8 + 0x78]
mov eax, dword [esi + 0x2f8]
add eax, 0x40
mov dword [esp + 4], eax
push eax
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x5592b2
test edi, edi
je 0x5590bd
mov edx, edi
jmp 0x55914a
xor edi, edi
jmp 0x559161
push 1
call fcn.00508f60
mov edx, edi
test edi, edi
je 0x5590bd
mov edi, dword [edx]
test edi, edi
je 0x559135
bswap edi
test edi, 0x1fc000
je 0x55935c
prefetcht0 byte [edi]
mov eax, dword [esi + 0x2f8]
mov dword [esp + 0x14], eax
mov ecx, edx
and ecx, 0xffe00000
mov dword [esp], edx
mov edx, dword [esp]
shr edx, 9
and edx, 0x1fe0
or edx, ecx
mov ecx, edx
or ecx, 0x1000
or edx, 0x101e
movzx edx, byte [edx]
and edx, 0x3f
shl edx, 5
sub ecx, edx
mov edx, dword [ecx + 8]
mov edx, dword [edx + 0xc]
mov eax, dword [esp + 0x14]
sub dword [eax + 0x117c], edx
mov edx, dword [esp]
mov eax, dword [ecx]
cmp eax, edx
je 0x5592f8
bswap eax
mov dword [edx], eax
mov dword [ecx], edx
mov eax, dword [ecx + 0xc]
mov edx, eax
and edx, 0xefffffff
mov dword [ecx + 0xc], edx
test eax, 0x3ffe
je 0x5592fb
mov edx, eax
mov eax, 0x3ffe
mov dword [esp], edx
add edx, eax
and edx, eax
mov eax, dword [esp]
and eax, 0xefffc001
or eax, edx
mov dword [ecx + 0xc], eax
test byte [esp], 1
jne 0x559139
test edx, edx
jne 0x559140
jmp 0x559139
test byte [edi + 0xf], 8
mov eax, edi
mov edi, ebx
jne 0x55938a
mov eax, dword [eax + 8]
add eax, 0xc
mov ebx, dword [eax]
mov dword [esp + 8], edx
sub ebx, dword [edx + 0x10]
mov ecx, dword [0x6567ac]
test ecx, ecx
jne 0x559392
push ebx
push 0xef
mov ebx, edi
push edi
call fcn.00569910
add esp, 0xc
mov edx, dword [esp + 8]
mov edi, dword [esp]
jmp 0x558d6b
mov eax, dword [edi + 8]
mov eax, dword [eax + 0xc]
lock add dword [edx + 0x1198], eax
lock inc dword [edx + 0x119c]
mov eax, dword [edi + 8]
mov eax, dword [eax + 0xc]
lock add dword [edx + 0x11a0], eax
lock inc dword [edx + 0x11a4]
jmp 0x558cdb
add eax, 0x20
jmp 0x558e94
mov ecx, esi
call fcn.0051aca0
jmp 0x558ec6
mov ecx, esi
mov edi, edx
call fcn.00509580
mov edx, edi
jmp 0x558e49
mov ecx, dword [esp + 4]
call fcn.0051aca0
jmp 0x558fdb
mov ecx, dword [esp + 4]
call fcn.0051aca0
jmp 0x55912d
xor edi, edi
jmp 0x558fbf
xor ecx, ecx
jmp 0x558def
xor eax, eax
jmp 0x558d55
mov esi, edx
call fcn.00567cb4
mov edx, esi
jmp 0x558db4
mov ecx, esi
push eax
call fcn.00595360
xor ecx, ecx
jmp 0x558f9c
int3
int3
int3
int3
int3
int3
pcmpeqd xmm0, xmm0
lea esi, [esp + 0x20]
movdqa xmmword [esi], xmm0
mov eax, ecx
mov ecx, esi
push 0
push dword [eax]
jmp 0x559340
pcmpeqd xmm0, xmm0
lea esi, [esp + 0x20]
movdqa xmmword [esi], xmm0
mov ecx, esi
push 0
push dword [edx]
jmp 0x559340
pcmpeqd xmm0, xmm0
lea esi, [esp + 0x20]
movdqa xmmword [esi], xmm0
mov ecx, esi
push 0
push dword [edi]
push str.first
call fcn.005952f0
push esi
call fcn.00405c30
add esp, 4
push dword [esp + 0xc]
call fcn.005d3e90
pcmpeqd xmm0, xmm0
lea esi, [esp + 0x20]
movdqa xmmword [esi], xmm0
mov ecx, esi
push 0
push dword [edx]
push str.first
call fcn.005952f0
push esi
call fcn.00405c30
add esp, 4
push dword [esp + 0x10]
call fcn.005d3e90
add eax, 0x20
jmp 0x55921f
call dword [0x63e64c]
push ebx
mov ebx, edi
push edi
call ecx
add esp, 8
jmp 0x559247