Function at 0x40dfd0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x50ba10
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x574be0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
push dword [esi + 0x1f4]
mov eax, dword [esi + 0x1ec]
lea edi, [esi + 0x1ec]
push 0
mov ecx, edi
call dword [eax + 4]
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 8
push 0
mov dword [esp + 0x34], 0
push 0
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], 0x54bce8
call dword [0x54bcec]
lea eax, [esi + 0x168]
push eax
lea ecx, [esp + 0x14]
call fcn.00405450
mov dword [esp + 0x30], 1
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
xor eax, eax
test edx, edx
jle 0x40e0aa
lea ebx, [ebx]
cmp dword [ecx + eax*8], 0xe
jne 0x40e08d
cmp dword [ecx + eax*8 + 4], 0
je 0x40e094
inc eax
cmp eax, edx
jl 0x40e080
jmp 0x40e0aa
push 1
push eax
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x18]
call dword [eax + 4]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
xor eax, eax
test edx, edx
jle 0x40e0d2
cmp dword [ecx + eax*8], 0xf
jne 0x40e0bd
cmp dword [ecx + eax*8 + 4], 0
je 0x40e0c4
inc eax
cmp eax, edx
jl 0x40e0b0
jmp 0x40e0d2
push 1
push eax
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x18]
call dword [eax + 4]
push 0x11
mov edx, edi
lea ecx, [esp + 0x14]
call fcn.0040deb0
add esp, 4
mov edx, edi
push 0x10
lea ecx, [esp + 0x14]
call fcn.0040deb0
add esp, 4
mov edx, edi
push 9
lea ecx, [esp + 0x14]
call fcn.0040deb0
add esp, 4
mov edx, edi
push 6
lea ecx, [esp + 0x14]
call fcn.0040deb0
add esp, 4
mov edx, edi
push 0x12
lea ecx, [esp + 0x14]
call fcn.0040deb0
add esp, 4
mov edx, edi
push 0x14
lea ecx, [esp + 0x14]
call fcn.0040deb0
add esp, 4
mov edx, edi
push 0x13
lea ecx, [esp + 0x14]
call fcn.0040deb0
add esp, 4
mov edx, edi
push 0x15
lea ecx, [esp + 0x14]
call fcn.0040deb0
add esp, 4
mov edx, edi
push 0xa
lea ecx, [esp + 0x14]
call fcn.0040deb0
add esp, 4
mov edx, edi
push 0x16
lea ecx, [esp + 0x14]
call fcn.0040deb0
add esp, 4
lea eax, [esp + 0x10]
push eax
mov ecx, edi
call fcn.00405450
mov ecx, dword [edi + 4]
mov esi, 8
cmp dword [edi + 8], ecx
jne 0x40e1a9
lea eax, [esi - 7]
cmp ecx, 0x40
jl 0x40e19a
mov eax, ecx
shr eax, 2
jmp 0x40e19f
cmp ecx, esi
cmovge eax, esi
add eax, ecx
push eax
mov ecx, edi
call fcn.0041aac0
mov ecx, dword [edi + 0xc]
mov eax, dword [edi + 8]
mov dword [ecx + eax*8], 0x61
mov dword [ecx + eax*8 + 4], 0
inc dword [edi + 8]
mov ecx, dword [edi + 4]
cmp dword [edi + 8], ecx
jne 0x40e1e9
mov eax, 1
cmp ecx, 0x40
jl 0x40e1da
mov eax, ecx
shr eax, 2
jmp 0x40e1df
cmp ecx, esi
cmovge eax, esi
add eax, ecx
push eax
mov ecx, edi
call fcn.0041aac0
mov ecx, dword [edi + 0xc]
mov eax, dword [edi + 8]
mov dword [ecx + eax*8], 0x62
mov dword [ecx + eax*8 + 4], 0
inc dword [edi + 8]
mov ecx, dword [edi + 4]
cmp dword [edi + 8], ecx
jne 0x40e229
mov eax, 1
cmp ecx, 0x40
jl 0x40e21a
mov eax, ecx
shr eax, 2
jmp 0x40e21f
cmp ecx, esi
cmovge eax, esi
add eax, ecx
push eax
mov ecx, edi
call fcn.0041aac0
mov ecx, dword [edi + 0xc]
mov eax, dword [edi + 8]
mov edx, 0x14
mov dword [ecx + eax*8], 0x63
mov dword [ecx + eax*8 + 4], 0
inc dword [edi + 8]
mov ecx, edi
call fcn.0040df40
mov edx, 6
mov ecx, edi
call fcn.0040df40
mov edx, 9
mov ecx, edi
call fcn.0040df40
mov edx, 0x11
mov ecx, edi
call fcn.0040df40
mov dword [esp + 0x30], 0xffffffff
push dword [esp + 0x18]
lea ecx, [esp + 0x14]
push 0
mov dword [esp + 0x18], 0x54b998
call dword [0x54b99c]
push dword [esp + 0x1c]
call fcn.004ea37d
add esp, 4
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret