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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4010
call fcn.005918e0
mov eax, dword [0x6c45ac]
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.005a88e0
add esp, 0xc
lea eax, [ebp - 0x400c]
push eax
push esi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
test eax, eax
je 0x41e4ba
cmp eax, 0x3fff
ja 0x41e4ba
lea ecx, [ebp - 0x4004]
push ecx
push eax
push 0
push esi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x41e4ba
lea eax, [ebp - 0x4010]
push eax
lea eax, [ebp - 0x4008]
push eax
push 0x628a24
lea eax, [ebp - 0x4004]
push eax
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x41e4ba
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.00412a05
xor eax, eax
add esp, 0x1c
mov word [edi + ebx*2 - 2], ax
inc eax
jmp 0x41e4bc
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00590be8
leave
ret

Function at 0x41e4cb
Capabilities:
Create directory

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

Disassembly:
push 0x1c
push 0x679920
call fcn.005924a0
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 0x41e740
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 0x41e79e
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 0x41e79e
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 0x41e81f
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 0x41e808
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x41e808
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x41e808
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x41e808
movzx esi, word [eax]
cmp esi, dword [ebp - 0x1c]
ja 0x41e802
mov dword [ebp - 0x1c], esi
add esi, 3
and esi, 0xfffffffc
mov dword [ebp - 0x1c], esi
cmp dword [eax + 0x28], 0xfeef04bd
je 0x41e80d
push 0xd
pop edi
mov dword [ebp - 0x20], edi
xor esi, esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], 0xfffffffe
jmp 0x41e822
push 0xd
pop edi
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x41e830
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x41e83e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x2c]
cmp eax, 0xffffffff
je 0x41e84d
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 0x41e871
Capabilities:
Extract resource via kernel32 functions
Read file via mapping

Disassembly:
push 0x1c
push 0x679940
call fcn.005924a0
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 0x41e89e
push 0x7a
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x41e9a1
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 0x41e8f3
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 0x41e8f3
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 0x41e974
push 0x10
push 1
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x41e974
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ecx, eax
test ecx, ecx
je 0x41e974
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 0x41e940
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.005a8a40
add esp, 0xc
mov dword [edi + ebx], 0x58324546
test esi, esi
je 0x41e95c
mov word [ebx], di
xor esi, esi
inc esi
jmp 0x41e96a
mov dword [ebp - 0x28], esi
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x41e982
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x41e990
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x2c]
cmp eax, 0xffffffff
je 0x41e99f
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 0x41ee68
Capabilities:
Create thread

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0x6c45ac]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor eax, eax
push esi
push eax
push eax
push eax
push eax
push 0x6284b4
mov bl, al
mov bh, al
call dword [sym.imp.WININET.dll_InternetOpenW]
mov esi, eax
test esi, esi
jne 0x41fb32
xor al, al
jmp 0x41fbd2
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 0x41fbc0
push 0x200
lea eax, [ebp - 0x204]
push 0
push eax
call fcn.005a88e0
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 0x41fbb5
lea eax, [ebp - 0x204]
push eax
call fcn.005b8d95
pop ecx
cmp eax, 0x193
je 0x41fba7
cmp eax, 0x197
jne 0x41fbb5
mov ecx, edi
call fcn.0041fadb
test al, al
setne bl
jmp 0x41fbb9
xor bl, bl
mov bh, 1
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
test bl, bl
jne 0x41fb33
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.00590be8
leave
ret

Function at 0x420ad9
Capabilities:
Create thread

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

Function at 0x420de4
Capabilities:
Read file on windows

Disassembly:
push 0x46c
mov eax, 0x5d8a7a
call fcn.00592085
mov edi, edx
mov esi, ecx
mov dword [ebp - 0x478], esi
mov dword [ebp - 0x474], esi
test edi, edi
jne 0x420e15
push 0x61ce3e
call fcn.004045aa
mov eax, esi
jmp 0x420e8a
and dword [ebp - 4], 0
lea ecx, [ebp - 0x470]
call fcn.004215ec
mov byte [ebp - 4], 1
mov ebx, 0x400
jmp 0x420e42
push eax
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebp - 0x470]
call fcn.00421768
push edi
push ebx
lea eax, [ebp - 0x414]
push 1
push eax
call fcn.005ba65b
add esp, 0x10
test eax, eax
jg 0x420e2f
push edi
call fcn.005b90c0
pop ecx
push esi
lea ecx, [ebp - 0x470]
call fcn.0042166d
jmp 0x420e11
call fcn.00591fd2
ret

