Function at 0x1006f1e0
Capabilities:
Check if file exists
Copy file
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102f8238
mov eax, dword fs:[0]
push eax
sub esp, 0x540
mov eax, dword [case.0x100be6e1.80]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x54c], edi
mov eax, dword [ebp + 8]
mov ecx, eax
movzx eax, ax
shr ecx, 0x10
cmp eax, 0x11f9
ja 0x1006f493
je 0x1006f2e6
sub eax, 0x1005
cmp eax, 4
ja case.0x1006f4a1.4618
jmp dword [eax*4 + 0x100703c0]
mov eax, 0x300
cmp cx, ax
jne case.0x1006f4a1.4618
push 1
push 0
push 0x1005
mov ecx, edi
call fcn.100ccfbd
mov dword [0x103c9754], eax
jmp case.0x1006f4a1.4618
mov eax, 0x300
cmp cx, ax
jne case.0x1006f4a1.4618
push 1
push 0
push 0x1006
mov ecx, edi
call fcn.100ccfbd
mov dword [0x103c9758], eax
jmp case.0x1006f4a1.4618
mov eax, 0x300
cmp cx, ax
jne case.0x1006f4a1.4618
push 1
push 0
push 0x1007
mov ecx, edi
call fcn.100ccfbd
mov dword [0x103c975c], eax
jmp case.0x1006f4a1.4618
mov eax, 0x300
cmp cx, ax
jne case.0x1006f4a1.4618
push 1
push 0
push 0x1009
mov ecx, edi
call fcn.100ccfbd
mov dword [0x103c9760], eax
jmp case.0x1006f4a1.4618
mov dword [edi + 0x128], 0
mov eax, dword [0x103c9758]
push str.Temperature_CAL_Start
push 0x103caaa0
mov dword [0x103caa90], eax
call fcn.100029e0
add esp, 4
mov esi, esp
mov dword [ebp - 0x540], esp
mov dword [ebp - 0x544], esi
call fcn.100c32b9
mov ecx, eax
test ecx, ecx
je 0x100703ab
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
mov dword [ebp - 4], 0
mov ecx, esi
push 0x103caaa0
call fcn.10003e40
test al, al
jne 0x1006f36a
mov ecx, 0x103caaa0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1006f354
sub ecx, edx
push ecx
push 0x103caaa0
mov ecx, esi
call fcn.1000aa00
mov dword [ebp - 4], 1
mov dword [ebp - 4], 0xffffffff
mov ecx, edi
call fcn.1006f120
push dword [0x103c9760]
push str.Skip_Frame_:__d
push 0x103caaa0
call fcn.100029e0
add esp, 8
mov esi, esp
mov dword [ebp - 0x540], esp
mov dword [ebp - 0x544], esi
call fcn.100c32b9
mov ecx, eax
test ecx, ecx
je 0x100703b5
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
mov dword [ebp - 4], 2
mov ecx, esi
push 0x103caaa0
call fcn.10003e40
test al, al
jne 0x1006f3f6
mov ecx, 0x103caaa0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1006f3e0
sub ecx, edx
push ecx
push 0x103caaa0
mov ecx, esi
call fcn.1000aa00
mov dword [ebp - 4], 3
mov dword [ebp - 4], 0xffffffff
mov ecx, edi
call fcn.1006f120
push dword [0x103c9760]
mov ecx, edi
call fcn.10072620
mov eax, dword [edi + 0x130]
test eax, eax
je 0x1006f428
push eax
call sym.VADAV.dll_VDACQ_Close
push 0x7d0
mov ecx, edi
call fcn.10070b20
push 0xffffffffffffffff
push 0
push 0
push 0x1006ee30
push 0
call sym.VADAV.dll_VDACQ_Connect
mov dword [edi + 0x130], eax
test eax, eax
jne case.0x1006f4a1.4618
push 0xffffffffffffffff
push 0
push 0
push 0x1006ee30
push 0
call sym.VADAV.dll_VDACQ_Connect
push 0x7d0
mov ecx, edi
mov dword [edi + 0x130], eax
call fcn.10070b20
cmp dword [edi + 0x128], 0
jne case.0x1006f4a1.4618
cmp dword [edi + 0x130], 0
je 0x1006f454
jmp case.0x1006f4a1.4618
sub eax, 0x11fa
cmp eax, 0x11
ja case.0x1006f4a1.4618
jmp dword [eax*4 + 0x100703d4]
push str.Temperature_CAL_Stop
push 0x103caaa0
call fcn.100029e0
add esp, 4
mov ecx, esp
mov dword [ebp - 0x540], esp
push 0x103caaa0
call fcn.10008de0
mov dword [ebp - 4], 4
mov dword [ebp - 4], 0xffffffff
mov ecx, edi
call fcn.1006f120
mov eax, dword [edi + 0x130]
mov dword [edi + 0x128], 1
test eax, eax
je case.0x1006f4a1.4618
push eax
call sym.VADAV.dll_VDACQ_Close
jmp case.0x1006f4a1.4618
push 0x3e8
mov ecx, edi
mov dword [edi + 0x128], 1
call fcn.10070b20
mov eax, dword [edi + 0x130]
test eax, eax
je 0x1006f52a
push eax
call sym.VADAV.dll_VDACQ_Close
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x180]
jmp case.0x1006f4a1.4618
push 0
lea ecx, [ebp - 0x27c]
mov dword [0x103c9dec], 1
call fcn.10097700
mov dword [ebp - 4], 5
cmp dword [0x103c9de0], 0
jle 0x1006f5e9
lea ecx, [ebp - 0x544]
call fcn.100032e0
mov byte [ebp - 4], 6
lea eax, [ebp - 0x544]
push str.Offset_correction_delay
push eax
call fcn.10002d90
add esp, 4
lea eax, [ebp - 0x544]
mov ecx, esp
mov dword [ebp - 0x540], esp
push eax
call fcn.1000baf0
mov byte [ebp - 4], 7
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x27c]
call fcn.10097a10
push edi
push 0x67
lea ecx, [ebp - 0x27c]
call fcn.100cdfc8
push dword [0x103c9de0]
lea ecx, [ebp - 0x27c]
call fcn.10097b20
push 5
lea ecx, [ebp - 0x27c]
call fcn.100cdc87
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x544]
call fcn.10002aa0
push 0x1e
push 0x632ea0
push 0x4c4b3f
push 0
mov ecx, edi
call fcn.10072000
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x27c]
call fcn.100977e0
jmp case.0x1006f4a1.4618
push 1
mov ecx, 0x103c8e30
call fcn.10028510
push 1
mov ecx, edi
call fcn.10071c60
test eax, eax
je 0x1006f63a
push 0x1092
mov ecx, edi
call fcn.100728e0
push 0
mov ecx, 0x103c8e30
call fcn.10028510
jmp case.0x1006f4a1.4618
lea eax, [ebp - 0x540]
push eax
lea eax, [ebp - 0x544]
push eax
call sym.VADAV.dll_VDACQ_GetFrameDim
lea eax, [ebp - 0x53c]
push eax
call fcn.1004ca90
lea ecx, [ebp - 0x53c]
add esp, 4
dec ecx
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x1006f674
mov eax, dword [0x10324610]
push dword [ebp - 0x540]
mov dword [ecx], eax
mov ax, word [0x10324614]
push dword [ebp - 0x544]
mov word [ecx + 4], ax
lea eax, [ebp - 0x53c]
mov ecx, dword [0x103c9114]
push eax
call fcn.100b5a70
jmp case.0x1006f4a1.4618
push 0
push 0x1092
mov ecx, edi
call fcn.10071090
test eax, eax
je case.0x1006f4a1.4618
push 0x1092
mov ecx, edi
call fcn.100728e0
jmp case.0x1006f4a1.4618
push str.Temp_00500_
push 0x1093
mov ecx, edi
call fcn.10071090
test eax, eax
je case.0x1006f4a1.4618
push 0x1093
mov ecx, edi
call fcn.100728e0
jmp case.0x1006f4a1.4618
push str.Temp_01000_
push 0x1094
mov ecx, edi
call fcn.10071090
test eax, eax
je case.0x1006f4a1.4618
push 0x1094
mov ecx, edi
call fcn.100728e0
jmp case.0x1006f4a1.4618
push str.Temp_02000_
push 0x1095
mov ecx, edi
call fcn.10071090
test eax, eax
je case.0x1006f4a1.4618
push 0x1095
mov ecx, edi
call fcn.100728e0
jmp case.0x1006f4a1.4618
push str.Temp_03000_
push 0x1096
mov ecx, edi
call fcn.10071090
test eax, eax
je case.0x1006f4a1.4618
push 0x1096
mov ecx, edi
call fcn.100728e0
jmp case.0x1006f4a1.4618
push str.Temp_04000_
push 0x1097
mov ecx, edi
call fcn.10071090
test eax, eax
je case.0x1006f4a1.4618
push 0x1097
mov ecx, edi
call fcn.100728e0
jmp case.0x1006f4a1.4618
push 0x44
push 0x1f4
call fcn.10070bc0
push 0x44
push 0x3e8
call fcn.10070bc0
push 0x44
push 0x7d0
call fcn.10070bc0
push 0x44
push 0xbb8
call fcn.10070bc0
push 0x44
push 0xfa0
call fcn.10070bc0
push 0x4d
push 0x1f4
call fcn.10070bc0
push 0x4d
push 0x3e8
call fcn.10070bc0
push 0x4d
push 0x7d0
call fcn.10070bc0
add esp, 0x40
push 0x4d
push 0xbb8
call fcn.10070bc0
push 0x4d
push 0xfa0
call fcn.10070bc0
push 0x4c
push 0x1f4
call fcn.10070bc0
push 0x4c
push 0x3e8
call fcn.10070bc0
push 0x4c
push 0x7d0
call fcn.10070bc0
push 0x4c
push 0xbb8
call fcn.10070bc0
push 0x4c
push 0xfa0
call fcn.10070bc0
add esp, 0x38
mov ecx, edi
push 0x1093
call fcn.100728e0
push 0x1094
mov ecx, edi
call fcn.100728e0
push 0x1095
mov ecx, edi
call fcn.100728e0
push 0x1096
mov ecx, edi
call fcn.100728e0
push 0x1097
mov ecx, edi
call fcn.100728e0
jmp case.0x1006f4a1.4618
push 0xff
push 0x103c9e0c
push 0x100c
mov ecx, edi
call fcn.100ccffd
push 0x103c9e0c
call fcn.100bae10
add esp, 4
mov ecx, edi
push 0x103c9e0c
push 0x100c
call fcn.100cdaf4
push 0x103c9e0c
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
cmp eax, 0xffffffff
jne 0x1006f8f9
push 0
push 0x103c9e0c
call esi
lea eax, [ebp - 0x43c]
push eax
call fcn.1004ca90
lea eax, [ebp - 0x43c]
push eax
lea eax, [ebp - 0x27c]
push str._sTemp_00500
push eax
call fcn.100029e0
push 0x103c9e0c
lea eax, [ebp - 0x37c]
push str._sTemp_00500
push eax
call fcn.100029e0
add esp, 0x1c
lea eax, [ebp - 0x37c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x1006f953
push 0
lea eax, [ebp - 0x37c]
push eax
call esi
push 0x1092
mov ecx, edi
call fcn.100ccf47
mov ecx, eax
mov dword [ebp - 0x544], eax
call fcn.10067360
mov esi, eax
xor ecx, ecx
mov dword [ebp - 0x548], esi
mov dword [ebp - 0x540], ecx
test esi, esi
jle 0x1006faac
mov edi, eax
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x544]
push ecx
push 0x189
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [ebp - 0x30]
push eax
call fcn.102bcab8
mov esi, eax
lea eax, [ebp - 0x27c]
push esi
push eax
lea eax, [ebp - 0x1bc]
push str._sD00500__05d.raw
push eax
call fcn.100029e0
push esi
lea eax, [ebp - 0x37c]
push eax
lea eax, [ebp - 0xfc]
push str._sD00500__05d.raw
push eax
call fcn.100029e0
add esp, 0x24
lea eax, [ebp - 0xfc]
push 0
push eax
lea eax, [ebp - 0x1bc]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push esi
lea eax, [ebp - 0x27c]
push eax
lea eax, [ebp - 0x1bc]
push str._sL00500__05d.raw
push eax
call fcn.100029e0
push esi
lea eax, [ebp - 0x37c]
push eax
lea eax, [ebp - 0xfc]
push str._sL00500__05d.raw
push eax
call fcn.100029e0
add esp, 0x20
lea eax, [ebp - 0xfc]
push 0
push eax
lea eax, [ebp - 0x1bc]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push esi
lea eax, [ebp - 0x27c]
push eax
lea eax, [ebp - 0x1bc]
push str._sM00500__05d.raw
push eax
call fcn.100029e0
push esi
lea eax, [ebp - 0x37c]
push eax
lea eax, [ebp - 0xfc]
push str._sM00500__05d.raw
push eax
call fcn.100029e0
add esp, 0x20
lea eax, [ebp - 0xfc]
push 0
push eax
lea eax, [ebp - 0x1bc]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov ecx, dword [ebp - 0x540]
inc ecx
mov dword [ebp - 0x540], ecx
cmp ecx, edi
jl 0x1006f986
mov edi, dword [ebp - 0x54c]
mov esi, dword [ebp - 0x548]
lea eax, [ebp - 0x43c]
push eax
lea eax, [ebp - 0x27c]
push str._sTemp_01000
push eax
call fcn.100029e0
push 0x103c9e0c
lea eax, [ebp - 0x37c]
push str._sTemp_01000
push eax
call fcn.100029e0
add esp, 0x18
lea eax, [ebp - 0x37c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x1006fafe
push 0
lea eax, [ebp - 0x37c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
xor eax, eax
mov dword [ebp - 0x540], eax
test esi, esi
jle 0x1006fc3a
mov edi, dword [ebp - 0x548]
lea ecx, [ebp - 0x30]
push ecx
push eax
mov eax, dword [ebp - 0x544]
push 0x189
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [ebp - 0x30]
push eax
call fcn.102bcab8
mov esi, eax
lea eax, [ebp - 0x27c]
push esi
push eax
lea eax, [ebp - 0xfc]
push str._sD01000__05d.raw
push eax
call fcn.100029e0
push esi
lea eax, [ebp - 0x37c]
push eax
lea eax, [ebp - 0x1bc]
push str._sD01000__05d.raw
push eax
call fcn.100029e0
add esp, 0x24
lea eax, [ebp - 0x1bc]
push 0
push eax
lea eax, [ebp - 0xfc]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push esi
lea eax, [ebp - 0x27c]
push eax
lea eax, [ebp - 0xfc]
push str._sL01000__05d.raw
push eax
call fcn.100029e0
push esi
lea eax, [ebp - 0x37c]
push eax
lea eax, [ebp - 0x1bc]
push str._sL01000__05d.raw
push eax
call fcn.100029e0
add esp, 0x20
lea eax, [ebp - 0x1bc]
push 0
push eax
lea eax, [ebp - 0xfc]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push esi
lea eax, [ebp - 0x27c]
push eax
lea eax, [ebp - 0xfc]
push str._sM01000__05d.raw
push eax
call fcn.100029e0
push esi
lea eax, [ebp - 0x37c]
push eax
lea eax, [ebp - 0x1bc]
push str._sM01000__05d.raw
push eax
call fcn.100029e0
add esp, 0x20
lea eax, [ebp - 0x1bc]
push 0
push eax
lea eax, [ebp - 0xfc]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov eax, dword [ebp - 0x540]
inc eax
mov dword [ebp - 0x540], eax
cmp eax, edi
jl 0x1006fb14
mov edi, dword [ebp - 0x54c]
mov esi, dword [ebp - 0x548]
lea eax, [ebp - 0x43c]
push eax
lea eax, [ebp - 0x27c]
push str._sTemp_02000
push eax
call fcn.100029e0
push 0x103c9e0c
lea eax, [ebp - 0x37c]
push str._sTemp_02000
push eax
call fcn.100029e0
add esp, 0x18
lea eax, [ebp - 0x37c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x1006fc8c
push 0
lea eax, [ebp - 0x37c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
xor eax, eax
mov dword [ebp - 0x540], eax
test esi, esi
jle 0x1006fdc8
mov edi, dword [ebp - 0x548]
lea ecx, [ebp - 0x30]
push ecx
push eax
mov eax, dword [ebp - 0x544]
push 0x189
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [ebp - 0x30]
push eax
call fcn.102bcab8
mov esi, eax
lea eax, [ebp - 0x27c]
push esi
push eax
lea eax, [ebp - 0xfc]
push str._sD02000__05d.raw
push eax
call fcn.100029e0
push esi
lea eax, [ebp - 0x37c]
push eax
lea eax, [ebp - 0x1bc]
push str._sD02000__05d.raw
push eax
call fcn.100029e0
add esp, 0x24
lea eax, [ebp - 0x1bc]
push 0
push eax
lea eax, [ebp - 0xfc]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push esi
lea eax, [ebp - 0x27c]
push eax
lea eax, [ebp - 0xfc]
push str._sL02000__05d.raw
push eax
call fcn.100029e0
push esi
lea eax, [ebp - 0x37c]
push eax
lea eax, [ebp - 0x1bc]
push str._sL02000__05d.raw
push eax
call fcn.100029e0
add esp, 0x20
lea eax, [ebp - 0x1bc]
push 0
push eax
lea eax, [ebp - 0xfc]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push esi
lea eax, [ebp - 0x27c]
push eax
lea eax, [ebp - 0xfc]
push str._sM02000__05d.raw
push eax
call fcn.100029e0
push esi
lea eax, [ebp - 0x37c]
push eax
lea eax, [ebp - 0x1bc]
push str._sM02000__05d.raw
push eax
call fcn.100029e0
add esp, 0x20
lea eax, [ebp - 0x1bc]
push 0
push eax
lea eax, [ebp - 0xfc]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov eax, dword [ebp - 0x540]
inc eax
mov dword [ebp - 0x540], eax
cmp eax, edi
jl 0x1006fca2
mov edi, dword [ebp - 0x54c]
mov esi, dword [ebp - 0x548]
lea eax, [ebp - 0x43c]
push eax
lea eax, [ebp - 0x27c]
push str._sTemp_03000
push eax
call fcn.100029e0
push 0x103c9e0c
lea eax, [ebp - 0x37c]
push str._sTemp_03000
push eax
call fcn.100029e0
add esp, 0x18
lea eax, [ebp - 0x37c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x1006fe1a
push 0
lea eax, [ebp - 0x37c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
xor eax, eax
mov dword [ebp - 0x540], eax
test esi, esi
jle 0x1006ff56
mov edi, dword [ebp - 0x548]
lea ecx, [ebp - 0x30]
push ecx
push eax
mov eax, dword [ebp - 0x544]
push 0x189
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [ebp - 0x30]
push eax
call fcn.102bcab8
mov esi, eax
lea eax, [ebp - 0x27c]
push esi
push eax
lea eax, [ebp - 0xfc]
push str._sD03000__05d.raw
push eax
call fcn.100029e0
push esi
lea eax, [ebp - 0x37c]
push eax
lea eax, [ebp - 0x1bc]
push str._sD03000__05d.raw
push eax
call fcn.100029e0
add esp, 0x24
lea eax, [ebp - 0x1bc]
push 0
push eax
lea eax, [ebp - 0xfc]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push esi
lea eax, [ebp - 0x27c]
push eax
lea eax, [ebp - 0xfc]
push str._sL03000__05d.raw
push eax
call fcn.100029e0
push esi
lea eax, [ebp - 0x37c]
push eax
lea eax, [ebp - 0x1bc]
push str._sL03000__05d.raw
push eax
call fcn.100029e0
add esp, 0x20
lea eax, [ebp - 0x1bc]
push 0
push eax
lea eax, [ebp - 0xfc]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push esi
lea eax, [ebp - 0x27c]
push eax
lea eax, [ebp - 0xfc]
push str._sM03000__05d.raw
push eax
call fcn.100029e0
push esi
lea eax, [ebp - 0x37c]
push eax
lea eax, [ebp - 0x1bc]
push str._sM03000__05d.raw
push eax
call fcn.100029e0
add esp, 0x20
lea eax, [ebp - 0x1bc]
push 0
push eax
lea eax, [ebp - 0xfc]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov eax, dword [ebp - 0x540]
inc eax
mov dword [ebp - 0x540], eax
cmp eax, edi
jl 0x1006fe30
mov edi, dword [ebp - 0x54c]
mov esi, dword [ebp - 0x548]
lea eax, [ebp - 0x43c]
push eax
lea eax, [ebp - 0x27c]
push str._sTemp_04000
push eax
call fcn.100029e0
push 0x103c9e0c
lea eax, [ebp - 0x37c]
push str._sTemp_04000
push eax
call fcn.100029e0
add esp, 0x18
lea eax, [ebp - 0x37c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x1006ffa8
push 0
lea eax, [ebp - 0x37c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
xor eax, eax
mov dword [ebp - 0x540], eax
test esi, esi
jle case.0x1006f4a1.4618
mov edi, dword [ebp - 0x548]
nop
lea ecx, [ebp - 0x30]
push ecx
push eax
mov eax, dword [ebp - 0x544]
push 0x189
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [ebp - 0x30]
push eax
call fcn.102bcab8
mov esi, eax
lea eax, [ebp - 0x27c]
push esi
push eax
lea eax, [ebp - 0xfc]
push str._sD04000__05d.raw
push eax
call fcn.100029e0
push esi
lea eax, [ebp - 0x37c]
push eax
lea eax, [ebp - 0x1bc]
push str._sD04000__05d.raw
push eax
call fcn.100029e0
add esp, 0x24
lea eax, [ebp - 0x1bc]
push 0
push eax
lea eax, [ebp - 0xfc]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push esi
lea eax, [ebp - 0x27c]
push eax
lea eax, [ebp - 0xfc]
push str._sL04000__05d.raw
push eax
call fcn.100029e0
push esi
lea eax, [ebp - 0x37c]
push eax
lea eax, [ebp - 0x1bc]
push str._sL04000__05d.raw
push eax
call fcn.100029e0
add esp, 0x20
lea eax, [ebp - 0x1bc]
push 0
push eax
lea eax, [ebp - 0xfc]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push esi
lea eax, [ebp - 0x27c]
push eax
lea eax, [ebp - 0xfc]
push str._sM04000__05d.raw
push eax
call fcn.100029e0
push esi
lea eax, [ebp - 0x37c]
push eax
lea eax, [ebp - 0x1bc]
push str._sM04000__05d.raw
push eax
call fcn.100029e0
add esp, 0x20
lea eax, [ebp - 0x1bc]
push 0
push eax
lea eax, [ebp - 0xfc]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov eax, dword [ebp - 0x540]
inc eax
mov dword [ebp - 0x540], eax
cmp eax, edi
jl 0x1006ffc0
mov edi, dword [ebp - 0x54c]
jmp case.0x1006f4a1.4618
push 1
mov ecx, 0x103c8e30
call fcn.100d2b35
lea eax, [ebp - 0xfc]
push eax
call fcn.1004ca90
lea ecx, [ebp - 0xfc]
add esp, 4
dec ecx
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x10070107
mov eax, dword [str.DARK.raw]
mov dword [ecx], eax
mov eax, dword [0x103214b0]
mov dword [ecx + 4], eax
mov al, byte [0x103214b4]
mov byte [ecx + 8], al
lea eax, [ebp - 0x1bc]
push eax
call fcn.1004ca90
lea ecx, [ebp - 0x1bc]
add esp, 4
dec ecx
nop
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x10070140
mov eax, dword [str.A________.raw]
mov dword [ecx], eax
mov eax, dword [0x1031bd58]
mov dword [ecx + 4], eax
mov eax, dword [0x1031bd5c]
mov dword [ecx + 8], eax
mov ax, word [0x1031bd60]
mov word [ecx + 0xc], ax
lea eax, [ebp - 0x43c]
push eax
call fcn.1004ca90
lea ecx, [ebp - 0x43c]
add esp, 4
dec ecx
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x10070181
mov eax, dword [str.BPM.raw]
mov dword [ecx], eax
mov eax, dword [0x103214bc]
mov dword [ecx + 4], eax
lea eax, [ebp - 0x43c]
push eax
lea eax, [ebp - 0x1bc]
push eax
lea eax, [ebp - 0xfc]
push eax
push 0x103c957c
call fcn.10044b70
add esp, 0x10
test eax, eax
jne 0x100701cd
push eax
push 0x30
push str.Cant_generate_Automatic_Bad_Pixels_Map
call fcn.100d2df0
push 0xffffffffffffffff
mov ecx, 0x103c8e30
call fcn.100d2b35
push 0
push 0x1018
push str.BPM.raw
push edi
call fcn.100a3ea0
add esp, 0x10
jmp case.0x1006f4a1.4618
push 0x1092
mov ecx, edi
call fcn.100ccf47
push 1
push 0
mov esi, eax
mov ecx, edi
push 0x100b
mov dword [ebp - 0x540], esi
call fcn.100ccfbd
push eax
lea eax, [ebp - 0x3c]
push 0x1031c474
push eax
call fcn.100029e0
add esp, 0xc
mov ecx, esi
call fcn.10067360
lea ecx, [ebp - 0x3c]
push ecx
push eax
push 0x181
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, esi
call fcn.10067360
xor esi, esi
mov dword [ebp - 0x544], eax
test eax, eax
jle case.0x1006f4a1.4618
nop word [eax + eax]
cmp esi, 0x10
jge case.0x1006f4a1.4618
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x540]
push esi
push 0x189
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [ebp - 0x30]
push eax
call fcn.102bcab8
mov dword [esi*4 + 0x103c9f0c], eax
add esp, 4
inc esi
cmp esi, dword [ebp - 0x544]
jl 0x10070260
jmp case.0x1006f4a1.4618
push 0x1092
mov ecx, edi
call fcn.100ccf47
mov ecx, eax
mov dword [ebp - 0x540], eax
call fcn.10067360
mov esi, eax
test esi, esi
jle 0x100702ed
mov edi, dword [ebp - 0x540]
nop dword [eax + eax]
push 0
push 0
push 0x182
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_SendMessageA]
sub esi, 1
jne 0x100702d0
mov edi, dword [ebp - 0x54c]
movaps xmm0, xmmword [0x103255f0]
movups xmmword [0x103c9f0c], xmm0
movups xmmword [0x103c9f1c], xmm0
movups xmmword [0x103c9f2c], xmm0
movups xmmword [0x103c9f3c], xmm0
jmp case.0x1006f4a1.4618
mov eax, dword [edi + 0x20]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0x103c9e0c
mov dword [ebp - 0x24], str.Copy_folder_for_temperature_data
mov dword [ebp - 0x20], 0x30
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderA]
test eax, eax
je case.0x1006f4a1.4618
push 0x103c9e0c
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
push 0x103c9e0c
call fcn.100bae10
add esp, 4
mov ecx, edi
push 0x103c9e0c
push 0x100c
call fcn.100cdaf4
push dword [ebp + 0xc]
mov ecx, edi
push dword [ebp + 8]
call fcn.100c7f36
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10291e04
mov esp, ebp
pop ebp
ret 8
push 0x80004005
call fcn.10002bc0
push 0x80004005
call fcn.10002bc0
nop
inc esi
push es
adc byte [esi - 0xe], ch
push es
adc byte [esi - 0x7eeff90e], dl
add eax, dword [edi]
adc byte [esi - 0x57eff90e], bh
hlt