joyce8/EMBER2024-capa huggingface dataset:
Function at 0x480bd0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x572cd0
push 0x4f6d70
mov eax, dword fs:[0]
push eax
add esp, 0xffffffe4
push ebx
push esi
push edi
mov eax, dword [0x583d10]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
cmp dword [ebp + 8], 0
je 0x480c2a
cmp dword [ebp + 0xc], 0
je 0x480c2a
cmp dword [ebp + 0x10], 1
jae 0x480c2f
jmp 0x480d0d
push 0
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 1
jb 0x480c51
mov ecx, dword [ebp + 0x10]
sub ecx, 1
cmp dword [ebp - 0x1c], ecx
jbe 0x480c56
jmp 0x480d0d
mov dword [ebp - 4], 0
xor ecx, ecx
mov eax, dword [ebp - 0x1c]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004f09ec
add esp, 4
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x480c91
mov dword [ebp - 4], 0xfffffffe
jmp 0x480d0d
mov ecx, dword [ebp - 0x1c]
shl ecx, 1
push ecx
push 0
mov edx, dword [ebp - 0x20]
push edx
call fcn.004f2e30
add esp, 0xc
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x480ced
mov eax, dword [ebp + 0x10]
sub eax, 1
cmp dword [ebp - 0x1c], eax
ja 0x480ced
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp + 0x10]
sub eax, 1
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004f66cd
add esp, 0x10
mov dword [ebp - 0x24], 1
mov dword [ebp - 4], 0xfffffffe
jmp 0x480d0d
cmp dword [ebp - 0x20], 0
je 0x480d2c
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004f304f
add esp, 4
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4815a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52d48b
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x583d10]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x228], ecx
mov dword [ebp - 0x224], 0
lea eax, [ebp - 0x224]
push eax
mov ecx, dword [ebp + 8]
or ecx, 0x20019
push ecx
push 0
mov ecx, dword [ebp - 0x228]
add ecx, 0xc
call fcn.0043a29b
push eax
mov edx, dword [ebp - 0x228]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x22c], eax
cmp dword [ebp - 0x22c], 0
je 0x481630
mov ecx, dword [ebp - 0x224]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x481773
mov dword [ebp - 0x230], 2
mov dword [ebp - 0x238], 0x105
xor edx, edx
mov word [ebp - 0x21c], dx
push 0x208
push 0
lea eax, [ebp - 0x21a]
push eax
call fcn.004f2e30
add esp, 0xc
lea ecx, [ebp - 0x238]
push ecx
lea edx, [ebp - 0x21c]
push edx
lea eax, [ebp - 0x230]
push eax
push 0
mov ecx, dword [ebp - 0x228]
add ecx, 8
call fcn.0043a29b
push eax
mov ecx, dword [ebp - 0x224]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x22c], eax
mov edx, dword [ebp - 0x224]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x22c], 0
jne 0x481771
cmp dword [ebp - 0x230], 1
jne 0x481771
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x220]
call fcn.0043c206
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x220]
push ecx
call fcn.004804f0
add esp, 4
push 0x105
lea ecx, [ebp - 0x220]
call fcn.0043a2d3
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x220]
call fcn.0043c298
mov ecx, dword [ebp - 0x228]
add ecx, 0x10
call fcn.0043a29b
push eax
push 0x105
lea ecx, [ebp - 0x220]
call fcn.0043a2d3
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x220]
call fcn.0043c298
lea edx, [ebp - 0x220]
push edx
call fcn.004805a0
add esp, 4
mov dword [ebp - 0x234], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x220]
call fcn.0043a3e4
mov eax, dword [ebp - 0x234]
jmp 0x481773
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f225b
mov esp, ebp
pop ebp
ret 4
Function at 0x48cef0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x583d10]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0x231], 0
mov dword [ebp - 0x238], 0xffffffff
mov dword [ebp - 0x230], 0
push 0x228
push 0
lea eax, [ebp - 0x22c]
push eax
call fcn.004f2e30
add esp, 0xc
mov dword [ebp - 0x230], 0x22c
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x238], eax
cmp dword [ebp - 0x238], 0xffffffff
jne 0x48cf5b
jmp 0x48cfac
lea ecx, [ebp - 0x230]
push ecx
mov edx, dword [ebp - 0x238]
push edx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x48cfac
lea eax, [ebp - 0x20c]
push eax
push str.vmusrvc.exe
call fcn.004f38f9
add esp, 8
test eax, eax
jne 0x48cf94
mov byte [ebp - 0x231], 1
jmp 0x48cfac
lea ecx, [ebp - 0x230]
push ecx
mov edx, dword [ebp - 0x238]
push edx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x48cf73
cmp dword [ebp - 0x238], 0
je 0x48cfcc
mov eax, dword [ebp - 0x238]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x238], 0
mov al, byte [ebp - 0x231]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004f225b
mov esp, ebp
pop ebp
ret

