Function at 0x4060c0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x433b38
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
lea eax, [esp + 0x18]
push esi
mov esi, ecx
push eax
call fcn.004259c0
mov ecx, dword [eax]
lea edx, [esp + 0x14]
mov dword [esp + 0x18], ecx
push str._Y__m__d
push edx
lea ecx, [esp + 0x20]
call fcn.004259d3
mov eax, dword [0x444930]
mov dword [esp + 0x28], 0
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
lea eax, [esi + 0x290]
push str.Data
lea ecx, [esp + 0x14]
mov bl, 2
push eax
push ecx
mov byte [esp + 0x34], bl
call fcn.00428855
mov edx, dword [esp + 0x14]
mov eax, dword [eax]
push edx
push eax
lea ecx, [esp + 0x10]
push str._sLog_Test__s.csv
push ecx
mov byte [esp + 0x38], 3
call fcn.0042582b
add esp, 0x10
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], bl
call fcn.004285c0
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x40627d
mov eax, dword [esi + 0x28c]
test eax, eax
jne 0x4061df
push 0x443c08
push str.ChipLevel4
push str.ChipLevel3
push str.ChipLevel2
push str.ChipLevel1
push str.ChipLevel0
push str.Voltage
push str.Freq
push str.Temp
push str.Chip_Info
push str.OKCORE
push str.BoardLevel
push 0x443c7c
push 0x443c84
push 0x443c90
push 0x443c9c
push 0x443ca4
push 0x44324c
lea eax, [esp + 0x54]
push str._s__s__s__s__s__s__s__s__s__s__s__s__s__s__s__s__s__s_r_n
push eax
jmp 0x406243
push str.FirmwareVersion
push str.ChipLevel4
push str.ChipLevel3
push str.ChipLevel2
push str.ChipLevel1
push str.ChipLevel0
push str.Voltage
push str.Freq
push str.Temp
push 0x443c5c
push str.OKCORE_Percent
push str.BoardLevel
push str.ErrorCode
push str.Result
push str.Test
push 0x443c9c
push str.MinerType
push str.Time
lea ecx, [esp + 0x54]
push str._s__s__s__s__s__s__s__s__s__s__s__s__s__s__s__s__s__s_r_n
push ecx
call fcn.0042582b
add esp, 0x50
lea edx, [esp + 0xc]
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.00428335
push ecx
lea eax, [esp + 0x10]
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
mov byte [esp + 0x34], 4
call fcn.00428335
mov ecx, esi
mov byte [esp + 0x30], bl
call fcn.00403f30
mov ecx, dword [esi + 0x1ec]
mov edx, dword [esi + 0x244]
mov eax, dword [esi + 0x240]
push ecx
mov ecx, dword [esi + 0x23c]
push edx
mov edx, dword [esi + 0x238]
push eax
mov eax, dword [esi + 0x234]
push ecx
mov ecx, dword [esi + 0x1e0]
push edx
mov edx, dword [esi + 0x1c0]
push eax
mov eax, dword [esi + 0x1dc]
push ecx
mov ecx, dword [esi + 0x1b0]
push edx
mov edx, dword [esi + 0x230]
push eax
mov eax, dword [esi + 0x22c]
push ecx
mov ecx, dword [esi + 0x178]
push edx
mov edx, dword [esi + 0x228]
push eax
mov eax, dword [esi + 0x224]
push ecx
mov ecx, dword [esi + 0x1f0]
push edx
mov edx, dword [esi + 0x170]
push eax
mov eax, dword [esi + 0x208]
push ecx
push edx
push eax
lea ecx, [esp + 0x54]
push str._s__s__s__s__s__s__s__s__s__s__s__s__s__s__s__s__s__s_r_n
push ecx
call fcn.0042582b
add esp, 0x4c
lea edx, [esp + 0x10]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.00428335
push ecx
lea eax, [esp + 0x10]
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
mov byte [esp + 0x34], 5
call fcn.00428335
mov ecx, esi
mov byte [esp + 0x30], bl
call fcn.00403f30
test eax, eax
jge 0x40639e
mov ecx, dword [0x444930]
mov dword [esp + 0x10], ecx
mov eax, dword [esi + 0x28c]
mov byte [esp + 0x28], 6
test eax, eax
jne 0x40636c
mov edx, dword [esp + 8]
lea eax, [esp + 0x10]
push edx
push 0x443e7c
push eax
jmp 0x40637b
mov ecx, dword [esp + 8]
lea edx, [esp + 0x10]
push ecx
push str.Failed_to_write_test_log_file__s._r_nPlease_check_if_another_program_is_opening_this_file.
push edx
call fcn.0042582b
mov eax, dword [esp + 0x1c]
add esp, 0xc
push 0
push 0
push eax
call fcn.0042e103
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], bl
call fcn.004285c0
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 1
call fcn.004285c0
lea ecx, [esp + 8]
mov byte [esp + 0x28], 0
call fcn.004285c0
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 0xffffffff
call fcn.004285c0
mov ecx, dword [esp + 0x20]
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x24
ret