Function at 0x468560
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x569098
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push esi
push edi
mov eax, dword [0x5d26e8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xor esi, esi
mov dword [ebp - 4], esi
mov ecx, dword [edi + 0x24]
mov edx, dword [edi + 0x28]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [edi + 0x2c]
mov dword [eax + 4], edx
mov edx, dword [edi + 0x30]
mov dword [eax + 8], ecx
push str.GUID
lea ecx, [ebp + 8]
mov dword [eax + 0xc], edx
call fcn.0042d410
mov eax, dword [edi + 0x6c]
push eax
push 0x580154
lea ecx, [ebp + 8]
call fcn.0042d0a0
fld dword [edi + 0x64]
push ecx
fstp dword [esp]
push str.UpperTemp
lea ecx, [ebp + 8]
call fcn.0042d0a0
fld dword [edi + 0x68]
push ecx
fstp dword [esp]
push str.LowerTemp
lea ecx, [ebp + 8]
call fcn.0042d0a0
mov ecx, dword [edi + 0x5c]
push ecx
push 0x583214
lea ecx, [ebp + 8]
call fcn.0042d0a0
mov edx, dword [edi + 0x60]
push edx
push 0x583210
lea ecx, [ebp + 8]
call fcn.0042d0a0
push str.Gains
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp + 8]
call fcn.0042d4b0
mov byte [ebp - 4], 1
lea ebx, [edi + 0x34]
mov ecx, ebx
call fcn.00513ef0
test eax, eax
jbe 0x4686c8
lea ebx, [ebx]
push 0x57d3a0
lea ecx, [ebp - 0x54]
push ecx
lea ecx, [ebp - 0x44]
call fcn.0042d4b0
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 2
push esi
mov ecx, ebx
call fcn.00514130
mov edx, dword [ebp + 0x14]
push 0
push 0x5ce250
push 0x5cd260
mov dword [ebp - 0x10], eax
mov eax, dword [edx + 8]
push 0
push eax
call fcn.004d451b
add esp, 0x14
test eax, eax
je 0x46868c
mov ecx, dword [ebp + 0x14]
mov eax, dword [ecx + 8]
jmp 0x46868e
xor eax, eax
mov edx, dword [ebp - 0x10]
push edx
add eax, 0x34
push eax
lea ecx, [ebp + 8]
call fcn.004683b0
mov ecx, dword [ebp - 0x14]
push eax
push 0x5831d8
call fcn.0042d050
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x54]
call fcn.0042d270
mov ecx, ebx
inc esi
call fcn.00513ef0
cmp esi, eax
jb 0x468640
push str.TempSurfaces
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp + 8]
call fcn.0042d4b0
mov byte [ebp - 4], 3
lea ebx, [edi + 0x44]
mov ecx, ebx
xor esi, esi
call fcn.00513ef0
test eax, eax
jbe 0x468779
push str.TempSurface
lea ecx, [ebp - 0x54]
push ecx
lea ecx, [ebp - 0x34]
call fcn.0042d4b0
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 4
push esi
mov ecx, ebx
call fcn.00514130
mov edx, dword [ebp + 0x14]
push 0
push 0x5ce250
push 0x5cd260
mov dword [ebp - 0x14], eax
mov eax, dword [edx + 8]
push 0
push eax
call fcn.004d451b
add esp, 0x14
test eax, eax
je 0x46873d
mov ecx, dword [ebp + 0x14]
mov eax, dword [ecx + 8]
jmp 0x46873f
xor eax, eax
mov edx, dword [ebp - 0x14]
push edx
add eax, 0x4c
push eax
lea ecx, [ebp + 8]
call fcn.004683b0
mov ecx, dword [ebp - 0x10]
push eax
push 0x5831d8
call fcn.0042d050
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x54]
call fcn.0042d270
mov ecx, ebx
inc esi
call fcn.00513ef0
cmp esi, eax
jb 0x4686f1
push 0x583238
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp + 8]
call fcn.0042d4b0
mov byte [ebp - 4], 5
add edi, 0x50
mov ecx, edi
xor esi, esi
call fcn.00513ef0
test eax, eax
jbe 0x468828
push str.VelocitySurface
lea ecx, [ebp - 0x54]
push ecx
lea ecx, [ebp - 0x24]
call fcn.0042d4b0
mov ebx, eax
mov byte [ebp - 4], 6
push esi
mov ecx, edi
call fcn.00514130
mov edx, dword [ebp + 0x14]
push 0
push 0x5ce250
push 0x5cd260
mov dword [ebp - 0x14], eax
mov eax, dword [edx + 8]
push 0
push eax
call fcn.004d451b
add esp, 0x14
test eax, eax
je 0x4687ed
mov ecx, dword [ebp + 0x14]
mov eax, dword [ecx + 8]
jmp 0x4687ef
xor eax, eax
mov edx, dword [ebp - 0x14]
push edx
add eax, 0x4c
push eax
lea ecx, [ebp + 8]
call fcn.004683b0
push eax
push 0x5831d8
mov ecx, ebx
call fcn.0042d050
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x54]
call fcn.0042d270
mov ecx, edi
inc esi
call fcn.00513ef0
cmp esi, eax
jb 0x4687a2
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x24]
call fcn.0042d270
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x34]
call fcn.0042d270
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.0042d270
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0042d270
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10