Function at 0x48cfe0
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x583d10]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov word [ebp - 0x210], ax
push 0x208
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.004f2e30
add esp, 0xc
mov byte [ebp - 0x41d], 0
push 0x104
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
ja 0x48d039
jmp 0x48d0e9
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
mov dword [ebp - 0x424], 0
jmp 0x48d061
mov ecx, dword [ebp - 0x424]
add ecx, 1
mov dword [ebp - 0x424], ecx
cmp dword [ebp - 0x424], 5
jae 0x48d0e9
xor edx, edx
mov word [ebp - 0x41c], dx
push 0x208
push 0
lea eax, [ebp - 0x41a]
push eax
call fcn.004f2e30
add esp, 0xc
push 0xffffffffffffffff
lea ecx, [ebp - 0x210]
push ecx
push 0x104
lea edx, [ebp - 0x41c]
push edx
call fcn.004f66cd
add esp, 0x10
push 0xffffffffffffffff
mov eax, dword [ebp - 0x424]
mov ecx, dword [eax*4 + 0x5aa950]
push ecx
push 0x104
lea edx, [ebp - 0x41c]
push edx
call fcn.0052415c
add esp, 0x10
lea eax, [ebp - 0x41c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x48d0e4
mov byte [ebp - 0x41d], 1
jmp 0x48d0e9
jmp 0x48d052
mov al, byte [ebp - 0x41d]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004f225b
mov esp, ebp
pop ebp
ret
Function at 0x48d4a0
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov byte [ebp - 1], 0
push 0x288
call fcn.004f3aa7
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x48d4c7
xor al, al
jmp 0x48d5cd
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0x288
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x6f
jne 0x48d52c
mov edx, dword [ebp - 8]
push edx
call fcn.004f1da0
add esp, 4
mov dword [ebp - 8], 0
mov eax, dword [ebp - 0x10]
push eax
call fcn.004f3aa7
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x48d51b
xor al, al
jmp 0x48d5cd
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0x14], 0
jne 0x48d5aa
cmp dword [ebp - 8], 0
je 0x48d5aa
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x190], 3
ja 0x48d554
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov dword [ebp - 8], eax
jmp 0x48d538
mov ecx, 1
imul edx, ecx, 0
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + edx + 0x194]
cmp ecx, 0x52
jne 0x48d5a0
mov edx, 1
shl edx, 0
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + edx + 0x194]
cmp ecx, 0x54
jne 0x48d5a0
mov edx, 1
shl edx, 1
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + edx + 0x194]
test ecx, ecx
jne 0x48d5a0
mov byte [ebp - 1], 1
jmp 0x48d5aa
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov dword [ebp - 8], eax
jmp 0x48d538
cmp dword [ebp - 0xc], 0
je 0x48d5ca
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.004f1da0
add esp, 4
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret
Function at 0x48d640
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x583d10]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov word [ebp - 0x210], ax
push 0x208
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.004f2e30
add esp, 0xc
mov byte [ebp - 0x41d], 0
push 0x104
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
ja 0x48d699
jmp 0x48d749
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
mov dword [ebp - 0x424], 0
jmp 0x48d6c1
mov ecx, dword [ebp - 0x424]
add ecx, 1
mov dword [ebp - 0x424], ecx
cmp dword [ebp - 0x424], 1
jae 0x48d749
xor edx, edx
mov word [ebp - 0x41c], dx
push 0x208
push 0
lea eax, [ebp - 0x41a]
push eax
call fcn.004f2e30
add esp, 0xc
push 0xffffffffffffffff
lea ecx, [ebp - 0x210]
push ecx
push 0x104
lea edx, [ebp - 0x41c]
push edx
call fcn.004f66cd
add esp, 0x10
push 0xffffffffffffffff
mov eax, dword [ebp - 0x424]
mov ecx, dword [eax*4 + 0x5aa968]
push ecx
push 0x104
lea edx, [ebp - 0x41c]
push edx
call fcn.0052415c
add esp, 0x10
lea eax, [ebp - 0x41c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x48d744
mov byte [ebp - 0x41d], 1
jmp 0x48d749
jmp 0x48d6b2
mov al, byte [ebp - 0x41d]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004f225b
mov esp, ebp
pop ebp
ret

Function at 0x48d760
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov byte [ebp - 1], 0
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x48d7a0
mov byte [ebp - 1], 0
jmp 0x48d81d
push 0x80
call fcn.004f3aa7
add esp, 4
mov dword [ebp - 8], eax
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x14], 0x50
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 8]
push ecx
lea edx, [ebp - 0x18]
push edx
push 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x48d7e9
mov byte [ebp - 1], 0
jmp 0x48d801
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.0044155d
add esp, 8
test eax, eax
je 0x48d801
mov byte [ebp - 1], 1
cmp dword [ebp - 8], 0
je 0x48d813
mov ecx, dword [ebp - 8]
push ecx
call fcn.004f1da0
add esp, 4
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret
Function at 0x48e0f0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52dfb8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x583d10]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], str.QQPCRTP
push str.InstallDir
push str.SOFTWARETencentQQPCMgr
push reloc.OLEAUT32.dll_SysReAllocString
lea eax, [ebp - 0x10]
push eax
call fcn.0048e1f0
add esp, 0x10
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0043c28d
movzx ecx, al
test ecx, ecx
je 0x48e165
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0043a3e4
jmp 0x48e1d7
lea ecx, [ebp - 0x10]
call fcn.0043a98b
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x48e189
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0043a3e4
jmp 0x48e1d7
mov dword [ebp - 0x14], 0
jmp 0x48e19b
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x14], 1
jae 0x48e1c0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + eax*4 - 0x1c]
push ecx
call fcn.0048edf0
add esp, 4
test eax, eax
je 0x48e1be
mov dword [ebp - 0x18], 1
jmp 0x48e1c0
jmp 0x48e192
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0043a3e4
xor edx, edx
jne 0x48e123
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x48e690
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x583d10]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x424], ecx
mov dword [ebp - 0x41c], 0
mov dword [ebp - 0x418], 0
mov dword [ebp - 0x420], 0
cmp dword [ebp + 8], 0
je 0x48e6d9
cmp dword [ebp + 8], 4
je 0x48e6d9
cmp dword [ebp + 8], 8
jne 0x48e6de
jmp 0x48e7c9
mov eax, dword [ebp + 8]
push eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x418], eax
cmp dword [ebp - 0x418], 0
jne 0x48e703
jmp 0x48e7c9
xor ecx, ecx
mov word [ebp - 0x20c], cx
push 0x206
push 0
lea edx, [ebp - 0x20a]
push edx
call fcn.004f2e30
add esp, 0xc
push 0x103
lea eax, [ebp - 0x20c]
push eax
push 0
mov ecx, dword [ebp - 0x418]
push ecx
call sub.PSAPI.DLL_GetModuleFileNameExW
mov dword [ebp - 0x420], eax
cmp dword [ebp - 0x420], 0
jne 0x48e7a8
xor edx, edx
mov word [ebp - 0x414], dx
push 0x206
push 0
lea eax, [ebp - 0x412]
push eax
call fcn.004f2e30
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x414]
push ecx
mov edx, dword [ebp - 0x418]
push edx
call dword [sym.imp.PSAPI.DLL_GetProcessImageFileNameW]
test eax, eax
jne 0x48e789
jmp 0x48e7c9
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x414]
push ecx
mov ecx, dword [ebp - 0x424]
call fcn.0048e800
test eax, eax
jne 0x48e7a8
jmp 0x48e7c9
lea edx, [ebp - 0x20c]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.0043a3ee
mov dword [ebp - 0x41c], 1
xor eax, eax
jne 0x48e6c7
cmp dword [ebp - 0x418], 0
je 0x48e7df
mov ecx, dword [ebp - 0x418]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x41c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004f225b
mov esp, ebp
pop ebp
ret 8
Function at 0x48e800
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4cc
mov eax, dword [0x583d10]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x4cc], ecx
cmp dword [ebp + 8], 0
je 0x48e825
cmp dword [ebp + 0xc], 0
jne 0x48e82c
xor eax, eax
jmp 0x48e9a0
lea eax, [ebp - 0x4bc]
push eax
push 0x3e8
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x48e990
mov dword [ebp - 0x4c0], 0
jmp 0x48e861
mov ecx, dword [ebp - 0x4c0]
add ecx, 4
mov dword [ebp - 0x4c0], ecx
mov edx, dword [ebp - 0x4c0]
movzx eax, word [ebp + edx*2 - 0x4bc]
test eax, eax
je 0x48e990
push 0x555168
mov ecx, dword [ebp - 0x4c0]
lea edx, [ebp + ecx*2 - 0x4bc]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x48e8b1
push 0x555160
mov eax, dword [ebp - 0x4c0]
lea ecx, [ebp + eax*2 - 0x4bc]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x48e8b3
jmp 0x48e852
mov edx, 2
imul eax, edx, 0
mov ecx, dword [ebp - 0x4c0]
mov dx, word [ebp + ecx*2 - 0x4bc]
mov word [ebp + eax - 0xc], dx
mov eax, 2
shl eax, 0
mov ecx, dword [ebp - 0x4c0]
mov dx, word [ebp + ecx*2 - 0x4ba]
mov word [ebp + eax - 0xc], dx
mov eax, 2
shl eax, 1
mov dword [ebp - 0x4c8], eax
cmp dword [ebp - 0x4c8], 6
jae 0x48e901
jmp 0x48e906
call fcn.004f5df3
xor ecx, ecx
mov edx, dword [ebp - 0x4c8]
mov word [ebp + edx - 0xc], cx
push 0x64
lea eax, [ebp - 0xd4]
push eax
lea ecx, [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
jne 0x48e92e
xor eax, eax
jmp 0x48e9a0
lea edx, [ebp - 0xd4]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp - 0x4c4], eax
mov eax, dword [ebp - 0x4c4]
push eax
lea ecx, [ebp - 0xd4]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004f5f83
add esp, 0xc
test eax, eax
jne 0x48e98b
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov edx, dword [ebp - 0x4c4]
mov eax, dword [ebp + 8]
lea ecx, [eax + edx*2]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov eax, 1
jmp 0x48e9a0
jmp 0x48e852
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004f225b
mov esp, ebp
pop ebp
ret 8
Function at 0x48e9b0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x583d10]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x28], 0x80004005
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x10], 0xffffffff
mov byte [ebp - 0xc], 0
xor eax, eax
mov dword [ebp - 0xb], eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x18], 0
cmp dword [ebp + 8], 0
je 0x48ea1a
mov ecx, 2
imul edx, ecx, 0
mov eax, dword [ebp + 8]
movzx ecx, word [eax + edx]
test ecx, ecx
jne 0x48ea24
jmp 0x48eb47
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x48ea53
jmp 0x48eb47
push 0
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
ja 0x48ea72
jmp 0x48eb47
push 0
lea ecx, [ebp - 0x24]
push ecx
push 4
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x48ea9b
jmp 0x48eb47
lea ecx, [ebp - 0xc]
push ecx
call fcn.0048ec20
add esp, 4
test eax, eax
jne 0x48eab5
jmp 0x48eb47
mov edx, dword [ebp - 0x20]
sub edx, 4
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
add eax, 1
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x48eada
jmp 0x48eb47
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x18]
mov dword [ecx], edx
push 0
push 0
push 4
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x48eb17
jmp 0x48eb47
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x14]
push eax
call fcn.0048eb70
add esp, 8
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jge 0x48eb47
cmp dword [ebp - 0x14], 0
je 0x48eb47
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [ebp - 0x14], 0
cmp dword [ebp - 0x10], 0xffffffff
je 0x48eb5e
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004f225b
mov esp, ebp
pop ebp
ret
Function at 0x490b10
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x18], 0
mov edx, dword [ebp + 8]
mov dword [edx + 0x5c], 0
mov eax, 4
imul ecx, eax, 0
mov edx, dword [ebp + 8]
mov dword [edx + ecx], 0x67452301
mov eax, 4
shl eax, 0
mov ecx, dword [ebp + 8]
mov dword [ecx + eax], 0xefcdab89
mov edx, 4
shl edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + edx], 0x98badcfe
mov ecx, 4
imul edx, ecx, 3
mov eax, dword [ebp + 8]
mov dword [eax + edx], 0x10325476
mov ecx, 4
shl ecx, 2
mov edx, dword [ebp + 8]
mov dword [edx + ecx], 0xc3d2e1f0
mov eax, dword [ebp + 8]
mov dword [eax + 0x60], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x64], 0
pop ebp
ret
Function at 0x4918d1
Capabilities:
Check if file exists
Create shortcut via ishelllink

