Function at 0x407060
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x408530
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push esi
push edi
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_2
push 0x40bba8
lea ecx, [esp + 0x1c]
mov dword [esp + 0x3c], 0
call fcn.004074d0
mov eax, dword [esp + 0x18]
push eax
call fcn.00406e20
add esp, 4
test eax, eax
jne 0x4070b9
push 0x40bb98
call fcn.004062d0
add esp, 4
jmp 0x407136
lea ecx, [esp + 0x14]
push str.Shield__MODReg__ERROR_INPUT
push ecx
mov ecx, dword [0x40bbac]
call fcn.00401cc2
push 0x40bba8
lea ecx, [esp + 0xc]
mov byte [esp + 0x3c], 1
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 8]
mov byte [esp + 0x38], 2
cmp dword [edx - 8], 0x14
jne 0x40710d
push ecx
lea edx, [esp + 0xc]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call sub.MFC42.DLL_CString::CString
call fcn.00404d30
add esp, 4
test eax, eax
jne 0x40715a
lea eax, [esp + 0x14]
push eax
call fcn.004062d0
add esp, 4
lea ecx, [esp + 8]
mov byte [esp + 0x38], 1
call fcn.0040747c
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 0
call fcn.0040747c
lea ecx, [esp + 0x18]
mov dword [esp + 0x38], 0xffffffff
call fcn.0040747c
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop edi
pop esi
add esp, 0x34
ret
lea ecx, [esp + 0x28]
lea edx, [esp + 0x20]
push ecx
push edx
push str.CheckSerialNo
push str.locate.dll
mov dword [esp + 0x30], 0
mov dword [esp + 0x38], 0
call fcn.00406e90
add esp, 0x10
test eax, eax
je 0x4071eb
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4071eb
mov ecx, dword [esp + 8]
push ecx
call eax
cmp eax, 2
je 0x4071eb
lea edx, [esp + 0x14]
push edx
call fcn.004062d0
add esp, 4
lea ecx, [esp + 8]
mov byte [esp + 0x38], 1
call fcn.0040747c
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 0
call fcn.0040747c
lea ecx, [esp + 0x18]
mov dword [esp + 0x38], 0xffffffff
call fcn.0040747c
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop edi
pop esi
add esp, 0x34
ret
push 1
push ecx
lea eax, [esp + 0x10]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
push ecx
call fcn.00405360
add esp, 0xc
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x3c], 3
call fcn.004074d0
lea ecx, [esp + 0x24]
mov byte [esp + 0x38], 2
call fcn.0040747c
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0xc]
mov byte [esp + 0x38], 4
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [0x40bbb8]
mov eax, dword [esp + 8]
push edx
push eax
lea ecx, [esp + 0x18]
push str.SpecialRegistration:_s_d
push ecx
mov byte [esp + 0x48], 5
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea edx, [esp + 0xc]
lea eax, [esp + 0x10]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call sub.MFC42.DLL_CString::CString
call fcn.004014c4
mov ecx, dword [esp + 0x14]
mov edi, dword [sym.imp.MSVCRT.dll__mbsicmp]
push 0x40b764
push ecx
call edi
mov esi, eax
add esp, 0x10
neg esi
lea edx, [esp + 0x10]
push str.IsExpired
sbb esi, esi
push edx
inc esi
call sub.MFC42.DLL_CString::Format
add esp, 8
lea eax, [esp + 0xc]
lea edx, [esp + 0x10]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call sub.MFC42.DLL_CString::CString
call fcn.004014c4
mov eax, dword [esp + 0x14]
push 0x40b764
push eax
call edi
add esp, 0x10
test eax, eax
je 0x4072e7
test esi, esi
je 0x4072e7
mov esi, 1
jmp 0x407387
lea ecx, [esp + 0x10]
push str.GetLastError
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 8
lea edx, [esp + 0xc]
lea eax, [esp + 0x10]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
call sub.MFC42.DLL_CString::CString
call fcn.004014c4
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 0xc
lea ecx, [esp + 0x1c]
mov edi, eax
xor esi, esi
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x40bbac]
lea edx, [esp + 0x24]
push str.Shield__MODReg__NETREG_REG_FAILED
push edx
mov byte [esp + 0x40], 6
call fcn.00401cc2
mov eax, dword [esp + 0x24]
push edi
lea ecx, [esp + 0x20]
push eax
push ecx
mov byte [esp + 0x44], 7
call sub.MFC42.DLL_CString::Format
lea edx, [esp + 0x28]
push edx
call fcn.004062d0
add esp, 0x10
lea ecx, [esp + 0x24]
mov byte [esp + 0x38], 6
call fcn.0040747c
lea ecx, [esp + 0x1c]
mov byte [esp + 0x38], 5
call fcn.0040747c
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [esp + 0xc]
mov byte [esp + 0x38], 4
call fcn.0040747c
lea ecx, [esp + 0x10]
mov byte [esp + 0x38], 2
call fcn.0040747c
lea ecx, [esp + 8]
mov byte [esp + 0x38], 1
call fcn.0040747c
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 0
call fcn.0040747c
lea ecx, [esp + 0x18]
mov dword [esp + 0x38], 0xffffffff
call fcn.0040747c
mov ecx, dword [esp + 0x30]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x34
ret