Function at 0x401000
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag
Get file version info
Get ntdll base address
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x410f1c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24c
mov eax, dword [esp + 0x25c]
push ebx
push ebp
push esi
push edi
mov esi, ecx
push eax
push 0x94
mov dword [esp + 0x40], esi
call sub.MFC42.DLL_CDialog::CDialog
lea edi, [esi + 0x60]
mov dword [esp + 0x264], 0
mov ecx, edi
call sub.MFC42.DLL_CString::CString
lea ebx, [esi + 0x64]
mov byte [esp + 0x264], 1
mov ecx, ebx
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x68]
mov byte [esp + 0x264], 2
call sub.MFC42.DLL_CString::CString
lea ebp, [esi + 0x6c]
mov byte [esp + 0x264], 3
mov ecx, ebp
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x70]
mov byte [esp + 0x264], 4
call sub.MFC42.DLL_CString::CString
push 0x4194f8
mov ecx, edi
mov byte [esp + 0x268], 5
mov dword [esi], 0x414580
call sub.MFC42.DLL_CString::operator
push 0x4194f8
mov ecx, ebx
call sub.MFC42.DLL_CString::operator
push 0x4194f8
lea ecx, [esi + 0x68]
call sub.MFC42.DLL_CString::operator
push 0x4194f8
mov ecx, ebp
call sub.MFC42.DLL_CString::operator
push 0x4194f8
lea ecx, [esi + 0x70]
call sub.MFC42.DLL_CString::operator
push 0
push str.One_Touch_Upgrade_S.exe
call sub.VERSION.dll_GetFileVersionInfoSizeA
push eax
mov dword [esp + 0x2c], eax
call dword [sym.imp.MSVCRT.dll_malloc]
mov ecx, dword [esp + 0x2c]
add esp, 4
mov ebx, eax
push ebx
push ecx
push 0
push str.One_Touch_Upgrade_S.exe
mov dword [esp + 0x24], ebx
call sub.VERSION.dll_GetFileVersionInfoA
lea edx, [esp + 0x34]
lea eax, [esp + 0x30]
push edx
push eax
push 0x4180c4
push ebx
mov dword [esp + 0x44], 0
call sub.VERSION.dll_VerQueryValueA
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx + 8]
shr edx, 0x10
xor eax, eax
mov dword [esp + 0x20], edx
mov ax, word [ecx + 8]
mov dword [esp + 0x18], eax
mov eax, dword [ecx + 0xc]
xor ebx, ebx
mov bx, word [ecx + 0xc]
shr eax, 0x10
test eax, eax
mov dword [esp + 0x1c], ebx
jne 0x40116d
mov ecx, dword [esp + 0x18]
push ecx
push edx
push str.One_Touch_Upgrade_S__d._d
push edi
call sub.MFC42.DLL_CString::Format
add esp, 0x10
jmp 0x401182
push eax
mov eax, dword [esp + 0x1c]
push eax
push edx
push str.One_Touch_Upgrade_S__d._d._d
push edi
call sub.MFC42.DLL_CString::Format
add esp, 0x14
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.MSVCRT.dll_free]
mov edx, dword [esp + 0x20]
push str.Aug_10_2012
push edx
lea eax, [esi + 0x64]
push str.Build__04d_on__s
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x14
lea eax, [esp + 0x24]
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x18]
push eax
push ecx
lea eax, [esp + 0x28]
push edx
push eax
call sub.FlashToolLib.dll_Ordinal_174
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x24]
push edx
push eax
push ecx
lea eax, [esi + 0x68]
push str.V_d._d._d._d
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x18
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x41b764]
lea edx, [esp + 0x3c]
push edx
push eax
mov byte [esp + 0x26c], 6
call sub.FlashToolLib.dll_Ordinal_28
mov edi, dword [sym.imp.MSVCRT.dll_atoi]
test eax, eax
jne 0x401344
lea ecx, [esp + 0x14c]
push ecx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator
push 0
push 0x418054
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Find_2
lea edx, [esp + 0x14]
push eax
push edx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Left
mov eax, dword [eax]
push eax
call edi
add esp, 4
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], eax
call fcn.00410654
push 0
push 0x418054
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Find_2
inc eax
lea ecx, [esp + 0x10]
push eax
push 0
call sub.MFC42.DLL_CString::Delete
push 0
push 0x418054
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Find_2
push eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Left
mov eax, dword [eax]
push eax
call edi
add esp, 4
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], eax
call fcn.00410654
push 0
push 0x418054
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Find_2
inc eax
lea ecx, [esp + 0x10]
push eax
push 0
call sub.MFC42.DLL_CString::Delete
push 0
push 0x418054
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Find_2
lea ecx, [esp + 0x14]
push eax
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Left
mov eax, dword [eax]
push eax
call edi
add esp, 4
lea ecx, [esp + 0x14]
mov dword [esp + 0x1c], eax
call fcn.00410654
push 0
push 0x418054
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Find_2
inc eax
lea ecx, [esp + 0x10]
push eax
push 0
call sub.MFC42.DLL_CString::Delete
mov edx, dword [esp + 0x10]
push edx
call edi
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x28], eax
push eax
mov eax, dword [esp + 0x24]
push eax
push ecx
push edx
push str.V_d._d._d._d
push ebp
call sub.MFC42.DLL_CString::Format
add esp, 0x1c
jmp 0x401350
push 0x4194f8
mov ecx, ebp
call sub.MFC42.DLL_CString::operator
push 0
push 0
lea eax, [esp + 0x34]
push 0
push eax
call sub.eboot.dll_Ordinal_6
test eax, eax
jne 0x4014b4
mov ecx, dword [esp + 0x2c]
push ecx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator
push 0
push 0x418050
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Find_2
inc eax
lea ecx, [esp + 0x10]
push eax
push 0
call sub.MFC42.DLL_CString::Delete
push 0
push 0x418054
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Find_2
lea edx, [esp + 0x14]
push eax
push edx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Left
mov eax, dword [eax]
push eax
call edi
add esp, 4
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], eax
call fcn.00410654
push 0
push 0x418054
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Find_2
inc eax
lea ecx, [esp + 0x10]
push eax
push 0
call sub.MFC42.DLL_CString::Delete
push 0
push 0x418054
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Find_2
push eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Left
mov eax, dword [eax]
push eax
call edi
add esp, 4
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], eax
call fcn.00410654
push 0
push 0x418054
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Find_2
inc eax
lea ecx, [esp + 0x10]
push eax
push 0
call sub.MFC42.DLL_CString::Delete
push 0
push 0x418054
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Find_2
lea ecx, [esp + 0x14]
push eax
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Left
mov eax, dword [eax]
push eax
call edi
add esp, 4
lea ecx, [esp + 0x14]
mov dword [esp + 0x1c], eax
call fcn.00410654
push 0
push 0x418054
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Find_2
inc eax
lea ecx, [esp + 0x10]
push eax
push 0
call sub.MFC42.DLL_CString::Delete
mov edx, dword [esp + 0x10]
push edx
call edi
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x28], eax
push eax
mov eax, dword [esp + 0x24]
push eax
push ecx
push edx
lea eax, [esi + 0x70]
push str.V_d._d._d._d
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x1c
jmp 0x4014c1
push 0x4194f8
lea ecx, [esi + 0x70]
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x10]
mov byte [esp + 0x264], 5
call fcn.00410654
mov ecx, dword [esp + 0x25c]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x258
ret 4