joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a6880
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x640
mov eax, dword [0x704dd8]
xor eax, esp
mov dword [esp + 0x63c], eax
push esi
mov esi, dword [esp + 0x648]
xor eax, eax
test esi, esi
je 0x4a69df
push 0x206
push eax
lea ecx, [esp + 0x442]
push ecx
mov word [esp + 0x444], ax
call fcn.004e9ba0
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x246]
push eax
mov word [esp + 0x248], dx
call fcn.004e9ba0
lea edx, [esp + 0x450]
add esp, 0x18
mov eax, esi
sub edx, esi
lea esp, [esp]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x4a68f0
lea ecx, [esp + 0x438]
push edi
push ecx
call fcn.004ecafe
push 0x228
lea edx, [esp + 0x14]
push 0
push edx
mov esi, eax
mov dword [esp + 0x18], 0
call fcn.004e9ba0
add esp, 0x10
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x4a69dc
lea eax, [esp + 8]
push eax
push edi
mov dword [esp + 0x10], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x4a69d5
lea ebx, [ebx]
xor eax, eax
jmp 0x4a6970
movzx ecx, word [esp + eax + 0x2c]
mov word [esp + eax + 0x234], cx
add eax, 2
test cx, cx
jne 0x4a6970
lea ecx, [esp + 0x234]
push ecx
call fcn.004ecafe
add esp, 4
mov ecx, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4a69bd
test dx, dx
je 0x4a69b9
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4a69bd
add eax, 4
add ecx, 4
test dx, dx
jne 0x4a6997
xor eax, eax
jmp 0x4a69c2
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4a69f5
lea edx, [esp + 8]
push edx
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4a6960
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x63c]
xor ecx, esp
call fcn.004e8c89
add esp, 0x640
ret
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x644]
mov eax, dword [esp + 0x10]
pop edi
pop esi
xor ecx, esp
call fcn.004e8c89
add esp, 0x640
ret
Function at 0x4a6c70
Capabilities:
Check if file exists
Copy file
Delete file
Move file

Disassembly:
sub esp, 0x620
mov eax, dword [0x704dd8]
xor eax, esp
mov dword [esp + 0x61c], eax
push esi
mov esi, dword [esp + 0x628]
push edi
mov edi, dword [esp + 0x630]
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x426]
push ecx
mov dword [esp + 0x14], esi
mov word [esp + 0x428], ax
call fcn.004e9ba0
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x22a]
push eax
mov word [esp + 0x22c], dx
call fcn.004e9ba0
lea edx, [esp + 0x434]
add esp, 0x18
mov eax, esi
sub edx, esi
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x4a6ce0
lea edx, [esp + 0x214]
mov eax, edi
sub edx, edi
lea ebx, [ebx]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x4a6d00
lea ecx, [esp + 0x41c]
push ecx
call fcn.004ec8c9
lea edx, [esp + 0x218]
push edx
call fcn.004ec8c9
add esp, 8
lea edx, [esp + 0x214]
lea ecx, [esp + 0x41c]
lea ebx, [ebx]
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x4a6d66
test ax, ax
je 0x4a6d62
mov ax, word [ecx + 2]
cmp ax, word [edx + 2]
jne 0x4a6d66
add ecx, 4
add edx, 4
test ax, ax
jne 0x4a6d40
xor eax, eax
jmp 0x4a6d6b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4a6e26
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_MoveFileExW]
xor esi, esi
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x1e]
push ecx
mov word [esp + 0x20], ax
call fcn.004e9ba0
add esp, 0xc
test esi, esi
jne 0x4a6db6
push edi
lea edx, [esp + 0x18]
push str._s.bak
push edx
call fcn.00403b80
add esp, 0xc
jmp 0x4a6dca
push esi
push edi
lea eax, [esp + 0x1c]
push str._s.bak_d
push eax
call fcn.00403b80
add esp, 0x10
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4a6de0
lea edx, [esp + 0x14]
push edx
call ebx
lea eax, [esp + 0x14]
push eax
push edi
call fcn.004ecb6e
add esp, 8
lea ecx, [esp + 0x14]
push ecx
call ebx
mov edx, dword [esp + 0x10]
push 0
push edi
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push 5
push 0
test eax, eax
jne 0x4a6e1d
lea eax, [esp + 0x1c]
push eax
call ebp
cmp esi, 0xa
jge 0x4a6e24
inc esi
jmp 0x4a6d83
lea ecx, [esp + 0x1c]
push ecx
call ebp
pop ebp
pop ebx
mov ecx, dword [esp + 0x624]
pop edi
pop esi
xor ecx, esp
call fcn.004e8c89
add esp, 0x620
ret
Function at 0x4a6e40
Capabilities:
Check if file exists
Delete file
Move file

