joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41e401
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4010
call fcn.005933d0
mov eax, dword [0x6c75ac]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x4004]
push esi
push edi
push 0x4000
push 0
push eax
mov edi, edx
mov esi, ecx
call fcn.005aa3d0
add esp, 0xc
lea eax, [ebp - 0x400c]
push eax
push esi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
test eax, eax
je 0x41e4bd
cmp eax, 0x3fff
ja 0x41e4bd
lea ecx, [ebp - 0x4004]
push ecx
push eax
push 0
push esi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x41e4bd
lea eax, [ebp - 0x4010]
push eax
lea eax, [ebp - 0x4008]
push eax
push 0x62aa1c
lea eax, [ebp - 0x4004]
push eax
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x41e4bd
mov ecx, dword [ebp - 0x4008]
movzx eax, word [ecx + 0xc]
push eax
movzx eax, word [ecx + 0xe]
push eax
movzx eax, word [ecx + 8]
push eax
movzx eax, word [ecx + 0xa]
push eax
push str._d._d._d._d
push ebx
push edi
call fcn.00412a08
xor eax, eax
add esp, 0x1c
mov word [edi + ebx*2 - 2], ax
inc eax
jmp 0x41e4bf
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005926d8
leave
ret

Function at 0x41e4ce
Capabilities:
Create directory

Disassembly:
push esi
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov esi, eax
test esi, esi
jne 0x41e4f0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x41e4f0
xor eax, eax
inc eax
pop esi
ret
mov eax, esi
pop esi
ret
Function at 0x41e724
Capabilities:
Extract resource via kernel32 functions
Read file via mapping

Disassembly:
push 0x1c
push 0x67c060
call fcn.00593f90
mov dword [ebp - 0x2c], ecx
xor eax, eax
mov ebx, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
test edx, edx
je 0x41e743
mov dword [edx], eax
push 1
mov edi, dword [sym.imp.KERNEL32.dll_SetErrorMode]
call edi
mov esi, eax
push 0
push 0x80
push 3
push 0
push 1
push accept
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x2c], eax
cmp eax, 0xffffffff
je 0x41e7a1
xor ecx, ecx
push ecx
push ecx
push ecx
push 0x1000002
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [ebp - 0x28], eax
test eax, eax
je 0x41e7a1
xor ecx, ecx
push ecx
push ecx
push ecx
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 0x24], eax
test eax, eax
cmovne ebx, eax
push esi
call edi
test ebx, ebx
je 0x41e822
and dword [ebp - 4], 0
xor edi, edi
mov dword [ebp - 0x20], edi
push 0x10
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x41e80b
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x41e80b
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x41e80b
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x41e80b
movzx esi, word [eax]
cmp esi, dword [ebp - 0x1c]
ja 0x41e805
mov dword [ebp - 0x1c], esi
add esi, 3
and esi, 0xfffffffc
mov dword [ebp - 0x1c], esi
cmp dword [eax + 0x28], 0xfeef04bd
je 0x41e810
push 0xd
pop edi
mov dword [ebp - 0x20], edi
xor esi, esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], 0xfffffffe
jmp 0x41e825
push 0xd
pop edi
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x41e833
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x41e841
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x2c]
cmp eax, 0xffffffff
je 0x41e850
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea eax, [esi*2 + 4]
neg esi
sbb esi, esi
and eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41e874
Capabilities:
Extract resource via kernel32 functions
Read file via mapping

Disassembly:
push 0x1c
push 0x67c080
call fcn.00593f90
mov ebx, ecx
xor esi, esi
mov edi, esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
cmp dword [ebp + 8], 2
jae 0x41e8a1
push 0x7a
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x41e9a4
push 1
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov dword [ebp - 0x24], eax
push esi
push 0x80
push 3
push esi
push 1
push accept
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x2c], eax
cmp eax, 0xffffffff
je 0x41e8f6
push esi
push esi
push esi
push 0x1000002
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x41e8f6
push esi
push esi
push esi
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 0x1c], eax
test eax, eax
cmovne edi, eax
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
test edi, edi
je 0x41e977
push 0x10
push 1
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x41e977
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ecx, eax
test ecx, ecx
je 0x41e977
mov dword [ebp - 4], esi
movzx edi, word [ecx]
mov dword [ebp - 0x24], edi
lea eax, [edi*2 + 4]
cmp eax, dword [ebp + 8]
jbe 0x41e943
mov edi, dword [ebp + 8]
shr edi, 1
sub edi, 4
mov dword [ebp - 0x24], edi
xor esi, esi
inc esi
push edi
push ecx
mov ebx, dword [ebp + 0xc]
push ebx
call fcn.005aa530
add esp, 0xc
mov dword [edi + ebx], 0x58324546
test esi, esi
je 0x41e95f
mov word [ebx], di
xor esi, esi
inc esi
jmp 0x41e96d
mov dword [ebp - 0x28], esi
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x41e985
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x41e993
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x2c]
cmp eax, 0xffffffff
je 0x41e9a2
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x41ee6b
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
lea eax, [esi + 0xc]
push eax
xor eax, eax
push eax
push esi
push 0x41ef91
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 4], eax
pop esi
ret
Function at 0x41fafe
Capabilities:
Check http status code
Create http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0x6c75ac]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor eax, eax
push esi
push eax
push eax
push eax
push eax
push 0x62a4ac
mov bl, al
mov bh, al
call dword [sym.imp.WININET.dll_InternetOpenW]
mov esi, eax
test esi, esi
jne 0x41fb35
xor al, al
jmp 0x41fbd5
push edi
xor eax, eax
push eax
push 0x84000000
push eax
push eax
push str.http:__profile.se.360.cn_proxyerr.php
push esi
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov edi, eax
test edi, edi
je 0x41fbc3
push 0x200
lea eax, [ebp - 0x204]
push 0
push eax
call fcn.005aa3d0
add esp, 0xc
mov dword [ebp - 0x208], 0x100
lea eax, [ebp - 0x208]
push 0
push eax
lea eax, [ebp - 0x204]
push eax
push 0x13
push edi
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x41fbb8
lea eax, [ebp - 0x204]
push eax
call fcn.005ba885
pop ecx
cmp eax, 0x193
je 0x41fbaa
cmp eax, 0x197
jne 0x41fbb8
mov ecx, edi
call fcn.0041fade
test al, al
setne bl
jmp 0x41fbbc
xor bl, bl
mov bh, 1
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
test bl, bl
jne 0x41fb36
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov al, bh
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.005926d8
leave
ret

Function at 0x420adc
Capabilities:
Create thread

Disassembly:
push ecx
mov ecx, 0x6c8560
call fcn.00404698
xor eax, eax
push eax
push eax
push eax
push 0x4207ef
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
ret

Function at 0x420de7
Capabilities:
Read file on windows

Disassembly:
push 0x46c
mov eax, 0x5da56a
call fcn.00593b75
mov edi, edx
mov esi, ecx
mov dword [ebp - 0x478], esi
mov dword [ebp - 0x474], esi
test edi, edi
jne 0x420e18
push 0x61ee2e
call fcn.004045aa
mov eax, esi
jmp 0x420e8d
and dword [ebp - 4], 0
lea ecx, [ebp - 0x470]
call fcn.004215ef
mov byte [ebp - 4], 1
mov ebx, 0x400
jmp 0x420e45
push eax
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebp - 0x470]
call fcn.0042176b
push edi
push ebx
lea eax, [ebp - 0x414]
push 1
push eax
call fcn.005bc14b
add esp, 0x10
test eax, eax
jg 0x420e32
push edi
call fcn.005babb0
pop ecx
push esi
lea ecx, [ebp - 0x470]
call fcn.00421670
jmp 0x420e14
call fcn.00593ac2
ret

Function at 0x4215ef
Capabilities:
Hash data with md5

Disassembly:
push esi
mov esi, ecx
push 0x40
push 0
lea eax, [esi + 4]
mov dword [esi], vtable.CMD5Checksum.0
push eax
call fcn.005aa3d0
and dword [esi + 0x48], 0
add esp, 0xc
and dword [esi + 0x44], 0
mov eax, esi
mov dword [esi + 0x4c], 0x67452301
mov dword [esi + 0x50], 0xefcdab89
mov dword [esi + 0x54], 0x98badcfe
mov dword [esi + 0x58], 0x10325476
pop esi
ret
Function at 0x4218f4
Capabilities:
Check if file exists
Copy file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x230
mov eax, dword [0x6c75ac]
xor eax, esp
mov dword [esp + 0x22c], eax
push esi
push edi
push 0x208
mov esi, ecx
lea eax, [esp + 0x2c]
push 0
mov dword [esp + 0x14], esi
push eax
mov dword [esp + 0x18], esi
call fcn.005aa3d0
add esp, 0xc
lea eax, [esp + 0x28]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.360base.dll
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [esp + 0x28]
push eax
call edi
test eax, eax
jne 0x4219c1
lea ecx, [esp + 0x10]
call fcn.00421861
cmp dword [esp + 0x24], 8
lea eax, [esp + 0x10]
cmovae eax, dword [esp + 0x10]
push eax
call edi
test eax, eax
je 0x4219a6
cmp dword [esp + 0x24], 8
lea ecx, [esp + 0x28]
push 0
lea eax, [esp + 0x14]
cmovae eax, dword [esp + 0x14]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea ecx, [esp + 0x10]
call fcn.0040b67e
lea eax, [esp + 0x28]
push eax
call edi
test eax, eax
jne 0x4219c1
push 0x62a4ac
jmp 0x4219c6
lea eax, [esp + 0x28]
push eax
mov ecx, esi
call fcn.0040b0d5
mov ecx, dword [esp + 0x234]
mov eax, esi
pop edi
pop esi
xor ecx, esp
call fcn.005926d8
mov esp, ebp
pop ebp
ret

