Function at 0x407830
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x43e5d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, ecx
push edi
push str.JFMAYELGPCNR
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString_2
push str.BDIOSUVZ
lea ecx, [esp + 0x1c]
mov dword [esp + 0x30], 0
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 1
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [esi + 0x10]
mov byte [esp + 0x2c], 2
cmp eax, 0xf
jne 0x407bad
mov eax, dword [esi + 0xc]
cmp byte [eax + 0xe], 0x4d
jne 0x407bad
push 3
push 0xb
mov ecx, esi
call fcn.00407d20
test al, al
je 0x407bad
mov ecx, dword [esi + 0xc]
mov edi, dword [esp + 0x18]
xor eax, eax
mov dl, byte [ecx + 0xa]
cmp dl, byte [eax + edi]
je 0x40798c
inc eax
cmp eax, 8
jl 0x4078bd
mov bl, byte [ecx + 1]
mov dl, byte [ecx + 2]
movsx eax, bl
mov byte [esp + 0x13], dl
mov ebp, 0x64
movsx edx, dl
lea eax, [eax + eax*4]
lea edi, [edx + eax*2 - 0x210]
mov eax, dword [0x45ed9c]
add eax, 0x5a
xor edx, edx
div ebp
cmp edx, edi
je 0x4079d1
movsx ecx, byte [esp + 0x13]
movsx eax, bl
push ecx
mov ecx, dword [0x45c280]
push eax
and ecx, 0xffff
push edx
push ecx
lea edx, [esp + 0x24]
push str.Different:__d_year_is__02d_but_barcode_2_3_digit._were__c_c
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0x18
lea eax, [esp + 0x14]
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [0x490c00]
call fcn.00439d10
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov dword [esp + 0x2c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 0xffffffed
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov dword [esp + 0x2c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 0xfffffff5
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
mov edx, dword [esp + 0x1c]
mov cl, byte [ecx + 3]
xor eax, eax
mov ax, word [0x45c282]
mov dl, byte [eax + edx - 1]
cmp dl, cl
je 0x407a66
movsx ecx, cl
movsx edx, dl
push ecx
push edx
push eax
lea eax, [esp + 0x20]
push str.Different:__d_month_is__c_but_barcode_4_digit._was__c
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x14
lea edx, [esp + 0x14]
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [0x490c00]
call fcn.00439d10
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov dword [esp + 0x2c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 0xffffffee
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
mov ecx, esi
call fcn.0040a700
test al, al
jne 0x407ab6
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov dword [esp + 0x2c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 0xfffffffb
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
mov eax, dword [esi + 0xc]
mov cl, byte [eax + 6]
mov dl, byte [eax + 7]
mov bl, byte [eax + 8]
mov al, byte [eax + 9]
movsx ecx, cl
movsx edx, dl
push ecx
push edx
movsx ecx, bl
movsx edx, al
push ecx
push edx
mov ecx, esi
call fcn.00407c00
xor edi, edi
mov eax, 1
mov ecx, 0x45ee3c
cmp dword [ecx], 0xff
je 0x407afe
add ecx, 0x48
inc eax
cmp ecx, 0x45ef14
jle 0x407ae8
jmp 0x407b56
lea eax, [eax + eax*8]
lea ecx, [eax + eax + 0x29]
xor eax, eax
lea edx, [edi + ecx]
shl edx, 2
lea ecx, [edx + 0x45ed58]
mov ebx, dword [esi + 0xc]
inc eax
add ecx, 4
cmp eax, 6
movsx ebx, byte [eax + ebx - 1]
mov dword [ecx - 4], ebx
jl 0x407b13
mov eax, 6
lea ecx, [edx + 0x45ed70]
mov ebx, dword [esi + 0xc]
inc eax
add ecx, 4
cmp eax, 0xb
movsx ebx, byte [eax + ebx + 3]
mov dword [ecx - 4], ebx
jl 0x407b32
lea edx, [edx + 0x45ed84]
mov ecx, 0x20
mov dword [edx], ecx
mov dword [edx + 4], ecx
add edi, 0x200
cmp edi, 0x600
jl 0x407ade
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov dword [esp + 0x2c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 1
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov dword [esp + 0x2c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov eax, 0xfffffff6
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret