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

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebp, dword [esp + 0x14]
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x28], edi
je 0x417cd7
mov eax, dword [ebp + 0x24]
mov ecx, dword [eax + 4]
lea esi, [ebp + 0xc]
push ecx
mov ecx, esi
call fcn.00418ea0
mov eax, dword [esi + 0x18]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x18]
mov dword [esi + 0x1c], edi
mov dword [eax], eax
mov esi, dword [esi + 0x18]
mov dword [esi + 8], esi
mov edx, dword [esp + 0x20]
mov eax, dword [edx]
push edi
push 0x80
push 3
push edi
push 7
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x417d07
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
push 0xffffffffffffffff
push 0xffffffffffffffff
push edi
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LockFile]
lea eax, [esp + 0x1c]
push eax
push esi
mov dword [esp + 0x18], edi
mov dword [esp + 0x24], edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
cmp ebx, 0x3200000
jge 0x417d8b
cmp dword [esp + 0x1c], edi
jne 0x417d8b
lea eax, [ebx + 4]
push eax
call fcn.004631a2
mov edi, eax
add esp, 4
test edi, edi
je 0x417d8b
lea eax, [ebx + 4]
push eax
push 0
push edi
call fcn.00461880
add esp, 0xc
push 0
lea ecx, [esp + 0x18]
push ecx
push ebx
push edi
push esi
mov dword [esp + 0x28], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
push edi
mov ecx, ebp
call fcn.00417f30
push edi
mov dword [esp + 0x14], 1
call fcn.00462d5c
add esp, 4
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_UnlockFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x20]
lea esi, [ebp + 0x30]
call fcn.0041ad20
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x10]
pop edi
pop esi
mov dword [ebp + 8], edx
pop ebp
pop ebx
add esp, 8
ret 0xc

Function at 0x41a220
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
mov eax, dword [0x4a30f8]
xor eax, esp
mov dword [esp + 0x70], eax
xor eax, eax
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
push esi
mov dword [edi + 0xc], eax
cmp ecx, eax
jne 0x41a256
pop esi
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.00461862
mov esp, ebp
pop ebp
ret
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov dword [esp + 0xc], eax
mov dword [esp + 8], eax
mov eax, dword [ebp + 8]
push ecx
lea esi, [esp + 0xc]
mov dword [esp + 0x14], 0x67452301
mov dword [esp + 0x18], 0xefcdab89
mov dword [esp + 0x1c], 0x98badcfe
mov dword [esp + 0x20], 0x10325476
call fcn.0041b500
add esp, 4
mov eax, esi
call fcn.0041b610
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x68]
mov dword [edi], eax
mov eax, dword [esp + 0x6c]
mov dword [edi + 4], ecx
mov ecx, dword [esp + 0x74]
pop esi
mov dword [edi + 8], edx
mov dword [edi + 0xc], eax
xor ecx, esp
mov eax, 1
call fcn.00461862
mov esp, ebp
pop ebp
ret
Function at 0x41a2d0
Capabilities:
Read file via mapping

Disassembly:
sub esp, 0xc
push ebx
push edi
mov edi, eax
xor eax, eax
mov dword [edi], eax
xor ebx, ebx
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [esp + 8], ebx
mov dword [edi + 0xc], eax
test ecx, ecx
je 0x41a391
push esi
push eax
push 1
push 3
push eax
push 1
push 1
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
test esi, esi
je 0x41a38e
cmp esi, 0xffffffff
je 0x41a387
push ebp
push ebx
push ebx
push ebx
push 2
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ebp, eax
mov dword [esp + 0x18], ebp
test ebp, ebp
je 0x41a386
push ebx
push ebx
push ebx
push 4
push ebp
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ebx, eax
test ebx, ebx
je 0x41a37b
mov ebp, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 2
push 0
push 0
push esi
call ebp
push 0
push 0
push 0
push esi
mov dword [esp + 0x24], eax
call ebp
mov eax, dword [esp + 0x14]
push eax
mov ecx, ebx
mov dword [esp + 0x14], 1
call fcn.0041a220
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ebp, dword [esp + 0x18]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [esp + 0x10]
pop ebp
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
pop esi
pop edi
pop ebx
add esp, 0xc
ret

Function at 0x41a400
Capabilities:
Get file version info

Disassembly:
mov eax, 0x4010
call fcn.00462620
mov eax, dword [0x4a30f8]
xor eax, esp
mov dword [esp + 0x400c], eax
xor eax, eax
push 0x3ffe
push eax
lea ecx, [esp + 0x16]
push ecx
mov word [esp + 0x18], ax
call fcn.00461880
add esp, 0xc
mov dword [esp + 4], 0
test edi, edi
je 0x41a4f1
test esi, esi
je 0x41a4f1
lea edx, [esp + 4]
push edx
push edi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x41a4f1
cmp eax, 0x3fff
ja 0x41a4f1
lea ecx, [esp + 0xc]
push ecx
push eax
push 0
push edi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x41a4f1
lea edx, [esp + 8]
push edx
lea eax, [esp + 4]
push eax
push 0x4915c8
lea ecx, [esp + 0x18]
push ecx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x41a4f1
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov eax, dword [esp]
movzx edx, word [eax + 0xc]
movzx ecx, word [eax + 0xe]
push edx
movzx edx, word [eax + 8]
movzx eax, word [eax + 0xa]
push ecx
push edx
push eax
push str._d._d._d._d
push 0xf
push esi
call fcn.00464f09
add esp, 0x1c
mov eax, 1
mov ecx, dword [esp + 0x400c]
xor ecx, esp
call fcn.00461862
add esp, 0x4010
ret
mov ecx, dword [esp + 0x400c]
xor ecx, esp
xor eax, eax
call fcn.00461862
add esp, 0x4010
ret
Function at 0x41a800
Capabilities:
Check if file exists
Get system information on windows
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x54
mov eax, dword [0x4a30f8]
xor eax, esp
mov dword [esp + 0x50], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 8]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x1c]
cmp dword [eax - 0xc], 0
push edi
mov dword [esp + 0x20], ecx
jne 0x41a84a
mov eax, 0xffffd8ee
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.00461862
mov esp, ebp
pop ebp
ret 0x10
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41a831
mov eax, dword [esi + 0x1c]
push 0
push 1
push 3
push 0
push 7
push SysReAllocString
push eax
mov dword [esp + 0x2c], 0xffffd8f0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov dword [esp + 0x1c], edi
test edi, edi
je 0x41a966
cmp edi, 0xffffffff
je 0x41a95f
push 0
push 0
push 0
push 2
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ebx, eax
mov dword [esp + 0x18], ebx
test ebx, ebx
je 0x41a95f
mov edi, dword [esi + 4]
lea edx, [esp + 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, edi
xor edx, edx
div dword [esp + 0x44]
push 0
sub edi, edx
mov eax, edi
mov edi, dword [esi + 4]
push eax
push 0
push 4
push ebx
sub edi, eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esp + 0x14], eax
test eax, eax
je 0x41a954
lea ebx, [edi + eax]
test ebx, ebx
je 0x41a945
mov eax, dword [esi + 8]
push eax
lea edi, [esp + 0x50]
mov ecx, ebx
call fcn.0041a220
lea eax, [esi + 0xc]
mov edx, edi
add esp, 4
mov ecx, 0x10
sub edx, eax
mov edi, dword [edx + eax]
cmp edi, dword [eax]
jne 0x41a97e
sub ecx, 4
add eax, 4
cmp ecx, 4
jae 0x41a906
mov edx, dword [ebp + 0x14]
mov eax, dword [esp + 0x20]
mov ecx, dword [esi + 0x1c]
push edx
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [esi + 8]
push edx
cdq
push edx
push eax
push ebx
push ecx
call fcn.0044e540
add esp, 0x1c
test eax, eax
jl 0x41a945
mov dword [esp + 0x10], 1
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ebx, dword [esp + 0x18]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [esp + 0x1c]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00461862
mov esp, ebp
pop ebp
ret 0x10
mov dword [esp + 0x10], 0xffffd8ee
jmp 0x41a945
Function at 0x41aab0
Capabilities:
Check if file exists
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x66c
mov eax, dword [0x4a30f8]
xor eax, esp
mov dword [esp + 0x668], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
jne 0x41aaeb
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x668]
xor ecx, esp
call fcn.00461862
mov esp, ebp
pop ebp
ret
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41aad4
mov eax, edi
lea edx, [eax + 2]
jmp 0x41ab00
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41ab00
sub eax, edx
sar eax, 1
cmp eax, 3
jbe 0x41aad4
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x26a]
push ecx
mov ebx, 1
mov word [esp + 0x26c], ax
call fcn.00461880
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x47e]
push eax
mov word [esp + 0x480], dx
call fcn.00461880
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
add esp, 0x18
push edi
lea ecx, [esp + 0x46c]
push ecx
call esi
push 0x492cbc
lea edx, [esp + 0x46c]
push edx
call esi
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x46c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [esp + 0xc], eax
cmp eax, 0xffffffff
je 0x41ac8c
lea edx, [esp + 0x10]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x41ac81
lea ebx, [ebx]
test byte [esp + 0x10], 0x10
je 0x41ac24
cmp word [esp + 0x3c], 0x2e
jne 0x41abdf
mov ax, word [esp + 0x3e]
test ax, ax
je 0x41ac69
cmp ax, 0x2e
jne 0x41abdf
cmp word [esp + 0x40], 0
je 0x41ac69
push 0x208
lea eax, [esp + 0x264]
push 0
push eax
call fcn.00461880
add esp, 0xc
push edi
lea ecx, [esp + 0x264]
push ecx
call esi
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x264]
push eax
call esi
lea ecx, [esp + 0x260]
push ecx
call fcn.0041aab0
add esp, 4
and ebx, eax
jmp 0x41ac69
push 0x208
lea edx, [esp + 0x264]
push 0
push edx
call fcn.00461880
add esp, 0xc
push edi
lea eax, [esp + 0x264]
push eax
call esi
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x264]
push edx
call esi
lea eax, [esp + 0x260]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x41ac69
xor ebx, ebx
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x41abb0
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ecx, dword [esp + 0x674]
pop edi
and eax, ebx
pop esi
pop ebx
xor ecx, esp
call fcn.00461862
mov esp, ebp
pop ebp
ret
Function at 0x41b970
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
sub esp, 0x80c
mov eax, dword [0x4a30f8]
xor eax, esp
mov dword [esp + 0x808], eax
push 0x800
lea eax, [esp + 0xc]
push 0
push eax
call fcn.00461880
add esp, 0xc
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 8]
push eax
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360sd.exe
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x18], 1
mov dword [esp + 0x1c], 0x400
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x41b9e4
xor eax, eax
mov ecx, dword [esp + 0x808]
xor ecx, esp
call fcn.00461862
add esp, 0x80c
ret
cmp word [esp + 8], 0
je 0x41b9cd
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [esp + 0x808]
xor ecx, esp
call fcn.00461862
add esp, 0x80c
ret

Function at 0x41bb60
Capabilities:
Get common file path

Disassembly:
mov eax, 0x1004
call fcn.00462620
mov eax, dword [0x4a30f8]
xor eax, esp
mov dword [esp + 0x1000], eax
push 0x800
lea eax, [esp + 4]
push 0
push eax
call fcn.00461880
add esp, 0xc
push 1
push 0x1a
lea ecx, [esp + 8]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x800
lea edx, [esp + 0x804]
push 0
push edx
call fcn.00461880
add esp, 0xc
push 0x486828
lea eax, [esp + 4]
push eax
lea ecx, [esp + 0x808]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea edx, [esp + 0x800]
push edx
call fcn.00444e20
mov ecx, dword [esp + 0x1004]
add esp, 4
xor ecx, esp
call fcn.00461862
add esp, 0x1004
ret
Function at 0x41bc00
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
sub esp, 0xa18
mov eax, dword [0x4a30f8]
xor eax, esp
mov dword [esp + 0xa14], eax
mov ecx, dword [ecx + 8]
test ecx, ecx
je 0x41bd34
push esi
call fcn.0043f760
mov esi, eax
test esi, esi
je 0x41bd33
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x81a]
push ecx
mov word [esp + 0x81c], ax
call fcn.00461880
add esp, 0xc
lea edx, [esp + 4]
push edx
lea eax, [esp + 0x814]
push eax
lea ecx, [esp + 0x14]
push ecx
push str.Path
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360wpapp.exe
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x1c], 0x104
mov dword [esp + 0x24], 1
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x41bd33
cmp dword [esp + 4], eax
jbe 0x41bd33
push 0x800
push eax
lea edx, [esp + 0x18]
push edx
call fcn.00461880
add esp, 0xc
push str.Uninstall.exe
lea eax, [esp + 0x814]
push eax
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41bd33
cmp dword [0x4a6450], 0
mov dword [esp + 8], 0
je 0x41bd16
mov eax, dword [esi]
mov eax, dword [eax + 0x24]
lea ecx, [esp + 8]
push ecx
push 0
push 0
push 0
push str._S__uninstfromdt__Pzhuomian
lea edx, [esp + 0x24]
push edx
push esi
call eax
pop esi
mov ecx, dword [esp + 0xa14]
xor ecx, esp
call fcn.00461862
add esp, 0xa18
ret
mov ecx, dword [esi]
mov ecx, dword [ecx + 0x24]
lea edx, [esp + 8]
push edx
push 0
push 0
push 0
push str._S__Pzhuomian
lea eax, [esp + 0x24]
push eax
push esi
call ecx
pop esi
mov ecx, dword [esp + 0xa14]
xor ecx, esp
call fcn.00461862
add esp, 0xa18
ret