Function at 0x422049
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2d10
call fcn.005933d0
mov eax, dword [0x6c75ac]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, ecx
mov dword [ebp - 0x2d10], eax
test eax, eax
je 0x422187
push ebx
push esi
push edi
xor edi, edi
xor esi, esi
push esi
push str..PhysicalDrive_d
lea eax, [ebp - 0x204]
push 0x200
push eax
call fcn.00422b2e
add esp, 0x10
lea eax, [ebp - 0x204]
push 0
push 0
push 3
push 0
push 3
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x422176
and dword [ebp - 0x2d0c], 0
lea eax, [ebp - 0x2d08]
push 0xc
push 0
push eax
call fcn.005aa3d0
xor eax, eax
push 0x2710
push eax
mov dword [ebp - 0x2d08], eax
mov dword [ebp - 0x2d04], eax
lea eax, [ebp - 0x2cfc]
push eax
call fcn.005aa3d0
add esp, 0x18
lea eax, [ebp - 0x2d0c]
push 0
push eax
push 0x2710
lea eax, [ebp - 0x2cfc]
push eax
push 0xc
lea eax, [ebp - 0x2d08]
push eax
push 0x2d1400
push ebx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x42216b
push 0x3e8
lea eax, [ebp - 0x5ec]
push 0
push eax
call fcn.005aa3d0
mov edx, dword [ebp - 0x2ce4]
lea eax, [ebp - 0x5ec]
add esp, 0xc
push eax
push ecx
lea ecx, [ebp - 0x2cfc]
call fcn.00415ea9
pop ecx
pop ecx
mov ecx, dword [ebp - 0x2d10]
lea eax, [ebp - 0x5ec]
push eax
push 0x64
pop edx
call fcn.00422b02
xor ecx, ecx
inc ecx
test eax, eax
cmove edi, ecx
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
jne 0x422180
inc esi
cmp esi, 0x10
jl 0x422077
mov eax, edi
pop edi
pop esi
pop ebx
jmp 0x422189
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005926d8
leave
ret
Function at 0x4223e6
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4f4
mov eax, dword [0x6c75ac]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov dword [ebp - 0x4f4], esi
test esi, esi
je 0x4225ab
push edi
push 0x64
xor edi, edi
lea eax, [ebp - 0x68]
push edi
push eax
call fcn.005aa3d0
add esp, 0xc
lea eax, [ebp - 0x4e0]
push eax
push 8
push edi
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionNetworkCards
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42258b
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x4e8]
mov dword [ebp - 0x4e4], edi
push eax
lea eax, [ebp - 0x2d4]
mov dword [ebp - 0x4e8], 0x104
push eax
push edi
push dword [ebp - 0x4e0]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x422583
mov esi, dword [ebp - 0x4e4]
lea eax, [ebp - 0x4e4]
push eax
push 1
push 0
lea eax, [ebp - 0x2d4]
push eax
push dword [ebp - 0x4e0]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x422549
lea eax, [ebp - 0x4ec]
mov dword [ebp - 0x4f0], 1
push eax
lea eax, [ebp - 0x4dc]
mov dword [ebp - 0x4ec], 0x208
push eax
lea eax, [ebp - 0x4f0]
push eax
push 0
push str.ServiceName
push dword [ebp - 0x4e4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x422541
push 0x64
push eax
lea eax, [ebp - 0xcc]
push eax
call fcn.005aa3d0
pop ecx
pop ecx
lea edx, [ebp - 0xcc]
lea ecx, [ebp - 0x4dc]
call fcn.004222eb
pop ecx
test eax, eax
je 0x422541
cmp byte [ebp - 0x68], 0
je 0x422529
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0xcc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jns 0x422541
push accept
lea eax, [ebp - 0xcc]
push eax
push ecx
push 0x64
pop edx
lea ecx, [ebp - 0x68]
call fcn.00422ac4
push dword [ebp - 0x4e4]
call edi
xor eax, eax
mov dword [ebp - 0x4e8], 0x104
push eax
push eax
push eax
push eax
lea eax, [ebp - 0x4e8]
inc esi
push eax
lea eax, [ebp - 0x2d4]
push eax
push esi
push dword [ebp - 0x4e0]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x422481
mov esi, dword [ebp - 0x4f4]
push dword [ebp - 0x4e0]
call edi
cmp byte [ebp - 0x68], 0
pop edi
je 0x4225ab
lea eax, [ebp - 0x68]
mov ecx, esi
push eax
push 0x64
pop edx
call fcn.00422b02
xor ecx, ecx
test eax, eax
setns cl
mov eax, ecx
jmp 0x4225ad
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.005926d8
leave
ret
Function at 0x422787
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x514
mov eax, dword [0x6c75ac]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
mov edi, edx
test esi, esi
je 0x4228a1
mov eax, 0x400
mov dword [ebp - 0x510], 1
push eax
mov dword [ebp - 0x50c], eax
lea eax, [ebp - 0x508]
push 0
push eax
call fcn.005aa3d0
add esp, 0xc
lea eax, [ebp - 0x50c]
push eax
lea eax, [ebp - 0x508]
push eax
lea eax, [ebp - 0x510]
push eax
push 0x62da3c
push str.Software360SafeLiveup
push reloc.WS2_32.dll_bind
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x4228a1
lea eax, [ebp - 0x508]
push eax
call fcn.005ae8e0
pop ecx
cmp eax, 0x40
jne 0x4228a1
push 0x20
lea eax, [ebp - 0x508]
mov ebx, 0x80
push eax
push ecx
mov edx, ebx
lea ecx, [ebp - 0x88]
call fcn.00422ac4
lea eax, [ebp - 0x4e8]
mov edx, ebx
push eax
lea ecx, [ebp - 0x108]
call fcn.00422b02
mov ebx, 0x400
lea eax, [ebp - 0x508]
push ebx
push 0
push eax
call fcn.005aa3d0
add esp, 0xc
lea edx, [ebp - 0x508]
lea ecx, [ebp - 0x88]
push ebx
call fcn.00421ba1
pop ecx
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x508]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x4228a1
lea eax, [ebp - 0x88]
mov edx, edi
push eax
mov ecx, esi
call fcn.00422b02
neg eax
sbb eax, eax
inc eax
jmp 0x4228a3
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005926d8
leave
ret
Function at 0x422bd2
Capabilities:
Get common file path

