Function at 0x41cdd0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4619f2
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c003c]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], 0
mov eax, dword [0x46a704]
mov dword [esp + 0x1c], eax
mov edx, 1
lock xadd dword [eax], edx
mov eax, dword [ecx + 0xc]
add eax, 0x30
mov eax, dword [eax]
mov dword [esp + 0x68], 0
mov dword [esp + 0x18], eax
mov ecx, 1
lock xadd dword [eax], ecx
mov eax, dword [esp + 0x18]
test byte [eax + 0x10], 1
jne 0x41ce49
mov edx, dword [eax + 4]
push edx
lea ecx, [esp + 0x1c]
call fcn.00403a40
mov byte [esp + 0x68], 1
call fcn.00430a20
mov edi, eax
mov eax, dword [esp + 0x70]
add eax, 0x30
push eax
lea ecx, [esp + 0x44]
push ecx
mov dword [esp + 0x44], edi
call fcn.004044f0
add esp, 8
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x48]
mov byte [esp + 0x68], 2
jmp 0x41ce80
mov ecx, dword [esp + 0x44]
mov esi, ecx
inc ecx
mov dword [esp + 0x44], ecx
test esi, esi
jne 0x41d09b
cmp eax, dword [esp + 0x4c]
je 0x41d09b
mov esi, dword [eax]
mov dword [esp + 0x30], esi
cmp dword [esp + 0x44], 0
je 0x41d08b
mov eax, dword [edx + 8]
lea ecx, [edx + eax*4 + 0x14]
mov eax, dword [edx + 0xc]
lea eax, [edx + eax*4 + 0x14]
cmp eax, ecx
je 0x41cecb
sub eax, 4
cmp dword [eax], esi
je 0x41cf19
cmp eax, ecx
jne 0x41cec0
xor al, al
movzx ecx, al
neg ecx
sbb ecx, ecx
lea eax, [esp + 0x17]
test eax, ecx
jne 0x41d082
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call dword [0x46be04]
mov ebx, eax
test ebx, ebx
jne 0x41cf43
push 0x14
call fcn.0045dcdc
add esp, 4
mov dword [esp + 0x38], eax
mov byte [esp + 0x68], 3
test eax, eax
je 0x41cf1d
mov edx, dword [esp + 0x24]
push esi
push edx
mov ecx, eax
call fcn.00445a70
jmp 0x41cf1f
mov al, 1
jmp 0x41cecd
xor eax, eax
mov dword [esp + 0x34], eax
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x6c], 2
call fcn.00414810
mov edx, dword [esp + 0x18]
dec dword [esp + 0x44]
jmp 0x41cea3
mov ecx, ebx
call dword [0x46be08]
mov ebp, eax
mov ecx, esi
mov dword [esp + 0x38], ebp
call dword [0x46be08]
mov dword [esp + 0x34], eax
cmp eax, ebp
lea eax, [esp + 0x34]
jl 0x41cf69
lea eax, [esp + 0x38]
mov eax, dword [eax]
xor ebp, ebp
mov dword [esp + 0x34], eax
test eax, eax
jle 0x41d062
mov edi, dword [0x46be0c]
push ebp
mov ecx, ebx
call edi
mov esi, eax
lea ecx, [esi + 4]
push ecx
lea ecx, [esp + 0x2c]
call dword [0x46be50]
mov ecx, dword [esp + 0x30]
push ebp
mov byte [esp + 0x6c], 4
call edi
add eax, 4
push eax
lea ecx, [esp + 0x2c]
call dword [0x46be10]
push 0x10
call fcn.0045dcdc
mov edi, eax
add esp, 4
mov dword [esp + 0x38], edi
mov byte [esp + 0x68], 5
test edi, edi
je 0x41cff5
push 0
lea edx, [esp + 0x30]
push 0x46c890
push edx
call fcn.0041b810
add esp, 0xc
or dword [esp + 0x20], 1
lea ecx, [esp + 0x28]
push ecx
push esi
push eax
mov ecx, edi
mov byte [esp + 0x74], 6
call fcn.004326e0
jmp 0x41cff7
xor eax, eax
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0x20]
mov dword [esp + 0x6c], 7
mov dword [esp + 0x3c], eax
call fcn.00414810
test byte [esp + 0x20], 1
mov dword [esp + 0x68], 4
je 0x41d040
and dword [esp + 0x20], 0xfffffffe
mov eax, dword [esp + 0x2c]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x41d040
mov edx, dword [esp + 0x2c]
push edx
call dword [0x46a75c]
add esp, 4
lea ecx, [esp + 0x28]
mov byte [esp + 0x68], 2
call dword [0x46be5c]
inc ebp
cmp ebp, dword [esp + 0x34]
jl 0x41cf79
mov edi, dword [esp + 0x3c]
mov esi, dword [esp + 0x30]
mov ecx, dword [esp + 0x70]
push ebx
push esi
call dword [0x46be14]
push ebx
mov ecx, edi
call fcn.00430c60
push esi
mov ecx, edi
call fcn.00430cd0
mov edx, dword [esp + 0x18]
dec dword [esp + 0x44]
jmp 0x41cea3
mov eax, dword [esp + 0x48]
add eax, 4
mov dword [esp + 0x48], eax
jmp 0x41ce80
mov eax, dword [esp + 0x40]
mov byte [esp + 0x68], 1
or ecx, 0xffffffff
lock xadd dword [eax], ecx
mov ebp, dword [0x46a6d4]
jne 0x41d0bd
mov edx, dword [esp + 0x40]
push edx
call ebp
add esp, 4
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0xc]
cmp ecx, dword [eax + 8]
je 0x41d1a2
push 0
lea edx, [esp + 0x74]
push 0x46f2b0
push edx
call fcn.0041b810
add esp, 0xc
push eax
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x24]
mov byte [esp + 0x6c], 8
call dword [0x46b898]
mov ecx, dword [esp + 0x70]
mov byte [esp + 0x68], 1
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x41d114
mov eax, dword [esp + 0x70]
push eax
call dword [0x46a75c]
add esp, 4
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x54]
push edx
call fcn.004044f0
add esp, 8
mov ebx, dword [0x46b8dc]
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x54]
mov byte [esp + 0x68], 9
lea esp, [esp]
mov edx, eax
inc eax
mov dword [esp + 0x54], eax
test edx, edx
jne 0x41d179
cmp ecx, dword [esp + 0x5c]
je 0x41d179
mov esi, dword [ecx]
test eax, eax
je 0x41d16c
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x24]
push esi
call ebx
mov eax, dword [esp + 0x54]
dec eax
mov dword [esp + 0x54], eax
jmp 0x41d153
mov ecx, dword [esp + 0x58]
add ecx, 4
mov dword [esp + 0x58], ecx
jmp 0x41d140
mov ecx, dword [esp + 0x50]
mov byte [esp + 0x68], 1
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x41d195
mov eax, dword [esp + 0x50]
push eax
call ebp
add esp, 4
mov ecx, dword [esp + 0x24]
mov ecx, dword [ecx + 0x24]
call dword [0x46b89c]
mov edx, dword [esp + 0x18]
mov byte [esp + 0x68], 0
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x41d1be
mov ecx, dword [esp + 0x18]
push ecx
call ebp
add esp, 4
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x68], 0xffffffff
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x41d1dd
mov ecx, dword [esp + 0x1c]
push ecx
call ebp
add esp, 4
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret 4