Function at 0x41d940
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 0x4570c8
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x70
mov eax, dword [0x47306c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x6c], edi
lea eax, [edi + 0xc]
mov dword [edi], vtable.TrRemote.0
lea ecx, [eax + 0xc]
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [ebp - 0x64], eax
xor eax, eax
push eax
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
push 0x467d20
mov word [ecx], ax
call fcn.00409b10
lea esi, [edi + 0x30]
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [edi + 0x58], eax
mov dword [edi + 0x5c], 7
mov word [edi + 0x48], ax
mov dword [ebp - 4], eax
lea ecx, [edi + 0x48]
mov eax, edi
push 0xf
push 0x46acf4
mov dword [eax], vtable.TrSpeedHack.0
call fcn.00409b10
lea ecx, [ebp - 0x5c]
call fcn.004147b0
push 1
push 0x4674c4
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.004070c0
mov dword [ebp - 0x1c], 0
xor ecx, ecx
mov dword [ebp - 0x18], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x1c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 2
lea eax, [edi + 0x48]
cmp dword [edi + 0x5c], 8
jb 0x41da72
mov eax, dword [edi + 0x48]
push dword [edi + 0x58]
lea ecx, [ebp - 0x2c]
push eax
call fcn.004070c0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x80], xmm0
movups xmmword [ebp - 0x44], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea eax, [ebp - 0x44]
movq qword [ebp - 0x70], xmm0
movq qword [ebp - 0x34], xmm0
cmp esi, eax
je 0x41dacc
mov ecx, esi
call fcn.0040a670
movups xmm0, xmmword [ebp - 0x80]
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x70]
movq qword [esi + 0x10], xmm0
jmp 0x41db06
mov edx, dword [ebp - 0x30]
cmp edx, 8
jb 0x41db06
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41dafc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41dba7
push edx
push ecx
call fcn.0043507c
add esp, 8
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x41db3c
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41db32
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41dbac
push edx
push ecx
call fcn.0043507c
add esp, 8
mov edx, dword [ebp - 0x48]
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
cmp edx, 8
jb 0x41db86
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41db7c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41dbb1
push edx
push ecx
call fcn.0043507c
add esp, 8
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0043506b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00439e03
call fcn.00439e03
call fcn.00439e03
int3