Function at 0x4079a0
Capabilities:
Copy file
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x424045
push eax
mov dword fs:[0], esp
sub esp, 0x3a8
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x1e4c]
test eax, eax
je 0x4079d9
mov al, byte [esi + 0x1e49]
push eax
push 0x430ad0
jmp 0x4079e5
mov cl, byte [esi + 0x1e49]
push ecx
push 0x430988
lea ecx, [esi + 0x555c]
call fcn.00417420
mov ecx, esi
call fcn.00409250
lea ecx, [esp + 0x20]
call fcn.00422340
xor edx, edx
lea ebp, [esi + 0x1e14]
push str.Config
lea eax, [esp + 0x48]
mov word [esp + 0x18], dx
push ebp
push eax
mov dword [esp + 0x3cc], 0
mov byte [esp + 0x22], dl
call sub.MFC42.DLL_operator
push 0x43012c
lea ecx, [esp + 0x44]
push eax
push ecx
mov byte [esp + 0x3cc], 1
call sub.MFC42.DLL_operator
push str.Config.ini
lea edx, [esp + 0x28]
push eax
push edx
mov byte [esp + 0x3cc], 2
call sub.MFC42.DLL_operator
lea ecx, [esp + 0x40]
mov byte [esp + 0x3c0], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x44]
mov byte [esp + 0x3c0], 4
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x24]
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push eax
lea ecx, [esp + 0x18]
push 2
push ecx
push 0x430164
push str.YesOrNo
push str.HtsTestNet
call ebx
lea edx, [esp + 0x14]
lea ecx, [esp + 0x20]
push edx
call fcn.00422328
mov eax, dword [esp + 0x20]
mov edi, dword [sym.imp.MSVCRT.dll__mbscmp]
push 0x430138
push eax
call edi
add esp, 8
test eax, eax
jne 0x407bbb
mov edx, dword [esp + 0x24]
xor ecx, ecx
mov dword [esp + 0x48], ecx
push edx
lea eax, [esp + 0x4c]
push 0x10
mov dword [esp + 0x54], ecx
push eax
push 0x4333dc
mov dword [esp + 0x60], ecx
push str.TestIP
push str.HtsTestNet
mov dword [esi + 0x55ec], 1
mov dword [esp + 0x6c], ecx
call ebx
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString_2
push str.Data
lea edx, [esp + 0x20]
push ebp
push edx
mov byte [esp + 0x3cc], 6
call sub.MFC42.DLL_operator
push 0x43012c
push eax
lea eax, [esp + 0x30]
mov byte [esp + 0x3c8], 7
push eax
call sub.MFC42.DLL_operator
push str.HtsNetInfo.ini
lea ecx, [esp + 0x14]
push eax
push ecx
mov byte [esp + 0x3cc], 8
call sub.MFC42.DLL_operator
lea ecx, [esp + 0x28]
mov byte [esp + 0x3c0], 0xb
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3c0], 0xa
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
push edx
push eax
push 0x430aa4
push str.NetError
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea ecx, [esp + 0x10]
mov byte [esp + 0x3c0], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c0], 4
call sub.MFC42.DLL_CString::CString
jmp 0x407bc5
mov dword [esi + 0x55ec], 0
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x14]
push ecx
push 2
push edx
push 0x430164
push str.CertTest
push str.AUTH
call ebx
lea eax, [esp + 0x14]
lea ecx, [esp + 0x20]
push eax
call fcn.00422328
push str.Config
lea ecx, [esp + 0x20]
push ebp
push ecx
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x3c4], 0xc
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3c0], 4
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x20]
push 0x430138
push edx
call edi
add esp, 8
test eax, eax
jne 0x407c3d
push str.Policy_d.ini
jmp 0x407c42
push str.Policy_o.ini
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::operator
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x74]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x407df9
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0x28]
call fcn.00422340
push str.Config
lea edx, [esp + 0x20]
push ebp
push edx
mov byte [esp + 0x3cc], 0xd
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x3c4], 0xe
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3c0], 0xd
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x20]
push 0x430138
push eax
call edi
add esp, 8
test eax, eax
jne 0x407cc9
push str.Policy_d.ini
jmp 0x407cce
push str.Policy_o.ini
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x18]
call fcn.00422340
push str.C:Program_FilesNPKISignKorea
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3c4], 0xf
call fcn.00422328
push str.Policy.ini
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::operator
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x28]
push 0
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x407dd7
lea ecx, [esp + 0x10]
call fcn.00422340
lea eax, [esp + 0x28]
push 0x430a30
lea ecx, [esp + 0x34]
push eax
push ecx
mov byte [esp + 0x3cc], 0x10
call sub.MFC42.DLL_operator
lea edx, [esp + 0x18]
mov byte [esp + 0x3c0], 0x11
push edx
push eax
lea eax, [esp + 0x3c]
push eax
call sub.MFC42.DLL_operator_1
push 0x430a1c
lea ecx, [esp + 0x20]
push eax
push ecx
mov byte [esp + 0x3cc], 0x12
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x3c4], 0x13
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3c0], 0x12
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
mov byte [esp + 0x3c0], 0x11
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x3c0], 0x10
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x10]
push 0
push 0
push edx
call sub.MFC42.DLL_AfxMessageBox
lea ecx, [esp + 0x10]
mov byte [esp + 0x3c0], 0xf
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c0], 0xd
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x3c0], 4
call sub.MFC42.DLL_CString::CString
mov ecx, esi
call fcn.0040dea0
test eax, eax
jne 0x407e2f
lea ecx, [esp + 0x24]
mov byte [esp + 0x3c0], al
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov dword [esp + 0x3c0], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x4082b1
lea ecx, [esp + 0x38]
call fcn.00422340
lea ecx, [esp + 0x3c]
mov byte [esp + 0x3c0], 0x14
call fcn.00422340
push str.Data
lea eax, [esp + 0x38]
push ebp
push eax
mov byte [esp + 0x3cc], 0x15
call sub.MFC42.DLL_operator
push str.UrlList.ini
lea ecx, [esp + 0x34]
push eax
push ecx
mov byte [esp + 0x3cc], 0x16
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x3c4], 0x17
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x30]
mov byte [esp + 0x3c0], 0x16
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
mov byte [esp + 0x3c0], 0x15
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x1b4]
push edx
push 0x200
push eax
push str.www.koreastock.co.kr
push str.CertInfo
push str.Smart
call ebx
lea ecx, [esp + 0x1b4]
push ecx
lea ecx, [esp + 0x3c]
call fcn.00422328
mov edx, dword [esp + 0x38]
push edx
call dword [esi + 0x5544]
lea edx, [esi + 0x1e5c]
xor eax, eax
mov ecx, 0x1aa
mov edi, edx
push eax
push eax
rep stosd dword es:[edi], eax
push edx
call dword [esi + 0x5524]
add esp, 0x10
test eax, eax
jge 0x407f64
lea ecx, [esp + 0x10]
call fcn.00422340
mov byte [esp + 0x3c0], 0x18
call dword [esi + 0x5534]
push eax
call dword [esi + 0x5530]
push eax
lea eax, [esp + 0x18]
push 0x4309c0
push eax
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x20]
add esp, 0x10
push 0
push 0
push ecx
call sub.MFC42.DLL_AfxMessageBox
mov ecx, esi
call sub.MFC42.DLL_CDialog::OnCancel
lea ecx, [esp + 0x10]
mov byte [esp + 0x3c0], 0x15
call sub.MFC42.DLL_CString::CString
push 1
call dword [esi + 0x5548]
add esp, 4
lea ecx, [esp + 0x58]
call sub.MFC42.DLL_CFileFind::CFileFind
push str.User
lea edx, [esp + 0x38]
push ebp
push edx
mov byte [esp + 0x3cc], 0x19
call sub.MFC42.DLL_operator
push 0x43012c
push eax
lea eax, [esp + 0x38]
mov byte [esp + 0x3c8], 0x1a
push eax
call sub.MFC42.DLL_operator
push str.EZNet41.ini
lea ecx, [esp + 0x30]
push eax
push ecx
mov byte [esp + 0x3cc], 0x1b
call sub.MFC42.DLL_operator
lea ecx, [esp + 0x30]
mov byte [esp + 0x3c0], 0x1e
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
mov byte [esp + 0x3c0], 0x1d
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x2c]
push 0
push edx
lea ecx, [esp + 0x60]
call sub.MFC42.DLL_CFileFind::FindFile
test eax, eax
jne 0x40807f
push str.Data
lea eax, [esp + 0x1c]
push ebp
push eax
call sub.MFC42.DLL_operator
push 0x43012c
lea ecx, [esp + 0x14]
push eax
push ecx
mov byte [esp + 0x3cc], 0x1f
call sub.MFC42.DLL_operator
push str.EZNet41.ini
lea edx, [esp + 0x20]
push eax
push edx
mov byte [esp + 0x3cc], 0x20
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x3c4], 0x21
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3c0], 0x20
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x3c0], 0x1f
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c0], 0x1d
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x14]
push eax
push 2
push ecx
push 0x43043c
push str.Passwd
push str.AUTH
call ebx
lea edx, [esp + 0x14]
lea eax, [esp + 0x20]
push edx
push 0x430440
push eax
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x2c]
mov edi, dword [sym.imp.MSVCRT.dll__mbscmp]
push 0x4309b4
push ecx
call edi
add esp, 0x14
test eax, eax
jne 0x4080d1
mov dword [esi + 0x5510], eax
jmp 0x4080db
mov dword [esi + 0x5510], 1
push str.User
lea edx, [esp + 0x1c]
push ebp
push edx
call sub.MFC42.DLL_operator
push 0x43012c
push eax
lea eax, [esp + 0x18]
mov byte [esp + 0x3c8], 0x22
push eax
call sub.MFC42.DLL_operator
push str.EZNet41.ini
lea ecx, [esp + 0x20]
push eax
push ecx
mov byte [esp + 0x3cc], 0x23
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x3c4], 0x24
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3c0], 0x23
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x3c0], 0x22
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c0], 0x1d
call sub.MFC42.DLL_CString::CString
mov eax, dword [esi + 0x5510]
test eax, eax
je 0x408176
mov edx, dword [esp + 0x2c]
push edx
push 0x43043c
jmp 0x408180
mov eax, dword [esp + 0x2c]
push eax
push 0x4309b4
push str.Passwd
push str.AUTH
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x14]
push ecx
push 2
push edx
push 0x4309b4
push str.Syse
push str.APPTYPE
call ebx
lea eax, [esp + 0x14]
lea ecx, [esp + 0x20]
push eax
push 0x430440
push ecx
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0x2c]
push 0x4309b4
push edx
call edi
add esp, 0x14
test eax, eax
jne 0x4081f5
push 0x452
mov ecx, esi
mov dword [esi + 0x6218], eax
call sub.MFC42.DLL_CWnd::GetDlgItem
mov eax, dword [eax + 0x20]
push 0
push 0
push 0xf1
push eax
jmp 0x408218
push 0x452
mov ecx, esi
mov dword [esi + 0x6218], 1
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, dword [eax + 0x20]
push 0
push 1
push 0xf1
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, esi
call fcn.00410fb0
push 0
mov ecx, esi
call sub.MFC42.DLL_CWnd::UpdateData
mov ecx, esi
call fcn.0040f360
mov dl, byte [esi + 0x1e49]
mov ecx, esi
push edx
call fcn.00404210
lea ecx, [esp + 0x2c]
mov byte [esp + 0x3c0], 0x19
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x58]
mov byte [esp + 0x3c0], 0x15
call fcn.004222f8
lea ecx, [esp + 0x3c]
mov byte [esp + 0x3c0], 0x14
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x38]
mov byte [esp + 0x3c0], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x3c0], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov dword [esp + 0x3c0], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 1
mov ecx, dword [esp + 0x3b8]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x3b4
ret