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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54b0ca
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x60c9c8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xor edi, edi
mov dword [esi], 0x55efa8
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0x2c], edi
call fcn.0043e2f8
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x40bec5
push 0x80004005
call fcn.00402a80
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x238], eax
mov dword [ebp - 4], edi
call fcn.0043e2f8
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x40bef4
push 0x80004005
call fcn.00402a80
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x23c], eax
mov byte [ebp - 4], 1
call fcn.0043e2f8
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x40bf24
push 0x80004005
call fcn.00402a80
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x240], eax
mov byte [ebp - 4], 2
call fcn.0043e2f8
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x40bf54
push 0x80004005
call fcn.00402a80
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x244], eax
mov byte [ebp - 4], 3
call fcn.0043e2f8
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x40bf84
push 0x80004005
call fcn.00402a80
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x248], eax
mov byte [ebp - 4], 4
call fcn.0043e2f8
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x40bfb4
push 0x80004005
call fcn.00402a80
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x24c], eax
mov byte [ebp - 4], 5
call fcn.0043e2f8
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x40bfe4
push 0x80004005
call fcn.00402a80
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x250], eax
mov byte [ebp - 4], 6
call fcn.0043e2f8
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x40c014
push 0x80004005
call fcn.00402a80
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x254], eax
mov byte [ebp - 4], 7
call fcn.0043e2f8
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x40c044
push 0x80004005
call fcn.00402a80
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x258], eax
mov byte [ebp - 4], 8
call fcn.0043e2f8
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x40c074
push 0x80004005
call fcn.00402a80
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x25c], eax
mov byte [ebp - 4], 9
call fcn.0043e2f8
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x40c0a4
push 0x80004005
call fcn.00402a80
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x260], eax
lea ecx, [esi + 0x264]
mov byte [ebp - 4], 0xa
call fcn.0042ea30
mov dword [esi + 0xd708], 0x104
call fcn.0043e2f8
cmp eax, edi
jne 0x40c0e2
push 0x80004005
call fcn.00402a80
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0xd70c], eax
call fcn.0043e2f8
cmp eax, edi
jne 0x40c107
push 0x80004005
call fcn.00402a80
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0xd710], eax
mov dword [esi + 0xd714], edi
mov dword [esi + 0xd718], edi
call fcn.0043e2f8
cmp eax, edi
jne 0x40c138
push 0x80004005
call fcn.00402a80
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0xd71c], eax
xor eax, eax
mov dword [esi + 0xd858], 1
mov dword [esi + 0xd85c], edi
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
push 0x208
mov dword [esi + 0x20], eax
lea ecx, [esi + 0x30]
push edi
mov dword [esi + 0x24], eax
push ecx
mov word [esi + 0x28], ax
call fcn.00531fb0
add esp, 0xc
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret