Function at 0x40169f
Capabilities:
Access peb ldr_data
Create directory
Get kernel32 base address
Get ntdll base address
Set file attributes

Disassembly:
jmp 0x40bbd0
push 0xffffffffffffffff
push 0x4539c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
push ebx
push ebp
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x10]
mov dword [esp + 0x60], 0
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [edi + 0x16bb0]
lea ecx, [esp + 0x10]
push eax
mov bl, 1
push str.Customer:_s
push ecx
mov byte [esp + 0x6c], bl
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea edx, [esp + 0x10]
push 0
push 0x78
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call sub.MFC42.DLL_CString::CString_2
lea eax, [esp + 0x2c]
push eax
call fcn.00401866
add esp, 0x10
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x64], 2
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x20]
mov byte [esp + 0x60], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00447488
mov edx, dword [0x46b484]
lea eax, [esp + 0x10]
push edx
push str.Flash_Num:_d_n
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00447488
push str.CTL_Model:
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator_1
push 0
push 0x78
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call sub.MFC42.DLL_CString::CString_2
lea eax, [esp + 0x2c]
push eax
call fcn.00401866
add esp, 0x10
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x64], 3
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x20]
mov byte [esp + 0x60], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00447488
mov edx, dword [0x46b484]
lea eax, [esp + 0x10]
push edx
push str.Pass_Num:_d_n
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00447488
mov edx, dword [0x46b818]
lea eax, [esp + 0x10]
push edx
push str.MP_Ver:_s
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea edx, [esp + 0x10]
push 0
push 0x78
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call sub.MFC42.DLL_CString::CString_2
lea eax, [esp + 0x2c]
push eax
call fcn.00401866
add esp, 0x10
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x64], 4
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x20]
mov byte [esp + 0x60], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00447488
push str.RTY:_n
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator_1
lea edx, [esp + 0x10]
lea ecx, [esp + 0x18]
push edx
call fcn.00447488
push 0x466244
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator_1
lea eax, [esp + 0x20]
push eax
call fcn.00401244
add esp, 4
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x64], 5
call fcn.00447488
lea ecx, [esp + 0x20]
mov byte [esp + 0x60], bl
call sub.MFC42.DLL_CString::CString
push 0
push 0x78
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call sub.MFC42.DLL_CString::CString_2
lea eax, [esp + 0x2c]
push eax
call fcn.00401866
add esp, 0x10
mov byte [esp + 0x60], 6
push eax
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x20]
mov byte [esp + 0x60], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00447488
lea edx, [esp + 0x2c]
push edx
call sub.MFC42.DLL_CTime::GetTickCount
mov eax, dword [eax]
push 0
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], eax
call sub.MFC42.DLL_CTime::GetLocalTm
mov ebp, dword [eax]
push 0
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CTime::GetLocalTm
mov ecx, dword [eax + 4]
push 0
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CTime::GetLocalTm
mov edx, dword [eax + 8]
push 0
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], edx
call sub.MFC42.DLL_CTime::GetLocalTm
mov eax, dword [eax + 0xc]
push 0
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], eax
call sub.MFC42.DLL_CTime::GetLocalTm
mov esi, dword [eax + 0x10]
push 0
lea ecx, [esp + 0x18]
inc esi
call sub.MFC42.DLL_CTime::GetLocalTm
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov eax, dword [eax + 0x14]
push ebp
push ecx
mov ecx, dword [esp + 0x30]
push edx
add eax, 0x76c
push ecx
push esi
push eax
lea edx, [esp + 0x28]
push str.Test_Time:_d._02d._02d__02d:_02d:_02d_n
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0x20
lea eax, [esp + 0x10]
lea ecx, [esp + 0x18]
push eax
call fcn.00447488
push str.Remark_Info:_n_Index__Port____________FlashName_____________Capacity_MB___ElapsedTime______________________BadBlock_______________________R_W_Test___n
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00447488
mov eax, dword [edi + 0x16bb4]
push 0
push eax
call dword [sym.imp.MSVCRT.dll__access]
add esp, 8
cmp eax, 0xffffffff
jne 0x40bf08
mov eax, dword [edi + 0x16bb4]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString_3
push 0
lea ecx, [esp + 0x18]
mov byte [esp + 0x64], 7
call sub.MFC42.DLL_CTime::GetLocalTm
mov ebp, dword [eax]
push 0
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CTime::GetLocalTm
mov edx, dword [eax + 4]
push 0
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], edx
call sub.MFC42.DLL_CTime::GetLocalTm
mov eax, dword [eax + 8]
push 0
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], eax
call sub.MFC42.DLL_CTime::GetLocalTm
mov ecx, dword [eax + 0xc]
push 0
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CTime::GetLocalTm
mov esi, dword [eax + 0x10]
push 0
lea ecx, [esp + 0x18]
inc esi
call sub.MFC42.DLL_CTime::GetLocalTm
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov eax, dword [eax + 0x14]
push ebp
push edx
mov edx, dword [esp + 0x28]
push ecx
add eax, 0x76c
push edx
push esi
push eax
mov eax, dword [edi + 0x16bb4]
push eax
lea ecx, [esp + 0x38]
push str._s_d_02d_02d__02d_02d_02d.log
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0x24
lea edx, [esp + 0x1c]
mov ecx, 0x46b480
push edx
call sub.MFC42.DLL_CString::operator
mov eax, dword [0x46b480]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [esp + 0x44]
call fcn.004474e8
lea ecx, [esp + 0x30]
mov byte [esp + 0x60], 8
call sub.MFC42.DLL_CException::CException
lea ecx, [esp + 0x40]
mov byte [esp + 0x60], 9
call sub.MFC42.DLL_CString::CString_3
mov esi, 0x45b2b0
or edi, 0xffffffff
push 0
lea ecx, [esp + 0x44]
mov byte [esp + 0x64], 0xa
mov dword [esp + 0x34], esi
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], edi
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x30]
mov byte [esp + 0x60], 0xb
push ecx
mov edx, dword [0x46b480]
push 0x7002
push edx
lea ecx, [esp + 0x50]
call sub.MFC42.DLL_CStdioFile::Open
mov eax, dword [esp + 0x44]
push 2
push 0
lea ecx, [esp + 0x4c]
call dword [eax + 0x30]
mov ecx, dword [esp + 0x18]
push ecx
lea ecx, [esp + 0x48]
call sub.MFC42.DLL_CStdioFile::WriteString
lea ecx, [esp + 0x44]
call sub.MFC42.DLL_CStdioFile::Close
mov dword [esp + 0x30], esi
lea ecx, [esp + 0x40]
mov byte [esp + 0x60], 0xc
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x44]
mov dword [esp + 0x30], 0x45b298
mov byte [esp + 0x60], 7
call sub.MFC42.DLL_CStdioFile::CStdioFile
lea ecx, [esp + 0x1c]
mov byte [esp + 0x60], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x60], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov dword [esp + 0x60], edi
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x58]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x54
ret