Function at 0x4ca590
Capabilities:
Access peb ldr_data

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54036a
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x28
push esi
push edi
mov eax, dword [0x577018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 4], 1
lea ecx, [edi + 8]
mov dword [edi], vtable.NeatSegmentManager.0
push 0
mov dword [ecx], 0
push 0x5581b4
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
call fcn.00402bc0
mov al, byte [ebx + 0xc]
lea esi, [edi + 0x38]
mov byte [ebp - 4], 2
mov ecx, esi
mov byte [edi + 0x20], al
lea eax, [ebx + 0x10]
push eax
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0xa00
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
call fcn.00408180
lea eax, [ebx + 0x28]
mov byte [ebp - 4], 3
push eax
lea ecx, [edi + 0x50]
call fcn.00408180
xor eax, eax
mov dword [edi + 0x68], 0
mov dword [edi + 0x78], 0
mov dword [edi + 0x7c], 7
mov word [edi + 0x68], ax
mov dword [edi + 0x80], eax
mov dword [edi + 0x84], eax
mov dword [edi + 0x88], eax
mov dword [edi + 0x8c], eax
mov dword [edi + 0x90], eax
mov dword [edi + 0x94], eax
mov eax, dword [ebx + 8]
xor ecx, ecx
mov dword [edi + 0x98], eax
mov dword [edi + 0xa0], 0
mov dword [edi + 0xa4], 0
mov dword [edi + 0xb4], 0
mov dword [edi + 0xb8], 7
mov word [edi + 0xa4], cx
mov dword [edi + 0xbc], ecx
mov dword [edi + 0xcc], ecx
mov dword [edi + 0xd0], 7
mov word [edi + 0xbc], cx
lea ecx, [edi + 0xd4]
call fcn.0040cd10
xor eax, eax
mov dword [edi + 0x22c], eax
mov dword [edi + 0x230], eax
mov dword [edi + 0x234], eax
mov dword [edi + 0x238], eax
mov dword [edi + 0x248], eax
mov dword [edi + 0x24c], 0xf
mov byte [edi + 0x238], al
mov byte [ebp - 4], 0xb
mov eax, bind
mov ecx, dword [esi + 0x10]
sub eax, ecx
cmp eax, 0xc
jb 0x4ca930
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x4ca73c
mov eax, dword [esi]
push 0xc
push 0x5618c0
push ecx
push eax
push ecx
push dword [ebp - 0x18]
lea ecx, [ebp - 0x30]
call fcn.004097f0
lea ecx, [ebp - 0x30]
lea eax, [edi + 0xa4]
cmp eax, ecx
je 0x4ca78a
mov ecx, eax
call fcn.00408210
movups xmm0, xmmword [ebp - 0x30]
xor eax, eax
mov ecx, 7
mov word [ebp - 0x30], ax
movups xmmword [edi + 0xa4], xmm0
movq xmm0, qword [ebp - 0x20]
movq qword [edi + 0xb4], xmm0
jmp 0x4ca78d
mov ecx, dword [ebp - 0x1c]
cmp ecx, 8
jb 0x4ca7c4
mov edx, dword [ebp - 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4ca7ba
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ca935
push ecx
push edx
call fcn.00517162
add esp, 8
mov eax, dword [esi + 0x10]
mov ecx, bind
sub ecx, eax
cmp ecx, 0xc
jb 0x4ca930
cmp dword [esi + 0x14], 8
jb 0x4ca7df
mov esi, dword [esi]
push 0xc
push str.segments.bak
push eax
push esi
push ecx
push dword [ebp - 0x18]
lea ecx, [ebp - 0x30]
call fcn.004097f0
lea eax, [ebp - 0x30]
lea esi, [edi + 0xbc]
cmp esi, eax
je 0x4ca826
mov ecx, esi
call fcn.00408210
movups xmm0, xmmword [ebp - 0x30]
xor eax, eax
mov ecx, 7
mov word [ebp - 0x30], ax
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x20]
movq qword [esi + 0x10], xmm0
jmp 0x4ca829
mov ecx, dword [ebp - 0x1c]
cmp ecx, 8
jb 0x4ca860
mov edx, dword [ebp - 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4ca856
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ca935
push ecx
push edx
call fcn.00517162
add esp, 8
push 0x38
call fcn.00517390
mov esi, eax
mov dword [ebp - 0x14], esi
push 0x38
push 0
push esi
mov byte [ebp - 4], 0xc
call fcn.00519680
sub esp, 8
lea eax, [edi + 0xa4]
mov ecx, esp
push eax
call fcn.00408180
mov ecx, esi
call fcn.004084d0
mov ecx, dword [ebx + 0x24]
mov dword [edi + 0x9c], eax
cmp ecx, 8
jb 0x4ca8ce
mov edx, dword [ebx + 0x10]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4ca8c4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ca935
push ecx
push edx
call fcn.00517162
add esp, 8
mov ecx, dword [ebx + 0x3c]
xor eax, eax
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x24], 7
mov word [ebx + 0x10], ax
cmp ecx, 8
jb 0x4ca918
mov edx, dword [ebx + 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4ca90e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ca935
push ecx
push edx
call fcn.00517162
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x38
call fcn.00401640
call fcn.0051eb64
int3