Disassembly:
sub esp, 0x20c
mov eax, dword [0x704dd8]
xor eax, esp
mov dword [esp + 0x208], eax
push edi
mov edi, dword [esp + 0x214]
push str..del
push edi
call fcn.004e8767
add esp, 8
test eax, eax
je 0x4a6e8f
push 5
push 0
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
pop edi
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.004e8c89
add esp, 0x20c
ret
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ebp
mov ebp, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push esi
xor esi, esi
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x1a]
push ecx
mov word [esp + 0x1c], ax
call fcn.004e9ba0
add esp, 0xc
test esi, esi
jne 0x4a6ed3
push edi
lea edx, [esp + 0x14]
push str._s.del
push edx
call fcn.00403b80
add esp, 0xc
jmp 0x4a6ee7
push esi
push edi
lea eax, [esp + 0x18]
push str._s.del_d
push eax
call fcn.00403b80
add esp, 0x10
lea ecx, [esp + 0x10]
push ecx
call ebp
test eax, eax
je 0x4a6f05
lea edx, [esp + 0x10]
push edx
call ebx
test eax, eax
jne 0x4a6f05
cmp esi, 0xa
jge 0x4a6f22
inc esi
jmp 0x4a6ea0
lea eax, [esp + 0x10]
push eax
push edi
call fcn.004ecb6e
add esp, 8
push 5
push 0
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ecx, dword [esp + 0x218]
pop esi
pop ebp
pop ebx
pop edi
xor ecx, esp
call fcn.004e8c89
add esp, 0x20c
ret

Function at 0x4a6f40
Capabilities:
Check if file exists
Delete file
Get common file path
Move file

Disassembly:
sub esp, 0x61c
mov eax, dword [0x704dd8]
xor eax, esp
mov dword [esp + 0x618], eax
push ebp
mov ebp, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push edi
mov edi, dword [esp + 0x628]
push edi
call ebp
test eax, eax
je 0x4a7072
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push edi
call ebx
test eax, eax
jne 0x4a7071
push esi
push 0x206
push eax
lea ecx, [esp + 0x222]
push ecx
mov word [esp + 0x224], ax
call fcn.004e9ba0
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x436]
push eax
mov word [esp + 0x438], dx
call fcn.004e9ba0
add esp, 0x18
lea ecx, [esp + 0x420]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea edx, [esp + 0x218]
push edx
push edi
call fcn.004a6a20
add esp, 8
xor esi, esi
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x1a]
push ecx
mov word [esp + 0x1c], ax
call fcn.004e9ba0
add esp, 0xc
lea edx, [esp + 0x218]
lea eax, [esp + 0x420]
lea ecx, [esp + 0x10]
test esi, esi
jne 0x4a7024
push edx
push eax
push str._s_s.del
push ecx
call fcn.00403b80
add esp, 0x10
jmp 0x4a7035
push esi
push edx
push eax
push str._s_s.del_d
push ecx
call fcn.00403b80
add esp, 0x14
lea edx, [esp + 0x10]
push edx
call ebp
test eax, eax
je 0x4a7053
lea eax, [esp + 0x10]
push eax
call ebx
test eax, eax
jne 0x4a7053
cmp esi, 0xa
jge 0x4a7070
inc esi
jmp 0x4a6fe2
lea ecx, [esp + 0x10]
push ecx
push edi
call fcn.004ecb6e
add esp, 8
push 5
push 0
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
pop esi
pop ebx
mov ecx, dword [esp + 0x620]
pop edi
pop ebp
xor ecx, esp
call fcn.004e8c89
add esp, 0x61c
ret
Function at 0x4a7090
Capabilities:
Check if file exists
Write file on windows

Disassembly:
sub esp, 0xc14
mov eax, dword [0x704dd8]
xor eax, esp
mov dword [esp + 0xc10], eax
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x21a]
push ecx
mov word [esp + 0x21c], ax
call fcn.004e9ba0
add esp, 0xc
xor eax, eax
jmp 0x4a70d0
movzx ecx, word [eax + str.C:log_]
mov word [esp + eax + 0x210], cx
add eax, 2
test cx, cx
jne 0x4a70d0
push esi
xor edx, edx
push 0x3e6
push edx
lea eax, [esp + 0x836]
push eax
mov word [esp + 0x838], dx
call fcn.004e9ba0
lea ecx, [esp + 0x220]
push ecx
lea edx, [esp + 0x42c]
push 0x6012d8
push edx
call fcn.00403b80
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x646]
push ecx
mov word [esp + 0x648], ax
call fcn.004e9ba0
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x3a]
push eax
mov word [esp + 0x3c], dx
call fcn.004e9ba0
add esp, 0x30
push 0x104
lea ecx, [esp + 0x10]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [esp + 0xc]
push 0x5c
push edx
call fcn.004e9c3b
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 8
lea edx, [esp + 0x41c]
xor ecx, ecx
push edx
mov word [eax], cx
call esi
test eax, eax
je 0x4a72db
lea eax, [esp + 0xc]
lea edx, [eax + 2]
jmp 0x4a71a0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4a71a0
sub eax, edx
sar eax, 1
lea eax, [esp + eax*2 + 0xe]
lea edx, [esp + 0x624]
sub edx, eax
lea esp, [esp]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x4a71c0
push edi
lea eax, [esp + 0x628]
push eax
lea ecx, [esp + 0x21c]
push ecx
lea edx, [esp + 0x428]
push str._s_s.txt
push edx
call fcn.00403b80
mov ecx, dword [esp + 0xc30]
lea eax, [esp + 0xc34]
push eax
push ecx
lea edx, [esp + 0x848]
push 0x1f3
push edx
call fcn.004ecc75
add esp, 0x20
lea ecx, [esp + 0x420]
xor eax, eax
push ecx
mov word [esp + 0xc1a], ax
xor edi, edi
call esi
test eax, eax
je 0x4a7236
mov edi, 1
lea edx, [esp + 0x420]
push 0x6148f0
push edx
call fcn.004ebeb8
mov esi, eax
add esp, 8
test esi, esi
je 0x4a72da
test edi, edi
jne 0x4a7273
push esi
push 2
lea eax, [esp + 0x14]
push 1
push eax
mov dword [esp + 0x1c], 0xfeff
call fcn.004eb848
add esp, 0x10
lea eax, [esp + 0x830]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4a7280
sub eax, edx
sar eax, 1
push esi
lea ecx, [eax + eax]
push ecx
lea edx, [esp + 0x838]
push 1
push edx
call fcn.004eb848
push esi
push 2
lea eax, [esp + 0x20]
push 1
push eax
mov dword [esp + 0x28], 0xd
call fcn.004eb848
push esi
push 2
lea ecx, [esp + 0x30]
push 1
push ecx
mov dword [esp + 0x38], 0xa
call fcn.004eb848
push esi
call fcn.004ebb03
add esp, 0x34
pop edi
mov ecx, dword [esp + 0xc14]
pop esi
xor ecx, esp
call fcn.004e8c89
add esp, 0xc14
ret
Function at 0x4a7540
Capabilities:
Check os version
Query or enumerate registry value

Disassembly:
sub esp, 0x128
mov eax, dword [0x704dd8]
xor eax, esp
mov dword [esp + 0x124], eax
push esi
push 0x114
xor esi, esi
lea eax, [esp + 0x18]
push esi
push eax
call fcn.004e9ba0
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x18], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4a75f6
cmp dword [esp + 0x18], 5
jbe 0x4a75f6
lea edx, [esp + 4]
push edx
push 0x20019
push esi
mov eax, 4
push str.SOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem_
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x18], esi
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4a75f6
lea eax, [esp + 0xc]
push eax
mov eax, dword [esp + 8]
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x18]
push edx
push esi
push str.EnableLUA
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4a75eb
xor ecx, ecx
cmp dword [esp + 8], esi
setne cl
mov esi, ecx
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x128]
mov eax, esi
pop esi
xor ecx, esp
call fcn.004e8c89
add esp, 0x128
ret
Function at 0x4a8160
Capabilities:
Get common file path

