Function at 0x462b30
Capabilities:
Check if file exists
Copy file
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x509fe5
mov eax, dword fs:[0]
push eax
sub esp, 0xf8
mov eax, dword [0x55f43c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xa0], ecx
lea ecx, [ebp - 0x4c]
call dword [sym.imp.mfc100.dll_Ordinal_316]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x34]
call dword [sym.imp.mfc100.dll_Ordinal_316]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44]
call dword [sym.imp.mfc100.dll_Ordinal_316]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x50]
call dword [sym.imp.mfc100.dll_Ordinal_316]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call dword [sym.imp.mfc100.dll_Ordinal_316]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x38]
call dword [sym.imp.mfc100.dll_Ordinal_316]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x3c]
call dword [sym.imp.mfc100.dll_Ordinal_316]
mov byte [ebp - 4], 6
lea eax, [ebp - 0x44]
push eax
push 1
lea ecx, [ebp - 0x50]
push ecx
lea edx, [ebp - 0x34]
push edx
lea eax, [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 0xa0]
call fcn.0046f880
lea ecx, [ebp - 0x2c]
call fcn.00456710
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x2c]
push ecx
call fcn.004b82c0
mov ecx, eax
call fcn.004bb1a0
push 0x5245e3
lea ecx, [ebp - 0x30]
call dword [sym.imp.mfc100.dll_Ordinal_310]
mov byte [ebp - 4], 8
push str.BatteryCalDevice0_
lea edx, [ebp - 0x4c]
push edx
lea eax, [ebp - 0x68]
push eax
call fcn.0042c5c0
add esp, 0xc
mov dword [ebp - 0xa4], eax
mov ecx, dword [ebp - 0xa4]
mov dword [ebp - 0xa8], ecx
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0xa8]
push edx
lea ecx, [ebp - 0x30]
call dword [sym.imp.mfc100.dll_Ordinal_1313]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x68]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp - 0x30]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0xffffffff
jne 0x462e40
lea ecx, [ebp - 0x54]
call dword [sym.imp.mfc100.dll_Ordinal_316]
mov byte [ebp - 4], 0xa
push 0x5247e0
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x6c]
push ecx
call fcn.0042c5c0
add esp, 0xc
mov dword [ebp - 0xac], eax
mov edx, dword [ebp - 0xac]
mov dword [ebp - 0xb0], edx
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0xb0]
push eax
lea ecx, [ebp - 0x54]
call dword [sym.imp.mfc100.dll_Ordinal_1313]
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x6c]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp - 0x54]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
call sub.Micl.dll_MiclSendDlgMessage
add esp, 4
mov dword [ebp - 0x58], 0
mov ecx, dword [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x30]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x462dd9
lea edx, [ebp - 0x30]
push edx
push 0x524804
lea eax, [ebp - 0x70]
push eax
call fcn.0042c680
add esp, 0xc
mov dword [ebp - 0xb4], eax
mov ecx, dword [ebp - 0xb4]
mov dword [ebp - 0xb8], ecx
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0xb8]
push edx
lea ecx, [ebp - 0x54]
call dword [sym.imp.mfc100.dll_Ordinal_1313]
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x70]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp - 0x54]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
call sub.Micl.dll_MiclSendDlgMessage
add esp, 4
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x54]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x30]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2c]
call fcn.00456770
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x3c]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x38]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x50]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call dword [sym.imp.mfc100.dll_Ordinal_901]
jmp 0x463162
lea eax, [ebp - 0x30]
push eax
push 0x524828
lea ecx, [ebp - 0x74]
push ecx
call fcn.0042c680
add esp, 0xc
mov dword [ebp - 0xbc], eax
mov edx, dword [ebp - 0xbc]
mov dword [ebp - 0xc0], edx
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0xc0]
push eax
lea ecx, [ebp - 0x54]
call dword [sym.imp.mfc100.dll_Ordinal_1313]
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x74]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp - 0x54]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
call sub.Micl.dll_MiclSendDlgMessage
add esp, 4
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x54]
call dword [sym.imp.mfc100.dll_Ordinal_901]
push 0x524854
lea ecx, [ebp - 0x2c]
push ecx
push str.BatteryCalDevice0SleepCurrent_
lea edx, [ebp - 0x4c]
push edx
lea eax, [ebp - 0x78]
push eax
call fcn.0042c5c0
add esp, 0xc
mov dword [ebp - 0xc4], eax
mov ecx, dword [ebp - 0xc4]
mov dword [ebp - 0xc8], ecx
mov byte [ebp - 4], 0xe
mov edx, dword [ebp - 0xc8]
push edx
lea eax, [ebp - 0x7c]
push eax
call fcn.004206a0
add esp, 0xc
mov dword [ebp - 0xcc], eax
mov ecx, dword [ebp - 0xcc]
mov dword [ebp - 0xd0], ecx
mov byte [ebp - 4], 0xf
mov edx, dword [ebp - 0xd0]
push edx
lea eax, [ebp - 0x80]
push eax
call fcn.0042c5c0
add esp, 0xc
mov dword [ebp - 0xd4], eax
mov ecx, dword [ebp - 0xd4]
mov dword [ebp - 0xd8], ecx
mov byte [ebp - 4], 0x10
mov edx, dword [ebp - 0xd8]
push edx
lea ecx, [ebp - 0x38]
call dword [sym.imp.mfc100.dll_Ordinal_1313]
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x80]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x7c]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x78]
call dword [sym.imp.mfc100.dll_Ordinal_901]
push str.SleepCurrent.txt
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x84]
push ecx
call fcn.0042c5c0
add esp, 0xc
mov dword [ebp - 0xdc], eax
mov edx, dword [ebp - 0xdc]
mov dword [ebp - 0xe0], edx
mov byte [ebp - 4], 0x11
mov eax, dword [ebp - 0xe0]
push eax
lea ecx, [ebp - 0x3c]
call dword [sym.imp.mfc100.dll_Ordinal_1313]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x84]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov ecx, dword [ebp - 0xa0]
call fcn.00448870
cmp eax, 1
jne 0x463033
push 0
lea ecx, [ebp - 0x3c]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
lea ecx, [ebp - 0x38]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
jne 0x463033
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x60], eax
lea ecx, [ebp - 0x64]
call dword [sym.imp.mfc100.dll_Ordinal_316]
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x50]
push ecx
mov edx, dword [ebp - 0x60]
push edx
mov eax, dword [ebp - 0x38]
push eax
push 0xa2
push 0x524898
lea ecx, [ebp - 0x64]
push ecx
call dword [sym.imp.mfc100.dll_Ordinal_4283]
add esp, 0x18
lea ecx, [ebp - 0x64]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
call sub.Micl.dll_MiclSendDlgMessage
add esp, 4
push 0xa4
push 0x5248dc
push ecx
mov ecx, esp
mov dword [ebp - 0x88], esp
lea edx, [ebp - 0x64]
push edx
call dword [sym.imp.mfc100.dll_Ordinal_300]
mov dword [ebp - 0xe4], eax
push 1
push 0
call sub.Micl.dll_MiclAddDebugLogString
add esp, 0x14
push ecx
mov ecx, esp
mov dword [ebp - 0x8c], esp
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.mfc100.dll_Ordinal_300]
mov dword [ebp - 0xe8], eax
mov ecx, dword [ebp - 0xa0]
call fcn.004735f0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x64]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov ecx, dword [ebp - 0xa0]
cmp dword [ecx + 0x664], 1
jne 0x4630eb
push ecx
mov ecx, esp
mov dword [ebp - 0x90], esp
push 0x524607
call dword [sym.imp.mfc100.dll_Ordinal_310]
mov dword [ebp - 0xec], eax
mov edx, dword [ebp - 0xec]
mov dword [ebp - 0xf0], edx
mov byte [ebp - 4], 0x13
push ecx
mov ecx, esp
mov dword [ebp - 0x94], esp
push str.SleepCurrent_Failed.txt
call dword [sym.imp.mfc100.dll_Ordinal_310]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0xf8], eax
mov byte [ebp - 4], 0x14
push ecx
mov ecx, esp
mov dword [ebp - 0x98], esp
lea edx, [ebp - 0x34]
push edx
call dword [sym.imp.mfc100.dll_Ordinal_300]
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x100], eax
mov byte [ebp - 4], 0x15
push ecx
mov ecx, esp
mov dword [ebp - 0x9c], esp
lea edx, [ebp - 0x38]
push edx
call dword [sym.imp.mfc100.dll_Ordinal_300]
mov dword [ebp - 0x104], eax
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0xa0]
call fcn.00470800
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x30]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2c]
call fcn.00456770
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x3c]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x38]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x50]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4