Function at 0x4a2940
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4af18e
mov eax, dword fs:[0]
push eax
mov eax, 0x256c
call fcn.00458200
push esi
mov eax, dword [0x4df798]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2568], ecx
cmp dword [ebp + 8], 0
jne 0x4a2981
mov eax, dword [str.UserSettings.txt]
mov dword [ebp + 8], eax
push 0x4caf78
mov ecx, dword [ebp + 8]
push ecx
call fcn.004524e0
add esp, 8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4a29a2
xor eax, eax
jmp 0x4a3209
push 0x7d0
call fcn.0042c7e8
add esp, 4
mov dword [ebp - 0x2560], eax
mov edx, dword [ebp - 0x2560]
mov dword [ebp - 0x10], edx
push 0x3e8
push 0
mov eax, dword [ebp - 0x10]
push eax
call fcn.00451f70
add esp, 0xc
mov ecx, 0xfeff
mov edx, dword [ebp - 0x10]
mov word [edx], cx
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov word [ecx + 2], ax
mov byte [ebp - 0x15], 0
jmp 0x4a29f4
mov dl, byte [ebp - 0x15]
add dl, 1
mov byte [ebp - 0x15], dl
movzx esi, byte [ebp - 0x15]
mov ecx, dword [ebp - 0x2568]
add ecx, 0xa4
call fcn.004010a0
movzx eax, al
cmp esi, eax
jge 0x4a31c1
lea ecx, [ebp - 0x50]
call fcn.00401780
mov dword [ebp - 4], 0
movzx ecx, byte [ebp - 0x15]
push ecx
mov ecx, dword [ebp - 0x2568]
add ecx, 0xa4
call fcn.00403ef0
push eax
mov edx, dword [0x4e2260]
push edx
movzx eax, byte [ebp - 0x15]
add eax, 1
push eax
push str._Gpu_d__r_n_s_s_r_n
lea ecx, [ebp - 0x50]
push ecx
call fcn.004015f0
add esp, 0x14
lea ecx, [ebp - 0x50]
call fcn.0040b6f0
push eax
mov edx, dword [ebp - 0x10]
push edx
call fcn.00452e76
add esp, 8
movzx eax, byte [ebp - 0x15]
push eax
mov ecx, dword [ebp - 0x2568]
add ecx, 0xa4
call fcn.00403f20
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ecx]
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x34], 1
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], 3
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx + 8]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], 2
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], 4
movzx eax, byte [ebp - 0x15]
push eax
mov ecx, dword [ebp - 0x2568]
add ecx, 0xa4
call fcn.00403e90
test eax, eax
jne 0x4a2b21
movzx ecx, byte [ebp - 0x15]
push ecx
mov ecx, dword [ebp - 0x2568]
add ecx, 0xa4
call fcn.00403e00
test eax, eax
jne 0x4a2b21
movzx edx, byte [ebp - 0x15]
push edx
mov ecx, dword [ebp - 0x2568]
add ecx, 0xa4
call fcn.00403e60
test eax, eax
jne 0x4a2b21
mov dword [ebp - 0x256c], 0
jmp 0x4a2b2b
mov dword [ebp - 0x256c], 1
mov eax, dword [ebp - 0x256c]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x54], 0
jmp 0x4a2b46
mov ecx, dword [ebp - 0x54]
add ecx, 1
mov dword [ebp - 0x54], ecx
cmp dword [ebp - 0x54], 4
jae 0x4a2fc2
mov edx, dword [ebp - 0x54]
cmp dword [ebp + edx*8 - 0x38], 0
jne 0x4a2b5c
jmp 0x4a2b3d
mov dword [ebp - 0x9c], 0
push 0x38
push 0
lea eax, [ebp - 0x98]
push eax
call fcn.00451f70
add esp, 0xc
mov ecx, dword [ebp - 0x54]
mov edx, dword [ebp + ecx*8 - 0x34]
push edx
lea eax, [ebp - 0x9c]
push eax
movzx ecx, byte [ebp - 0x15]
push ecx
mov ecx, dword [ebp - 0x2568]
add ecx, 0xa4
call fcn.00479940
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx + 0x18]
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x5c], edx
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x60], ecx
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp + edx*8 - 0x34]
mov dword [ebp - 0x2570], eax
cmp dword [ebp - 0x2570], 1
je 0x4a2be6
cmp dword [ebp - 0x2570], 2
je 0x4a2c46
cmp dword [ebp - 0x2570], 3
je 0x4a2c17
jmp 0x4a2c75
mov ecx, dword [str.Gpu2DClock]
mov dword [ebp - 0xac], ecx
mov edx, dword [str.Shader2DClock]
mov dword [ebp - 0xa0], edx
mov eax, dword [str.Memory2DClock]
mov dword [ebp - 0xa8], eax
mov ecx, dword [str.Gpu2DVolt]
mov dword [ebp - 0xa4], ecx
jmp 0x4a2c75
mov edx, dword [str.Gpu3DLowPowerClock]
mov dword [ebp - 0xac], edx
mov eax, dword [str.Shader3DLowPowerClock]
mov dword [ebp - 0xa0], eax
mov ecx, dword [str.Memory3DLowPowerClock]
mov dword [ebp - 0xa8], ecx
mov dword [ebp - 0xa4], 0
jmp 0x4a2c75
mov edx, dword [str.Gpu3DPerformanceClock]
mov dword [ebp - 0xac], edx
mov eax, dword [str.Shader3DPerformaceClock]
mov dword [ebp - 0xa0], eax
mov ecx, dword [str.Memory3DPerformanceClock]
mov dword [ebp - 0xa8], ecx
mov edx, dword [str.Gpu3DPerformanceVolt]
mov dword [ebp - 0xa4], edx
cmp dword [ebp - 0x58], 0
je 0x4a2caf
mov eax, dword [ebp - 0x9c]
push eax
mov ecx, dword [ebp - 0xac]
push ecx
push 0x4cafa4
lea edx, [ebp - 0x50]
push edx
call fcn.004015f0
add esp, 0x10
lea ecx, [ebp - 0x50]
call fcn.0040b6f0
push eax
mov eax, dword [ebp - 0x10]
push eax
call fcn.00452e76
add esp, 8
cmp dword [ebp - 0x5c], 0
je 0x4a2ce6
mov ecx, dword [ebp - 0x7c]
push ecx
mov edx, dword [ebp - 0xa0]
push edx
push 0x4cafb4
lea eax, [ebp - 0x50]
push eax
call fcn.004015f0
add esp, 0x10
lea ecx, [ebp - 0x50]
call fcn.0040b6f0
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.00452e76
add esp, 8
cmp dword [ebp - 0x60], 0
je 0x4a2d20
mov edx, dword [ebp - 0x8c]
push edx
mov eax, dword [ebp - 0xa8]
push eax
push 0x4cafc4
lea ecx, [ebp - 0x50]
push ecx
call fcn.004015f0
add esp, 0x10
lea ecx, [ebp - 0x50]
call fcn.0040b6f0
push eax
mov edx, dword [ebp - 0x10]
push edx
call fcn.00452e76
add esp, 8
cmp dword [ebp - 0x3c], 0
je 0x4a2fbd
cmp dword [ebp - 0xa4], 0
je 0x4a2fbd
movzx eax, byte [ebp - 0x15]
push eax
mov ecx, dword [ebp - 0x2568]
add ecx, 0xa4
call fcn.00403e90
test eax, eax
je 0x4a2e33
lea ecx, [ebp - 0xae]
push ecx
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp + edx*8 - 0x34]
push eax
call fcn.00476240
add esp, 8
test eax, eax
je 0x4a2e33
movzx ecx, byte [ebp - 0xae]
push ecx
movzx edx, byte [ebp - 0x15]
push edx
mov ecx, dword [ebp - 0x2568]
add ecx, 0xa4
call fcn.00405f60
mov byte [ebp - 0xaf], al
movzx eax, byte [ebp - 0xaf]
test eax, eax
je 0x4a2e33
lea ecx, [ebp - 0xad]
push ecx
movzx edx, byte [ebp - 0xaf]
push edx
movzx eax, byte [ebp - 0x15]
push eax
mov ecx, dword [ebp - 0x2568]
add ecx, 0xa4
call fcn.00478790
test eax, eax
jne 0x4a2e33
movzx ecx, byte [ebp - 0xad]
mov dword [ebp - 0x2574], ecx
fild dword [ebp - 0x2574]
fmul dword [0x4cb368]
fadd qword [0x4d0250]
call fcn.004591b0
mov dword [ebp - 0xb4], eax
mov edx, dword [ebp - 0xb4]
push edx
mov eax, dword [ebp - 0xa4]
push eax
push 0x4cafd4
lea ecx, [ebp - 0x50]
push ecx
call fcn.004015f0
add esp, 0x10
lea ecx, [ebp - 0x50]
call fcn.0040b6f0
push eax
mov edx, dword [ebp - 0x10]
push edx
call fcn.00452e76
add esp, 8
jmp 0x4a2fbd
movzx eax, byte [ebp - 0x15]
push eax
mov ecx, dword [ebp - 0x2568]
add ecx, 0xa4
call fcn.00403e00
test eax, eax
je 0x4a2eaf
mov byte [ebp - 0xb5], 0
lea ecx, [ebp - 0xb5]
push ecx
movzx edx, byte [ebp - 0x15]
push edx
mov ecx, dword [ebp - 0x2568]
add ecx, 0xa4
call fcn.00478720
test eax, eax
jne 0x4a2eaa
movzx eax, byte [ebp - 0xb5]
push eax
mov ecx, dword [ebp - 0xa4]
push ecx
push 0x4cafe4
lea edx, [ebp - 0x50]
push edx
call fcn.004015f0
add esp, 0x10
lea ecx, [ebp - 0x50]
call fcn.0040b6f0
push eax
mov eax, dword [ebp - 0x10]
push eax
call fcn.00452e76
add esp, 8
jmp 0x4a2fbd
movzx ecx, byte [ebp - 0x15]
push ecx
mov ecx, dword [ebp - 0x2568]
add ecx, 0xa4
call fcn.00403e60
test eax, eax
je 0x4a2fbd
mov dword [ebp - 0x2554], 0
push 0x2490
push 0
lea edx, [ebp - 0x2550]
push edx
call fcn.00451f70
add esp, 0xc
mov dword [ebp - 0x2554], 0x22494
lea eax, [ebp - 0x2554]
push eax
movzx ecx, byte [ebp - 0x15]
push ecx
mov ecx, dword [ebp - 0x2568]
add ecx, 0xa4
call fcn.00476140
test eax, eax
jne 0x4a2fbd
mov edx, dword [ebp - 0x54]
cmp dword [ebp + edx*8 - 0x34], 1
jne 0x4a2f7f
cmp dword [ebp - 0x1cd8], 0
jne 0x4a2f3d
mov eax, dword [ebp - 0x1f20]
mov dword [ebp - 0x2578], eax
jmp 0x4a2f49
mov ecx, dword [ebp - 0x1cd8]
mov dword [ebp - 0x2578], ecx
mov edx, dword [ebp - 0x2578]
push edx
mov eax, dword [ebp - 0xa4]
push eax
push 0x4caff4
lea ecx, [ebp - 0x50]
push ecx
call fcn.004015f0
add esp, 0x10
lea ecx, [ebp - 0x50]
call fcn.0040b6f0
push eax
mov edx, dword [ebp - 0x10]
push edx
call fcn.00452e76
add esp, 8
jmp 0x4a2fbd
mov eax, dword [ebp - 0x54]
cmp dword [ebp + eax*8 - 0x34], 2
jne 0x4a2fbd
mov ecx, dword [ebp - 0x23b0]
push ecx
mov edx, dword [ebp - 0xa4]
push edx
push 0x4cb004
lea eax, [ebp - 0x50]
push eax
call fcn.004015f0
add esp, 0x10
lea ecx, [ebp - 0x50]
call fcn.0040b6f0
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.00452e76
add esp, 8
jmp 0x4a2b3d
mov dword [ebp - 0x44], 0xff
lea edx, [ebp - 0x44]
push edx
movzx eax, byte [ebp - 0x15]
push eax
mov ecx, dword [ebp - 0x2568]
add ecx, 0xa4
call fcn.00478c10
mov ecx, dword [ebp - 0x44]
push ecx
mov edx, dword [str.FanWorkMode]
push edx
push 0x4cb014
lea eax, [ebp - 0x50]
push eax
call fcn.004015f0
add esp, 0x10
lea ecx, [ebp - 0x50]
call fcn.0040b6f0
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.00452e76
add esp, 8
cmp dword [ebp - 0x44], 1
je 0x4a3077
mov dword [ebp - 0x2558], 0x28
push 0
lea edx, [ebp - 0x2558]
push edx
movzx eax, byte [ebp - 0x15]
push eax
mov ecx, dword [ebp - 0x2568]
add ecx, 0xa4
call fcn.0047aa30
mov ecx, dword [ebp - 0x2558]
push ecx
mov edx, dword [str.FanSpeed]
push edx
push 0x4cb024
lea eax, [ebp - 0x50]
push eax
call fcn.004015f0
add esp, 0x10
lea ecx, [ebp - 0x50]
call fcn.0040b6f0
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.00452e76
add esp, 8
movzx edx, byte [ebp - 0x15]
push edx
mov ecx, dword [ebp - 0x2568]
add ecx, 0xa4
call fcn.00403e30
test eax, eax
je 0x4a3125
movzx eax, byte [ebp - 0x15]
push eax
mov ecx, dword [ebp - 0x2568]
add ecx, 0xa4
call fcn.00403e00
test eax, eax
jne 0x4a3125
movzx ecx, byte [ebp - 0x15]
push ecx
mov ecx, dword [ebp - 0x2568]
add ecx, 0xa4
call fcn.00403ec0
cmp eax, 3
jne 0x4a3125
mov dword [ebp - 0x255c], 0x5a
lea edx, [ebp - 0x255c]
push edx
movzx eax, byte [ebp - 0x15]
push eax
mov ecx, dword [ebp - 0x2568]
add ecx, 0xa4
call fcn.00479d20
mov ecx, dword [ebp - 0x255c]
push ecx
mov edx, dword [str.AlarmTemperature]
push edx
push 0x4cb034
lea eax, [ebp - 0x50]
push eax
call fcn.004015f0
add esp, 0x10
lea ecx, [ebp - 0x50]
call fcn.0040b6f0
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.00452e76
add esp, 8
mov edx, dword [str.HorizonValue]
mov dword [ebp - 0x48], edx
mov eax, dword [str.VerticalValue]
mov dword [ebp - 0x40], eax
mov ecx, 1
test ecx, ecx
je 0x4a31ad
mov edx, dword [ebp - 0x2568]
mov eax, dword [edx + 0x1a90]
push eax
mov ecx, dword [ebp - 0x48]
push ecx
push 0x4cb044
lea edx, [ebp - 0x50]
push edx
call fcn.004015f0
add esp, 0x10
lea ecx, [ebp - 0x50]
call fcn.0040b6f0
push eax
mov eax, dword [ebp - 0x10]
push eax
call fcn.00452e76
add esp, 8
mov ecx, dword [ebp - 0x2568]
mov edx, dword [ecx + 0x1a94]
push edx
mov eax, dword [ebp - 0x40]
push eax
push str._s_d_r_n
lea ecx, [ebp - 0x50]
push ecx
call fcn.004015f0
add esp, 0x10
lea ecx, [ebp - 0x50]
call fcn.0040b6f0
push eax
mov edx, dword [ebp - 0x10]
push edx
call fcn.00452e76
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.00401620
jmp 0x4a29eb
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.00452400
add esp, 4
push eax
push 2
mov edx, dword [ebp - 0x10]
push edx
call fcn.004530fc
add esp, 0x10
mov eax, dword [ebp - 0x14]
push eax
call fcn.0045282b
add esp, 4
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x2564], ecx
mov edx, dword [ebp - 0x2564]
push edx
call fcn.0042c7f3
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4