Disassembly:
sub esp, 0xfa4
mov eax, dword [0x704dd8]
xor eax, esp
mov dword [esp + 0xfa0], eax
push ebx
mov ebx, dword [esp + 0xfac]
push esi
push edi
push 0x7d0
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
xor eax, eax
movzx ecx, word [eax + str.Program_FilesInternet_Exploreriexplore.exe]
mov word [esp + eax + 0x18], cx
add eax, 2
test cx, cx
jne 0x4a8190
mov eax, ebx
mov edx, ebx
jmp 0x4a81b0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4a81b0
lea edi, [esp + 0xc]
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x4a81c4
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
push 1
push 0
push 0
push ebx
mov ecx, eax
push str.open
and ecx, 3
push 0
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop edi
pop esi
pop ebx
cmp eax, 0x20
ja 0x4a8208
lea ecx, [esp]
push ecx
call fcn.004a67d0
add esp, 4
mov ecx, dword [esp + 0xfa0]
xor ecx, esp
call fcn.004e8c89
add esp, 0xfa4
ret
mov eax, 0x11ac
call fcn.004ea880
mov eax, dword [0x704dd8]
xor eax, esp
mov dword [esp + 0x11a8], eax
push esi
mov esi, dword [esp + 0x11b4]
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0xe]
push ecx
mov word [esp + 0x10], ax
call fcn.004e9ba0
lea edx, [esp + 0x10]
push edx
call fcn.004a64c0
add esp, 0x10
test eax, eax
jne 0x4a8327
push esi
call 0x4a8160
add esp, 4
pop esi
mov ecx, dword [esp + 0x11a8]
xor ecx, esp
call fcn.004e8c89
add esp, 0x11ac
ret
xor eax, eax
push 0xf9e
push eax
lea ecx, [esp + 0x216]
push ecx
mov word [esp + 0x218], ax
call fcn.004e9ba0
push esi
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x220]
push str.__s___s
push eax
call fcn.00403b80
lea ecx, [esp + 0x228]
push ecx
call fcn.004a67d0
mov ecx, dword [esp + 0x11cc]
add esp, 0x20
pop esi
xor ecx, esp
call fcn.004e8c89
add esp, 0x11ac
ret
call fcn.004a6670
test eax, eax
je 0x4a839e
jmp 0x4a8160
jmp 0x4a82c0

Function at 0x4a8220
Capabilities:
Create process on windows

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
mov eax, esi
lea edx, [eax + 2]
jmp 0x4a8230
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4a8230
sub eax, edx
sar eax, 1
je 0x4a8263
push 1
push 0
push 0
push esi
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
ja 0x4a8263
push esi
call fcn.004a67d0
add esp, 4
pop esi
pop ecx
ret
Function at 0x4a8390
Capabilities:
Create process on windows
Get common file path