Disassembly:
push 8
mov eax, 0x52e126
call fcn.004f22ff
xor ebx, ebx
push ebx
mov edi, ebx
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp + 0xc]
mov byte [ebp - 4], 1
push dword [ebx]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x491930
inc edi
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0
test eax, eax
je 0x491916
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4919e0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x4919e0
lea eax, [ebp - 0x10]
push eax
push 0x54562c
push 1
push 0
push 0x54570c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x491905
mov eax, dword [ebp - 0x10]
mov esi, dword [ebp + 8]
mov ecx, dword [eax]
push dword [esi + 0xc]
push eax
call dword [ecx + 0x50]
mov eax, dword [ebp - 0x10]
push dword [esi + 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov eax, dword [ebp - 0x10]
push dword [esi + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0x10]
push dword [esi + 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x10]
push 0
push dword [esi + 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x14]
push edx
push 0x54566c
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
mov eax, dword [ebp - 0x14]
js 0x491908
mov ecx, dword [eax]
push 1
push dword [ebx]
push eax
call dword [ecx + 0x18]
test eax, eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x14]
js 0x49190c
xor edi, edi
inc edi
test eax, eax
je 0x4919cf
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x4919e0
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, edi
call fcn.004f22cd
ret

Function at 0x4919ee
Capabilities:
Check if file exists
Create process on windows
Delete file

Disassembly:
push 4
mov eax, 0x52e149
call fcn.004f22ff
call fcn.00498865
cmp eax, 3
jge 0x491a08
xor eax, eax
jmp 0x491a77
mov eax, dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x491a1c
xor eax, eax
inc eax
jmp 0x491a77
lea eax, [ebp - 0x10]
push eax
call fcn.00492b95
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x10]
xor edi, edi
mov dword [ebp - 4], edi
push dword [esi]
push str._s.lnk
push eax
call fcn.0045198a
lea eax, [ebp - 0x10]
push eax
push esi
call fcn.004918d1
add esp, 0x18
test eax, eax
je 0x491a6a
push edi
push edi
push edi
push dword [ebp - 0x10]
push str.startpin
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
inc edi
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00436fdb
mov eax, edi
call fcn.004f22cd
ret