Function at 0x4b12d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x50aa8c
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x53c1a4]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x30]
mov edi, dword [esp + 0x34]
lea eax, [ebp + 4]
push eax
mov ecx, edi
call fcn.004b15e0
xor ecx, ecx
mov dword [esp + 0x28], ecx
mov eax, 4
mov dword [ebp + 0x58], ecx
mov dword [ebp + 0x5c], ecx
mov dword [ebp + 0x60], ecx
mov dword [ebp + 0x64], eax
mov dword [ebp + 0x54], vtable.CRecordVector_unsigned_int_.0
mov dword [ebp + 0x6c], ecx
mov dword [ebp + 0x70], ecx
mov dword [ebp + 0x74], ecx
mov dword [ebp + 0x78], eax
mov dword [ebp + 0x68], vtable.CRecordVector_unsigned_int_.0
mov dword [ebp + 0x80], ecx
mov dword [ebp + 0x84], ecx
mov dword [ebp + 0x88], ecx
mov dword [ebp + 0x8c], eax
mov dword [ebp + 0x7c], vtable.CRecordVector_unsigned_int_.0
lea ebx, [ebp + 0x94]
mov dword [ebx + 4], ecx
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], ecx
mov dword [ebx + 0x10], eax
mov dword [ebx], vtable.CRecordVector_unsigned_int_.0
mov byte [esp + 0x28], al
mov dword [ebp + 0x90], ecx
mov dword [ebp], ecx
xor eax, eax
cmp dword [edi + 8], ecx
jle 0x4b13ab
jmp 0x4b1390
mov edx, dword [edi + 0xc]
mov esi, dword [edx + eax*8]
add dword [ebp + 0x90], esi
lea edx, [edx + eax*8]
mov edx, dword [edx + 4]
add dword [ebp], edx
inc eax
cmp eax, dword [edi + 8]
jl 0x4b1390
mov dword [esp + 0x18], ecx
cmp dword [ebp + 0x90], ecx
jbe 0x4b1450
jmp 0x4b13c0
mov edx, dword [ebp + 0x58]
cmp dword [ebp + 0x5c], edx
lea esi, [ebp + 0x54]
jne 0x4b13f0
cmp edx, 0x40
mov eax, 1
jl 0x4b13dc
mov eax, edx
shr eax, 2
jmp 0x4b13e6
cmp edx, 8
jl 0x4b13e6
mov eax, 8
lea edi, [edx + eax]
call fcn.004bdd40
xor ecx, ecx
mov eax, dword [ebp + 0x5c]
mov edx, dword [ebp + 0x60]
mov dword [edx + eax*4], ecx
inc dword [ebp + 0x5c]
mov eax, dword [ebx + 4]
cmp dword [ebx + 8], eax
jne 0x4b142b
cmp eax, 0x40
mov ecx, 1
jl 0x4b1415
mov ecx, eax
shr ecx, 2
jmp 0x4b141f
cmp eax, 8
jl 0x4b141f
mov ecx, 8
lea edi, [eax + ecx]
mov esi, ebx
call fcn.004bdd40
xor ecx, ecx
mov eax, dword [ebx + 8]
mov edx, dword [ebx + 0xc]
mov dword [edx + eax*4], ecx
mov eax, dword [esp + 0x18]
inc dword [ebx + 8]
inc eax
mov dword [esp + 0x18], eax
cmp eax, dword [ebp + 0x90]
jb 0x4b13c0
mov edi, dword [esp + 0x34]
xor ebx, ebx
cmp dword [ebp], ecx
jbe 0x4b14f5
jmp 0x4b1460
mov edx, dword [ebp + 0x6c]
cmp dword [ebp + 0x70], edx
lea esi, [ebp + 0x68]
jne 0x4b1490
cmp edx, 0x40
mov eax, 1
jl 0x4b147c
mov eax, edx
shr eax, 2
jmp 0x4b1486
cmp edx, 8
jl 0x4b1486
mov eax, 8
lea edi, [edx + eax]
call fcn.004bdd40
xor ecx, ecx
mov eax, dword [ebp + 0x70]
mov edx, dword [ebp + 0x74]
mov dword [edx + eax*4], ecx
inc dword [ebp + 0x70]
mov eax, dword [ebp + 0x80]
cmp dword [ebp + 0x84], eax
lea esi, [ebp + 0x7c]
jne 0x4b14d2
cmp eax, 0x40
mov ecx, 1
jl 0x4b14be
mov ecx, eax
shr ecx, 2
jmp 0x4b14c8
cmp eax, 8
jl 0x4b14c8
mov ecx, 8
lea edi, [eax + ecx]
call fcn.004bdd40
xor ecx, ecx
mov eax, dword [ebp + 0x84]
mov edx, dword [ebp + 0x88]
mov dword [edx + eax*4], ecx
inc dword [ebp + 0x84]
inc ebx
cmp ebx, dword [ebp]
jb 0x4b1460
mov edi, dword [esp + 0x34]
mov eax, dword [ebp + 0x90]
mov dword [esp + 0x30], eax
mov eax, dword [ebp]
mov dword [esp + 0x14], eax
mov eax, dword [edi + 8]
xor edx, edx
xor esi, esi
sub eax, 1
mov dword [esp + 0x1c], eax
js 0x4b15c8
jmp 0x4b1524
mov edi, dword [esp + 0x34]
mov edi, dword [edi + 0xc]
mov ebx, dword [edi + eax*8 + 4]
sub dword [esp + 0x14], ebx
lea eax, [edi + eax*8]
mov edi, dword [eax]
sub dword [esp + 0x30], edi
cmp edi, ecx
jbe 0x4b1576
mov edi, dword [esp + 0x30]
add edi, edi
add edi, edi
mov dword [esp + 0x18], edi
jmp 0x4b1550
mov edi, dword [ebp + 0x60]
mov ebx, dword [esp + 0x18]
add dword [esp + 0x18], 4
mov dword [ebx + edi], esi
mov edi, dword [esp + 0x30]
mov ebx, dword [ebp + 0xa0]
add edi, ecx
mov dword [ebx + esi*4], edi
inc ecx
inc esi
cmp ecx, dword [eax]
jb 0x4b1550
xor ecx, ecx
cmp dword [eax + 4], ecx
jbe 0x4b15b7
mov edi, dword [esp + 0x14]
add edi, edi
add edi, edi
mov dword [esp + 0x18], edi
jmp 0x4b1590
mov edi, dword [ebp + 0x74]
mov ebx, dword [esp + 0x18]
add dword [esp + 0x18], 4
mov dword [ebx + edi], edx
mov edi, dword [esp + 0x14]
mov ebx, dword [ebp + 0x88]
add edi, ecx
mov dword [ebx + edx*4], edi
inc ecx
inc edx
cmp ecx, dword [eax + 4]
jb 0x4b1590
xor ecx, ecx
mov eax, dword [esp + 0x1c]
sub eax, 1
mov dword [esp + 0x1c], eax
jns 0x4b1520
mov eax, ebp
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 8