Disassembly:
sub esp, 0xfa4
mov eax, dword [0x704dd8]
xor eax, esp
mov dword [esp + 0xfa0], eax
push ebx
mov ebx, dword [esp + 0xfac]
push esi
push edi
push 0x7d0
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
xor eax, eax
movzx ecx, word [eax + str.Program_FilesInternet_Exploreriexplore.exe]
mov word [esp + eax + 0x18], cx
add eax, 2
test cx, cx
jne 0x4a8190
mov eax, ebx
mov edx, ebx
jmp 0x4a81b0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4a81b0
lea edi, [esp + 0xc]
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x4a81c4
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
push 1
push 0
push 0
push ebx
mov ecx, eax
push str.open
and ecx, 3
push 0
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop edi
pop esi
pop ebx
cmp eax, 0x20
ja 0x4a8208
lea ecx, [esp]
push ecx
call fcn.004a67d0
add esp, 4
mov ecx, dword [esp + 0xfa0]
xor ecx, esp
call fcn.004e8c89
add esp, 0xfa4
ret
mov eax, 0x11ac
call fcn.004ea880
mov eax, dword [0x704dd8]
xor eax, esp
mov dword [esp + 0x11a8], eax
push esi
mov esi, dword [esp + 0x11b4]
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0xe]
push ecx
mov word [esp + 0x10], ax
call fcn.004e9ba0
lea edx, [esp + 0x10]
push edx
call fcn.004a64c0
add esp, 0x10
test eax, eax
jne 0x4a8327
push esi
call 0x4a8160
add esp, 4
pop esi
mov ecx, dword [esp + 0x11a8]
xor ecx, esp
call fcn.004e8c89
add esp, 0x11ac
ret
xor eax, eax
push 0xf9e
push eax
lea ecx, [esp + 0x216]
push ecx
mov word [esp + 0x218], ax
call fcn.004e9ba0
push esi
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x220]
push str.__s___s
push eax
call fcn.00403b80
lea ecx, [esp + 0x228]
push ecx
call fcn.004a67d0
mov ecx, dword [esp + 0x11cc]
add esp, 0x20
pop esi
xor ecx, esp
call fcn.004e8c89
add esp, 0x11ac
ret
call fcn.004a6670
test eax, eax
je 0x4a839e
jmp 0x4a8160
jmp 0x4a82c0
Function at 0x4a9780
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x5ed5f0
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x704dd8]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov ebx, ecx
mov edx, dword [esp + 0x5c]
xor edi, edi
xor eax, eax
mov word [esp + 0x30], ax
mov eax, edx
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], edi
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4a97c6
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x34]
call fcn.00401c70
mov edx, dword [esp + 0x58]
xor ecx, ecx
mov eax, edx
mov dword [esp + 0x50], edi
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], edi
mov word [esp + 0x14], cx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4a9800
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x18]
call fcn.00401c70
mov edx, dword [ebx + 0x20]
mov edx, dword [edx + 8]
lea eax, [esp + 0x2c]
lea ecx, [ebx + 0x20]
push eax
lea eax, [esp + 0x14]
push eax
mov byte [esp + 0x58], 1
call edx
mov esi, 8
cmp dword [esp + 0x28], esi
jb 0x4a984c
mov eax, dword [esp + 0x14]
push eax
call fcn.004ca5d9
add esp, 4
xor ecx, ecx
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], edi
mov word [esp + 0x14], cx
cmp dword [esp + 0x44], esi
jb 0x4a9872
mov edx, dword [esp + 0x30]
push edx
call fcn.004ca5d9
add esp, 4
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x44
ret 8
Function at 0x4aa990
Capabilities:
Hash data with md5

Disassembly:
xor eax, eax
push esi
mov esi, ecx
mov byte [esi + 0x68], al
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], eax
mov eax, dword [esp + 8]
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
cmp dword [eax + 0x18], 0x10
mov ecx, dword [eax + 0x14]
jb 0x4aa9d8
mov eax, dword [eax + 4]
push ecx
push eax
mov ecx, esi
call fcn.004aa7d0
mov eax, esi
pop esi
ret 4
push ecx
add eax, 4
push eax
mov ecx, esi
call fcn.004aa7d0
mov eax, esi
pop esi
ret 4

Function at 0x4aab20
Capabilities:
Check mutex on windows

Disassembly:
mov eax, dword [esp + 4]
push esi
push eax
push 1
mov esi, ecx
push 0
mov dword [esi], 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4aab63
mov ecx, dword [esi]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0
mov dword [esi + 4], 0
mov eax, esi
pop esi
ret 4
mov dword [esi + 4], 1
mov eax, esi
pop esi
ret 4

Function at 0x4aab90
Capabilities:
Check mutex on windows

