Function at 0x405c90
Capabilities:
Contain obfuscated stackstrings
Delete file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4282dd
push eax
mov dword fs:[0], esp
sub esp, 0x360
push ebx
push ebp
push esi
mov esi, ecx
push edi
cmp byte [esi + 0x3a4], 1
je 0x4065b5
push 0x2d
call fcn.00415250
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_4
xor ebx, ebx
lea ecx, [esp + 0x24]
mov dword [esp + 0x378], ebx
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x10]
mov byte [esp + 0x378], 1
call fcn.00401040
push str.f0110510434e0015
lea ecx, [esp + 0x24]
mov byte [esp + 0x37c], 2
call sub.MFC42.DLL_CString::CString_2
push str.112233445566778899aabbcc
lea ecx, [esp + 0x1c]
mov byte [esp + 0x37c], 3
call sub.MFC42.DLL_CString::CString_2
push str.300D0A48656164657246696C653D746F6E6778696E2E680D0A496D706C656D65
lea ecx, [esp + 0x30]
mov byte [esp + 0x37c], 4
call sub.MFC42.DLL_CString::CString_2
push str.6D65
lea ecx, [esp + 0x2c]
mov byte [esp + 0x37c], 5
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x1c]
mov byte [esp + 0x378], 6
call sub.MFC42.DLL_CString::CString_4
push ebx
push 3
mov ecx, esi
mov byte [esp + 0x380], 7
call fcn.00406d20
lea ebp, [esi + 0x2e0]
mov ecx, ebp
call fcn.00421100
test eax, eax
jne 0x405d8d
push 0x5d
push 0x6a
mov ecx, esi
call fcn.00406e80
jmp 0x40652b
mov ecx, ebp
call fcn.00420f00
test eax, eax
jne 0x405da8
push 1
push 1
mov ecx, esi
call fcn.00406e80
jmp 0x40652b
lea eax, [esp + 0x170]
mov ecx, ebp
push eax
push 0x80
call fcn.004237d0
test eax, eax
jne 0x405dd0
push 0x42
push 0x6a
mov ecx, esi
call fcn.00406e80
jmp 0x40652b
cmp byte [esp + 0x170], 1
je 0x405e10
mov ecx, ebp
call fcn.00421100
test eax, eax
jne 0x405df5
push 2
push 1
mov ecx, esi
call fcn.00406e80
jmp 0x40652b
mov ecx, ebp
call fcn.00420f00
test eax, eax
jne 0x405e10
push 3
push 1
mov ecx, esi
call fcn.00406e80
jmp 0x40652b
lea ecx, [esp + 0x170]
push ecx
push 0x80
mov ecx, ebp
call fcn.004237d0
test eax, eax
jne 0x405e38
push 0x41
push 0x6a
mov ecx, esi
call fcn.00406e80
jmp 0x40652b
cmp byte [esp + 0x171], 3
jne 0x40651f
mov al, byte [esp + 0x172]
cmp al, bl
je 0x405e61
cmp al, 1
je 0x405e61
cmp al, 2
je 0x405e61
cmp al, 3
jne 0x40651f
lea edx, [esi + 0x170]
push 8
lea eax, [esp + 0x24]
push edx
push eax
lea ecx, [esp + 0x1c]
call fcn.00401080
lea ecx, [esi + 0x190]
push 0x80
lea edx, [esp + 0x2c]
push ecx
push edx
lea ecx, [esp + 0x1c]
call fcn.00401080
lea eax, [esi + 0x184]
push 0xc
lea ecx, [esp + 0x1c]
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.00401080
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::CString_4
lea edx, [esi + 0x178]
push 0xc
lea eax, [esp + 0x34]
push edx
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x384], 8
call fcn.00401080
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::operator
push str.shengji_gujian.jsp
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::operator_1
push ebx
push 0x19
mov ecx, esi
call fcn.00406d20
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push 0x432f60
call sub.MFC42.DLL_CString::CString_2
mov ecx, esi
call fcn.0040c920
cmp eax, ebx
je 0x4063cb
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push 0x432f5c
call sub.MFC42.DLL_CString::CString_2
mov ecx, esi
call fcn.0040ced0
cmp eax, ebx
je 0x4063cb
lea edx, [esp + 0x24]
push str._id
lea eax, [esp + 0x40]
push edx
push eax
call sub.MFC42.DLL_operator_1
lea ecx, [esp + 0x20]
lea edx, [esp + 0x40]
push ecx
push eax
push edx
mov byte [esp + 0x384], 9
call sub.MFC42.DLL_operator
push str.sn
push eax
lea eax, [esp + 0x74]
mov byte [esp + 0x380], 0xa
push eax
call sub.MFC42.DLL_operator_1
lea ecx, [esp + 0x18]
lea edx, [esp + 0x60]
push ecx
push eax
push edx
mov byte [esp + 0x384], 0xb
call sub.MFC42.DLL_operator
push str.ran
push eax
lea eax, [esp + 0x6c]
mov byte [esp + 0x380], 0xc
push eax
call sub.MFC42.DLL_operator_1
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x68]
push ecx
push eax
push edx
mov byte [esp + 0x384], 0xd
call sub.MFC42.DLL_operator
push str.flag
push eax
lea eax, [esp + 0x64]
mov byte [esp + 0x380], 0xe
push eax
call sub.MFC42.DLL_operator_1
push 0x432f38
lea ecx, [esp + 0x5c]
push eax
push ecx
mov byte [esp + 0x384], 0xf
call sub.MFC42.DLL_operator_1
push str.badblock1111
lea edx, [esp + 0x48]
push eax
push edx
mov byte [esp + 0x384], 0x10
call sub.MFC42.DLL_operator_1
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x37c], 0x11
call fcn.00426e04
lea ecx, [esp + 0x44]
mov byte [esp + 0x378], 0x10
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x58]
mov byte [esp + 0x378], 0xf
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x5c]
mov byte [esp + 0x378], 0xe
call sub.MFC42.DLL_CString::CString
mov byte [esp + 0x378], 0xd
lea ecx, [esp + 0x68]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x64]
mov byte [esp + 0x378], 0xc
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x60]
mov byte [esp + 0x378], 0xb
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x6c]
mov byte [esp + 0x378], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x40]
mov byte [esp + 0x378], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x3c]
mov byte [esp + 0x378], 8
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0x1c]
lea edx, [esp + 0x14]
push eax
push 0x1e
push ecx
mov ecx, esp
mov dword [esp + 0x48], esp
push edx
call sub.MFC42.DLL_CString::CString_3
mov ecx, esi
call fcn.00407000
and eax, 0xff
push ecx
mov dword [esp + 0x40], eax
mov ecx, esp
jne 0x4060fd
lea eax, [esp + 0x18]
mov dword [esp + 0x44], esp
push eax
call sub.MFC42.DLL_CString::CString_3
mov ecx, esi
call fcn.00417200
jmp 0x4063cb
mov dword [esp + 0x40], esp
push str.path
call sub.MFC42.DLL_CString::CString_2
push ecx
lea edx, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x48], esp
push edx
mov byte [esp + 0x384], 0x12
call sub.MFC42.DLL_CString::CString_3
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x18]
push eax
mov byte [esp + 0x384], 8
call fcn.00401310
mov ecx, dword [esp + 0x34]
push 0x434328
push ecx
mov byte [esp + 0x380], 0x13
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x406169
push 0x1c
push 0x13
mov ecx, esi
call fcn.00406e80
jmp 0x4063ba
lea edx, [esp + 0x34]
lea eax, [esp + 0x3c]
push edx
push 0x434a44
push eax
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x37c], 0x14
call fcn.00426e04
lea ecx, [esp + 0x3c]
mov byte [esp + 0x378], 0x13
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esi + 0x32c]
call fcn.00426e04
mov ecx, esi
call fcn.00409530
test al, al
je 0x4063ba
lea eax, [esi + 0x330]
lea ecx, [esp + 0x38]
push eax
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x48]
mov byte [esp + 0x378], 0x15
call sub.MFC42.DLL_CFile::CFile_1
mov edx, dword [esp + 0x38]
push ebx
push ebx
push edx
lea ecx, [esp + 0x54]
mov byte [esp + 0x384], 0x16
call sub.MFC42.DLL_CFile::Open
test eax, eax
jne 0x406219
push ecx
lea eax, [esp + 0x3c]
mov ecx, esp
mov dword [esp + 0x44], esp
push eax
call sub.MFC42.DLL_CString::CString_3
mov ecx, esi
call fcn.00417250
jmp 0x406398
lea ecx, [esp + 0x48]
call sub.MFC42.DLL_CFile::GetLength
cmp eax, 0x9100
mov dword [esp + 0x44], eax
jge 0x40623e
push ebx
push ebx
push str.xiadatahard_error
call sub.MFC42.DLL_AfxMessageBox
jmp 0x406398
push eax
call sub.MFC42.DLL_operatornew
mov ecx, dword [esp + 0x48]
add esp, 4
mov edi, eax
push ecx
push edi
lea ecx, [esp + 0x50]
call sub.MFC42.DLL_CFile::Read
lea ecx, [esp + 0x48]
call sub.MFC42.DLL_CFile::Close
mov eax, dword [esi + 0x330]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edx, dword [esi + 0x378]
mov ecx, ebp
add edx, edi
push edx
call fcn.00420480
cmp eax, ebx
jne 0x40628b
push 1
push 0xd
jmp 0x406388
cmp byte [esi + 0x38a], bl
jne 0x406302
cmp dword [esi + 0x60], ebx
jne 0x406302
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x70]
push eax
push ecx
mov ecx, ebp
mov dword [esp + 0x44], 1
mov byte [esp + 0x78], 0x80
call fcn.004255a0
test eax, eax
jne 0x4062ca
push 2
push 0x79
mov ecx, esi
call fcn.00406e80
jmp 0x406398
cmp byte [esp + 0x72], 3
jne 0x406302
cmp byte [esp + 0x73], 2
jb 0x406302
mov ecx, esi
call fcn.00418fa0
test eax, eax
je 0x406398
mov ecx, esi
call fcn.00418e70
test eax, eax
jne 0x406302
push 3
push 0x79
mov ecx, esi
call fcn.00406e80
jmp 0x406398
push ebx
push 0x1a
mov ecx, esi
call fcn.00406d20
cmp byte [esp + 0x380], 3
jae 0x40632d
lea edx, [edi + 0x300]
mov ecx, ebp
push edx
call fcn.004205f0
cmp eax, ebx
jne 0x40632d
push ebx
push 0xe
jmp 0x406388
cmp byte [esp + 0x380], 2
jae 0x40634e
lea eax, [edi + 0x9330]
mov ecx, ebp
push eax
call fcn.00420af0
cmp eax, ebx
jne 0x40634e
push ebx
push 0xf
jmp 0x406388
push ecx
mov ecx, esp
mov dword [esp + 0x44], esp
push 0x432f08
call sub.MFC42.DLL_CString::CString_2
mov ecx, esi
call fcn.00419a10
mov ecx, dword [esp + 0x44]
lea edx, [edi + 0x9380]
add ecx, 0xffff6c80
push ecx
push edx
push 0x16
mov ecx, ebp
call fcn.00420d20
cmp eax, ebx
jne 0x4063e1
push ebx
push 0xb
mov ecx, esi
call fcn.00406e80
push edi
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x48]
mov byte [esp + 0x378], 0x15
call sub.MFC42.DLL_CFile::CFile
lea ecx, [esp + 0x38]
mov byte [esp + 0x378], 0x13
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
mov byte [esp + 0x378], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x378], 7
call sub.MFC42.DLL_CString::CString
jmp 0x40652b
push 0x41
mov ecx, esi
call fcn.0041ec00
mov ax, word [esi + 0x21c]
push 1
sub esp, 0x44
lea edx, [esi + 0x298]
mov ecx, esp
mov dword [esp + 0x88], esp
push edx
mov word [esi + 0x2a4], ax
call fcn.004065e0
mov ecx, ebp
call fcn.00424490
push ecx
mov byte [esi + 0x389], 1
mov ecx, esp
mov dword [esp + 0x44], esp
push 0x432f08
call sub.MFC42.DLL_CString::CString_2
mov ecx, esi
call fcn.00419b20
push edi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, esi
push 0x2e
call fcn.00415250
lea ecx, [esp + 0x48]
mov byte [esp + 0x378], 0x15
call sub.MFC42.DLL_CFile::CFile
lea ecx, [esp + 0x38]
mov byte [esp + 0x378], 0x13
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
mov byte [esp + 0x378], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x378], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x378], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x378], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x378], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x378], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x378], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x378], 1
call fcn.00401070
lea ecx, [esp + 0x24]
mov byte [esp + 0x378], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov dword [esp + 0x378], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov al, 1
jmp 0x4065b7
push ebx
push ebx
push str.Unknown_Version_for_boot_1
call sub.MFC42.DLL_AfxMessageBox
lea ecx, [esp + 0x1c]
mov byte [esp + 0x378], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x378], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x378], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x378], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x378], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x378], 1
call fcn.00401070
lea ecx, [esp + 0x24]
mov byte [esp + 0x378], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov dword [esp + 0x378], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor al, al
mov ecx, dword [esp + 0x370]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x36c
ret 4