Function at 0x41c1e0
Capabilities:
Enumerate process modules

Disassembly:
mov eax, 0x2808
call fcn.00462620
mov eax, dword [0x4a30f8]
xor eax, esp
mov dword [esp + 0x2804], eax
push esi
push edi
mov edi, dword [esp + 0x2814]
push 0x800
xor esi, esi
lea eax, [esp + 0x2010]
push esi
push eax
call fcn.00461880
push 0x2000
lea ecx, [esp + 0x1c]
push esi
push ecx
mov dword [esp + 0x20], esi
call fcn.00461880
add esp, 0x18
lea edx, [esp + 8]
push edx
push 0x800
lea eax, [esp + 0x14]
push eax
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
je 0x41c2a2
push ebx
cmp dword [esp + 0xc], esi
jbe 0x41c29f
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
jmp 0x41c260
mov edx, dword [esp + esi*4 + 0x10]
push 0x400
lea ecx, [esp + 0x2014]
push ecx
push edx
call fcn.0043a3b0
add esp, 0xc
test eax, eax
je 0x41c298
lea eax, [esp + 0x2010]
push eax
call ebx
mov ecx, dword [edi]
push eax
push ecx
call fcn.00462130
add esp, 8
test eax, eax
je 0x41c2bb
inc esi
cmp esi, dword [esp + 0xc]
jb 0x41c260
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x280c]
pop edi
pop esi
xor ecx, esp
call fcn.00461862
add esp, 0x2808
ret 4
mov eax, 1
jmp 0x41c2a1
Function at 0x41d080
Capabilities:
Check if file exists
Get common file path

Disassembly:
mov eax, 0x1104
call fcn.00462620
mov eax, dword [0x4a30f8]
xor eax, esp
mov dword [esp + 0x1100], eax
push ebx
mov ebx, dword [esp + 0x110c]
push ebp
push esi
push edi
push 0x800
lea eax, [esp + 0x914]
push 0
push eax
call fcn.00461880
push 0x800
lea ecx, [esp + 0x120]
push 0
push ecx
call fcn.00461880
add esp, 0x18
lea edx, [esp + 0x910]
push edx
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x100
lea eax, [esp + 0x14]
push 0
push eax
call fcn.00461880
mov edi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov ebp, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0xc
xor esi, esi
lea ecx, [esp + 0x10]
push 0x80
push ecx
call fcn.00401000
add esp, 8
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x914]
push eax
lea ecx, [esp + 0x118]
push ecx
call edi
lea eax, [esp + 0x110]
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x41d136
mov edx, dword [str..tmp]
mov ecx, dword [0x4911c4]
mov dword [eax], edx
mov dx, word [0x4911c8]
mov dword [eax + 4], ecx
mov word [eax + 8], dx
lea eax, [esp + 0x110]
push eax
call ebp
test eax, eax
je 0x41d18d
inc esi
cmp esi, 0xa
jl 0x41d103
xor eax, eax
mov ecx, dword [esp + 0x1110]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00461862
add esp, 0x1104
ret
lea ecx, [esp + 0x110]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
mov eax, dword [ebx]
cmp dword [eax - 0xc], 1
lea ecx, [eax - 0xc]
jg 0x41d1ad
cmp esi, dword [eax - 4]
jle 0x41d1e4
add eax, 0xfffffff4
cmp eax, dword [0x4a1010]
je 0x41d1d8
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41d1d1
mov edx, dword [ebx]
sub edx, 0xc
push edx
call fcn.00461ef0
add esp, 4
mov eax, dword [0x4a1014]
mov dword [ebx], eax
push esi
mov ecx, ebx
call fcn.0041bed0
test eax, eax
je 0x41d212
mov eax, dword [ebx]
lea edi, [esi + esi]
push edi
lea ecx, [esp + 0x114]
push ecx
lea edx, [edi + 2]
push edx
push eax
call fcn.004618fa
push eax
call fcn.00408c80
mov eax, dword [ebx]
mov dword [eax - 8], esi
mov ecx, dword [ebx]
add esp, 0x14
xor edx, edx
mov word [edi + ecx], dx
mov eax, 1
jmp 0x41d174
Function at 0x41d220
Capabilities:
Get common file path

Disassembly:
mov eax, 0x1008
call fcn.00462620
mov eax, dword [0x4a30f8]
xor eax, esp
mov dword [esp + 0x1004], eax
push ebx
push esi
push edi
push 0x800
lea eax, [esp + 0x14]
push 0
push eax
call fcn.00461880
mov esi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
add esp, 0xc
push 1
push 0x10
lea ecx, [esp + 0x18]
push ecx
push 0
call esi
push 0x800
lea edx, [esp + 0x814]
push 0
push edx
call fcn.00461880
add esp, 0xc
push 0x88
lea ecx, [esp + 0x10]
call fcn.0041d020
mov eax, dword [eax]
mov edi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
push eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x818]
push edx
call edi
mov eax, dword [esp + 0xc]
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x4a1010]
je 0x41d2ce
add eax, 0xfffffff4
push eax
call ebx
test eax, eax
jg 0x41d2ce
mov edx, dword [esp + 0xc]
add edx, 0xfffffff4
push edx
call fcn.00461ef0
add esp, 4
lea eax, [esp + 0x810]
push eax
call fcn.00444e20
push 0x800
lea ecx, [esp + 0x818]
push 0
push ecx
call fcn.00461880
add esp, 0x10
push 1
push 0x19
lea edx, [esp + 0x818]
push edx
push 0
call esi
push 0x800
lea eax, [esp + 0x14]
push 0
push eax
call fcn.00461880
add esp, 0xc
push 0x88
lea ecx, [esp + 0x10]
call fcn.0041d020
mov ecx, dword [eax]
push ecx
lea edx, [esp + 0x814]
push edx
lea eax, [esp + 0x18]
push eax
call edi
mov eax, dword [esp + 0xc]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x4a1010]
je 0x41d35f
add eax, 0xfffffff4
push eax
call ebx
test eax, eax
jg 0x41d35f
mov edx, dword [esp + 0xc]
add edx, 0xfffffff4
push edx
call fcn.00461ef0
add esp, 4
lea eax, [esp + 0x10]
push eax
call fcn.00444e20
push 0x800
lea ecx, [esp + 0x818]
push 0
push ecx
call fcn.00461880
add esp, 0x10
push 1
push 0x10
lea edx, [esp + 0x818]
push edx
push 0
call esi
push 0x800
lea eax, [esp + 0x14]
push 0
push eax
call fcn.00461880
add esp, 0xc
push str.360_.lnk
lea ecx, [esp + 0x814]
push ecx
lea edx, [esp + 0x18]
push edx
call edi
lea eax, [esp + 0x10]
push eax
call fcn.00444e20
push 0x800
lea ecx, [esp + 0x818]
push 0
push ecx
call fcn.00461880
add esp, 0x10
push 1
push 0x19
lea edx, [esp + 0x818]
push edx
push 0
call esi
push 0x800
lea eax, [esp + 0x14]
push 0
push eax
call fcn.00461880
add esp, 0xc
push str.360_.lnk
lea ecx, [esp + 0x814]
push ecx
lea edx, [esp + 0x18]
push edx
call edi
lea eax, [esp + 0x10]
push eax
call fcn.00444e20
mov ecx, dword [esp + 0x1014]
add esp, 4
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00461862
add esp, 0x1008
ret
Function at 0x41d440
Capabilities:
Get common file path

Disassembly:
mov eax, 0x1808
call fcn.00462620
mov eax, dword [0x4a30f8]
xor eax, esp
mov dword [esp + 0x1804], eax
push esi
push 0x800
lea eax, [esp + 0xc]
push 0
push eax
call fcn.00461880
add esp, 0xc
push 1
push 0x1a
lea ecx, [esp + 0x10]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x800
lea edx, [esp + 0x80c]
push 0
push edx
call fcn.00461880
mov esi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
add esp, 0xc
push str.MicrosoftInternet_ExplorerQuick_Launch
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x810]
push ecx
call esi
push 0x800
lea edx, [esp + 0x100c]
push 0
push edx
call fcn.00461880
add esp, 0xc
push 0x88
lea ecx, [esp + 8]
call fcn.0041d020
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x80c]
push ecx
lea edx, [esp + 0x1010]
push edx
call esi
mov eax, dword [esp + 4]
lea ecx, [eax - 0xc]
pop esi
cmp ecx, dword [0x4a1010]
je 0x41d516
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41d516
mov edx, dword [esp]
add edx, 0xfffffff4
push edx
call fcn.00461ef0
add esp, 4
lea eax, [esp + 0x1004]
push eax
call fcn.00444e20
mov ecx, dword [esp + 0x1808]
add esp, 4
xor ecx, esp
call fcn.00461862
add esp, 0x1808
ret

Function at 0x41d540
Capabilities:
Delete directory
Set file attributes

Disassembly:
sub esp, 0x808
mov eax, dword [0x4a30f8]
xor eax, esp
mov dword [esp + 0x804], eax
push esi
mov esi, dword [esp + 0x810]
push 0x800
lea eax, [esp + 0xc]
push 0
push eax
call fcn.00461880
add esp, 0xc
push 0x8a
lea ecx, [esp + 8]
call fcn.0041d020
mov ecx, dword [eax]
push ecx
push esi
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov eax, dword [esp + 4]
lea ecx, [eax - 0xc]
pop esi
cmp ecx, dword [0x4a1010]
je 0x41d5ba
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41d5ba
mov edx, dword [esp]
add edx, 0xfffffff4
push edx
call fcn.00461ef0
add esp, 4
lea eax, [esp + 4]
push eax
call fcn.00445390
add esp, 4
push 0x80
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea edx, [esp + 4]
push edx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ecx, dword [esp + 0x804]
xor ecx, esp
call fcn.00461862
add esp, 0x808
ret 4
Function at 0x41d600
Capabilities:
Delete directory
Get common file path

Disassembly:
sub esp, 0x808
mov eax, dword [0x4a30f8]
xor eax, esp
mov dword [esp + 0x804], eax
push ebx
push ebp
push esi
push edi
push 0x800
lea eax, [esp + 0x18]
push 0
push eax
mov ebx, ecx
call fcn.00461880
mov esi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
add esp, 0xc
push 1
push 2
lea ecx, [esp + 0x1c]
push ecx
push 0
call esi
push 0x256
lea ecx, [esp + 0x14]
call fcn.0041d020
mov edx, dword [eax]
mov edi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
push edx
lea eax, [esp + 0x18]
push eax
mov ecx, eax
push ecx
call edi
mov eax, dword [esp + 0x10]
mov ebp, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea edx, [eax - 0xc]
cmp edx, dword [0x4a1010]
je 0x41d691
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x41d691
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
push eax
call fcn.00461ef0
add esp, 4
lea ecx, [esp + 0x14]
push ecx
mov ecx, ebx
call fcn.0041d540
push 1
push 0x17
lea edx, [esp + 0x1c]
push edx
push 0
call esi
push 0x256
lea ecx, [esp + 0x14]
call fcn.0041d020
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x18]
push ecx
mov edx, ecx
push edx
call edi
mov eax, dword [esp + 0x10]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x4a1010]
je 0x41d6ee
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x41d6ee
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.00461ef0
add esp, 4
lea eax, [esp + 0x14]
push eax
mov ecx, ebx
call fcn.0041d540
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ecx, dword [esp + 0x814]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00461862
add esp, 0x808
ret