Function at 0x4215ec
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.005a88e0
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 0x4218f1
Capabilities:
Check if file exists
Copy file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x230
mov eax, dword [0x6c45ac]
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.005a88e0
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 0x4219be
lea ecx, [esp + 0x10]
call fcn.0042185e
cmp dword [esp + 0x24], 8
lea eax, [esp + 0x10]
cmovae eax, dword [esp + 0x10]
push eax
call edi
test eax, eax
je 0x4219a3
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.0040b67b
lea eax, [esp + 0x28]
push eax
call edi
test eax, eax
jne 0x4219be
push 0x6284b4
jmp 0x4219c3
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.00590be8
mov esp, ebp
pop ebp
ret

Function at 0x422046
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2d10
call fcn.005918e0
mov eax, dword [0x6c45ac]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, ecx
mov dword [ebp - 0x2d10], eax
test eax, eax
je 0x422184
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.00422b2b
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 0x422173
and dword [ebp - 0x2d0c], 0
lea eax, [ebp - 0x2d08]
push 0xc
push 0
push eax
call fcn.005a88e0
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.005a88e0
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 0x422168
push 0x3e8
lea eax, [ebp - 0x5ec]
push 0
push eax
call fcn.005a88e0
mov edx, dword [ebp - 0x2ce4]
lea eax, [ebp - 0x5ec]
add esp, 0xc
push eax
push ecx
lea ecx, [ebp - 0x2cfc]
call fcn.00415ea6
pop ecx
pop ecx
mov ecx, dword [ebp - 0x2d10]
lea eax, [ebp - 0x5ec]
push eax
push 0x64
pop edx
call fcn.00422aff
xor ecx, ecx
inc ecx
test eax, eax
cmove edi, ecx
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
jne 0x42217d
inc esi
cmp esi, 0x10
jl 0x422074
mov eax, edi
pop edi
pop esi
pop ebx
jmp 0x422186
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00590be8
leave
ret
Function at 0x4223e3
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4f4
mov eax, dword [0x6c45ac]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov dword [ebp - 0x4f4], esi
test esi, esi
je 0x4225a8
push edi
push 0x64
xor edi, edi
lea eax, [ebp - 0x68]
push edi
push eax
call fcn.005a88e0
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 0x422588
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 0x422580
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 0x422546
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 0x42253e
push 0x64
push eax
lea eax, [ebp - 0xcc]
push eax
call fcn.005a88e0
pop ecx
pop ecx
lea edx, [ebp - 0xcc]
lea ecx, [ebp - 0x4dc]
call fcn.004222e8
pop ecx
test eax, eax
je 0x42253e
cmp byte [ebp - 0x68], 0
je 0x422526
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0xcc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jns 0x42253e
push accept
lea eax, [ebp - 0xcc]
push eax
push ecx
push 0x64
pop edx
lea ecx, [ebp - 0x68]
call fcn.00422ac1
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 0x42247e
mov esi, dword [ebp - 0x4f4]
push dword [ebp - 0x4e0]
call edi
cmp byte [ebp - 0x68], 0
pop edi
je 0x4225a8
lea eax, [ebp - 0x68]
mov ecx, esi
push eax
push 0x64
pop edx
call fcn.00422aff
xor ecx, ecx
test eax, eax
setns cl
mov eax, ecx
jmp 0x4225aa
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00590be8
leave
ret
Function at 0x422784
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x514
mov eax, dword [0x6c45ac]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
mov edi, edx
test esi, esi
je 0x42289e
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.005a88e0
add esp, 0xc
lea eax, [ebp - 0x50c]
push eax
lea eax, [ebp - 0x508]
push eax
lea eax, [ebp - 0x510]
push eax
push 0x62ba44
push str.Software360SafeLiveup
push reloc.WS2_32.dll_bind
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x42289e
lea eax, [ebp - 0x508]
push eax
call fcn.005acdf0
pop ecx
cmp eax, 0x40
jne 0x42289e
push 0x20
lea eax, [ebp - 0x508]
mov ebx, 0x80
push eax
push ecx
mov edx, ebx
lea ecx, [ebp - 0x88]
call fcn.00422ac1
lea eax, [ebp - 0x4e8]
mov edx, ebx
push eax
lea ecx, [ebp - 0x108]
call fcn.00422aff
mov ebx, 0x400
lea eax, [ebp - 0x508]
push ebx
push 0
push eax
call fcn.005a88e0
add esp, 0xc
lea edx, [ebp - 0x508]
lea ecx, [ebp - 0x88]
push ebx
call fcn.00421b9e
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 0x42289e
lea eax, [ebp - 0x88]
mov edx, edi
push eax
mov ecx, esi
call fcn.00422aff
neg eax
sbb eax, eax
inc eax
jmp 0x4228a0
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00590be8
leave
ret
Function at 0x422bcf
Capabilities:
Get common file path

Disassembly:
push 0x450
mov eax, 0x5d8c18
call fcn.00592017
lea ecx, [ebp - 0x438]
call fcn.004c2a27
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.004302c4
pop ecx
test eax, eax
je 0x422d4c
cmp byte [0x6c568c], bl
je 0x422c53
push str.http:__dd.browser.360.cn_static_a_555.9893.gif
lea ecx, [ebp - 0x450]
mov byte [0x6c568c], bl
call fcn.0040b0d5
push 1
push ebx
xor dl, dl
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x450]
call fcn.004c4bab
pop ecx
pop ecx
lea ecx, [ebp - 0x450]
mov byte [ebp - 4], bl
call fcn.0040b67b
mov esi, 0x208
lea eax, [ebp - 0x218]
push esi
push ebx
push eax
call fcn.005a88e0
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.005a88e0
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.0041e5cd
pop ecx
pop ecx
push ebx
lea eax, [ebp - 0x454]
push eax
call fcn.00422f33
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x454]
cmp dword [eax - 8], ebx
jne 0x422d02
push 0x62bae0
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.005bc0ee
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.004233cf
mov byte [ebp - 4], 2
call fcn.00422e77
lea ecx, [ebp - 0x454]
call fcn.0040a4ed
lea ecx, [ebp - 0x438]
call fcn.0040b67b
call fcn.00591fc1
ret
Function at 0x422d83
Capabilities:
Delete file

Disassembly:
push 0x40
mov eax, 0x5d8c68
call fcn.00592017
push 1
lea eax, [ebp - 0x44]
push eax
call fcn.00422f33
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 0x422e67
push str._desk
lea ecx, [ebp - 0x48]
call fcn.004233cf
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 1
push eax
push esi
lea eax, [ebp - 0x4c]
push eax
call fcn.004231c1
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.004c2a27
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.00423391
add esp, 0x44
test al, al
jne 0x422e4f
push dword [ebp - 0x44]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.00422bcf
lea ecx, [ebp - 0x28]
call fcn.0040b67b
lea ecx, [ebp - 0x40]
call fcn.0040b67b
lea ecx, [ebp - 0x48]
call fcn.0040a4ed
lea ecx, [ebp - 0x44]
call fcn.0040a4ed
xor al, al
call fcn.00591fc1
ret

Function at 0x422e77
Capabilities:
Create shortcut via ishelllink

Disassembly:
push 8
mov eax, 0x5d8c9d
call fcn.00591fe3
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 0x5f3a10
push edi
push esi
push 0x5f3a90
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x422ee9
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 0x5f3ab0
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
jns 0x422ef1
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x422f19
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.00591fac
ret 8
Function at 0x422f33
Capabilities:
Enumerate files on windows
Get common file path
Get startup folder

Disassembly:
push 0x8a8
mov eax, 0x5d8ce4
call fcn.00592017
mov esi, dword [ebp + 8]
mov dword [ebp - 0x8b4], esi
mov eax, dword [0x6c4fd4]
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.005a88e0
mov edi, 0x208
lea eax, [ebp - 0x628]
push edi
push ebx
push eax
call fcn.005a88e0
push edi
lea eax, [ebp - 0x420]
push ebx
push eax
call fcn.005a88e0
add esp, 0x24
lea eax, [ebp - 0x420]
push ebx
push 0x10
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x628a24
mov edi, 0x104
lea eax, [ebp - 0x420]
push edi
push eax
call fcn.005bc0ee
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x628]
push edi
push eax
call fcn.005ba880
push str..lnk
lea eax, [ebp - 0x628]
push edi
push eax
call fcn.005bc0ee
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 0x423193
lea ecx, [ebp - 0x658]
call fcn.004c2a27
push eax
lea ecx, [ebp - 0x640]
call fcn.0040b0ac
lea ecx, [ebp - 0x658]
call fcn.0040b67b
cmp dword [ebp - 0x630], ebx
je 0x423193
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea eax, [ebp - 0x87c]
push 0x62b038
push eax
call fcn.005ba70b
pop ecx
pop ecx
test eax, eax
jne 0x42307c
lea eax, [ebp - 0x8a8]
push eax
push edi
call ebx
test eax, eax
jne 0x423052
jmp 0x42318c
test byte [ebp - 0x8a8], 0x10
jne 0x423069
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.005a88e0
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 [0x6c4fd4]
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.004231c1
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.005ba70b
pop ecx
pop ecx
test eax, eax
je 0x423152
cmp byte [ebp + 0xc], 0
je 0x423125
push 0
push str.360pic.exe
lea ecx, [ebp - 0x8b0]
call fcn.0040a3e4
test eax, eax
jg 0x423152
lea eax, [ebp - 0x8a8]
push eax
push edi
call ebx
lea ecx, [ebp - 0x8b0]
test eax, eax
je 0x423178
call fcn.0040a4ed
lea ecx, [ebp - 0x8b4]
mov byte [ebp - 4], 1
call fcn.0040a4ed
jmp 0x423052
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.0040b67b
lea ecx, [ebp - 0x8ac]
call fcn.0040a4ed
mov eax, esi
call fcn.00591fc1
ret 8