joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46081d
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x7286bc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x40
pop esi
push esi
xor ebx, ebx
mov dword [ebp - 0x108], ecx
lea eax, [ebp - 0x104]
push ebx
push eax
call fcn.0060b7a0
push esi
lea eax, [ebp - 0x84]
push ebx
push eax
call fcn.0060b7a0
push 7
xor eax, eax
mov byte [ebp - 0x24], bl
pop ecx
lea edi, [ebp - 0x23]
mov byte [ebp - 0x44], bl
rep stosd dword es:[edi], eax
push 7
pop ecx
push esi
stosw word es:[edi], ax
push ebx
stosb byte es:[edi], al
xor eax, eax
lea edi, [ebp - 0x43]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0xc4]
push eax
call fcn.0060b7a0
mov edi, dword [ebp - 0x108]
lea eax, [ebp - 0x104]
add esp, 0x24
mov ecx, edi
push esi
push eax
push dword [ebp + 8]
call fcn.00456635
mov ecx, ebx
movsx eax, byte [ecx + str.:2_]
mov al, byte [ebp + eax - 0x105]
mov byte [ebp + ecx - 0x84], al
inc ecx
cmp ecx, esi
jl 0x4608a5
push 0x20
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.0060aca0
push 0x20
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0060aca0
add esp, 0x18
mov esi, ebx
push dword [ebp + 0xc]
mov ecx, edi
push 0xf
pop eax
sub eax, esi
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.00473136
inc esi
cmp esi, 0x10
jl 0x4608e5
push 0x20
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0xc4]
push eax
call fcn.0060aca0
push 0x20
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.0060aca0
add esp, 0x18
lea edx, [edi + 0x640]
movsx eax, byte [ebx + 0x685378]
mov al, byte [ebp + eax - 0xc5]
mov byte [edx + ebx], al
inc ebx
cmp ebx, 0x40
jl 0x460930
push 0x40
push edx
lea eax, [edi + 0x688]
mov ecx, edi
push eax
call fcn.0045657f
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00609802
mov esp, ebp
pop ebp
ret 8
Function at 0x461041
Capabilities:
Check if file exists
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28c
mov eax, dword [0x7286bc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea ecx, [ebp - 0x274]
call fcn.00417833
lea ecx, [ebp - 0x28c]
call fcn.00417833
push 1
push ecx
mov ecx, esp
push str.SoftwareRuanMeiMyTime
call fcn.004177e7
push SysReAllocString
lea ecx, [ebp - 0x28c]
call fcn.004f7115
push ecx
mov ecx, esp
push 0x6809b0
call fcn.004177e7
push ecx
mov ecx, esp
push str.Install_Dir
call fcn.004177e7
lea eax, [ebp - 0x258]
push eax
lea ecx, [ebp - 0x28c]
call fcn.004e6ef3
push dword [ebp - 0x258]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4611af
push 0x683cc4
lea ecx, [ebp - 0x258]
call fcn.00505c74
push eax
lea ecx, [ebp - 0x258]
call fcn.00418bac
push ecx
mov ecx, esp
push str.mytime.tmp
call fcn.00419d68
mov eax, dword [ebp - 0x258]
push ecx
add eax, 0xfffffff0
mov esi, esp
push eax
call fcn.00418dea
add eax, 0x10
pop ecx
mov dword [esi], eax
lea ecx, [ebp - 0x274]
lea eax, [ebp - 0x25c]
push eax
call fcn.0041934b
mov esi, dword [ebp - 0x25c]
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4611a7
jmp 0x461146
cmp word [ebp - 0x228], 0x2e
je 0x461195
push ecx
lea eax, [ebp - 0x228]
mov ecx, esp
push eax
call fcn.004177e7
mov eax, dword [ebp - 0x258]
push ecx
add eax, 0xfffffff0
mov edi, esp
push eax
call fcn.00418dea
add eax, 0x10
mov dword [edi], eax
lea eax, [ebp - 0x25c]
pop ecx
push eax
lea ecx, [ebp - 0x274]
call fcn.0041934b
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 0x25c]
add ecx, 0xfffffff0
call fcn.00419521
lea eax, [ebp - 0x254]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x46113c
lea ecx, [esi - 0x10]
call fcn.00419521
mov ecx, dword [ebp - 0x258]
lea ecx, [ecx - 0x10]
call fcn.00419521
lea ecx, [ebp - 0x28c]
call fcn.00418dd0
mov ecx, dword [ebp - 0x27c]
lea ecx, [ecx - 0x10]
call fcn.00419521
lea ecx, [ebp - 0x274]
call fcn.00418dd0
mov ecx, dword [ebp - 0x264]
lea ecx, [ecx - 0x10]
call fcn.00419521
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00609802
mov esp, ebp
pop ebp
ret
Function at 0x461b7f
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
mov esi, ecx
lea ecx, [ebp - 0x20]
call fcn.0043f502
push dword [esi + 0x2d8]
lea ecx, [ebp - 0x20]
call fcn.004720ae
cmp eax, 1
jne 0x461c16
push edi
lea ecx, [ebp - 0x20]
call fcn.004721d8
push 0x10
lea ecx, [ebp - 0x20]
mov edi, eax
call fcn.004b325d
test eax, eax
jne 0x461c10
lea ecx, [ebp - 0x20]
call fcn.004a89d0
test eax, eax
jne 0x461c10
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x20]
call fcn.0047cea4
push dword [esi + 0x2d4]
lea ecx, [ebp - 4]
call fcn.004229b4
test eax, eax
je 0x461c05
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x20]
call fcn.0047cea4
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 8]
lea ecx, [ecx - 0x10]
call fcn.00419521
mov ecx, dword [ebp - 4]
lea ecx, [ecx - 0x10]
call fcn.00419521
cmp edi, 1
je 0x461ba4
pop edi
lea ecx, [ebp - 0x20]
call fcn.00459fc3
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00419521
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x461d4b
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
lea eax, [ebp - 4]
xor edi, edi
push eax
mov eax, dword [ecx + 4]
or eax, 2
push eax
push edi
push dword [ecx + 0x10]
push dword [ecx + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x461d8c
push esi
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
jne 0x461d8c
inc edi
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00419521
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret 4
Function at 0x4660c7
Capabilities:
Download url
Receive data

Disassembly:
push 0x88
mov eax, 0x664846
call fcn.006098ec
call fcn.00418f81
push eax
lea ecx, [ebp - 0x70]
call fcn.0041775d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push 0x68bf30
push str._s_r_d
lea eax, [ebp - 0x70]
push eax
call fcn.0041a1e9
add esp, 0x10
xor esi, esi
mov dword [ebp - 0x78], esi
push 0x6809b0
lea ecx, [ebp - 0x7c]
call fcn.004177e7
mov dword [ebp - 0x74], esi
mov dword [ebp - 4], esi
lea eax, [ebp - 0x74]
push eax
push esi
push esi
lea eax, [ebp - 0x7c]
push eax
mov ebx, dword [ebp - 0x70]
push ebx
call fcn.0049b277
add esp, 0x14
mov edi, eax
mov dword [ebp - 0x78], edi
or dword [ebp - 4], 0xffffffff
jmp 0x46614c
test edi, edi
je 0x46630d
lea ecx, [ebp - 0x6c]
call fcn.00417917
mov dword [ebp - 0x58], 1
call fcn.00487c5f
push eax
lea ecx, [ebp - 0x6c]
call fcn.004f7cf8
push str.UpdateList
lea ecx, [ebp - 0x68]
call fcn.004195af
push dword [ebp - 0x74]
push edi
lea ecx, [ebp - 0x6c]
call fcn.004af99a
lea ecx, [ebp - 0x6c]
call fcn.004ea664
push 1
push ecx
mov ecx, esp
push str.rmup_f
call fcn.004177e7
lea ecx, [ebp - 0x6c]
call fcn.004f7e3a
mov ecx, dword [ebp - 0x60]
test ecx, ecx
jne 0x4661ba
push 0x80004003
call fcn.006080a0
lea eax, [ebp - 0x74]
push eax
call fcn.0049df37
mov ecx, dword [eax]
test ecx, ecx
je 0x4661d0
call fcn.0048ae7e
jmp 0x4661d2
mov eax, esi
push eax
lea ecx, [ebp - 0x70]
call fcn.00419d68
mov ecx, dword [ebp - 0x74]
test ecx, ecx
je 0x4661e7
call fcn.004e81e6
mov edi, dword [ebp - 0x70]
cmp dword [edi - 0xc], esi
je 0x4662f4
call fcn.00418f81
push eax
lea ecx, [ebp - 0x74]
call fcn.0041775d
lea ecx, [ebp - 0x94]
call fcn.00417833
cmp dword [edi - 4], 1
jle 0x466220
push dword [edi - 0xc]
lea ecx, [ebp - 0x70]
call fcn.00418f15
mov edi, dword [ebp - 0x70]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push edi
push str.https:__d.ruanmei.com_s_skq_d
lea eax, [ebp - 0x74]
push eax
call fcn.0041a1e9
add esp, 0xc
mov ecx, esp
push str.MyTime
call fcn.004177e7
push ecx
push esp
lea ecx, [ebp - 0x94]
call fcn.00454cc3
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x94]
call fcn.0041934b
push eax
call fcn.0045f600
pop ecx
mov ecx, dword [ebp - 0x70]
add ecx, 0xfffffff0
call fcn.00419521
push ecx
mov ecx, esp
push str.rmup.exe
call fcn.004177e7
push ecx
mov esi, esp
push ecx
mov ecx, esp
push str.MyTime
call fcn.004177e7
push ecx
push esp
lea ecx, [ebp - 0x94]
call fcn.00454cc3
push esi
lea ecx, [ebp - 0x94]
call fcn.0041934b
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x94]
call fcn.0041934b
xor ecx, ecx
push ecx
push ecx
push dword [eax]
mov esi, dword [ebp - 0x74]
push esi
push ecx
call sub.urlmon.dll_URLDownloadToFileW
mov ecx, dword [ebp - 0x70]
lea ecx, [ecx - 0x10]
call fcn.00419521
lea ecx, [ebp - 0x94]
call fcn.00418dd0
mov ecx, dword [ebp - 0x84]
lea ecx, [ecx - 0x10]
call fcn.00419521
lea ecx, [esi - 0x10]
call fcn.00419521
push dword [ebp - 0x78]
call fcn.0060992f
pop ecx
lea ecx, [edi - 0x10]
call fcn.00419521
lea ecx, [ebp - 0x6c]
call fcn.0041831b
mov ecx, dword [ebp - 0x7c]
lea ecx, [ecx - 0x10]
call fcn.00419521
lea ecx, [ebx - 0x10]
call fcn.00419521
call fcn.00609839
ret
Function at 0x46ad20
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x7286bc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x40
pop esi
push esi
xor ebx, ebx
mov dword [ebp - 0x108], ecx
lea eax, [ebp - 0x104]
push ebx
push eax
call fcn.0060b7a0
push esi
lea eax, [ebp - 0x84]
push ebx
push eax
call fcn.0060b7a0
push 7
xor eax, eax
mov byte [ebp - 0x44], bl
pop ecx
lea edi, [ebp - 0x43]
mov byte [ebp - 0x24], bl
rep stosd dword es:[edi], eax
push 7
pop ecx
push esi
stosw word es:[edi], ax
push ebx
stosb byte es:[edi], al
xor eax, eax
lea edi, [ebp - 0x23]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0xc4]
push eax
call fcn.0060b7a0
mov edi, dword [ebp - 0x108]
lea eax, [ebp - 0x104]
add esp, 0x24
mov ecx, edi
push esi
push eax
push dword [ebp + 8]
call fcn.00456635
mov ecx, ebx
movsx eax, byte [ecx + str.:2_]
mov al, byte [ebp + eax - 0x105]
mov byte [ebp + ecx - 0x84], al
inc ecx
cmp ecx, esi
jl 0x46ada8
push 0x20
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.0060aca0
push 0x20
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0060aca0
add esp, 0x18
mov esi, ebx
push dword [ebp + 0xc]
lea eax, [ebp - 0x24]
mov ecx, edi
push esi
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.00473136
inc esi
cmp esi, 0x10
jl 0x46ade8
push 0x20
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0xc4]
push eax
call fcn.0060aca0
push 0x20
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.0060aca0
add esp, 0x18
lea edx, [edi + 0x600]
movsx eax, byte [ebx + 0x685378]
mov al, byte [ebp + eax - 0xc5]
mov byte [edx + ebx], al
inc ebx
cmp ebx, 0x40
jl 0x46ae2e
push 0x40
push edx
lea eax, [edi + 0x680]
mov ecx, edi
push eax
call fcn.0045657f
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00609802
mov esp, ebp
pop ebp
ret 8
Function at 0x471183
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
mov edx, 0x685128
push esi
push edi
mov edi, dword [ebp + 8]
sub edx, ecx
push 0x30
pop esi
movsx eax, byte [edx + ecx]
mov al, byte [eax + edi - 1]
mov byte [ecx], al
inc ecx
sub esi, 1
jne 0x471198
pop edi
pop esi
pop ebp
ret 8
Function at 0x4711ae
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
push ebx
push esi
push edi
call fcn.00484028
cmp eax, 0x13
jge 0x471207
push 0x38
lea eax, [ebp - 0x74]
push 0
push eax
call fcn.0060b7a0
mov eax, dword [ebp + 8]
add esp, 0xc
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x78]
mov dword [ebp - 0x78], 0x3c
mov dword [ebp - 0x74], 0x400
push eax
mov dword [ebp - 0x6c], str.open
mov dword [ebp - 0x5c], 5
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov ebx, eax
test ebx, ebx
jne 0x4713c3
lea eax, [ebp - 4]
push eax
call fcn.0047c255
pop ecx
push 0
mov esi, 0x68bdb4
lea ecx, [ebp - 4]
push esi
call fcn.004713d7
test eax, eax
js 0x471257
push dword [ebp + 8]
lea ecx, [ebp - 4]
push esi
call fcn.004e936a
mov esi, dword [ebp - 4]
push ecx
mov edi, esp
lea eax, [esi - 0x10]
push eax
call fcn.00418dea
add eax, 0x10
pop ecx
mov dword [edi], eax
call fcn.0045fa4d
mov ebx, eax
pop ecx
test ebx, ebx
je 0x47125a
jmp 0x4713bb
mov esi, dword [ebp - 4]
lea ecx, [ebp - 0x3c]
call fcn.00417833
push ecx
mov ecx, esp
push str.Internet_Exploreriexplore.exe
call fcn.004177e7
push ecx
push esp
lea ecx, [ebp - 0x3c]
call fcn.004e6873
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x3c]
call fcn.0041934b
call fcn.00484028
mov edi, dword [ebp - 8]
cmp eax, 0x1b
jl 0x471356
lea ecx, [ebp - 0x24]
call fcn.00417833
push 0
push ecx
mov ecx, esp
push str.SoftwareClassesActivatableClassesPackageDefaultBrowser_NOPUBLISHERIDServerDefaultBrowserServer
call fcn.004177e7
lea ecx, [ebp - 0x24]
call fcn.004f7160
test eax, eax
je 0x471343
push ecx
lea eax, [edi - 0x10]
mov ebx, esp
push eax
call fcn.00418dea
add eax, 0x10
mov ecx, esp
push str.ExePath
mov dword [ebx], eax
call fcn.004177e7
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x24]
call fcn.004e6ef3
push ecx
mov ebx, esp
lea eax, [ebp + 8]
push eax
push 0x68b010
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.004227e4
add esp, 0xc
push eax
push ebx
call fcn.004227ad
add esp, 0xc
call fcn.0045fa4d
pop ecx
mov ecx, dword [ebp - 0xc]
mov ebx, eax
lea ecx, [ecx - 0x10]
call fcn.00419521
mov ecx, dword [ebp - 4]
lea ecx, [ecx - 0x10]
call fcn.00419521
test ebx, ebx
je 0x471343
lea ecx, [ebp - 0x24]
call fcn.00418dd0
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00419521
jmp 0x4713a0
lea ecx, [ebp - 0x24]
call fcn.00418dd0
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00419521
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x47139e
push ecx
mov ebx, esp
lea eax, [ebp + 8]
push eax
push 0x68b010
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.004227e4
add esp, 0xc
push eax
push ebx
call fcn.004227ad
add esp, 0xc
call fcn.0045fa4d
pop ecx
mov ecx, dword [ebp - 0xc]
mov ebx, eax
lea ecx, [ecx - 0x10]
call fcn.00419521
test ebx, ebx
jne 0x4713a0
xor ebx, ebx
lea ecx, [edi - 0x10]
call fcn.00419521
lea ecx, [ebp - 0x3c]
call fcn.00418dd0
mov ecx, dword [ebp - 0x2c]
lea ecx, [ecx - 0x10]
call fcn.00419521
lea ecx, [esi - 0x10]
call fcn.00419521
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00419521
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x473136
Capabilities:
Encode data using xor
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
mov eax, dword [0x7286bc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0x14]
push edi
mov dword [ebp - 0x100], eax
mov eax, dword [ebp + 0xc]
push 0x30
mov dword [ebp - 0xfc], eax
lea eax, [ebp - 0xc4]
push 0
push eax
mov dword [ebp - 0xf8], ecx
call fcn.0060b7a0
push 0x30
lea eax, [ebp - 0xf4]
push 0
push eax
call fcn.0060b7a0
push 7
xor eax, eax
lea edi, [ebp - 0x23]
pop ecx
xor edx, edx
mov byte [ebp - 0x24], dl
rep stosd dword es:[edi], eax
push 7
pop ecx
mov byte [ebp - 0x64], dl
stosw word es:[edi], ax
push 0x30
push edx
stosb byte es:[edi], al
xor eax, eax
lea edi, [ebp - 0x63]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x94]
push eax
call fcn.0060b7a0
push 7
xor eax, eax
mov byte [ebp - 0x44], 0
pop ecx
lea edi, [ebp - 0x43]
shl esi, 4
rep stosd dword es:[edi], eax
add esi, ebx
push 0x30
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, dword [ebp - 0xf8]
imul eax, esi, 0x30
add eax, edi
push eax
lea eax, [ebp - 0x94]
push eax
call fcn.0060aca0
mov esi, dword [ebp - 0xfc]
lea eax, [ebp - 0xc4]
add esp, 0x30
mov ecx, edi
push eax
push esi
call fcn.00471183
xor ebx, ebx
mov eax, ebx
movups xmm1, xmmword [ebp + eax - 0x94]
movups xmm0, xmmword [ebp + eax - 0xc4]
pxor xmm1, xmm0
movups xmmword [ebp + eax - 0xf4], xmm1
add eax, 0x10
cmp eax, 0x30
jb 0x473207
lea eax, [ebp - 0x44]
mov ecx, edi
push eax
lea eax, [ebp - 0xf4]
push eax
call fcn.0045a43c
mov ecx, ebx
movsx eax, byte [ecx + 0x685358]
mov al, byte [ebp + eax - 0x45]
mov byte [ebp + ecx - 0x24], al
inc ecx
cmp ecx, 0x20
jl 0x47323f
mov edi, dword [ebp - 0x100]
lea eax, [ebp - 0x24]
mov edx, edi
sub edx, eax
lea eax, [ebp - 0x24]
add eax, ebx
mov cl, byte [edx + eax]
xor cl, byte [eax]
mov byte [ebp + ebx - 0x64], cl
inc ebx
cmp ebx, 0x20
jb 0x473261
push 0x20
push esi
push edi
call fcn.0060aca0
push 0x20
lea eax, [ebp - 0x64]
push eax
push esi
call fcn.0060aca0
mov ecx, dword [ebp - 4]
add esp, 0x18
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00609802
mov esp, ebp
pop ebp
ret 0x10
Function at 0x47858c
Capabilities:
Delete file
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
call fcn.00418f81
push eax
lea ecx, [ebp - 4]
call fcn.0041775d
push dword [ebp + 8]
lea eax, [ebp - 4]
push str._09d
push eax
call fcn.0041a1e9
add esp, 0xc
call fcn.00418f81
push eax
lea ecx, [ebp - 8]
call fcn.0041775d
push 2
push 7
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 4]
call fcn.004b33ed
push 2
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 4]
push 5
lea eax, [ebp - 0x18]
push eax
call fcn.004b33ed
push 2
mov ebx, eax
lea ecx, [ebp - 4]
push 3
lea eax, [ebp - 0x14]
push eax
call fcn.004b33ed
mov edi, eax
lea ecx, [ebp - 4]
push 3
lea eax, [ebp - 0xc]
push eax
call fcn.00419299
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
mov eax, dword [ebp - 0x10]
push dword [eax]
lea eax, [ebp - 8]
push dword [ebx]
push dword [edi]
push dword [esi]
push str.https:__avatar.ithome.com_avatars__s__s__s__s_avatar.jpg_r_d
push eax
call fcn.0041a1e9
mov ecx, dword [ebp - 0xc]
add esp, 0x1c
lea ecx, [ecx - 0x10]
call fcn.00419521
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00419521
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.00419521
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.00419521
call fcn.00484028
cmp eax, 0x13
jge 0x478677
push 0x68b66c
push str.https:__
lea ecx, [ebp - 8]
call fcn.004e936a
mov esi, 0x6809b0
lea ecx, [ebp - 0x10]
push esi
call fcn.004177e7
push esi
lea ecx, [ebp - 0xc]
call fcn.004177e7
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push dword [ebp + 0xc]
push str._s_user__d_avatar.jpg
push eax
call fcn.0041a1e9
push dword [ebp + 8]
lea eax, [ebp - 0xc]
push dword [ebp + 0xc]
push str._s_user__d_50.jpg
push eax
call fcn.0041a1e9
mov esi, dword [ebp - 0x10]
add esp, 0x20
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, dword [ebp - 8]
xor ebx, ebx
push ebx
push ebx
push esi
push edi
push ebx
call sub.urlmon.dll_URLDownloadToFileW
lea eax, [ebp - 8]
mov dword [ebp - 8], ebx
push eax
push esi
call fcn.004a08c1
push 0x3a
push 0x3a
push dword [ebp - 8]
call fcn.004eedbb
push 0x64
push dword [ebp - 0xc]
mov ebx, eax
push ebx
call fcn.004eb68b
mov ecx, dword [ebp - 8]
add esp, 0x20
test ecx, ecx
je 0x478708
mov eax, dword [ecx]
push 1
call dword [eax]
test ebx, ebx
je 0x478714
mov eax, dword [ebx]
mov ecx, ebx
push 1
call dword [eax]
mov ecx, dword [ebp - 0xc]
lea ecx, [ecx - 0x10]
call fcn.00419521
lea ecx, [esi - 0x10]
call fcn.00419521
lea ecx, [edi - 0x10]
call fcn.00419521
mov ecx, dword [ebp - 4]
add ecx, 0xfffffff0
call fcn.00419521
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.00419521
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x47874e
Capabilities:
Check if file exists
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
call fcn.00484028
cmp eax, 0x13
jge 0x478773
push 0x68b66c
push str.https:__
lea ecx, [ebp + 0xc]
call fcn.004e936a
lea ecx, [ebp - 0x24]
call fcn.00417833
mov eax, dword [0x735a8c]
push ecx
add eax, 0xfffffff0
mov esi, esp
push eax
call fcn.00418dea
add eax, 0x10
pop ecx
mov dword [esi], eax
lea ecx, [ebp - 0x24]
lea eax, [ebp - 4]
push eax
call fcn.00419083
mov eax, dword [ebp + 0x10]
push ecx
add eax, 0xfffffff0
mov esi, esp
push eax
call fcn.00418dea
mov ebx, dword [ebp - 4]
add eax, 0x10
mov dword [esi], eax
add ebx, 0xfffffff0
mov esi, esp
push ebx
call fcn.00418dea
add eax, 0x10
pop ecx
mov dword [esi], eax
lea ecx, [ebp - 0x24]
lea eax, [ebp - 4]
push eax
call fcn.0041934b
mov esi, dword [ebp - 4]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4787fa
push ecx
lea eax, [esi - 0x10]
mov edi, esp
push eax
call fcn.00418dea
pop ecx
add eax, 0x10
lea ecx, [ebp - 0x24]
mov dword [edi], eax
call fcn.0045f16a
push 0x2f
push dword [ebp + 0xc]
call fcn.0060f17b
mov edx, eax
pop ecx
pop ecx
test edx, edx
je 0x4788e0
mov ecx, dword [ebp + 0xc]
sub edx, ecx
sar edx, 1
test edx, edx
jle 0x4788e0
mov eax, dword [ecx - 0xc]
lea ecx, [ebp + 0xc]
sub eax, edx
dec eax
push eax
lea eax, [ebp - 4]
push eax
call fcn.00419539
mov eax, dword [ebp - 4]
push ecx
add eax, 0xfffffff0
mov edi, esp
push eax
mov dword [ebp - 8], eax
call fcn.00418dea
add eax, 0x10
mov dword [edi], eax
lea eax, [esi - 0x10]
mov edi, esp
mov dword [ebp - 0xc], eax
push eax
call fcn.00418dea
add eax, 0x10
pop ecx
mov dword [edi], eax
lea ecx, [ebp - 0x24]
lea eax, [ebp - 4]
push eax
call fcn.0041934b
mov esi, dword [ebp - 4]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x478883
push eax
push eax
push esi
push dword [ebp + 0xc]
push eax
call sub.urlmon.dll_URLDownloadToFileW
add esi, 0xfffffff0
push esi
call fcn.00418dea
mov edi, dword [ebp + 8]
add eax, 0x10
pop ecx
mov ecx, esi
mov dword [edi], eax
call fcn.00419521
mov ecx, dword [ebp - 8]
call fcn.00419521
mov ecx, dword [ebp - 0xc]
call fcn.00419521
mov ecx, ebx
call fcn.00419521
lea ecx, [ebp - 0x24]
call fcn.00418dd0
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00419521
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.00419521
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.00419521
mov eax, edi
jmp 0x478928
mov ecx, dword [ebp + 8]
push 0x6809b0
call fcn.004177e7
lea ecx, [esi - 0x10]
call fcn.00419521
mov ecx, ebx
call fcn.00419521
lea ecx, [ebp - 0x24]
call fcn.00418dd0
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00419521
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.00419521
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.00419521
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x479766
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
xor ebx, ebx
push ebx
push SysReAllocString
call fcn.00479388
push ebx
mov esi, reloc.OLEAUT32.dll_SysReAllocString
mov edi, eax
push esi
call fcn.00479388
add esp, 0x10
or edi, eax
call fcn.004191ed
test eax, eax
je 0x4797a4
push 1
push esi
call fcn.00479388
pop ecx
pop ecx
or edi, eax
lea ecx, [ebp - 0x20]
call fcn.00417833
push ecx
mov ecx, esp
push str.Internet_Exploreriexplore.exe
call fcn.004177e7
push ecx
push esp
lea ecx, [ebp - 0x20]
call fcn.004e6873
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x20]
call fcn.0041934b
mov esi, dword [ebp - 4]
cmp dword [esi - 0xc], ebx
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
je 0x4797e7
push esi
call ebx
test eax, eax
je 0x4797e7
or edi, 1
call fcn.00484028
cmp eax, 0x1f
jl 0x47983e
push ecx
mov ecx, esp
push str.SystemAppsMicrosoft.MicrosoftEdge_8wekyb3d8bbweMicrosoftEdge.exe
call fcn.00419d68
push ecx
push esp
lea ecx, [ebp - 0x20]
call fcn.0050809d
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x20]
call fcn.0041934b
push eax
lea ecx, [ebp - 4]
call fcn.00418bac
mov ecx, dword [ebp - 8]
lea ecx, [ecx - 0x10]
call fcn.00419521
mov esi, dword [ebp - 4]
cmp dword [esi - 0xc], 0
je 0x47983e
push esi
call ebx
test eax, eax
je 0x47983e
or edi, 0x40000
lea ecx, [esi - 0x10]
call fcn.00419521
lea ecx, [ebp - 0x20]
call fcn.00418dd0
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00419521
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret