Function at 0x43a160
Capabilities:
Access peb ldr_data
Copy file
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x474b60
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
push edi
mov dword [esp + 0x30], 0
mov eax, dword [0x48fb24]
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x3c]
mov ebx, 5
cmp eax, ebx
mov byte [esp + 0x30], bl
jne 0x43a1cf
push str.MFGGetinfo
lea ecx, [esp + 0x18]
call fcn.00462a21
push str.TotalFailMFGGetinfoFileCopy
lea ecx, [esp + 0x1c]
call fcn.00462a21
push str.MFGGetinfofile
jmp 0x43a3f3
cmp eax, 6
jne 0x43a1fa
push str.SMTRepair
lea ecx, [esp + 0x18]
call fcn.00462a21
push str.TotalFailSMTRepairFileCopy
lea ecx, [esp + 0x1c]
call fcn.00462a21
push str.SMTRepairfile
jmp 0x43a3f3
cmp eax, 7
jne 0x43a225
push str.MFGRDTLOG
lea ecx, [esp + 0x18]
call fcn.00462a21
push str.TotalFailMFGRDTLOGFileCopy
lea ecx, [esp + 0x1c]
call fcn.00462a21
push str.MFGRDTLOGfile
jmp 0x43a3f3
cmp eax, 8
jne 0x43a250
push str.MFGPORTISP
lea ecx, [esp + 0x18]
call fcn.00462a21
push str.TotalFailMFGPORTISPFileCopy
lea ecx, [esp + 0x1c]
call fcn.00462a21
push str.MFGPORTISPfile
jmp 0x43a3f3
cmp eax, 9
jne 0x43a27b
push str.MFGRDTTimeout
lea ecx, [esp + 0x18]
call fcn.00462a21
push str.TotalFailMFGRDTTimeoutFileCopy
lea ecx, [esp + 0x1c]
call fcn.00462a21
push str.MFGRDTTimeoutfile
jmp 0x43a3f3
cmp eax, 0xa
jne 0x43a379
push str.MFGPPCIP
lea ecx, [esp + 0x18]
call fcn.00462a21
push str.TotalFailMFGPPCIPFileCopy
lea ecx, [esp + 0x1c]
call fcn.00462a21
push str.MFGPPCIPfile
lea ecx, [esp + 0x14]
call fcn.00462a21
lea ecx, [esp + 0x14]
push 0
push ecx
lea edx, [esp + 0x24]
push 0x48f69c
push edx
call fcn.00462ba1
push str._Log_File_:
push eax
lea eax, [esp + 0x48]
mov byte [esp + 0x3c], 0x14
push eax
call fcn.00462b2d
push ecx
lea edx, [esp + 0x48]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
push eax
push ecx
mov byte [esp + 0x44], 0x15
call fcn.00462ac7
mov esi, dword [esp + 0x40]
mov ecx, esi
call fcn.004089b0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x30], 0x14
call fcn.00462898
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], bl
call fcn.00462898
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x3c]
mov eax, dword [eax - 8]
push eax
push ecx
lea ecx, [esp + 0x48]
call fcn.0046168b
mov edx, dword [esp + 0x14]
mov eax, dword [eax]
push edx
push eax
call fcn.0044bf3e
add esp, 8
lea ecx, [esp + 0x3c]
test eax, eax
sete byte [esp + 0x38]
call fcn.00462898
mov al, byte [esp + 0x38]
test al, al
mov eax, dword [esp + 0x40]
push eax
je 0x43a7d5
mov ecx, dword [esi + 0x6c]
lea edx, [esp + 0x10]
push ecx
push str._sTransData_s
push edx
call fcn.00461a66
add esp, 0x10
jmp 0x43a7f0
cmp eax, 0xb
jne 0x43a3a1
push str.MFGENVTEST
lea ecx, [esp + 0x18]
call fcn.00462a21
push str.TotalFailMFGENVTESTFileCopy
lea ecx, [esp + 0x1c]
call fcn.00462a21
push str.MFGENVTESTfile
jmp 0x43a3f3
cmp eax, 0xc
jne 0x43a3c9
push str.MFGPRINTSCAN
lea ecx, [esp + 0x18]
call fcn.00462a21
push str.TotalFailMFGPRINTSCANFileCopy
lea ecx, [esp + 0x1c]
call fcn.00462a21
push str.MFGPRINTSCANfile
jmp 0x43a3f3
cmp eax, 0xd
jne 0x43ab56
push str.MFGBADBLOCKLOG
lea ecx, [esp + 0x18]
call fcn.00462a21
push str.TotalFailMFGBADBLOCKLOGFileCopy
lea ecx, [esp + 0x1c]
call fcn.00462a21
push str.MFGBADBLOCKLOGfile
lea ecx, [esp + 0x14]
call fcn.00462a21
lea eax, [esp + 0x14]
push 0
push eax
lea ecx, [esp + 0x24]
push 0x48f69c
push ecx
call fcn.00462ba1
push str._Log_File_:
lea edx, [esp + 0x44]
push eax
push edx
mov byte [esp + 0x40], 6
call fcn.00462b2d
push ecx
lea edx, [esp + 0x48]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
push eax
push ecx
mov byte [esp + 0x44], 7
call fcn.00462ac7
mov esi, dword [esp + 0x40]
mov ecx, esi
call fcn.004089b0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x30], 6
call fcn.00462898
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], bl
call fcn.00462898
mov eax, dword [esp + 0x40]
mov ecx, dword [esi + 0x6c]
push eax
push ecx
lea edx, [esp + 0x14]
push str._sTransData_s
push edx
call fcn.00461a66
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x54]
mov edi, dword [sym.imp.KERNEL32.dll_CopyFileA]
add esp, 0x10
push 1
push eax
push ecx
call edi
test eax, eax
jne 0x43a713
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x44]
push 1
push edx
push eax
call edi
test eax, eax
jne 0x43a713
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x44]
push eax
push ecx
push edx
lea eax, [esp + 0x18]
push str._Error__Copy__s_to__s_failed____OSLastError_d
push eax
call fcn.00461a66
add esp, 0x10
lea edx, [esp + 0x10]
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
call fcn.0046260d
mov ecx, esi
call fcn.00403ee0
mov eax, dword [0x4c5c14]
mov ecx, dword [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push eax
push 0
push str.Invalid
push ecx
call esi
inc eax
lea edx, [esp + 0xc]
push eax
push 0x48bdc8
push edx
call fcn.00461a66
add esp, 8
mov ecx, esp
mov dword [esp + 0x3c], esp
push 0x4c5c14
call fcn.0046260d
push ecx
lea eax, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
mov byte [esp + 0x3c], 8
call fcn.0046260d
push ecx
mov byte [esp + 0x3c], 9
mov ecx, esp
mov dword [esp + 0x28], esp
push str.Invalid
call fcn.00462906
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
mov byte [esp + 0x44], 0xa
call fcn.0046260d
mov byte [esp + 0x40], bl
call fcn.0040b2a0
mov eax, dword [0x4c5c80]
mov ecx, dword [esp + 0x28]
add esp, 0x10
push eax
push 0
push ecx
push str.Send_Log
call esi
inc eax
lea edx, [esp + 0xc]
push eax
push 0x48bdc8
push edx
call fcn.00461a66
add esp, 8
mov ecx, esp
mov dword [esp + 0x3c], esp
push 0x4c5c80
call fcn.0046260d
push ecx
lea eax, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
mov byte [esp + 0x3c], 0xb
call fcn.0046260d
push ecx
lea edx, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
mov byte [esp + 0x40], 0xc
call fcn.0046260d
push ecx
mov byte [esp + 0x40], 0xd
mov ecx, esp
mov dword [esp + 0x2c], esp
push str.Send_Log
call fcn.00462906
mov byte [esp + 0x40], bl
call fcn.0040b2a0
add esp, 0xc
mov ecx, esp
mov dword [esp + 0x3c], esp
push 0x4c5c80
call fcn.0046260d
push ecx
lea eax, [esp + 0x48]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
mov byte [esp + 0x3c], 0xe
call fcn.0046260d
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
mov byte [esp + 0x40], 0xf
call fcn.0046260d
push ecx
lea eax, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
mov byte [esp + 0x44], 0x10
call fcn.0046260d
mov byte [esp + 0x40], bl
call fcn.0040b2a0
mov ecx, dword [esp + 0x50]
mov edx, dword [0x4c5c7c]
push ecx
push edx
lea eax, [esp + 0x24]
push str._s_s
push eax
call fcn.00461a66
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x64]
add esp, 0x20
push 0
push ecx
push edx
call edi
mov eax, dword [0x4c5c70]
lea ecx, [esp + 0x44]
push ecx
push eax
mov ecx, 0x4c5c68
call fcn.004620d5
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 4
call fcn.00462898
mov byte [esp + 0x30], 3
lea ecx, [esp + 0x18]
call fcn.00462898
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 2
call fcn.00462898
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 1
call fcn.00462898
lea ecx, [esp + 0x40]
mov byte [esp + 0x30], 0
call fcn.00462898
lea ecx, [esp + 0x44]
mov dword [esp + 0x30], 0xffffffff
call fcn.00462898
mov eax, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x28
ret
mov eax, dword [0x4c5c70]
lea edx, [esp + 0x44]
push edx
push eax
mov ecx, 0x4c5c68
call fcn.004620d5
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x14]
push eax
push ecx
lea edx, [esp + 0x14]
push str.Process__s_File__s_Success__
push edx
call fcn.00461a66
add esp, 0xc
lea eax, [esp + 0x10]
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
call fcn.0046260d
mov ecx, esi
call fcn.00403ee0
mov ecx, dword [0x4c5c14]
mov edx, dword [esp + 0x10]
push ecx
push 0
push str.valid
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
inc eax
push eax
lea eax, [esp + 0x10]
push 0x48bdc8
push eax
call fcn.00461a66
add esp, 8
mov ecx, esp
mov dword [esp + 0x3c], esp
push 0x4c5c14
call fcn.0046260d
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x44], esp
push edx
mov byte [esp + 0x3c], 0x11
call fcn.0046260d
push ecx
mov byte [esp + 0x3c], 0x12
mov ecx, esp
mov dword [esp + 0x30], esp
push str.valid
call fcn.00462906
push ecx
mov byte [esp + 0x40], 0x13
mov ecx, esp
mov dword [esp + 0x30], esp
jmp 0x43ab40
mov ecx, dword [esp + 0x18]
mov edx, dword [esi + 0x6c]
push ecx
push edx
lea eax, [esp + 0x18]
push str._sTransData_s__s
push eax
call fcn.00461a66
add esp, 0x14
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x44]
mov edi, dword [sym.imp.KERNEL32.dll_CopyFileA]
push 1
push ecx
push edx
call edi
test eax, eax
jne 0x43aa83
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x44]
push 1
push eax
push ecx
call edi
test eax, eax
jne 0x43aa83
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esp + 0xc]
push eax
mov eax, dword [esp + 0x48]
push edx
push eax
lea ecx, [esp + 0x18]
push str._Error__Copy__s_to__s_failed____OSLastError_d
push ecx
call fcn.00461a66
add esp, 0x10
lea edx, [esp + 0x10]
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
call fcn.0046260d
mov ecx, esi
call fcn.00403ee0
mov eax, dword [0x4c5c14]
mov ecx, dword [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push eax
push 0
push str.Invalid
push ecx
call esi
inc eax
lea edx, [esp + 0xc]
push eax
push 0x48bdc8
push edx
call fcn.00461a66
add esp, 8
mov ecx, esp
mov dword [esp + 0x3c], esp
push 0x4c5c14
call fcn.0046260d
push ecx
lea eax, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
mov byte [esp + 0x3c], 0x16
call fcn.0046260d
push ecx
mov byte [esp + 0x3c], 0x17
mov ecx, esp
mov dword [esp + 0x2c], esp
push str.Invalid
call fcn.00462906
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
mov byte [esp + 0x44], 0x18
call fcn.0046260d
mov byte [esp + 0x40], bl
call fcn.0040b2a0
mov eax, dword [0x4c5c80]
mov ecx, dword [esp + 0x28]
add esp, 0x10
push eax
push 0
push ecx
push str.Send_Log
call esi
inc eax
lea edx, [esp + 0xc]
push eax
push 0x48bdc8
push edx
call fcn.00461a66
add esp, 8
mov ecx, esp
mov dword [esp + 0x3c], esp
push 0x4c5c80
call fcn.0046260d
push ecx
lea eax, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
mov byte [esp + 0x3c], 0x19
call fcn.0046260d
push ecx
lea edx, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
mov byte [esp + 0x40], 0x1a
call fcn.0046260d
push ecx
mov byte [esp + 0x40], 0x1b
mov ecx, esp
mov dword [esp + 0x2c], esp
push str.Send_Log
call fcn.00462906
mov byte [esp + 0x40], bl
call fcn.0040b2a0
add esp, 0xc
mov ecx, esp
mov dword [esp + 0x3c], esp
push 0x4c5c80
call fcn.0046260d
push ecx
lea eax, [esp + 0x48]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
mov byte [esp + 0x3c], 0x1c
call fcn.0046260d
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
mov byte [esp + 0x40], 0x1d
call fcn.0046260d
push ecx
lea eax, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
mov byte [esp + 0x44], 0x1e
call fcn.0046260d
mov byte [esp + 0x40], bl
call fcn.0040b2a0
mov ecx, dword [esp + 0x50]
mov edx, dword [0x4c5c7c]
push ecx
push edx
lea eax, [esp + 0x24]
push str._s_s
push eax
call fcn.00461a66
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x64]
add esp, 0x20
push 0
push ecx
push edx
call edi
mov eax, dword [0x4c5c70]
lea ecx, [esp + 0x44]
push ecx
push eax
mov ecx, 0x4c5c68
call fcn.004620d5
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 4
call fcn.00462898
mov byte [esp + 0x30], 3
lea ecx, [esp + 0x18]
call fcn.00462898
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 2
call fcn.00462898
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 1
call fcn.00462898
lea ecx, [esp + 0x40]
mov byte [esp + 0x30], 0
call fcn.00462898
lea ecx, [esp + 0x44]
mov dword [esp + 0x30], 0xffffffff
call fcn.00462898
mov eax, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x28
ret
mov eax, dword [0x4c5c70]
lea edx, [esp + 0x44]
push edx
push eax
mov ecx, 0x4c5c68
call fcn.004620d5
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x14]
push eax
push ecx
lea edx, [esp + 0x14]
push str.Process__s_File__s_Success__
push edx
call fcn.00461a66
add esp, 0xc
lea eax, [esp + 0x10]
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
call fcn.0046260d
mov ecx, esi
call fcn.00403ee0
mov ecx, dword [0x4c5c14]
mov edx, dword [esp + 0x10]
push ecx
push 0
push str.valid
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
inc eax
push eax
lea eax, [esp + 0x10]
push 0x48bdc8
push eax
call fcn.00461a66
add esp, 8
mov ecx, esp
mov dword [esp + 0x3c], esp
push 0x4c5c14
call fcn.0046260d
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
mov byte [esp + 0x3c], 0x1f
call fcn.0046260d
push ecx
mov byte [esp + 0x3c], 0x20
mov ecx, esp
mov dword [esp + 0x2c], esp
push str.valid
call fcn.00462906
push ecx
mov byte [esp + 0x40], 0x21
mov ecx, esp
mov dword [esp + 0x2c], esp
lea eax, [esp + 0x20]
push eax
call fcn.0046260d
mov byte [esp + 0x40], bl
call fcn.0040b2a0
add esp, 0x10
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 4
call fcn.00462898
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 3
call fcn.00462898
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 2
call fcn.00462898
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 1
call fcn.00462898
lea ecx, [esp + 0x40]
mov byte [esp + 0x30], 0
call fcn.00462898
lea ecx, [esp + 0x44]
mov dword [esp + 0x30], 0xffffffff
call fcn.00462898
mov ecx, dword [esp + 0x28]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
add esp, 0x28
ret