Disassembly:
mov eax, dword [esp + 4]
push esi
push eax
push 1
push 0
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4aabcb
mov ecx, dword [esi]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0
mov dword [esi + 4], 0
pop esi
ret 4
mov dword [esi + 4], 1
pop esi
ret 4
Function at 0x4aae50
Capabilities:
Get installed programs
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
sub esp, 0x42c
mov eax, dword [0x704dd8]
xor eax, esp
mov dword [esp + 0x428], eax
mov eax, dword [esp + 0x430]
push esi
lea ecx, [esp + 4]
push ecx
xor esi, esi
push 9
push esi
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall_
push reloc.WSOCK32.dll_accept
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4aaeb4
xor eax, eax
pop esi
mov ecx, dword [esp + 0x428]
xor ecx, esp
call fcn.004e8c89
add esp, 0x42c
ret 4
push ebp
push 0x206
lea eax, [esp + 0x26]
xor edx, edx
push esi
push eax
mov word [esp + 0x2c], dx
call fcn.004e9ba0
mov edx, dword [esp + 0x14]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
add esp, 0xc
push 0x104
lea ecx, [esp + 0x24]
push ecx
push esi
push edx
call ebp
test eax, eax
jne 0x4aafad
push ebx
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ebx, [eax + 1]
lea ebx, [ebx]
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x2c]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x4aaf8f
push 0x206
push eax
lea ecx, [esp + 0x23a]
push ecx
mov dword [esp + 0x28], 0x104
mov word [esp + 0x23c], ax
call fcn.004e9ba0
add esp, 0xc
lea edx, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x234]
push eax
lea ecx, [esp + 0x2c]
push ecx
push 0
push str.DisplayName
push edx
mov dword [esp + 0x3c], ebx
call edi
test eax, eax
jne 0x4aaf84
mov eax, dword [esp + 0x20]
push eax
lea ecx, [esp + 0x234]
push ecx
call fcn.004e8767
add esp, 8
test eax, eax
je 0x4aaf84
mov dword [esp + 0x18], ebx
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x10]
push 0x104
lea eax, [esp + 0x2c]
push eax
add esi, ebx
push esi
push ecx
call ebp
test eax, eax
je 0x4aaf00
pop edi
pop ebx
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x430]
mov eax, dword [esp + 0x10]
pop ebp
pop esi
xor ecx, esp
call fcn.004e8c89
add esp, 0x42c
ret 4
Function at 0x4aafe0
Capabilities:
Check if file exists
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x5ed766
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x704dd8]
xor eax, esp
mov dword [esp + 0x240], eax
push ebx
push esi
mov eax, dword [0x704dd8]
xor eax, esp
push eax
lea eax, [esp + 0x250]
mov dword fs:[0], eax
mov esi, dword [esp + 0x260]
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x4e]
push ecx
mov word [esp + 0x50], ax
call fcn.004e9ba0
mov ebx, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
add esp, 0xc
push 0
push 0x19
lea edx, [esp + 0x4c]
push edx
push 0
call ebx
test eax, eax
je 0x4ab132
xor eax, eax
mov word [esp + 0x2c], ax
lea eax, [esp + 0x44]
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], 0
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4ab073
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x30]
call fcn.00401c70
push 1
push 0x601624
lea ecx, [esp + 0x30]
mov dword [esp + 0x260], 0
call fcn.00402e80
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4ab0b1
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [esp + 0x30]
call fcn.00402e80
push 4
push str..lnk
lea ecx, [esp + 0x30]
call fcn.00402e80
cmp dword [esp + 0x40], 8
mov eax, dword [esp + 0x2c]
jae 0x4ab0ea
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4ab113
cmp dword [esp + 0x40], 8
jb 0x4ab109
mov edx, dword [esp + 0x2c]
push edx
call fcn.004ca5d9
add esp, 4
mov eax, 1
jmp 0x4ab21e
cmp dword [esp + 0x40], 8
mov dword [esp + 0x258], 0xffffffff
jb 0x4ab132
mov eax, dword [esp + 0x2c]
push eax
call fcn.004ca5d9
add esp, 4
push 0
push 0x10
lea ecx, [esp + 0x4c]
push ecx
push 0
call ebx
test eax, eax
je 0x4ab21c
xor edx, edx
lea eax, [esp + 0x44]
mov word [esp + 0x10], dx
mov dword [esp + 0x24], 7
mov dword [esp + 0x20], 0
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4ab165
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x14]
call fcn.00401c70
push 1
push 0x601624
lea ecx, [esp + 0x14]
mov dword [esp + 0x260], 1
call fcn.00402e80
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4ab1a3
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [esp + 0x14]
call fcn.00402e80
push 4
push str..lnk
lea ecx, [esp + 0x14]
call fcn.00402e80
mov eax, dword [esp + 0x10]
mov esi, 8
cmp dword [esp + 0x24], esi
jae 0x4ab1e0
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4ab209
cmp dword [esp + 0x24], esi
jb 0x4ab109
mov ecx, dword [esp + 0x10]
push ecx
call fcn.004ca5d9
add esp, 4
mov eax, 1
jmp 0x4ab21e
cmp dword [esp + 0x24], esi
jb 0x4ab21c
mov edx, dword [esp + 0x10]
push edx
call fcn.004ca5d9
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x250]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x240]
xor ecx, esp
call fcn.004e8c89
add esp, 0x250
ret 4