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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c485e
mov eax, dword fs:[0]
push eax
sub esp, 0x1fc
mov eax, dword [0x100dcd6c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0x134], ebx
mov esi, dword [ebp + 8]
xor edi, edi
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x138], edx
mov dword [ebp - 0x13c], ecx
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x140], edi
test esi, esi
je 0x10055afb
test ecx, ecx
je 0x10055afb
cmp dword [edx], 8
jb 0x10055afb
push 9
pop eax
cmp dword [edx], eax
jbe 0x100557eb
mov dword [edx], eax
mov eax, edi
mov dword [ecx + eax*8], eax
mov dword [ecx + eax*8 + 4], edi
inc eax
cmp eax, dword [edx]
jb 0x100557ed
mov dword [ebp - 4], edi
lea edi, [ebx + 4]
push edi
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockShared]
mov dword [ebp - 0x154], edi
push esi
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 1
call fcn.10092cca
push 2
pop eax
mov byte [ebp - 4], al
xor eax, eax
and dword [ebp + eax*8 - 0x74], 0
mov dword [ebp + eax*8 - 0x78], eax
inc eax
cmp eax, 9
jl 0x10055824
push ecx
lea ecx, [ebp - 0x208]
call fcn.10059813
mov esi, dword [ebp - 0x134]
mov byte [ebp - 4], 3
mov ebx, dword [ebx + 0x20]
mov eax, dword [esi + 0x24]
mov dword [ebp - 0x150], eax
mov dword [ebp - 0x144], ebx
cmp ebx, eax
je 0x100559a4
mov eax, dword [ebx + 0x34]
mov esi, dword [ebx + 0x30]
mov dword [ebp - 0x12c], eax
cmp esi, eax
je 0x10055897
cmp dword [esi + 0x14], 8
mov edx, esi
jb 0x1005587d
mov edx, dword [esi]
lea ecx, [ebp - 0x128]
call fcn.10076c36
test al, al
jne 0x100558cf
add esi, 0x18
cmp esi, dword [ebp - 0x12c]
jne 0x10055873
mov eax, dword [ebx + 0x40]
mov esi, dword [ebx + 0x3c]
mov dword [ebp - 0x12c], eax
cmp esi, eax
je 0x10055996
push dword [esi + 4]
mov edx, dword [esi]
lea ecx, [ebp - 0x128]
call fcn.10076d52
test al, al
jne 0x100558cf
add esi, 8
cmp esi, dword [ebp - 0x12c]
jne 0x100558ab
jmp 0x10055996
mov esi, dword [ebp - 0x134]
lea eax, [ebp - 0x148]
push ebx
push eax
lea ecx, [esi + 0x2c]
call fcn.10059980
mov eax, dword [ebp - 0x148]
cmp eax, dword [esi + 0x2c]
je 0x10055996
mov ebx, dword [eax + 0x28]
mov eax, dword [eax + 0x2c]
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x12c], ebx
cmp ebx, eax
je 0x10055990
xor esi, esi
add ebx, 0x64
mov ecx, dword [ebp + esi*8 - 0x74]
call fcn.1003b9fd
mov ecx, dword [ebx]
mov edx, eax
call fcn.1003b9fd
cmp edx, eax
jge 0x1005592f
mov eax, dword [ebx]
mov dword [ebp + esi*8 - 0x74], eax
inc esi
add ebx, 8
cmp esi, 9
jl 0x10055913
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x1f0]
call fcn.10059c28
or dword [ebp - 0x140], 1
lea ecx, [ebp - 0x2c]
cmp dword [ebp - 0x1c], 0
setne bl
call fcn.10053264
test bl, bl
je 0x1005596c
lea ecx, [ebp - 0x1f8]
call fcn.10059fa0
mov ebx, dword [ebp - 0x12c]
lea ecx, [ebp - 0x1f8]
mov edx, ebx
call fcn.1005a17e
mov eax, dword [ebp - 0x14c]
add ebx, 0xa8
jmp 0x10055900
mov ebx, dword [ebp - 0x144]
mov eax, dword [ebp - 0x150]
add ebx, 0x48
jmp 0x10055855
mov eax, dword [ebp - 0x138]
mov eax, dword [eax]
shl eax, 3
push eax
lea eax, [ebp - 0x78]
push eax
push dword [ebp - 0x13c]
call fcn.100b49e0
mov ebx, dword [ebp - 0x130]
add esp, 0xc
test ebx, ebx
je 0x10055a65
mov ecx, dword [ebp - 0x134]
add ecx, 8
push ecx
push 0x3c
push ebx
call fcn.1004ec46
xor eax, eax
lea ecx, [ebp - 0x1f0]
mov word [ebx + 0x78], ax
lea eax, [ebp - 0x2c]
push eax
call fcn.10059c28
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x2c]
mov dword [ebx + 0x7c], eax
call fcn.10053264
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x10055a65
xor ecx, ecx
inc eax
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.100bff95
mov esi, eax
pop ecx
mov dword [ebp - 0x130], esi
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x1f0]
call fcn.10059c28
push ecx
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2c]
push dword [ebx + 0x7c]
push esi
call fcn.1004ec46
lea ecx, [ebp - 0x2c]
call fcn.10053264
mov eax, dword [ebx + 0x7c]
xor ecx, ecx
mov word [esi + eax*2], cx
mov dword [ebx + 0x80], esi
lea ecx, [ebp - 0x208]
call fcn.10055b1c
lea ecx, [ebp - 0x110]
call fcn.1003c26d
lea ecx, [ebp - 0x128]
call fcn.10053264
test edi, edi
je 0x10055a91
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockShared]
xor eax, eax
jmp 0x10055b00
mov eax, 0x80070057
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100b2d85
leave
ret 0x10