Function at 0x429cc0
Capabilities:
Check internet connectivity via wininet
Copy file
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4a5180
mov eax, dword fs:[0]
push eax
sub esp, 0x668
mov eax, dword [0x4d8b40]
xor eax, esp
mov dword [esp + 0x660], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4d8b40]
xor eax, esp
push eax
lea eax, [esp + 0x67c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x68c]
push str.CheckForUpdate
push 0
push 2
push 0x38
mov edi, ecx
push str..AutoUpdateplusAutoUpdater.cpp
push str.CAutoUpdater::CheckForUpdate
mov dword [esp + 0x40], edi
mov esi, edx
mov dword [esp + 0x64], eax
call fcn.00429740
push 0x103
lea ecx, [esp + 0x279]
push 0
push ecx
mov byte [esp + 0x280], 0
call fcn.00465b60
add esp, 0x24
lea edx, [esp + 0x25c]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [esp + 0x25c]
push eax
lea ecx, [esp + 0x1c]
call fcn.00402670
mov dword [esp + 0x684], 0
cmp dword [edi + 4], 0
je 0x429d8d
push 0
lea ecx, [esp + 0x24]
push ecx
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
jne 0x429ddf
push str.InternetOkay_failed.
push 0
push 2
push 0x3e
push str..AutoUpdateplusAutoUpdater.cpp
push str.CAutoUpdater::CheckForUpdate
call fcn.00429740
mov dword [esp + 0x69c], 0xffffffff
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
add esp, 0x18
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x429dd5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x42a766
push str.update.txt
lea ecx, [esp + 0x24]
call fcn.00402670
push eax
lea ecx, [esp + 0x20]
push esi
push ecx
mov byte [esp + 0x690], 1
call fcn.00425bc0
add esp, 0xc
mov byte [esp + 0x684], 3
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x429e2c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push edi
lea edi, [esp + 0x20]
call fcn.0042a790
mov esi, eax
test esi, esi
jne 0x429eb5
push str._hSession_failed.
push eax
push 2
push 0x48
push str..AutoUpdateplusAutoUpdater.cpp
push str.CAutoUpdater::CheckForUpdate
call fcn.00429740
mov byte [esp + 0x69c], 0
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
add esp, 0x18
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x429e80
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x684], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x429eab
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 2
jmp 0x42a766
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
push eax
call fcn.00402a50
add eax, 0x10
add esp, 4
mov dword [esp + 0x2c], eax
push 1
push 0x4c23cc
lea ecx, [esp + 0x34]
mov byte [esp + 0x68c], 4
call fcn.00407720
push 0xa
push str.update.txt
lea ecx, [esp + 0x34]
call fcn.00407720
mov ebp, dword [esp + 0x2c]
push ebp
push esi
call fcn.0042a8f0
push esi
mov bl, al
call dword [sym.imp.WININET.dll_InternetCloseHandle]
test bl, bl
jne 0x429fae
push str.DownloadFile_1_failed.
push 0
push 2
push 0x54
push str..AutoUpdateplusAutoUpdater.cpp
push str.CAutoUpdater::CheckForUpdate
call fcn.00429740
lea eax, [ebp - 0x10]
add esp, 0x18
mov byte [esp + 0x684], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x429f51
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x684], 0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x429f79
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x684], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x429fa4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 3
jmp 0x42a766
mov dword [esp + 0x44], vtable.CIni.0
mov dword [esp + 0x48], 0
test ebp, ebp
je 0x429fcf
push ebp
call fcn.0046361e
add esp, 4
mov dword [esp + 0x48], eax
push str.1.0.2001.008
mov eax, str.Version
mov ecx, str.InstallerVersion
lea edi, [esp + 0x34]
lea edx, [esp + 0x48]
mov byte [esp + 0x688], 5
call fcn.00427040
mov bl, 6
lea esi, [esp + 0x34]
mov byte [esp + 0x684], bl
call fcn.0042b0f0
lea ecx, [esp + 0x38]
mov byte [esp + 0x684], 7
push ecx
mov ecx, dword [esp + 0x38]
call fcn.0042aa60
mov byte [esp + 0x684], 8
mov eax, dword [esp + 0x38]
cmp dword [eax - 0xc], 0
jne 0x42a158
push str.fileVersion.IsEmpty___failed.
push 0
push 2
push 0x65
push str..AutoUpdateplusAutoUpdater.cpp
push str.CAutoUpdater::CheckForUpdate
call fcn.00429740
mov byte [esp + 0x69c], 7
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
add esp, 0x18
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42a076
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x684], bl
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42a09d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x684], 5
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42a0c5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x48]
test eax, eax
je 0x42a0d6
push eax
call fcn.00461668
add esp, 4
add ebp, 0xfffffff0
mov byte [esp + 0x684], 3
lea ecx, [ebp + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42a0fb
mov ecx, dword [ebp]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebp
call edx
mov byte [esp + 0x684], 0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42a123
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x684], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42a14e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 5
jmp 0x42a766
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x24], esp
mov esi, esp
push eax
call fcn.00402a50
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0x68c], 9
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
mov dword [esp + 0x44], esp
mov esi, esp
push eax
call fcn.00402a50
add eax, 0x10
mov dword [esi], eax
add esp, 4
mov byte [esp + 0x68c], 8
call fcn.0042ac40
cmp eax, 1
jne 0x42a6e9
push 0
push 0x550
lea ecx, [esp + 0x5c]
mov dword [0x4dae5c], 0
call fcn.0043fd0f
mov ebp, vtable.CAskDlg.0
mov dword [esp + 0x54], ebp
lea ecx, [esp + 0x54]
mov byte [esp + 0x684], 0xa
call fcn.00440397
cmp eax, 2
jne 0x42a275
push 0x18c
lea ecx, [esp + 0xd0]
push 0
push ecx
call fcn.00465b60
lea edx, [esp + 0xd8]
add esp, 0xc
push edx
xor eax, eax
mov dword [esp + 0x154], 0x68
call fcn.00420b20
mov byte [esp + 0x688], 8
add esp, 4
lea ecx, [esp + 0x54]
mov dword [esp + 0x54], ebp
call fcn.0043fc7f
lea ecx, [esp + 0x38]
call fcn.00402b20
lea ecx, [esp + 0x34]
call fcn.00402b20
lea ecx, [esp + 0x30]
call fcn.00402b20
lea ecx, [esp + 0x44]
call fcn.00427020
lea ecx, [esp + 0x2c]
call fcn.00402b20
lea ecx, [esp + 0x1c]
call fcn.00402b20
lea ecx, [esp + 0x18]
call fcn.00402b20
mov eax, 8
jmp 0x42a766
lea ecx, [esp + 0x40]
call fcn.00402b40
mov bl, 0xb
push 0x84
lea ecx, [esp + 0x44]
mov byte [esp + 0x688], bl
call fcn.00402580
push str.http:__localhost:8080_shahai_demo_CSRC_BankCSRCAssist_wyzs.exe
mov eax, str.File
mov ecx, str.InstallerVersion
lea edi, [esp + 0x24]
lea edx, [esp + 0x48]
call fcn.00427040
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x688], 0xc
call fcn.00402990
mov ecx, edi
mov byte [esp + 0x684], bl
call fcn.00402b20
mov eax, dword [esp + 0x28]
push eax
lea edi, [esp + 0x20]
call fcn.0042a790
mov esi, eax
test esi, esi
jne 0x42a36b
push str._hSession_2_failed.
push eax
push 2
push 0x86
push str..AutoUpdateplusAutoUpdater.cpp
push str.CAutoUpdater::CheckForUpdate
call fcn.00429740
add esp, 0x18
lea ecx, [esp + 0x40]
call fcn.00402b20
mov byte [esp + 0x684], 8
lea ecx, [esp + 0x54]
mov dword [esp + 0x54], ebp
call fcn.0043fc7f
lea ecx, [esp + 0x38]
call fcn.00402b20
lea ecx, [esp + 0x34]
call fcn.00402b20
lea ecx, [esp + 0x30]
call fcn.00402b20
lea ecx, [esp + 0x44]
call fcn.00427020
lea ecx, [esp + 0x2c]
call fcn.00402b20
mov ecx, edi
call fcn.00402b20
lea ecx, [esp + 0x18]
call fcn.00402b20
lea eax, [esi + 2]
jmp 0x42a766
lea ecx, [esp + 0x28]
call fcn.00402b40
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x44]
push eax
mov byte [esp + 0x690], 0xd
call fcn.00414470
add esp, 0xc
mov byte [esp + 0x684], 0xe
mov ecx, dword [esp + 0x3c]
push ecx
push esi
call fcn.0042a8f0
push esi
mov bl, al
call dword [sym.imp.WININET.dll_InternetCloseHandle]
test bl, bl
jne 0x42a450
push str.DownloadFile_2_failed.
push 0
push 2
push 0x97
push str..AutoUpdateplusAutoUpdater.cpp
push str.CAutoUpdater::CheckForUpdate
call fcn.00429740
add esp, 0x18
lea ecx, [esp + 0x3c]
call fcn.00402b20
lea ecx, [esp + 0x28]
call fcn.00402b20
lea ecx, [esp + 0x40]
call fcn.00402b20
mov byte [esp + 0x684], 8
lea ecx, [esp + 0x54]
mov dword [esp + 0x54], ebp
call fcn.0043fc7f
lea ecx, [esp + 0x38]
call fcn.00402b20
lea ecx, [esp + 0x34]
call fcn.00402b20
lea ecx, [esp + 0x30]
call fcn.00402b20
lea ecx, [esp + 0x44]
call fcn.00427020
lea ecx, [esp + 0x2c]
call fcn.00402b20
lea ecx, [esp + 0x1c]
call fcn.00402b20
lea ecx, [esp + 0x18]
call fcn.00402b20
mov eax, 4
jmp 0x42a766
lea ecx, [esp + 0x24]
call fcn.00402b40
push 0xfe
lea edx, [esp + 0x369]
push 0
mov byte [esp + 0x68c], 0xf
push edx
mov byte [esp + 0x370], 0
call fcn.00465b60
add esp, 0xc
push 0
push 0x10
lea eax, [esp + 0x36c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea ecx, [esp + 0x364]
push ecx
lea ecx, [esp + 0x28]
call fcn.00402630
push str.CSRCBankAssist_
lea ecx, [esp + 0x28]
call fcn.00407810
lea edx, [esp + 0x30]
push edx
lea ecx, [esp + 0x28]
call fcn.00414a60
push str..exe
lea ecx, [esp + 0x28]
call fcn.00407810
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x3c]
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push 0x210
lea edx, [esp + 0x468]
push 0
push edx
mov dword [0x4dae5c], 1
call fcn.00465b60
add esp, 0xc
mov esi, str.IDS_UPDATE_TXT
mov ecx, str.ComDlg
call fcn.00426a80
lea edx, [esp + 0x464]
mov cl, byte [eax]
mov byte [edx], cl
inc eax
inc edx
test cl, cl
jne 0x42a518
lea eax, [esp + 0x464]
push eax
lea ecx, [esp + 0x2c]
call fcn.00402630
push 0x4c23d0
lea ecx, [esp + 0x2c]
call fcn.00407810
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x2c]
call fcn.00414a60
lea ecx, [esp + 0x20]
call fcn.00402b40
push 0x210
lea edx, [esp + 0x468]
push 0
push edx
mov byte [esp + 0x690], 0x10
call fcn.00465b60
add esp, 0xc
mov esi, str.IDS_UPDATE_CAP
mov ecx, str.ComDlg
call fcn.00426a80
lea edx, [esp + 0x464]
lea ecx, [ecx]
mov cl, byte [eax]
mov byte [edx], cl
inc eax
inc edx
test cl, cl
jne 0x42a590
lea eax, [esp + 0x464]
push eax
lea ecx, [esp + 0x24]
call fcn.00402630
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
push 0x1024
push ecx
push edx
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 7
jne 0x42a67b
push str.IDNO__MessageBox_failed.
push 0
push 2
push 0xb3
push str..AutoUpdateplusAutoUpdater.cpp
push str.CAutoUpdater::CheckForUpdate
call fcn.00429740
add esp, 0x18
lea ecx, [esp + 0x20]
call fcn.00402b20
lea ecx, [esp + 0x24]
call fcn.00402b20
lea ecx, [esp + 0x3c]
call fcn.00402b20
lea ecx, [esp + 0x28]
call fcn.00402b20
lea ecx, [esp + 0x40]
call fcn.00402b20
mov byte [esp + 0x684], 8
lea ecx, [esp + 0x54]
mov dword [esp + 0x54], ebp
call fcn.0043fc7f
lea ecx, [esp + 0x38]
call fcn.00402b20
lea ecx, [esp + 0x34]
call fcn.00402b20
lea ecx, [esp + 0x30]
call fcn.00402b20
lea ecx, [esp + 0x44]
call fcn.00427020
lea ecx, [esp + 0x2c]
call fcn.00402b20
lea ecx, [esp + 0x1c]
call fcn.00402b20
lea ecx, [esp + 0x18]
call fcn.00402b20
mov eax, 7
jmp 0x42a766
push ecx
lea eax, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x54], esp
push eax
call fcn.00402ac0
call fcn.0042b150
mov ecx, dword [esp + 0x4c]
push 0
push 0
push 0x469
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [esp + 0x20]
call fcn.00402b20
lea ecx, [esp + 0x24]
call fcn.00402b20
lea ecx, [esp + 0x3c]
call fcn.00402b20
lea ecx, [esp + 0x28]
call fcn.00402b20
lea ecx, [esp + 0x40]
call fcn.00402b20
mov byte [esp + 0x684], 8
lea ecx, [esp + 0x54]
mov dword [esp + 0x54], ebp
call fcn.0043fc7f
jmp 0x42a71d
push 0x18c
lea edx, [esp + 0xd0]
push 0
push edx
call fcn.00465b60
lea eax, [esp + 0xd8]
add esp, 0xc
push eax
xor eax, eax
mov dword [esp + 0x154], 0x68
call fcn.00420b20
add esp, 4
lea ecx, [esp + 0x38]
call fcn.00402b20
lea ecx, [esp + 0x34]
call fcn.00402b20
lea ecx, [esp + 0x30]
call fcn.00402b20
mov eax, dword [esp + 0x48]
test eax, eax
je 0x42a749
push eax
call fcn.00461668
add esp, 4
lea ecx, [esp + 0x2c]
call fcn.00402b20
lea ecx, [esp + 0x1c]
call fcn.00402b20
lea ecx, [esp + 0x18]
call fcn.00402b20
xor eax, eax
mov ecx, dword [esp + 0x67c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x660]
xor ecx, esp
call fcn.0045f97b
add esp, 0x674
ret 4