joyce8/EMBER2024-capa huggingface dataset:
Function at 0x415b50
Capabilities:
Delete registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x634
mov eax, dword [0x4a60f8]
xor eax, esp
mov dword [esp + 0x630], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi]
mov ecx, dword [eax + 4]
push edi
push esi
call ecx
xor edi, edi
cmp eax, edi
mov dword [esp + 0x14], eax
jle 0x415c7d
mov ebx, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov dword [esp + 0x10], edi
mov ecx, dword [esi + 0x14]
sub ecx, dword [esi + 0x10]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x415bb2
call fcn.00461ea8
mov eax, dword [esi + 0x10]
add eax, dword [esp + 0x10]
mov ecx, dword [eax + 4]
cmp dword [ecx - 0xc], 0
je 0x415c6d
cmp dword [esi + 0x1c], 0
je 0x415c63
mov edx, dword [eax + 0xc]
test edx, edx
jne 0x415bee
push 4
lea edx, [eax + 0x14]
push edx
mov edx, dword [eax + 8]
mov eax, dword [eax]
push 4
push edx
push ecx
push eax
call ebx
jmp 0x415c6d
cmp edx, 1
jne 0x415c11
mov edx, dword [eax + 0x18]
mov ebx, dword [edx - 0xc]
add ebx, ebx
push ebx
mov ebx, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push edx
mov edx, dword [eax + 8]
mov eax, dword [eax]
push 1
push edx
push ecx
push eax
call ebx
jmp 0x415c6d
cmp edx, 2
jne 0x415c6d
mov ecx, dword [esi]
mov eax, dword [ecx + 8]
lea edx, [esp + 0x18]
push edx
push edi
push esi
call eax
lea eax, [esp + 0x430]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x415c30
sub eax, edx
sar eax, 1
lea ecx, [eax + eax]
push ecx
lea edx, [esp + 0x434]
push edx
mov edx, dword [esp + 0x20]
push 1
lea eax, [esp + 0x230]
push eax
lea ecx, [esp + 0x2c]
push ecx
push edx
call ebx
jmp 0x415c6d
mov eax, dword [eax]
push ecx
push eax
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
add dword [esp + 0x10], 0x1c
inc edi
cmp edi, dword [esp + 0x14]
jl 0x415b90
mov ecx, dword [esp + 0x63c]
pop edi
pop esi
pop ebx
xor ecx, esp
mov eax, 1
call fcn.00461932
mov esp, ebp
pop ebp
ret 4
Function at 0x416fb0
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 0x416fe7
mov eax, dword [ebp + 0x24]
mov ecx, dword [eax + 4]
lea esi, [ebp + 0xc]
push ecx
mov ecx, esi
call fcn.004181a0
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 0x417017
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 0x41709b
cmp dword [esp + 0x1c], edi
jne 0x41709b
lea eax, [ebx + 4]
push eax
call fcn.004645a2
mov edi, eax
add esp, 4
test edi, edi
je 0x41709b
lea eax, [ebx + 4]
push eax
push 0
push edi
call fcn.00461950
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.00417230
push edi
mov dword [esp + 0x14], 1
call fcn.00464164
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.0041a020
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 0x419520
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
mov eax, dword [0x4a60f8]
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 0x419556
pop esi
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.00461932
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.0041a800
add esp, 4
mov eax, esi
call fcn.0041a910
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.00461932
mov esp, ebp
pop ebp
ret
Function at 0x4195d0
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 0x419691
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 0x41968e
cmp esi, 0xffffffff
je 0x419687
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 0x419686
push ebx
push ebx
push ebx
push 4
push ebp
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ebx, eax
test ebx, ebx
je 0x41967b
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.00419520
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 0x419700
Capabilities:
Get file version info

Disassembly:
mov eax, 0x4010
call fcn.00462bf0
mov eax, dword [0x4a60f8]
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.00461950
add esp, 0xc
mov dword [esp + 4], 0
test edi, edi
je 0x4197f1
test esi, esi
je 0x4197f1
lea edx, [esp + 4]
push edx
push edi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x4197f1
cmp eax, 0x3fff
ja 0x4197f1
lea ecx, [esp + 0xc]
push ecx
push eax
push 0
push edi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x4197f1
lea edx, [esp + 8]
push edx
lea eax, [esp + 4]
push eax
push 0x494630
lea ecx, [esp + 0x18]
push ecx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4197f1
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.004666a1
add esp, 0x1c
mov eax, 1
mov ecx, dword [esp + 0x400c]
xor ecx, esp
call fcn.00461932
add esp, 0x4010
ret
mov ecx, dword [esp + 0x400c]
xor ecx, esp
xor eax, eax
call fcn.00461932
add esp, 0x4010
ret
Function at 0x419b00
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 [0x4a60f8]
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 0x419b4a
mov eax, 0xffffd8ee
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.00461932
mov esp, ebp
pop ebp
ret 0x10
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x419b31
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 0x419c66
cmp edi, 0xffffffff
je 0x419c5f
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 0x419c5f
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 0x419c54
lea ebx, [edi + eax]
test ebx, ebx
je 0x419c45
mov eax, dword [esi + 8]
push eax
lea edi, [esp + 0x50]
mov ecx, ebx
call fcn.00419520
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 0x419c7e
sub ecx, 4
add eax, 4
cmp ecx, 4
jae 0x419c06
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.0044e5f0
add esp, 0x1c
test eax, eax
jl 0x419c45
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.00461932
mov esp, ebp
pop ebp
ret 0x10
mov dword [esp + 0x10], 0xffffd8ee
jmp 0x419c45
Function at 0x419db0
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 [0x4a60f8]
xor eax, esp
mov dword [esp + 0x668], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
jne 0x419deb
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x668]
xor ecx, esp
call fcn.00461932
mov esp, ebp
pop ebp
ret
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x419dd4
mov eax, edi
lea edx, [eax + 2]
jmp 0x419e00
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x419e00
sub eax, edx
sar eax, 1
cmp eax, 3
jbe 0x419dd4
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x26a]
push ecx
mov ebx, 1
mov word [esp + 0x26c], ax
call fcn.00461950
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x47e]
push eax
mov word [esp + 0x480], dx
call fcn.00461950
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
add esp, 0x18
push edi
lea ecx, [esp + 0x46c]
push ecx
call esi
push 0x495c68
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 0x419f8c
lea edx, [esp + 0x10]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x419f81
lea ebx, [ebx]
test byte [esp + 0x10], 0x10
je 0x419f24
cmp word [esp + 0x3c], 0x2e
jne 0x419edf
mov ax, word [esp + 0x3e]
test ax, ax
je 0x419f69
cmp ax, 0x2e
jne 0x419edf
cmp word [esp + 0x40], 0
je 0x419f69
push 0x208
lea eax, [esp + 0x264]
push 0
push eax
call fcn.00461950
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.00419db0
add esp, 4
and ebx, eax
jmp 0x419f69
push 0x208
lea edx, [esp + 0x264]
push 0
push edx
call fcn.00461950
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 0x419f69
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 0x419eb0
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.00461932
mov esp, ebp
pop ebp
ret
Function at 0x41aca0
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
sub esp, 0x80c
mov eax, dword [0x4a60f8]
xor eax, esp
mov dword [esp + 0x808], eax
push 0x800
lea eax, [esp + 0xc]
push 0
push eax
call fcn.00461950
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 0x41ad14
xor eax, eax
mov ecx, dword [esp + 0x808]
xor ecx, esp
call fcn.00461932
add esp, 0x80c
ret
cmp word [esp + 8], 0
je 0x41acfd
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [esp + 0x808]
xor ecx, esp
call fcn.00461932
add esp, 0x80c
ret

Function at 0x41ae60
Capabilities:
Get common file path

Disassembly:
mov eax, 0x1004
call fcn.00462bf0
mov eax, dword [0x4a60f8]
xor eax, esp
mov dword [esp + 0x1000], eax
push 0x800
lea eax, [esp + 4]
push 0
push eax
call fcn.00461950
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.00461950
add esp, 0xc
push 0x489818
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.00444280
mov ecx, dword [esp + 0x1004]
add esp, 4
xor ecx, esp
call fcn.00461932
add esp, 0x1004
ret
Function at 0x41af10
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
sub esp, 0xa18
mov eax, dword [0x4a60f8]
xor eax, esp
mov dword [esp + 0xa14], eax
mov ecx, dword [ecx + 8]
test ecx, ecx
je 0x41b0e0
push esi
call fcn.0043ec90
mov esi, eax
test esi, esi
je 0x41b0df
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x81a]
push ecx
mov word [esp + 0x81c], ax
call fcn.00461950
add esp, 0xc
lea edx, [esp + 8]
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 + 0x20], 0x104
mov dword [esp + 0x24], 1
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x41b0df
cmp dword [esp + 8], eax
jbe 0x41b0df
push 0x800
push eax
lea edx, [esp + 0x18]
push edx
call fcn.00461950
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 0x41b0df
mov dword [esp + 4], 0
call fcn.0044a690
test eax, eax
jne 0x41b02f
cmp dword [0x4a9468], eax
jne 0x41b053
mov ecx, dword [esi]
mov ecx, dword [ecx + 0x24]
lea edx, [esp + 4]
push edx
push eax
push eax
push eax
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.00461932
add esp, 0xa18
ret
cmp dword [0x4a9468], 0
je 0x41b086
cmp dword [0x4a946c], 0
je 0x41b053
lea eax, [esp + 4]
push eax
push 0
push 0
push 0
push str._S__K__uninstfromdt__Pzhuomian
jmp 0x41b0d2
mov eax, dword [esi]
mov eax, dword [eax + 0x24]
lea ecx, [esp + 4]
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.00461932
add esp, 0xa18
ret
cmp dword [0x4a946c], 0
je 0x41b0c2
mov ecx, dword [esi]
mov ecx, dword [ecx + 0x24]
lea edx, [esp + 4]
push edx
push 0
push 0
push 0
push str._S__K__Pzhuomian
lea eax, [esp + 0x24]
push eax
push esi
call ecx
pop esi
mov ecx, dword [esp + 0xa14]
xor ecx, esp
call fcn.00461932
add esp, 0xa18
ret
lea eax, [esp + 4]
push eax
push 0
push 0
push 0
push str._S__Pzhuomian
mov edx, dword [esi]
mov edx, dword [edx + 0x24]
lea ecx, [esp + 0x24]
push ecx
push esi
call edx
pop esi
mov ecx, dword [esp + 0xa14]
xor ecx, esp
call fcn.00461932
add esp, 0xa18
ret
Function at 0x41b600
Capabilities:
Enumerate process modules

Disassembly:
mov eax, 0x2808
call fcn.00462bf0
mov eax, dword [0x4a60f8]
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.00461950
push 0x2000
lea ecx, [esp + 0x1c]
push esi
push ecx
mov dword [esp + 0x20], esi
call fcn.00461950
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 0x41b6c2
push ebx
cmp dword [esp + 0xc], esi
jbe 0x41b6bf
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
jmp 0x41b680
mov edx, dword [esp + esi*4 + 0x10]
push 0x400
lea ecx, [esp + 0x2014]
push ecx
push edx
call fcn.00439980
add esp, 0xc
test eax, eax
je 0x41b6b8
lea eax, [esp + 0x2010]
push eax
call ebx
mov ecx, dword [edi]
push eax
push ecx
call fcn.004626b1
add esp, 8
test eax, eax
je 0x41b6db
inc esi
cmp esi, dword [esp + 0xc]
jb 0x41b680
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x280c]
pop edi
pop esi
xor ecx, esp
call fcn.00461932
add esp, 0x2808
ret 4
mov eax, 1
jmp 0x41b6c1
Function at 0x41c490
Capabilities:
Check if file exists
Get common file path

Disassembly:
mov eax, 0x1104
call fcn.00462bf0
mov eax, dword [0x4a60f8]
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.00461950
push 0x800
lea ecx, [esp + 0x120]
push 0
push ecx
call fcn.00461950
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.00461950
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 0x41c546
mov edx, dword [str..tmp]
mov ecx, dword [0x49422c]
mov dword [eax], edx
mov dx, word [0x494230]
mov dword [eax + 4], ecx
mov word [eax + 8], dx
lea eax, [esp + 0x110]
push eax
call ebp
test eax, eax
je 0x41c59d
inc esi
cmp esi, 0xa
jl 0x41c513
xor eax, eax
mov ecx, dword [esp + 0x1110]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00461932
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 0x41c5bd
cmp esi, dword [eax - 4]
jle 0x41c5f4
add eax, 0xfffffff4
cmp eax, dword [0x4a4010]
je 0x41c5e8
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41c5e1
mov edx, dword [ebx]
sub edx, 0xc
push edx
call fcn.00462471
add esp, 4
mov eax, dword [0x4a4014]
mov dword [ebx], eax
push esi
mov ecx, ebx
call fcn.0041b310
test eax, eax
je 0x41c61f
lea edi, [esi + esi]
lea ecx, [edi + 2]
cmp ecx, edi
jb 0x41c612
mov eax, dword [ebx]
push edi
lea edx, [esp + 0x114]
push edx
push eax
call fcn.00461ec0
add esp, 0xc
mov ecx, dword [ebx]
mov dword [ecx - 8], esi
mov edx, dword [ebx]
xor eax, eax
mov word [edi + edx], ax
mov eax, 1
jmp 0x41c584
Function at 0x41c630
Capabilities:
Get common file path

Disassembly:
mov eax, 0x1008
call fcn.00462bf0
mov eax, dword [0x4a60f8]
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.00461950
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.00461950
add esp, 0xc
push 0x88
lea ecx, [esp + 0x10]
call fcn.0041c430
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 [0x4a4010]
je 0x41c6de
add eax, 0xfffffff4
push eax
call ebx
test eax, eax
jg 0x41c6de
mov edx, dword [esp + 0xc]
add edx, 0xfffffff4
push edx
call fcn.00462471
add esp, 4
lea eax, [esp + 0x810]
push eax
call fcn.00444280
push 0x800
lea ecx, [esp + 0x818]
push 0
push ecx
call fcn.00461950
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.00461950
add esp, 0xc
push 0x88
lea ecx, [esp + 0x10]
call fcn.0041c430
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 [0x4a4010]
je 0x41c76f
add eax, 0xfffffff4
push eax
call ebx
test eax, eax
jg 0x41c76f
mov edx, dword [esp + 0xc]
add edx, 0xfffffff4
push edx
call fcn.00462471
add esp, 4
lea eax, [esp + 0x10]
push eax
call fcn.00444280
push 0x800
lea ecx, [esp + 0x818]
push 0
push ecx
call fcn.00461950
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.00461950
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.00444280
push 0x800
lea ecx, [esp + 0x818]
push 0
push ecx
call fcn.00461950
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.00461950
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.00444280
mov ecx, dword [esp + 0x1014]
add esp, 4
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00461932
add esp, 0x1008
ret