Function at 0x41a9f0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x10082c54
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100a6810]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x24], 0
mov eax, dword [esp + 0x30]
lea ebp, [ebx + ebx + 2]
cmp ebp, eax
mov dword [esp + 0x18], ebx
jge 0x41ab60
mov edi, dword [esp + 0x2c]
mov eax, ebp
imul eax, eax, 0x34
add eax, edi
lea ecx, [eax - 0x34]
push ecx
push eax
call dword [esp + 0x70]
add esp, 8
test al, al
je 0x41aa51
dec ebp
imul ebx, ebx, 0x34
mov esi, ebp
imul esi, esi, 0x34
mov ecx, dword [esi + edi]
add ebx, edi
add esi, edi
mov edi, ebx
mov ebx, dword [edi]
lea eax, [ecx - 0x10]
sub ebx, 0x10
cmp eax, ebx
je 0x41aab2
cmp dword [ebx + 0xc], 0
jl 0x41aaa7
mov edx, dword [eax]
cmp edx, dword [ebx]
jne 0x41aaa7
call fcn.0042dbd0
mov dword [esp + 0x14], eax
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41aa9c
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
mov ecx, dword [esp + 0x14]
add ecx, 0x10
mov dword [edi], ecx
jmp 0x41aab2
mov ebx, dword [ecx - 0xc]
push ecx
mov eax, edi
call fcn.00408d50
mov ecx, dword [esi + 4]
mov ebx, dword [edi + 4]
lea eax, [ecx - 0x10]
sub ebx, 0x10
cmp eax, ebx
je 0x41ab08
cmp dword [ebx + 0xc], 0
jl 0x41aafc
mov edx, dword [eax]
cmp edx, dword [ebx]
jne 0x41aafc
call fcn.0042dbd0
mov dword [esp + 0x14], eax
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41aaf0
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
mov ecx, dword [esp + 0x14]
add ecx, 0x10
mov dword [edi + 4], ecx
jmp 0x41ab08
mov ebx, dword [ecx - 0xc]
push ecx
lea eax, [edi + 4]
call fcn.00408d50
mov edx, dword [esi + 8]
mov dword [edi + 8], edx
mov eax, dword [esi + 0xc]
mov dword [edi + 0xc], eax
mov ecx, dword [esi + 0x10]
mov dword [edi + 0x10], ecx
mov edx, dword [esi + 0x14]
mov dword [edi + 0x14], edx
mov eax, dword [esi + 0x18]
mov dword [edi + 0x18], eax
mov ecx, dword [esi + 0x1c]
mov dword [edi + 0x1c], ecx
mov edx, dword [esi + 0x20]
mov dword [edi + 0x20], edx
mov eax, dword [esi + 0x24]
mov dword [edi + 0x24], eax
mov ecx, dword [esi + 0x28]
mov dword [edi + 0x28], ecx
mov edx, dword [esi + 0x2c]
mov ebx, ebp
mov dword [edi + 0x2c], edx
mov eax, dword [esi + 0x30]
lea ebp, [ebp + ebp + 2]
cmp ebp, dword [esp + 0x30]
mov dword [edi + 0x30], eax
jl 0x41aa35
mov eax, dword [esp + 0x30]
cmp ebp, eax
jne 0x41ac6c
imul ebx, ebx, 0x34
mov ecx, eax
mov eax, dword [esp + 0x2c]
imul ecx, ecx, 0x34
add ebx, eax
lea edi, [ecx + eax - 0x34]
mov ecx, dword [edi]
mov esi, ebx
mov ebx, dword [esi]
lea eax, [ecx - 0x10]
sub ebx, 0x10
cmp eax, ebx
je 0x41abcd
cmp dword [ebx + 0xc], 0
lea ebp, [ebx + 0xc]
jl 0x41abc2
mov edx, dword [eax]
cmp edx, dword [ebx]
jne 0x41abc2
call fcn.0042dbd0
mov dword [esp + 0x14], eax
or eax, 0xffffffff
lock xadd dword [ebp], eax
dec eax
test eax, eax
jg 0x41abb7
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
mov ecx, dword [esp + 0x14]
add ecx, 0x10
mov dword [esi], ecx
jmp 0x41abcd
mov ebx, dword [ecx - 0xc]
push ecx
mov eax, esi
call fcn.00408d50
mov ecx, dword [edi + 4]
mov ebx, dword [esi + 4]
lea ebp, [esi + 4]
lea eax, [ecx - 0x10]
sub ebx, 0x10
cmp eax, ebx
je 0x41ac25
cmp dword [ebx + 0xc], 0
jl 0x41ac1a
mov edx, dword [eax]
cmp edx, dword [ebx]
jne 0x41ac1a
call fcn.0042dbd0
mov dword [esp + 0x14], eax
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41ac0e
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
mov ecx, dword [esp + 0x14]
add ecx, 0x10
mov dword [ebp], ecx
jmp 0x41ac25
mov ebx, dword [ecx - 0xc]
push ecx
mov eax, ebp
call fcn.00408d50
mov edx, dword [edi + 8]
mov dword [esi + 8], edx
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov ecx, dword [edi + 0x10]
mov ebx, dword [esp + 0x30]
mov dword [esi + 0x10], ecx
mov edx, dword [edi + 0x14]
mov dword [esi + 0x14], edx
mov eax, dword [edi + 0x18]
mov dword [esi + 0x18], eax
mov ecx, dword [edi + 0x1c]
mov dword [esi + 0x1c], ecx
mov edx, dword [edi + 0x20]
mov dword [esi + 0x20], edx
mov eax, dword [edi + 0x24]
mov dword [esi + 0x24], eax
mov ecx, dword [edi + 0x28]
mov dword [esi + 0x28], ecx
mov edx, dword [edi + 0x2c]
mov dword [esi + 0x2c], edx
mov eax, dword [edi + 0x30]
mov dword [esi + 0x30], eax
dec ebx
mov ecx, dword [esp + 0x68]
push ecx
sub esp, 0x34
mov edx, esp
mov dword [esp + 0x68], esp
push edx
lea edi, [esp + 0x70]
call fcn.0041a800
mov byte [esp + 0x5c], 1
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x64]
push eax
push ecx
mov byte [esp + 0x64], 0
mov ecx, ebx
call fcn.0041ae50
add esp, 0x40
mov eax, 2
mov dword [esp + 0x24], eax
lea edx, [esp + 0x38]
mov dword [esp + 0x30], edx
mov byte [esp + 0x24], al
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41acd7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x24], 0xffffffff
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41acff
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret