joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a413a
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0x284
mov eax, 0x5d3f01
call fcn.00506dfb
mov eax, ecx
mov dword [ebp - 0x290], eax
xor esi, esi
push esi
push esi
push 3
push esi
push 3
push SysReAllocString
push dword [eax + 0x98]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4a424a
lea eax, [ebp - 0x288]
mov dword [ebp - 0x288], esi
push eax
push ebx
mov dword [ebp - 0x284], esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov edx, dword [ebp - 0x288]
mov ecx, edx
mov eax, dword [ebp - 0x284]
add ecx, 0xfffffe2f
adc eax, 0xffffffff
cmp eax, esi
ja 0x4a4243
jb 0x4a41bd
cmp ecx, 0x7ce2e
ja 0x4a4243
lea eax, [edx + 1]
mov dword [ebp - 0x28c], esi
push eax
call fcn.00506f2d
mov edi, eax
mov eax, dword [ebp - 0x288]
inc eax
push eax
push esi
push edi
call fcn.0056b050
add esp, 0x10
lea eax, [ebp - 0x28c]
push esi
push eax
push dword [ebp - 0x288]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4a4238
lea ecx, [ebp - 0x280]
mov dword [ebp - method.CMyUpgrade.virtual_0], vtable.CTiXmlConfig.0
call fcn.00496839
mov ecx, dword [ebp - 0x290]
lea eax, [ebp - 0x280]
push eax
push dword [ebp - 0x288]
mov dword [ebp - 4], esi
push edi
call fcn.004c37e1
lea ecx, [ebp - 0x280]
mov esi, eax
call fcn.00456baa
test edi, edi
je 0x4a4243
push edi
call fcn.00506f36
pop ecx
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
call fcn.00506da5
ret

Function at 0x4a4252
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0x284
mov eax, 0x5d3f34
call fcn.00506dfb
mov eax, ecx
mov dword [ebp - 0x290], eax
xor esi, esi
push esi
push esi
push 3
push esi
push 3
push SysReAllocString
push dword [eax + 0x98]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4a4362
lea eax, [ebp - 0x288]
mov dword [ebp - 0x288], esi
push eax
push ebx
mov dword [ebp - 0x284], esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov edx, dword [ebp - 0x288]
mov ecx, edx
mov eax, dword [ebp - 0x284]
add ecx, 0xfffffe2f
adc eax, 0xffffffff
cmp eax, esi
ja 0x4a435b
jb 0x4a42d5
cmp ecx, 0x7ce2e
ja 0x4a435b
lea eax, [edx + 1]
mov dword [ebp - 0x28c], esi
push eax
call fcn.00506f2d
mov edi, eax
mov eax, dword [ebp - 0x288]
inc eax
push eax
push esi
push edi
call fcn.0056b050
add esp, 0x10
lea eax, [ebp - 0x28c]
push esi
push eax
push dword [ebp - 0x288]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4a4350
lea ecx, [ebp - 0x280]
mov dword [ebp - method.CMyUpgrade.virtual_0], vtable.CTiXmlConfig.0
call fcn.00496839
mov ecx, dword [ebp - 0x290]
lea eax, [ebp - 0x280]
push eax
push dword [ebp - 0x288]
mov dword [ebp - 4], esi
push edi
call fcn.004c393d
lea ecx, [ebp - 0x280]
mov esi, eax
call fcn.00456baa
test edi, edi
je 0x4a435b
push edi
call fcn.00506f36
pop ecx
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
call fcn.00506da5
ret
Function at 0x4a5e72
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x67e2d4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push edi
xor edi, edi
push 0x208
push edi
push eax
mov dword [ebp - 0x210], edi
call fcn.0056b050
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push edi
push edi
push 0x801c
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov ecx, esi
test eax, eax
js 0x4a5ecb
lea eax, [ebp - 0x20c]
push eax
jmp 0x4a5ed0
push 0x5f1b30
call fcn.00413f09
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.00506d7f
mov esp, ebp
pop ebp
ret 4

Function at 0x4a5ee9
Capabilities:
Create process on windows

Disassembly:
push 0x58
mov eax, 0x5d42cf
call fcn.00506dc7
xor ebx, ebx
call fcn.0041279d
push eax
lea ecx, [ebp - 0x10]
call fcn.00411d94
push 0x40
lea eax, [ebp - 0x60]
mov dword [ebp - 4], ebx
push ebx
push eax
call fcn.0056b050
mov esi, dword [ebp + 8]
xorps xmm0, xmm0
push 0x20
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 0x64], 0x44
push dword [esi]
call fcn.0056bbc5
add esp, 0x14
lea ecx, [ebp - 0x10]
test eax, eax
je 0x4a5f5f
push 0x601e04
call fcn.0041421f
mov eax, dword [esi]
lea ecx, [ebp - 0x10]
push dword [eax - 0xc]
push eax
call fcn.00412114
push 0x601e60
lea ecx, [ebp - 0x10]
call fcn.0042e473
jmp 0x4a5f77
push 0x601e8c
call fcn.0041421f
mov eax, dword [esi]
lea ecx, [ebp - 0x10]
push dword [eax - 0xc]
push eax
call fcn.00412114
mov esi, dword [ebp - 0x10]
push esi
call fcn.0059feed
pop ecx
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x64]
push ecx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
xor ecx, ecx
inc ecx
test eax, eax
cmovne ebx, ecx
cmp dword [ebp - 0x1c], 0
je 0x4a5fb2
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [ebp - 0x1c], 0
cmp dword [ebp - 0x20], 0
je 0x4a5fc5
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [ebp - 0x20], 0
lea ecx, [esi - 0x10]
call fcn.00412ac4
mov eax, ebx
call fcn.00506d90
ret
Function at 0x4adaee
Capabilities:
Create thread

Disassembly:
push 4
mov eax, 0x5d4d36
call fcn.00506dc7
mov ebx, ecx
lea edi, [ebx + 0x30]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, ebx
mov byte [ebx + 0x2c], 1
call fcn.004a68fd
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x10]
lea eax, [esi + 0x414]
push eax
call fcn.0044d653
push dword [ebp - 0x10]
and dword [ebp - 4], 0
lea ecx, [ebx + 0x58]
call fcn.00411f8a
lea eax, [esi + 0x14]
push eax
lea ecx, [ebx + 0x5c]
call fcn.0041421f
lea eax, [esi + 0x214]
push eax
lea ecx, [ebx + 0x54]
call fcn.0041421f
mov eax, dword [esi + 8]
mov dword [ebx + 0x48], eax
mov eax, dword [esi + 0x10]
mov dword [ebx + 0x4c], eax
mov eax, dword [esi + 0xc]
mov dword [ebx + 0x50], eax
push edi
mov byte [ebx + 0x2c], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
push eax
push eax
push ebx
push 0x4a62fd
push eax
push eax
call fcn.005a2a64
mov ecx, dword [ebp - 0x10]
add esp, 0x18
lea ecx, [ecx - 0x10]
call fcn.00412ac4
call fcn.00506d90
ret 4

Function at 0x4adbf8
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, ecx
push edi
push dword [ebx + 0x18]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x4adc2e
lea esi, [eax + 1]
push esi
lea ecx, [ebx + 0x28]
call fcn.0041299c
push esi
push eax
push dword [ebx + 0x18]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
lea ecx, [ebx + 0x28]
call fcn.004349e4
push dword [ebx + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x4adc5c
lea esi, [eax + 1]
push esi
lea ecx, [ebx + 0x2c]
call fcn.0041299c
push esi
push eax
push dword [ebx + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
lea ecx, [ebx + 0x2c]
call fcn.004349e4
xor edi, edi
push edi
push edi
push 0xf0
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [ebx + 0x14]
dec eax
neg eax
sbb al, al
inc al
mov byte [ebx + 0x30], al
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push dword [ebx + 0xc]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
call esi
push dword [ebx + 0x10]
call esi
mov eax, dword [ebp + 0x14]
mov dword [eax], edi
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 0x10
Function at 0x4b8160
Capabilities:
Delete directory
Delete file

Disassembly:
push 0x24
mov eax, 0x5d651f
call fcn.00506dc7
mov eax, ecx
mov dword [ebp - 0x18], eax
lea ebx, [eax + 0x20]
push str.clean_list
mov ecx, ebx
call fcn.00530748
test eax, eax
je 0x4b8189
lea esi, [eax - 8]
jmp 0x4b818b
xor esi, esi
mov dword [ebp - 0x14], esi
test esi, esi
je 0x4b826f
push str.tree_files
mov ecx, ebx
call fcn.00530748
test eax, eax
je 0x4b81ab
lea edi, [eax - 8]
jmp 0x4b81ad
xor edi, edi
test edi, edi
je 0x4b826f
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x150]
mov ebx, eax
jmp 0x4b8266
push ebx
mov ecx, edi
call fcn.00548d76
mov dword [ebp - 0x10], eax
test eax, eax
je 0x4b8266
lea ecx, [ebp - 0x30]
call fcn.0042ca82
mov ecx, dword [ebp - 0x10]
and dword [ebp - 4], 0
add ecx, 8
mov eax, dword [ecx]
call dword [eax + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x4b820d
mov ecx, dword [ebp - 0x10]
add ecx, 8
mov eax, dword [ecx]
call dword [eax + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ecx, dword [ebp - 0x10]
mov eax, dword [esi]
add ecx, 8
push ecx
mov ecx, esi
call dword [eax + 0x18]
mov ecx, dword [ebp - 0x18]
push str.downloading.item.download_progress
lea ecx, [ecx + 0x20]
call fcn.00530748
test eax, eax
je 0x4b8234
lea esi, [eax - 8]
jmp 0x4b8236
xor esi, esi
test esi, esi
je 0x4b824c
lea ecx, [esi + 8]
call fcn.0054040f
inc eax
lea ecx, [esi + 8]
push eax
call fcn.00540797
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.0042e60b
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.00412ac4
mov esi, dword [ebp - 0x14]
sub ebx, 1
jns 0x4b81c6
mov ecx, dword [ebp - 0x18]
push 0
push 0
push 0x809
call fcn.005242b3
xor eax, eax
call fcn.00506d90
ret 0x10

Function at 0x4b8c54
Capabilities:
Hide graphical window

Disassembly:
push esi
mov ecx, 0x6833d0
call fcn.00535c0b
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4b8ca7
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x4b8c8f
push 5
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0
push 0xf
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4b8ca7
push esi
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x4b8c9e
push 9
jmp 0x4b8ca0
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
ret 0x10
Function at 0x4b8d9d
Capabilities:
Create thread

Disassembly:
push 0xd0
mov eax, 0x5d6634
call fcn.00506dfb
mov ebx, ecx
mov eax, dword [ebp + 0x14]
mov esi, ebx
neg esi
mov dword [ebp - 0xdc], eax
lea eax, [ebx - 0x2c0]
sbb esi, esi
and esi, eax
cmp dword [ebp + 0xc], 0
je 0x4b8f72
cmp byte [0x6836cc], 0
jne 0x4b8e24
push str.main.act2_ani
lea ecx, [esi + 0x20]
call fcn.00530748
mov edi, eax
test edi, edi
je 0x4b8e24
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x17c]
test al, al
je 0x4b8e24
push 0
push 0x46
lea ecx, [edi + 0x200]
call fcn.005262f0
mov ecx, edi
call fcn.00543966
push 0
push 0xbb8
push 0x3f2
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
call fcn.0041279d
push eax
lea ecx, [ebp - 0xcc]
call fcn.00411d94
and dword [ebp - 4], 0
push 0
call fcn.0059f08d
pop ecx
mov dword [ebp - 0xd4], eax
lea ecx, [ebp - 0xd4]
lea eax, [ebp - 0x34]
mov dword [ebp - 0xd0], edx
push eax
call fcn.00489025
or esi, 0xffffffff
test eax, eax
je 0x4b8e6d
mov edi, dword [eax]
mov dword [ebp - 0xd8], edi
jmp 0x4b8e73
mov dword [ebp - 0xd8], esi
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0xd4]
call fcn.00489025
test eax, eax
je 0x4b8e91
mov edi, dword [eax + 4]
mov dword [ebp - 0xc8], edi
jmp 0x4b8e97
mov dword [ebp - 0xc8], esi
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0xd4]
call fcn.00489025
test eax, eax
je 0x4b8ead
mov esi, dword [eax + 8]
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0xd4]
call fcn.00489025
test eax, eax
je 0x4b8ec8
mov edi, dword [eax + 0xc]
jmp 0x4b8eca
xor edi, edi
lea eax, [ebp - 0xc4]
push eax
lea ecx, [ebp - 0xd4]
call fcn.00489025
test eax, eax
je 0x4b8ee6
mov eax, dword [eax + 0x10]
inc eax
jmp 0x4b8ee8
xor eax, eax
push dword [ebp - 0xd8]
lea ecx, [ebp - 0xd4]
push dword [ebp - 0xc8]
push esi
push edi
push eax
call fcn.00493c81
push eax
lea eax, [ebp - 0xcc]
push str._d__02d__02d__02d:_02d:_02d
push eax
call fcn.00412690
mov ecx, dword [0x682bb4]
lea eax, [ebp - 0xc8]
add esp, 0x20
push eax
call fcn.0047ed2d
mov esi, dword [ebp - 0xc8]
lea ecx, [ebp - 0xcc]
push esi
mov byte [ebp - 4], 1
call fcn.0042e69b
test eax, eax
jns 0x4b8f5c
xor eax, eax
push eax
push eax
push ebx
push 0x4cbe24
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esi - 0x10]
call fcn.00412ac4
mov ecx, dword [ebp - 0xcc]
lea ecx, [ecx - 0x10]
call fcn.00412ac4
mov eax, dword [ebp - 0xdc]
and dword [eax], 0
xor eax, eax
call fcn.00506da5
ret 0x10
Function at 0x4bcb21
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push 0x20
mov eax, 0x5d6fab
call fcn.00506e32
mov edi, ecx
mov esi, 0x6833d0
mov ecx, esi
call fcn.00493154
add eax, 8
push eax
call fcn.0057600b
pop ecx
test eax, eax
jne 0x4bcb63
mov byte [edi + 0x18], al
mov eax, dword [edi + 4]
push 0x3ec
push dword [eax + 4]
call dword [sym.imp.USER32.dll_KillTimer]
call fcn.00506d90
ret
xor ebx, ebx
mov dword [ebp - 4], ebx
call fcn.0041279d
push eax
lea ecx, [ebp - 0x18]
call fcn.00411d94
mov ecx, esi
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], ebx
call fcn.00493154
mov ecx, 0x6833d0
mov esi, eax
call fcn.00493154
lea ecx, [esi + 0x408]
add eax, 8
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea eax, [ebp - 0x18]
push str.https:__my.ruanmei.com_ruanmeiuserrank.aspx_r_du_sp_s
push eax
call fcn.00412690
add esp, 0x14
mov byte [ebp - 4], 2
mov esi, ebx
mov dword [ebp - 0x1c], ebx
push ebx
push ebx
push ebx
push 1
push ebx
call dword [sym.imp.WININET.dll_InternetOpenW]
mov ebx, eax
mov dword [ebp - 0x2c], ebx
test ebx, ebx
je 0x4bcc8b
and dword [ebp - 0x24], esi
lea eax, [ebp - 0x24]
push 4
push eax
push 2
push ebx
call dword [sym.imp.WININET.dll_InternetSetOptionW]
xor eax, eax
push eax
push 0x102
push eax
push eax
push dword [ebp - 0x18]
push ebx
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x4bcc80
push 0x100000
call fcn.00506f2d
pop ecx
push 0x100000
mov ebx, eax
push esi
push ebx
call fcn.0056b050
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
push 0x100000
push ebx
push dword [ebp - 0x20]
call dword [sym.imp.WININET.dll_InternetReadFile]
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4bcc60
mov dword [ebp - 0x14], eax
inc eax
push eax
mov dword [ebp - 0x28], eax
call fcn.00506f2d
pop ecx
push dword [ebp - 0x28]
mov esi, eax
push 0
push esi
call fcn.0056b050
push dword [ebp - 0x14]
push ebx
push esi
call fcn.0056a550
add esp, 0x18
test ebx, ebx
je 0x4bcc6b
push ebx
call fcn.00506f36
pop ecx
push dword [ebp - 0x20]
mov ebx, dword [sym.imp.WININET.dll_InternetCloseHandle]
call ebx
jmp 0x4bcc86
mov ebx, dword [sym.imp.WININET.dll_InternetCloseHandle]
push dword [ebp - 0x2c]
call ebx
test esi, esi
je 0x4bccc9
cmp dword [ebp - 0x14], 2
jl 0x4bccbf
cmp byte [esi], 0x63
jne 0x4bccbf
cmp byte [esi + 1], 0x6f
jne 0x4bccbf
mov eax, dword [edi + 4]
push 0x3ec
push dword [eax + 4]
call dword [sym.imp.USER32.dll_KillTimer]
lea eax, [edi + 8]
mov byte [edi + 0x18], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 1
push esi
call fcn.005066f1
pop ecx
pop ecx
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.00412ac4
jmp 0x4bcb5d

Function at 0x4bccdf
Capabilities:
Create thread

Disassembly:
xor eax, eax
push eax
push eax
push ecx
push 0x4931a4
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
ret
Function at 0x4c7aab
Capabilities:
Check if file exists
Create thread

Disassembly:
push 0x1c
mov eax, 0x5d7ff2
call fcn.00506dc7
mov esi, ecx
lea ecx, [ebp - 0x28]
call fcn.0042ca82
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x28]
call fcn.0042e4c9
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 0
je 0x4c7af8
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4c7af5
push esi
push 0
push 0x4c7b19
call fcn.005a29d8
add esp, 0xc
mov eax, dword [ebp - 0x10]
lea ecx, [eax - 0x10]
call fcn.00412ac4
lea ecx, [ebp - 0x28]
call fcn.0042e60b
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.00412ac4
call fcn.00506d90
ret

Function at 0x4c8f50
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x67e2d4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push edi
xor edi, edi
push 0x208
push edi
push eax
mov dword [ebp - 0x210], edi
call fcn.0056b050
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push edi
push edi
push 0x802a
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov ecx, esi
test eax, eax
js 0x4c8fa9
lea eax, [ebp - 0x20c]
push eax
jmp 0x4c8fae
push 0x5f1b30
call fcn.00413f09
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.00506d7f
mov esp, ebp
pop ebp
ret 4

Function at 0x4c92a9
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
lea eax, [ebp - 4]
push esi
push eax
push dword [ebp + 0xc]
mov esi, ecx
push dword [ebp + 8]
push dword [esi + 4]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x4c92d3
mov eax, dword [ebp - 4]
pop esi
mov esp, ebp
pop ebp
ret 8
push dword [ebp + 0xc]
lea eax, [ebp - 0x1c]
push 0x60f1d0
push dword [esi + 4]
push eax
call fcn.00450a03
add esp, 0x10
lea eax, [ebp - 0x1c]
push 0x6717f8
push eax
call fcn.0056b1aa
int3

Function at 0x4c92f9
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push 4
pop eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push eax
mov eax, dword [ecx + 4]
or eax, 0x20019
push eax
push 0
push dword [ecx + 0x10]
push dword [ecx + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4c932d
mov esi, dword [ebp + 0xc]
jmp 0x4c935f
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push dword [ebp + 8]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp - 4]
test eax, eax
push dword [ebp - 8]
cmovne ecx, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 4]
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00412ac4
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x4c9373
Capabilities:
Reference cloudflare dns server

Disassembly:
push 0x24
mov eax, 0x5d8171
call fcn.00506dc7
lea ecx, [ebp - 0x30]
call fcn.0042ca82
xor ebx, ebx
mov dword [ebp - 4], ebx
call fcn.00430f47
mov ecx, dword [ebp - 0x2c]
xor edx, edx
test eax, eax
push 1
cmovne ecx, edx
push ecx
mov dword [ebp - 0x2c], ecx
mov ecx, esp
push str.SoftwareRuanMeiSoftMaster
call fcn.00413f09
push SysReAllocString
lea ecx, [ebp - 0x30]
call fcn.0043fb03
test eax, eax
je 0x4c9455
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0x6007b0
call fcn.00413f09
push ecx
mov ecx, esp
mov byte [ebp - 4], 1
push str.dbtimestamp
call fcn.00413f09
lea eax, [ebp - 0x10]
mov byte [ebp - 4], bl
push eax
lea ecx, [ebp - 0x30]
call fcn.00434880
mov ecx, dword [ebp + 0xc]
push eax
mov byte [ebp - 4], 2
call fcn.00411f3a
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.00412ac4
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push str.1.0.0.1
call fcn.00413f09
push ecx
mov ecx, esp
mov byte [ebp - 4], 3
push str.dbversionstamp
call fcn.00413f09
lea eax, [ebp + 0xc]
mov byte [ebp - 4], bl
push eax
lea ecx, [ebp - 0x30]
call fcn.00434880
mov ecx, dword [ebp + 8]
push eax
mov byte [ebp - 4], 4
call fcn.00411f3a
mov ecx, dword [ebp + 0xc]
lea ecx, [ecx - 0x10]
call fcn.00412ac4
lea ecx, [ebp - 0x30]
call fcn.0042e60b
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.00412ac4
call fcn.00506d90
ret 8
Function at 0x4c9470
Capabilities:
Read file via mapping

Disassembly:
push 0x94
mov eax, 0x5d81b6
call fcn.00506dfb
mov eax, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 0x94], eax
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], esi
push dword [ebp + 0xc]
mov dword [ebp - 4], 1
call fcn.00483d67
pop ecx
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x80], edx
mov edi, eax
call fcn.00413598
push esi
push 0x8000027
push 3
push esi
push 1
push SysReAllocString
push dword [ebp + 0xc]
mov ebx, esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x98], esi
cmp esi, 0xffffffff
je 0x4c9506
mov eax, edi
xorps xmm0, xmm0
or eax, dword [ebp - 0x80]
movlpd qword [ebp - 0x8c], xmm0
je 0x4c95c9
xor eax, eax
push eax
push eax
push eax
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ebx, eax
test ebx, ebx
jne 0x4c9511
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x4c95c9
mov eax, dword [ebp - 0x80]
test eax, eax
jl 0x4c95c9
jg 0x4c9526
test edi, edi
je 0x4c95c9
mov ecx, dword [ebp - 0x88]
mov edx, dword [ebp - 0x8c]
mov dword [ebp - 0x90], ecx
mov dword [ebp - 0x88], edx
test eax, eax
jg 0x4c9556
jl 0x4c954c
cmp edi, 0xa00000
jae 0x4c9556
mov eax, edi
mov dword [ebp - 0x84], edi
jmp 0x4c9561
mov eax, 0xa00000
mov dword [ebp - 0x84], eax
push eax
push edx
push ecx
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
push dword [ebp - 0x84]
mov esi, eax
lea ecx, [ebp - 0x7c]
push esi
call fcn.00413e1c
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov edx, dword [ebp - 0x88]
add edx, dword [ebp - 0x84]
mov ecx, dword [ebp - 0x90]
mov eax, dword [ebp - 0x80]
adc ecx, 0
sub edi, dword [ebp - 0x84]
mov dword [ebp - 0x88], edx
sbb eax, 0
mov dword [ebp - 0x90], ecx
mov dword [ebp - 0x80], eax
test eax, eax
jg 0x4c9556
jl 0x4c95c3
test edi, edi
jne 0x4c953e
mov esi, dword [ebp - 0x98]
lea ecx, [ebp - 0x7c]
call fcn.00413501
lea eax, [ebp - 0x24]
push eax
call fcn.004136ba
pop ecx
mov ecx, dword [ebp - 0x94]
push eax
call fcn.00411dbd
mov ecx, dword [ebp - 0x94]
mov dword [ebp - 0x9c], 1
call fcn.00431964
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x4c9609
push esi
call edi
test ebx, ebx
je 0x4c9610
push ebx
call edi
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.00412ac4
mov eax, dword [ebp - 0x94]
call fcn.00506da5
ret 8