Function at 0x41e1b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x558828
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5ad634]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x40]
add ebx, 0xc
mov dword [esp + 0x14], ebx
cmp ebx, dword [esp + 0x44]
je 0x41e405
lea esp, [esp]
mov eax, dword [ebx]
mov esi, dword [ebx + 4]
mov dword [esp + 0x24], eax
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
sub esi, 0x10
mov ebp, ebx
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x41e222
cmp eax, dword [esi]
jne 0x41e222
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x41e256
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x41e419
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
inc eax
push eax
add esi, 0x10
push esi
push eax
lea ecx, [edi + 0x10]
push ecx
call fcn.00521dbb
add esp, 0x10
mov edx, dword [ebx + 8]
add edi, 0x10
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edx
mov esi, dword [esp + 0x48]
mov dword [esp + 0x38], 0
mov edi, dword [esp + 0x40]
lea eax, [esp + 0x24]
push edi
push eax
call esi
add esp, 8
test eax, eax
je 0x41e2c9
mov eax, dword [esp + 0x40]
mov byte [esp + 0x18], 0
mov ecx, dword [esp + 0x18]
push ecx
mov byte [esp + 0x20], 0
mov edx, dword [esp + 0x20]
push edx
push eax
lea eax, [ebx + 0xc]
push edi
mov ecx, ebx
call fcn.0040ca60
mov ecx, dword [esp + 0x34]
add esp, 0x10
lea edx, [esp + 0x28]
mov dword [edi], ecx
lea ecx, [edi + 4]
push edx
call fcn.00409020
mov eax, dword [esp + 0x2c]
mov dword [edi + 8], eax
jmp 0x41e3cc
lea edi, [ebx - 0xc]
lea ecx, [esp + 0x24]
push edi
push ecx
call esi
add esp, 8
test eax, eax
je 0x41e361
nop
mov edx, dword [edi]
mov dword [ebp], edx
mov ecx, dword [edi + 4]
mov esi, dword [ebp + 4]
lea ebx, [ebp + 4]
lea eax, [ecx - 0x10]
sub esi, 0x10
cmp eax, esi
je 0x41e341
cmp dword [esi + 0xc], 0
jl 0x41e335
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x41e335
push eax
call fcn.00409440
mov dword [esp + 0x24], eax
add esp, 4
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41e32a
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov ecx, dword [esp + 0x20]
add ecx, 0x10
mov dword [ebx], ecx
jmp 0x41e341
mov eax, dword [ecx - 0xc]
push eax
push ecx
mov ecx, ebx
call fcn.00409310
mov edx, dword [edi + 8]
mov dword [ebp + 8], edx
mov ebp, edi
sub edi, 0xc
lea eax, [esp + 0x24]
push edi
push eax
call dword [esp + 0x50]
add esp, 8
test eax, eax
jne 0x41e2e0
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x24]
mov dword [ebp], ecx
mov ecx, dword [esp + 0x28]
mov esi, dword [ebp + 4]
lea edi, [ebp + 4]
lea eax, [ecx - 0x10]
sub esi, 0x10
cmp eax, esi
je 0x41e3c5
cmp dword [esi + 0xc], 0
jl 0x41e3b9
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x41e3b9
push eax
call fcn.00409440
mov dword [esp + 0x24], eax
add esp, 4
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41e3ae
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov ecx, dword [esp + 0x20]
add ecx, 0x10
mov dword [edi], ecx
jmp 0x41e3c5
mov eax, dword [ecx - 0xc]
push eax
push ecx
mov ecx, edi
call fcn.00409310
mov edx, dword [esp + 0x2c]
mov dword [ebp + 8], edx
mov dword [esp + 0x38], 0xffffffff
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e3f4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add ebx, 0xc
mov dword [esp + 0x14], ebx
cmp ebx, dword [esp + 0x44]
jne 0x41e1f0
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
call fcn.00401530
int3