Function at 0x40c230
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f6228
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd8
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0
call sub.MFC42.DLL_CFile::CFile
mov eax, dword [ebp + 8]
push 0
push 0x8000
push eax
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CFile::Open
test eax, eax
jne 0x40c2ab
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], al
call fcn.00445726
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x50]
call sub.MFC42.DLL_CFile::Close
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::CString_3
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString_3
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString_3
push 0
push 0
push 0
push 0
push 1
push 0
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CInternetSession::CInternetSession
push str.Setting
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::operator_2
lea ecx, [ebp - 0x38]
call sub.MFC42.DLL_CString::CString_3
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CString::CString_3
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 7
call sub.MFC42.DLL_CString::CString_3
mov ecx, 0x1f
xor eax, eax
lea edi, [ebp - 0xe3]
mov byte [ebp - 0xe4], 0
rep stosd dword es:[edi], eax
mov ecx, dword [ebp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
stosw word es:[edi], ax
push ecx
lea edx, [ebp - 0xe4]
push 0x80
push edx
stosb byte es:[edi], al
mov eax, dword [ebp - 0x28]
push 0x5b2c3c
push 0x59140c
push eax
mov byte [ebp - 4], 8
call esi
lea ecx, [ebp - 0xe4]
lea edx, [ebp - 0x38]
push ecx
push 0x591408
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x28]
add esp, 0xc
lea ecx, [ebp - 0xe4]
push eax
push 0x80
push ecx
push 0x5b2c3c
push str.email
push edx
call esi
lea eax, [ebp - 0xe4]
lea ecx, [ebp - 0x2c]
push eax
push 0x591408
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
mov edx, dword [ebp + 8]
lea eax, [ebp - 0xe4]
push edx
push 0x80
push eax
push 0x5b2c3c
push 0x5913fc
push 0x5913f8
call esi
lea ecx, [ebp - 0xe4]
lea edx, [ebp - 0x34]
push ecx
push 0x591408
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [ebp - 0x1c]
push str.http:__bbx.jdyou.com_softInterface_bbxup.aspx
call sub.MFC42.DLL_CString::operator_2
push str._tongji
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::operator
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::CString_3
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 9
call sub.MFC42.DLL_CString::CString_3
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov byte [ebp - 4], 0xa
xor eax, eax
lea esi, [eax + 1]
lea eax, [ebp - 0x20]
push esi
push 0x5913b8
push eax
call sub.MFC42.DLL_CString::Format
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x20]
add esp, 0xc
push ecx
push 0
push edx
push 0x5913b4
call edi
test eax, eax
jbe 0x40c473
cmp eax, 0x64
jae 0x40c473
push eax
mov eax, dword [ebp - 0x20]
push eax
lea ecx, [ebp - 0x14]
push str._s__d
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0x1c]
push edx
call fcn.004453a2
mov eax, esi
cmp eax, 8
jb 0x40c422
lea eax, [ebp - 0x38]
lea ecx, [ebp - 0x24]
push eax
push str.qq
push ecx
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xb
call sub.MFC42.DLL_CString::operator_1
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xa
call sub.MFC42.DLL_CString::CString
lea edx, [ebp - 0x14]
push 0x59139c
lea eax, [ebp - 0x30]
push edx
push eax
call sub.MFC42.DLL_operator_1
lea ecx, [ebp - 0x2c]
lea edx, [ebp - 0x24]
push ecx
mov bl, 0xc
push eax
push edx
mov byte [ebp - 4], bl
call sub.MFC42.DLL_operator
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xd
call sub.MFC42.DLL_CString::operator_1
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xa
call sub.MFC42.DLL_CString::CString
lea eax, [ebp - 0x14]
push str.mcode
lea ecx, [ebp - 0x24]
push eax
push ecx
call sub.MFC42.DLL_operator_1
lea edx, [ebp - 0x34]
mov bl, 0xe
push edx
push eax
lea eax, [ebp - 0x30]
mov byte [ebp - 4], bl
push eax
call sub.MFC42.DLL_operator
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xf
call sub.MFC42.DLL_CString::operator_1
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.004453a2
lea ecx, [ebp - 0x3c]
call sub.MFC42.DLL_CString::CString_3
push 0
mov byte [ebp - 4], 0x10
call dword [sym.imp.MSVCRT.dll_time]
push eax
call dword [sym.imp.MSVCRT.dll_srand]
call dword [sym.imp.MSVCRT.dll_rand]
push eax
push str.pass_08d
lea edx, [ebp - 0x3c]
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0x14
lea eax, [ebp - 0x3c]
lea ecx, [ebp - 0x1c]
push eax
call fcn.004453a2
mov ecx, dword [ebp - 0x1c]
push 0
push 0
push 1
push 1
push ecx
lea ecx, [ebp - 0x64]
mov byte [ebp - 0x15], 0
mov byte [ebp - 4], 0x11
call sub.MFC42.DLL_CInternetSession::OpenURL
mov edx, dword [eax]
lea ecx, [ebp - 0x14]
push ecx
mov ecx, eax
call dword [edx + 0x60]
push str.bingo
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::Find_2
test eax, eax
jne 0x40c621
mov edi, str.bingo
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push eax
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::Delete
mov ecx, dword [ebp + 0xc]
lea edx, [ebp - 0x14]
push edx
call sub.MFC42.DLL_CString::operator_1
mov edi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov byte [ebp - 0x15], 1
xor eax, eax
cmp eax, 8
jae 0x40c621
lea esi, [eax + 1]
lea eax, [ebp - 0x20]
push esi
push 0x5913b8
push eax
call sub.MFC42.DLL_CString::Format
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x20]
add esp, 0xc
push ecx
push 0x591384
push edx
push 0x5913b4
call edi
mov eax, esi
jmp 0x40c5e9
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 4
call fcn.0044555e
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0
call fcn.00445726
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp - 0x15]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret