Function at 0x41e190
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x488ef0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x4b2098]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov dword [esp + 0x14], 0
mov eax, dword [ecx + 0xa4]
sub eax, 0x10
push eax
mov dword [esp + 0x24], 1
call fcn.00401380
lea esi, [eax + 0x10]
add esp, 4
mov dword [esp + 0xc], esi
cmp dword [esi - 0xc], 0
mov byte [esp + 0x20], 2
jne 0x41e215
add esi, 0xfffffff0
push esi
call fcn.00401380
mov edi, dword [esp + 0x2c]
add eax, 0x10
mov dword [edi], eax
add esp, 4
mov byte [esp + 0x20], 1
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jmp 0x41e3a7
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x18]
push 0x4909a0
push edx
call fcn.00404d80
push 0x4909a4
push eax
lea eax, [esp + 0x24]
push eax
mov byte [esp + 0x38], 3
call fcn.00403080
mov eax, dword [eax]
add esp, 0x18
test eax, eax
jne 0x41e24c
or edi, 0xffffffff
jmp 0x41e270
cmp dword [esi - 0xc], 0
jge 0x41e257
or edi, 0xffffffff
jmp 0x41e270
push eax
push esi
call fcn.00467d3a
add esp, 8
test eax, eax
jne 0x41e26a
or edi, 0xffffffff
jmp 0x41e270
sub eax, esi
sar eax, 1
mov edi, eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e290
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x20], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e2b5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test edi, edi
jl 0x41e380
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx - 0xc]
mov ecx, dword [esp + 0x30]
lea eax, [eax + edi + 2]
test ecx, ecx
je 0x41e380
mov edx, dword [esi - 0xc]
test eax, eax
jl 0x41e380
cmp eax, edx
jg 0x41e380
push ecx
lea edx, [esi + eax*2]
push edx
call fcn.00467d3a
add esp, 8
test eax, eax
je 0x41e380
sub eax, esi
sar eax, 1
test eax, eax
jl 0x41e380
mov ecx, dword [esp + 0x30]
mov ecx, dword [ecx - 0xc]
add ecx, eax
push ecx
push 0x48ffc4
lea ecx, [esp + 0x14]
call fcn.00403fb0
mov esi, eax
inc esi
push esi
push 0xa
lea ecx, [esp + 0x14]
call fcn.00414b00
lea ecx, [esp + 0xc]
test eax, eax
jle 0x41e373
sub eax, esi
dec eax
push eax
push esi
mov esi, dword [esp + 0x30]
push esi
call fcn.00404640
lea ecx, [esp + 0xc]
call fcn.00401310
lea ecx, [esp + 0x2c]
call fcn.00401310
lea ecx, [esp + 0x30]
call fcn.00401310
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x18
ret 0xc
push esi
mov esi, dword [esp + 0x2c]
push esi
call fcn.00404d50
jmp 0x41e342
add esi, 0xfffffff0
push esi
call fcn.00401380
mov edi, dword [esp + 0x2c]
add eax, 0x10
mov dword [edi], eax
add esp, 4
mov byte [esp + 0x20], 1
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x41e3b3
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x20], 0
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e3d8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov dword [esp + 0x20], edx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e3fc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x18
ret 0xc