Disassembly:
push 0x450
mov eax, 0x5da708
call fcn.00593b07
lea ecx, [ebp - 0x438]
call fcn.004c415e
xor ebx, ebx
lea eax, [ebp - 0x438]
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x424], 8
cmovae eax, dword [ebp - 0x438]
push eax
call fcn.004302c7
pop ecx
test eax, eax
je 0x422d4f
cmp byte [0x6c868c], bl
je 0x422c56
push str.http:__dd.browser.360.cn_static_a_555.9893.gif
lea ecx, [ebp - 0x450]
mov byte [0x6c868c], bl
call fcn.0040b0d5
push 1
push ebx
xor dl, dl
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x450]
call fcn.004c6673
pop ecx
pop ecx
lea ecx, [ebp - 0x450]
mov byte [ebp - 4], bl
call fcn.0040b67e
mov esi, 0x208
lea eax, [ebp - 0x218]
push esi
push ebx
push eax
call fcn.005aa3d0
add esp, 0xc
lea eax, [ebp - 0x218]
push ebx
push 0x10
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push esi
lea eax, [ebp - 0x420]
push ebx
push eax
call fcn.005aa3d0
cmp dword [ebp - 0x424], 8
lea ecx, [ebp - 0x438]
lea eax, [ebp - 0x420]
cmovae ecx, dword [ebp - 0x438]
add esp, 8
push eax
call fcn.0041e5d0
pop ecx
pop ecx
push ebx
lea eax, [ebp - 0x454]
push eax
call fcn.00422f36
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x454]
cmp dword [eax - 8], ebx
jne 0x422d05
push 0x62dad8
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.005bdbde
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [ebp - 0x218]
push ecx
push eax
lea ecx, [ebp - 0x454]
call fcn.0040a358
push ecx
lea eax, [ebp - 0x454]
mov dword [ebp - 0x458], esp
mov ecx, esp
push eax
call fcn.0040a2a8
mov byte [ebp - 4], 3
lea eax, [ebp - 0x438]
cmp dword [ebp - 0x424], 8
push ecx
cmovae eax, dword [ebp - 0x438]
mov ecx, esp
push eax
call fcn.004233d2
mov byte [ebp - 4], 2
call fcn.00422e7a
lea ecx, [ebp - 0x454]
call fcn.0040a4ed
lea ecx, [ebp - 0x438]
call fcn.0040b67e
call fcn.00593ab1
ret
Function at 0x422d86
Capabilities:
Delete file

Disassembly:
push 0x40
mov eax, 0x5da758
call fcn.00593b07
push 1
lea eax, [ebp - 0x44]
push eax
call fcn.00422f36
and dword [ebp - 4], 0
mov ebx, str.MiniShortCutOp::UpdateWallPaperShortCut
mov esi, dword [ebp - 0x44]
push esi
push 0x50
push ebx
push str.__s__d__strShortPath___s
call fcn.0040a649
add esp, 0x10
cmp dword [esi - 8], 0
je 0x422e6a
push str._desk
lea ecx, [ebp - 0x48]
call fcn.004233d2
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 1
push eax
push esi
lea eax, [ebp - 0x4c]
push eax
call fcn.004231c4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
push dword [eax]
call fcn.0040b0d5
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 4
call fcn.0040a4ed
lea ecx, [ebp - 0x28]
call fcn.004c415e
sub esp, 0x18
mov byte [ebp - 4], 5
lea esi, [ebp - 0x28]
push 6
pop ecx
mov edi, esp
sub esp, 0x18
rep movsd dword es:[edi], dword [esi]
push 6
pop ecx
mov edi, esp
lea esi, [ebp - 0x40]
push 0x57
push ebx
rep movsd dword es:[edi], dword [esi]
push str.__s__d__strLinkPath___s_strNewPath_s
call fcn.0040a649
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00423394
add esp, 0x44
test al, al
jne 0x422e52
push dword [ebp - 0x44]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.00422bd2
lea ecx, [ebp - 0x28]
call fcn.0040b67e
lea ecx, [ebp - 0x40]
call fcn.0040b67e
lea ecx, [ebp - 0x48]
call fcn.0040a4ed
lea ecx, [ebp - 0x44]
call fcn.0040a4ed
xor al, al
call fcn.00593ab1
ret

Function at 0x422e7a
Capabilities:
Create shortcut via ishelllink

Disassembly:
push 8
mov eax, 0x5da78d
call fcn.00593ad3
xor edi, edi
xor esi, esi
inc edi
push esi
mov dword [ebp - 4], edi
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 0x10]
push eax
push 0x5f5a10
push edi
push esi
push 0x5f5a90
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x422eec
mov eax, dword [ebp - 0x10]
push dword [ebp + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov eax, dword [ebp - 0x10]
push str._desk
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0x10]
push 3
push dword [ebp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x14]
push edx
push 0x5f5ab0
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
jns 0x422ef4
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x422f1c
mov eax, dword [ebp - 0x14]
push 2
push dword [ebp + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov esi, edi
lea ecx, [ebp + 8]
call fcn.0040a4ed
lea ecx, [ebp + 0xc]
call fcn.0040a4ed
mov eax, esi
call fcn.00593a9c
ret 8
Function at 0x422f36
Capabilities:
Enumerate files on windows
Get common file path
Get startup folder

Disassembly:
push 0x8a8
mov eax, 0x5da7d4
call fcn.00593b07
mov esi, dword [ebp + 8]
mov dword [ebp - 0x8b4], esi
mov eax, dword [0x6c7fd4]
mov dword [ebp - 0x8ac], eax
xor ebx, ebx
xor eax, eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x630], ebx
mov dword [ebp - 0x62c], 7
mov word [ebp - 0x640], ax
push 0x250
lea eax, [ebp - 0x8a8]
mov byte [ebp - 4], 1
push ebx
push eax
call fcn.005aa3d0
mov edi, 0x208
lea eax, [ebp - 0x628]
push edi
push ebx
push eax
call fcn.005aa3d0
push edi
lea eax, [ebp - 0x420]
push ebx
push eax
call fcn.005aa3d0
add esp, 0x24
lea eax, [ebp - 0x420]
push ebx
push 0x10
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x62aa1c
mov edi, 0x104
lea eax, [ebp - 0x420]
push edi
push eax
call fcn.005bdbde
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x628]
push edi
push eax
call fcn.005bc370
push str..lnk
lea eax, [ebp - 0x628]
push edi
push eax
call fcn.005bdbde
add esp, 0x24
lea eax, [ebp - 0x8a8]
push eax
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x423196
lea ecx, [ebp - 0x658]
call fcn.004c415e
push eax
lea ecx, [ebp - 0x640]
call fcn.0040b0ac
lea ecx, [ebp - 0x658]
call fcn.0040b67e
cmp dword [ebp - 0x630], ebx
je 0x423196
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea eax, [ebp - 0x87c]
push 0x62d030
push eax
call fcn.005bc1fb
pop ecx
pop ecx
test eax, eax
jne 0x42307f
lea eax, [ebp - 0x8a8]
push eax
push edi
call ebx
test eax, eax
jne 0x423055
jmp 0x42318f
test byte [ebp - 0x8a8], 0x10
jne 0x42306c
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.005aa3d0
add esp, 0xc
lea eax, [ebp - 0x87c]
push eax
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov eax, dword [0x6c7fd4]
mov dword [ebp - 0x8b4], eax
lea eax, [ebp - 0x8b4]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x8b0]
push eax
call fcn.004231c4
mov byte [ebp - 4], 3
lea eax, [ebp - 0x640]
cmp dword [ebp - 0x62c], 8
push dword [ebp - 0x8b0]
cmovae eax, dword [ebp - 0x640]
push eax
call fcn.005bc1fb
pop ecx
pop ecx
test eax, eax
je 0x423155
cmp byte [ebp + 0xc], 0
je 0x423128
push 0
push str.360pic.exe
lea ecx, [ebp - 0x8b0]
call fcn.0040a3e4
test eax, eax
jg 0x423155
lea eax, [ebp - 0x8a8]
push eax
push edi
call ebx
lea ecx, [ebp - 0x8b0]
test eax, eax
je 0x42317b
call fcn.0040a4ed
lea ecx, [ebp - 0x8b4]
mov byte [ebp - 4], 1
call fcn.0040a4ed
jmp 0x423055
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [ebp - 0x218]
push ecx
push eax
lea ecx, [ebp - 0x8ac]
call fcn.0040a358
lea ecx, [ebp - 0x8b0]
call fcn.0040a4ed
lea ecx, [ebp - 0x8b4]
mov byte [ebp - 4], 1
call fcn.0040a4ed
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea eax, [ebp - 0x8ac]
mov ecx, esi
push eax
call fcn.0040a2a8
lea ecx, [ebp - 0x640]
call fcn.0040b67e
lea ecx, [ebp - 0x8ac]
call fcn.0040a4ed
mov eax, esi
call fcn.00593ab1
ret 8