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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x49c2d0
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x4c4330]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov edi, ecx
mov ecx, dword [edi + 0x260]
mov eax, dword [edi + 0x258]
mov edx, dword [eax + 4]
lea esi, [edi + 0x258]
push ecx
xor ebx, ebx
push ebx
mov ecx, esi
call edx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], 8
push ebx
mov dword [esp + 0x34], ebx
push ebx
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], vtable.CRecordVector_unsigned_long_long_unsigned___int64__.0
call dword [0x4a6050]
add edi, 0x1c8
push edi
lea eax, [esp + 0x14]
call fcn.00403c90
mov dword [esp + 0x30], 1
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
xor eax, eax
cmp edx, ebx
jle 0x41493b
lea ecx, [ecx]
cmp dword [ecx + eax*8], 0xe
jne 0x41491c
cmp dword [ecx + eax*8 + 4], ebx
je 0x414923
inc eax
cmp eax, edx
jl 0x414910
jmp 0x41493b
push 1
push eax
mov eax, dword [esp + 0x18]
mov edx, dword [eax + 4]
lea ecx, [esp + 0x18]
call edx
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
xor eax, eax
cmp edx, ebx
jle 0x414964
cmp dword [ecx + eax*8], 0xf
jne 0x41494d
cmp dword [ecx + eax*8 + 4], ebx
je 0x414954
inc eax
cmp eax, edx
jl 0x414941
jmp 0x414964
push 1
push eax
mov eax, dword [esp + 0x18]
mov edx, dword [eax + 4]
lea ecx, [esp + 0x18]
call edx
lea eax, [esp + 0x10]
push 0x11
push eax
mov eax, esi
call fcn.00414740
lea ecx, [esp + 0x18]
push 0x10
push ecx
mov eax, esi
call fcn.00414740
lea edx, [esp + 0x20]
push 9
push edx
mov eax, esi
call fcn.00414740
lea eax, [esp + 0x28]
push 6
push eax
mov eax, esi
call fcn.00414740
lea ecx, [esp + 0x30]
push 0x12
push ecx
mov eax, esi
call fcn.00414740
lea edx, [esp + 0x38]
push 0x14
push edx
mov eax, esi
call fcn.00414740
lea eax, [esp + 0x40]
push 0x13
push eax
mov eax, esi
call fcn.00414740
lea ecx, [esp + 0x48]
push 0x15
push ecx
mov eax, esi
call fcn.00414740
add esp, 0x40
lea edx, [esp + 0x10]
push 0xa
push edx
mov eax, esi
call fcn.00414740
lea eax, [esp + 0x18]
push 0x16
push eax
mov eax, esi
call fcn.00414740
add esp, 0x10
lea ecx, [esp + 0x10]
push ecx
mov eax, esi
call fcn.00403c90
mov eax, dword [esi + 4]
cmp dword [esi + 8], eax
jne 0x414a2d
mov ecx, 1
cmp eax, 0x40
jl 0x414a1b
mov ecx, eax
shr ecx, 2
jmp 0x414a25
cmp eax, 8
jl 0x414a25
mov ecx, 8
lea edi, [eax + ecx]
call fcn.00446fd0
mov ecx, dword [esi + 8]
mov eax, dword [esi + 0xc]
mov dword [eax + ecx*8], 0x61
mov dword [eax + ecx*8 + 4], ebx
mov ecx, 1
add dword [esi + 8], ecx
mov eax, dword [esi + 4]
cmp dword [esi + 8], eax
jne 0x414a6c
cmp eax, 0x40
jl 0x414a5a
mov ecx, eax
shr ecx, 2
jmp 0x414a64
cmp eax, 8
jl 0x414a64
mov ecx, 8
lea edi, [eax + ecx]
call fcn.00446fd0
mov ecx, dword [esi + 8]
mov eax, dword [esi + 0xc]
mov dword [eax + ecx*8], 0x62
mov dword [eax + ecx*8 + 4], ebx
mov ecx, 1
add dword [esi + 8], ecx
mov eax, dword [esi + 4]
cmp dword [esi + 8], eax
jne 0x414aab
cmp eax, 0x40
jl 0x414a99
mov ecx, eax
shr ecx, 2
jmp 0x414aa3
cmp eax, 8
jl 0x414aa3
mov ecx, 8
lea edi, [eax + ecx]
call fcn.00446fd0
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
mov dword [eax + ecx*8], 0x63
mov dword [eax + ecx*8 + 4], ebx
inc dword [esi + 8]
mov ebx, 0x14
mov eax, esi
call fcn.004147e0
mov ebx, 6
mov eax, esi
call fcn.004147e0
mov ebx, 9
mov eax, esi
call fcn.004147e0
mov ebx, 0x11
mov eax, esi
call fcn.004147e0
mov dword [esp + 0x30], 0xffffffff
mov edx, dword [esp + 0x18]
push edx
push 0
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], vtable.CBaseRecordVector.0
call dword [0x4a5fdc]
mov eax, dword [esp + 0x1c]
push eax
call fcn.00485691
add esp, 4
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret