Function at 0x40e590
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x446948
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x43c
push ebx
push ebp
push esi
push edi
push fcn.0040ced0
push fcn.0040ceb0
push 0xa
push 0x68
lea eax, [esp + 0x4c]
push eax
mov esi, ecx
call fcn.00431a70
mov edx, dword [0x465404]
xor edi, edi
mov ecx, 0x465404
mov dword [esp + 0x454], edi
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
mov eax, dword [0x465404]
mov ecx, 0x465404
mov byte [esp + 0x454], 1
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x18], eax
mov edx, dword [0x465404]
mov ecx, 0x465404
mov byte [esp + 0x454], 2
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
push 0xa
lea eax, [esp + 0x40]
push eax
mov ecx, esi
mov byte [esp + 0x45c], 3
call fcn.0040e080
cmp eax, edi
mov dword [esp + 0x30], eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], edi
jle 0x40e9b0
mov ebx, dword [esp + 0x45c]
lea ecx, [esp + 0x3c]
mov dword [esp + 0x1c], ecx
lea esp, [esp]
mov edx, dword [esp + 0x20]
cmp edx, dword [esp + 0x460]
jge 0x40e9b0
lea eax, [esp + 0x38]
push eax
call fcn.0040f560
mov eax, dword [eax]
mov esi, dword [esp + 0x14]
lea ecx, [eax - 0x10]
add esi, 0xfffffff0
cmp ecx, esi
mov byte [esp + 0x454], 4
je 0x40e6d3
mov edx, dword [esi + 0xc]
test edx, edx
lea edi, [esi + 0xc]
jge 0x40e6ad
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.0040c6e0
jmp 0x40e6d3
push ecx
call fcn.0040c630
add esp, 4
mov ebp, eax
or ecx, 0xffffffff
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x40e6cc
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
add ebp, 0x10
mov dword [esp + 0x14], ebp
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
mov byte [esp + 0x454], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e6f9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x34]
push eax
call fcn.0040f590
mov eax, dword [eax]
mov esi, dword [esp + 0x18]
lea ecx, [eax - 0x10]
add esi, 0xfffffff0
cmp ecx, esi
mov byte [esp + 0x454], 5
je 0x40e75f
mov edx, dword [esi + 0xc]
test edx, edx
lea edi, [esi + 0xc]
jge 0x40e739
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x20]
call fcn.0040c6e0
jmp 0x40e75f
push ecx
call fcn.0040c630
add esp, 4
mov ebp, eax
or ecx, 0xffffffff
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x40e758
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
add ebp, 0x10
mov dword [esp + 0x18], ebp
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
mov byte [esp + 0x454], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e785
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x2c]
push eax
call fcn.0040f5c0
mov eax, dword [eax]
mov esi, dword [esp + 0x10]
lea ecx, [eax - 0x10]
add esi, 0xfffffff0
cmp ecx, esi
mov byte [esp + 0x454], 6
je 0x40e7eb
mov edx, dword [esi + 0xc]
test edx, edx
lea edi, [esi + 0xc]
jge 0x40e7c5
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x18]
call fcn.0040c6e0
jmp 0x40e7eb
push ecx
call fcn.0040c630
add esp, 4
mov ebp, eax
or ecx, 0xffffffff
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x40e7e4
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
add ebp, 0x10
mov dword [esp + 0x10], ebp
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov byte [esp + 0x454], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e811
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov esi, dword [esp + 0x10]
mov eax, dword [esi - 0xc]
test eax, eax
jl 0x40e839
push 0x44d5d0
push esi
call fcn.00432e5c
add esp, 8
test eax, eax
je 0x40e839
sub eax, esi
cmp eax, 0xffffffff
jne 0x40e990
mov esi, dword [esp + 0x14]
push ecx
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
add esi, 0xfffffff0
mov dword [esp + 0x2c], esp
mov ebp, esp
call dword [eax + 0x10]
mov edx, dword [esi + 0xc]
test edx, edx
lea ecx, [esi + 0xc]
jl 0x40e86a
cmp eax, dword [esi]
jne 0x40e86a
mov eax, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x40e89c
mov ecx, dword [esi + 4]
mov edx, dword [eax]
push 1
push ecx
mov ecx, eax
call dword [edx]
test eax, eax
je 0x40ea5f
mov edx, dword [esi + 4]
mov dword [eax + 4], edx
mov ecx, dword [esi + 4]
inc ecx
mov edx, ecx
shr ecx, 2
add esi, 0x10
lea edi, [eax + 0x10]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
add eax, 0x10
mov dword [ebp], eax
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x18]
mov esi, dword [esp + 0x18]
push ecx
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
add esi, 0xfffffff0
mov dword [esp + 0x2c], esp
mov ebp, esp
call dword [edx + 0x10]
mov ecx, dword [esi + 0xc]
test ecx, ecx
lea edx, [esi + 0xc]
jl 0x40e8da
cmp eax, dword [esi]
jne 0x40e8da
mov eax, esi
mov ecx, 1
lock xadd dword [edx], ecx
jmp 0x40e90c
mov ecx, dword [esi + 4]
mov edx, dword [eax]
push 1
push ecx
mov ecx, eax
call dword [edx]
test eax, eax
je 0x40ea5f
mov edx, dword [esi + 4]
mov dword [eax + 4], edx
mov ecx, dword [esi + 4]
inc ecx
mov edx, ecx
shr ecx, 2
add esi, 0x10
lea edi, [eax + 0x10]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
add eax, 0x10
mov dword [ebp], eax
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x20]
mov esi, dword [esp + 0x10]
push ecx
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
add esi, 0xfffffff0
mov dword [esp + 0x2c], esp
mov ebp, esp
call dword [edx + 0x10]
mov ecx, dword [esi + 0xc]
test ecx, ecx
lea edx, [esi + 0xc]
jl 0x40e94a
cmp eax, dword [esi]
jne 0x40e94a
mov eax, esi
mov ecx, 1
lock xadd dword [edx], ecx
jmp 0x40e97c
mov ecx, dword [esi + 4]
mov edx, dword [eax]
push 1
push ecx
mov ecx, eax
call dword [edx]
test eax, eax
je 0x40ea5f
mov edx, dword [esi + 4]
mov dword [eax + 4], edx
mov ecx, dword [esi + 4]
inc ecx
mov edx, ecx
shr ecx, 2
add esi, 0x10
lea edi, [eax + 0x10]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
add eax, 0x10
mov dword [ebp], eax
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x28]
inc dword [esp + 0x20]
add ebx, 0x68
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x30]
inc eax
add ecx, 0x68
cmp eax, edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], ecx
jl 0x40e660
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x454], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e9d6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x454], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e9fc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x454], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ea22
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push fcn.0040ced0
push 0xa
push 0x68
lea eax, [esp + 0x48]
push eax
mov dword [esp + 0x464], 0xffffffff
call fcn.00431a0d
mov ecx, dword [esp + 0x44c]
mov eax, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x448
ret 8
call fcn.0040c550
int3