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

Disassembly:
push 0xffffffffffffffff
push 0x5332da
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x58e700]
xor eax, esp
mov dword [esp + 0x218], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x58e700]
xor eax, esp
push eax
lea eax, [esp + 0x230]
mov dword fs:[0], eax
mov edi, edx
mov ebx, ecx
xor eax, eax
push 0x206
push eax
mov word [esp + 0x2c], ax
lea eax, [esp + 0x2e]
push eax
call fcn.005071f0
mov esi, dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea eax, [esp + 0x30]
add esp, 0xc
mov ebp, 0x104
push ebp
push eax
push str.PROCESSOR_ARCHITEW6432
call esi
test eax, eax
lea eax, [esp + 0x24]
push ebp
push eax
je 0x48372b
push 0x56beb0
call esi
mov esi, eax
test esi, esi
je 0x483708
lea ecx, [esp + 0x24]
xor ebp, ebp
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bp
jne 0x483685
sub ecx, edx
sar ecx, 1
push 0x5c
pop eax
cmp ax, word [esp + ecx*2 + 0x22]
jne 0x4836b4
lea ecx, [ecx*2 - 2]
cmp ecx, 0x208
jae 0x483726
xor eax, eax
mov word [esp + ecx + 0x24], ax
push 0x56beac
lea ecx, [esp + 0x24]
call fcn.00450bc2
push eax
lea edx, [esp + 0x28]
mov dword [esp + 0x23c], ebp
lea ecx, [esp + 0x1c]
call fcn.004719c5
pop ecx
push eax
mov ecx, ebx
mov byte [esp + 0x23c], 1
call fcn.0044f85f
mov ecx, dword [esp + 0x18]
lea ecx, [ecx - 0x10]
call fcn.00450c89
or dword [esp + 0x238], 0xffffffff
mov ecx, dword [esp + 0x20]
lea ecx, [ecx - 0x10]
call fcn.00450c89
push ebx
mov ecx, edi
call fcn.0044f85f
push 0x56bee4
push str.__x86_
mov ecx, edi
call fcn.0044f8aa
jmp 0x4837c4
call fcn.00504933
push 0x56beec
call esi
mov esi, eax
test esi, esi
je 0x4837c4
lea ecx, [esp + 0x24]
xor ebp, ebp
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bp
jne 0x483745
sub ecx, edx
sar ecx, 1
push 0x5c
pop eax
cmp ax, word [esp + ecx*2 + 0x22]
jne 0x483774
lea ecx, [ecx*2 - 2]
cmp ecx, 0x208
jae 0x483726
xor eax, eax
mov word [esp + ecx + 0x24], ax
push 0x56bee8
lea ecx, [esp + 0x20]
call fcn.00450bc2
push eax
lea edx, [esp + 0x28]
mov dword [esp + 0x23c], 2
lea ecx, [esp + 0x18]
call fcn.004719c5
pop ecx
push eax
mov ecx, ebx
mov byte [esp + 0x23c], 3
call fcn.0044f85f
mov ecx, dword [esp + 0x14]
lea ecx, [ecx - 0x10]
call fcn.00450c89
mov ecx, dword [esp + 0x1c]
lea ecx, [ecx - 0x10]
call fcn.00450c89
xor eax, eax
cmp eax, esi
sbb eax, eax
neg eax
mov ecx, dword [esp + 0x230]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x218]
xor ecx, esp
call fcn.00502673
add esp, 0x228
ret
Function at 0x483e24
Capabilities:
Create process on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x278
mov eax, dword [0x58e700]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
xor eax, eax
xor ebx, ebx
push 0x206
mov word [ebp - 0x214], ax
lea eax, [ebp - 0x212]
push ebx
push eax
call fcn.005071f0
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x214]
add esp, 0xc
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
lea eax, [eax + 2]
test cx, cx
jne 0x483e65
xor eax, eax
lea edi, [ebp - 0x228]
stosd dword es:[edi], eax
push 0x44
pop esi
push esi
stosd dword es:[edi], eax
push ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x274]
push eax
call fcn.005071f0
add esp, 0xc
mov dword [ebp - 0x274], esi
xor eax, eax
xor esi, esi
mov word [ebp - 0x244], ax
inc esi
lea eax, [ebp - 0x228]
mov dword [ebp - 0x248], esi
push eax
lea eax, [ebp - 0x274]
push eax
push ebx
push ebx
push 0x8000000
push esi
push ebx
push ebx
lea eax, [ebp - 0x214]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x483f4f
push 0x4e20
push dword [ebp - 0x228]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x483efc
push 0xffffffffffffffff
push dword [ebp - 0x228]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
or dword [ebp - 0x218], 0xffffffff
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x228]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x483f27
cmp dword [ebp - 0x218], 0
movzx ebx, bl
cmove ebx, esi
cmp dword [ebp - 0x224], 0
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x483f3e
push dword [ebp - 0x224]
call esi
cmp dword [ebp - 0x228], 0
je 0x483f4f
push dword [ebp - 0x228]
call esi
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00450c89
mov ecx, dword [ebp - 8]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00502673
mov esp, ebp
pop ebp
ret
Function at 0x483f6d
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x224
mov eax, dword [0x58e700]
xor eax, esp
mov dword [esp + 0x220], eax
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [esp + 0x24]
push eax
xor eax, eax
xor ebx, ebx
inc eax
mov byte [esp + 0x16], bl
push eax
push ebx
push str.SOFTWAREMicrosoft.NETFrameworkpolicy_v2.0
mov ebp, reloc.OLEAUT32.dll_SysReAllocString
mov byte [esp + 0x23], bl
push ebp
call edi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x483fc1
push dword [esp + 0x24]
mov byte [esp + 0x16], 1
call esi
lea eax, [esp + 0x1c]
push eax
push 1
push ebx
push str.SOFTWAREMicrosoft.NETFrameworkpolicy_v2.0.50727
push ebp
call edi
test eax, eax
jne 0x483fe0
push dword [esp + 0x1c]
mov byte [esp + 0x17], 1
call esi
cmp byte [esp + 0x12], bl
jne 0x483fec
cmp byte [esp + 0x13], bl
je 0x484061
lea eax, [esp + 0x14]
push eax
push 1
push ebx
push 0x56c0e8
push ebp
call edi
test eax, eax
jne 0x484061
push 0x206
mov word [esp + 0x2c], ax
lea eax, [esp + 0x2e]
push ebx
push eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], 0x104
call fcn.005071f0
add esp, 0xc
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x20]
push eax
push ebx
push str.InstallRoot
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x48405b
xor ecx, ecx
inc ecx
cmp dword [esp + 0x18], ecx
jne 0x48405b
cmp word [esp + 0x28], ax
movzx ebx, bl
cmovne ebx, ecx
push dword [esp + 0x14]
call esi
mov ecx, dword [esp + 0x230]
mov al, bl
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00502673
add esp, 0x224
ret
Function at 0x48407c
Capabilities:
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x5333e2
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x58e700]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
xor ebx, ebx
lea ecx, [esp + 0x38]
push 0x56c06c
mov dword [esp + 0x34], ebx
call fcn.0044fc40
test eax, eax
je 0x4841a5
call fcn.00483f6d
test al, al
je 0x4841a5
lea eax, [esp + 0x14]
mov dword [esp + 0x18], ebx
push eax
push 3
push ebx
push str.SOFTWAREMicrosoft.NETFramework_
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor edi, edi
mov ebp, eax
inc edi
test ebp, ebp
jne 0x48413b
push 4
pop esi
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], esi
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x2c]
push eax
push ebx
push 0x56c0cc
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [esp + 0x18], ebx
jne 0x48413b
push dword [esp + 0x1c]
lea eax, [esp + 0x24]
mov dword [esp + 0x24], edi
push eax
push esi
push ebx
push str.NoGuiFromShim
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, dword [sym.imp.KERNEL32.dll_SetErrorMode]
push 0x8003
call ebx
push ecx
mov ecx, dword [esp + 0x3c]
mov edi, eax
mov esi, esp
lea ecx, [ecx - 0x10]
call fcn.00450c29
add eax, 0x10
mov dword [esi], eax
call fcn.00483e24
pop ecx
xor ecx, ecx
test al, al
push 1
pop eax
movzx ecx, cl
cmovne ecx, eax
push edi
mov dword [esp + 0x20], ecx
call ebx
test ebp, ebp
jne 0x4841a1
cmp dword [esp + 0x18], ebp
jne 0x484197
push 0x56c12c
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x38]
add ecx, 0xfffffff0
call fcn.00450c89
mov al, bl
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
Function at 0x484a3e
Capabilities:
Get file version info

Disassembly:
sub esp, 0x10
push ebx
mov eax, ecx
mov dword [esp + 8], edx
push edi
lea ecx, [esp + 0x10]
mov dword [esp + 8], eax
push ecx
push eax
xor ebx, ebx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
test edi, edi
jne 0x484a68
xor al, al
jmp 0x484aea
push ebp
push esi
lea ebp, [edi + 1]
push ebp
call fcn.004eb681
mov esi, eax
pop ecx
test esi, esi
jne 0x484a7e
xor al, al
jmp 0x484ae8
push ebp
push ebx
push esi
call fcn.005071f0
add esp, 0xc
push esi
push edi
push ebx
push dword [esp + 0x1c]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x484adf
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x14]
push eax
push 0x56c2e4
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x484adf
mov ecx, dword [esp + 0x10]
movzx eax, word [ecx + 0xc]
push eax
movzx eax, word [ecx + 0xe]
push eax
movzx eax, word [ecx + 8]
push eax
movzx eax, word [ecx + 0xa]
push eax
push 0x56c2cc
push dword [esp + 0x28]
call fcn.0047c52d
add esp, 0x18
mov bl, 1
push esi
call fcn.0050332f
pop ecx
mov al, bl
pop esi
pop ebp
pop edi
pop ebx
add esp, 0x10
ret

Function at 0x484c6f
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
push dword [esp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x484c82
xor bl, bl
jmp 0x484c94
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
shr ebx, 4
and bl, 1
mov ecx, dword [esp + 8]
add ecx, 0xfffffff0
call fcn.00450c89
mov al, bl
pop ebx
ret

Function at 0x484da2
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x190]
sub esp, 0x210
mov eax, dword [0x58e700]
xor eax, ebp
mov dword [ebp + 0x18c], eax
and dword [ebp - 0x80], 0
xor eax, eax
push esi
push 0x206
push eax
mov word [ebp - 0x7c], ax
mov esi, ecx
lea eax, [ebp - 0x7a]
push eax
call fcn.005071f0
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
push 0x103
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jle 0x484e06
cmp word [ebp + eax*2 - 0x7e], 0x5c
je 0x484e06
push 0x56c378
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x7c]
mov ecx, esi
push eax
call fcn.00450bc2
mov ecx, dword [ebp + 0x18c]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00502673
lea esp, [ebp + 0x190]
pop ebp
ret
Function at 0x484e29
Capabilities:
Set registry value

Disassembly:
push 0xec
mov eax, 0x5335a0
call fcn.00507864
mov esi, ecx
xor ebx, ebx
xor eax, eax
mov dword [ebp - 4], ebx
push 0xc6
mov word [ebp - 0xd8], ax
lea eax, [ebp - 0xd6]
push ebx
push eax
call fcn.005071f0
add esp, 0xc
mov dword [ebp - 0xf8], ebx
lea ecx, [ebp - 0xf0]
push str.SoftwareMicrosoftWindows_NTCurrentVersionAppCompatFlagsLayers_
call fcn.00450d79
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
push 0x64
cmovae eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0xd8]
push 0x64
push eax
call fcn.00503401
add esp, 0x10
lea ecx, [ebp - 0xf8]
cmp dword [ebp - 0xdc], 8
lea eax, [ebp - 0xf0]
cmovae eax, dword [ebp - 0xf0]
push ecx
lea ecx, [ebp - 0xf4]
push ecx
push ebx
push 0x20106
push ebx
push ebx
push ebx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x484f03
lea eax, [ebp - 0xd8]
push eax
call ebx
add eax, eax
push eax
lea eax, [ebp - 0xd8]
push eax
push 1
push 0
push esi
push dword [ebp - 0xf4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0xf4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0xdc], 8
lea ecx, [ebp - 0xf8]
push ecx
lea ecx, [ebp - 0xf4]
push ecx
lea eax, [ebp - 0xf0]
cmovae eax, dword [ebp - 0xf0]
xor ecx, ecx
push ecx
push 0x20206
push ecx
push ecx
push ecx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x484f70
lea eax, [ebp - 0xd8]
push eax
call ebx
add eax, eax
push eax
lea eax, [ebp - 0xd8]
push eax
push 1
push 0
push esi
push dword [ebp - 0xf4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0xf4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
push 1
lea ecx, [ebp - 0xf0]
call fcn.004510af
push 0
push 1
lea ecx, [ebp + 8]
call fcn.004510af
call fcn.00507813
ret
Function at 0x485776
Capabilities:
Get common file path
Get explorer pid

Disassembly:
push 0xffffffffffffffff
push 0x533778
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x58e700]
xor eax, esp
mov dword [esp + 0x218], eax
push ebx
push ebp
push esi
mov eax, dword [0x58e700]
xor eax, esp
push eax
lea eax, [esp + 0x22c]
mov dword fs:[0], eax
mov esi, ecx
xor ebp, ebp
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], ebp
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebp
mov word [esi], ax
mov dword [esp + 0x234], ebp
mov dword [esp + 0x18], 1
call dword [sym.imp.USER32.dll_GetShellWindow]
lea ecx, [esp + 0x14]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push dword [esp + 0x14]
push ebp
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
test ebx, ebx
je 0x48587e
lea eax, [esp + 0x10]
push eax
push 0xb
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x485877
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
test eax, eax
je 0x48586d
xor eax, eax
push 0x206
mov word [esp + 0x24], ax
lea eax, [esp + 0x26]
push ebp
push eax
call fcn.005071f0
add esp, 0xc
lea eax, [esp + 0x20]
push eax
push ebp
push dword [esp + 0x18]
push 0x1c
push ebp
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea eax, [esp + 0x20]
push eax
call fcn.00450d55
pop ecx
push eax
lea eax, [esp + 0x24]
mov ecx, esi
push eax
call fcn.00450ce8
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov ecx, dword [esp + 0x22c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x218]
xor ecx, esp
call fcn.00502673
add esp, 0x228
ret
Function at 0x4858a7
Capabilities:
Query environment variable

Disassembly:
push 0x29c
mov eax, 0x5337e8
call fcn.00507864
mov esi, ecx
xor eax, eax
xor edi, edi
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push edi
push eax
call fcn.005071f0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0x56c4d4
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x485aab
push 0x56c4d0
mov edx, esi
lea ecx, [ebp - 0x278]
call fcn.00453c9b
pop ecx
lea eax, [ebp - 0x218]
mov dword [ebp - 4], edi
push eax
lea ecx, [ebp - 0x290]
call fcn.00450d79
xor ebx, ebx
lea ecx, [ebp - 0x230]
inc ebx
mov edx, eax
push 0x56c504
mov byte [ebp - 4], bl
call fcn.0046517b
pop ecx
push edi
push ebx
lea ecx, [ebp - 0x290]
mov byte [ebp - 4], 3
call fcn.004510af
push dword [ebp - 0x220]
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push edi
cmovae eax, dword [ebp - 0x230]
lea ecx, [ebp - 0x278]
push eax
call fcn.004608d0
cmp eax, 0xffffffff
jne 0x485a61
push 3
push edi
lea eax, [ebp - 0x2a8]
push eax
lea ecx, [ebp - 0x230]
call fcn.004607b3
push str.Program_Files_
mov edx, eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x260]
call fcn.0046517b
pop ecx
push edi
push ebx
lea ecx, [ebp - 0x2a8]
mov byte [ebp - 4], 6
call fcn.004510af
push dword [ebp - 0x250]
cmp dword [ebp - 0x24c], 8
lea eax, [ebp - 0x260]
push edi
cmovae eax, dword [ebp - 0x260]
lea ecx, [ebp - 0x278]
push eax
call fcn.004608d0
cmp eax, 0xffffffff
jne 0x485a54
push 3
push edi
lea eax, [ebp - 0x290]
push eax
lea ecx, [ebp - 0x230]
call fcn.004607b3
push str.Program_Files__x86__
mov edx, eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x248]
call fcn.0046517b
pop ecx
push edi
push ebx
lea ecx, [ebp - 0x290]
call fcn.004510af
push dword [ebp - 0x238]
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
push edi
cmovae eax, dword [ebp - 0x248]
lea ecx, [ebp - 0x278]
push eax
call fcn.004608d0
lea ecx, [ebp - 0x248]
push edi
push ebx
cmp eax, 0xffffffff
je 0x485a7f
call fcn.004510af
push edi
push ebx
lea ecx, [ebp - 0x260]
call fcn.004510af
push edi
push ebx
lea ecx, [ebp - 0x230]
call fcn.004510af
push edi
push ebx
lea ecx, [ebp - 0x278]
call fcn.004510af
mov al, bl
jmp 0x485aad
call fcn.004510af
push edi
push ebx
lea ecx, [ebp - 0x260]
call fcn.004510af
push edi
push ebx
lea ecx, [ebp - 0x230]
call fcn.004510af
push edi
push ebx
lea ecx, [ebp - 0x278]
call fcn.004510af
xor al, al
call fcn.00507813
ret
Function at 0x488ca6
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x533f33
mov eax, dword fs:[0]
push eax
sub esp, 0x448
mov eax, dword [0x58e700]
xor eax, esp
mov dword [esp + 0x440], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x58e700]
xor eax, esp
push eax
lea eax, [esp + 0x45c]
mov dword fs:[0], eax
mov ebx, edx
mov ebp, ecx
mov esi, dword [esp + 0x46c]
xor edi, edi
mov dword [esp + 0x464], edi
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], edi
call fcn.00450709
push eax
mov ecx, ebp
call fcn.00450537
mov dword [esp + 0x464], edi
xor eax, eax
mov edi, 0x206
mov word [esp + 0x24c], ax
push edi
push eax
lea eax, [esp + 0x256]
mov dword [esp + 0x24], 1
push eax
call fcn.005071f0
xor eax, eax
push edi
push eax
mov word [esp + 0x58], ax
lea eax, [esp + 0x5a]
push eax
call fcn.005071f0
add esp, 0x18
lea edi, [esp + 0x24]
xor eax, eax
push 8
pop ecx
rep stosd dword es:[edi], eax
xor ecx, ecx
lea eax, [esp + 0x18]
push eax
push ecx
push ecx
push 0x11
push ebx
mov dword [esp + 0x2c], ecx
call dword [sym.imp.SHELL32.dll_SHGetFolderLocation]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x24c]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x38], 0x51
mov dword [esp + 0x34], esi
mov dword [esp + 0x28], ebx
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderW]
test eax, eax
je 0x488dc3
lea ecx, [esp + 0x44]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x488dc3
lea eax, [esp + 0x44]
push eax
push 0x56d950
push ebp
call fcn.0047c52d
add esp, 0xc
mov eax, ebp
mov ecx, dword [esp + 0x45c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x440]
xor ecx, esp
call fcn.00502673
add esp, 0x454
ret
Function at 0x489775
Capabilities:
Decode data using base64 via dword translation table

Disassembly:
push 0xffffffffffffffff
push 0x534091
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x58e700]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
mov dword [esp + 0x20], edi
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov ebp, dword [esi + 0x10]
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], ebx
mov byte [edi], bl
mov dword [esp + 0x2c], ebx
push ebp
mov dword [esp + 0x1c], 1
call fcn.00453dff
test ebp, ebp
je 0x4898c3
cmp dword [esi + 0x14], 0x10
jb 0x4897dd
mov eax, dword [esi]
jmp 0x4897df
mov eax, esi
cmp dword [esi + 0x14], 0x10
movzx eax, byte [eax + ebx]
mov cl, byte [eax*4 + 0x590b00]
jb 0x4897f4
mov eax, dword [esi]
jmp 0x4897f6
mov eax, esi
movzx eax, byte [eax + ebx + 1]
shl cl, 2
mov al, byte [eax*4 + 0x590b00]
mov byte [esp + 0x17], al
sar al, 4
and al, 3
or al, cl
mov ecx, edi
mov byte [esp + 0x1c], al
push dword [esp + 0x1c]
mov byte [esp + 0x1a], al
push 1
call fcn.0045994a
add ebx, 2
cmp ebx, ebp
jae 0x489878
cmp dword [esi + 0x14], 0x10
jb 0x489836
mov eax, dword [esi]
jmp 0x489838
mov eax, esi
cmp byte [eax + ebx], 0x3d
je 0x4898c3
cmp dword [esi + 0x14], 0x10
jb 0x48984c
mov eax, dword [esi]
jmp 0x48984e
mov eax, esi
movzx eax, byte [eax + ebx]
mov cl, byte [esp + 0x17]
shl cl, 4
mov al, byte [eax*4 + 0x590b00]
mov byte [esp + 0x16], al
sar al, 2
and al, 0xf
or al, cl
mov ecx, edi
movzx eax, al
push eax
push 1
call fcn.0045994a
inc ebx
cmp ebx, ebp
jae 0x4898ba
cmp dword [esi + 0x14], 0x10
jb 0x489887
mov eax, dword [esi]
jmp 0x489889
mov eax, esi
cmp byte [eax + ebx], 0x3d
je 0x4898c3
cmp dword [esi + 0x14], 0x10
jb 0x489899
mov eax, dword [esi]
jmp 0x48989b
mov eax, esi
movzx eax, byte [eax + ebx]
mov cl, byte [esp + 0x16]
shl cl, 6
or cl, byte [eax*4 + 0x590b00]
movzx eax, cl
mov ecx, edi
push eax
push 1
call fcn.0045994a
inc ebx
cmp ebx, ebp
jb 0x4897d3
mov eax, edi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
Function at 0x489d9c
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push edi
test ebx, ebx
je 0x489e46
mov edi, dword [esp + 0xc]
mov eax, dword [edi + 4]
sub eax, dword [edi]
cmp eax, 0x40
jne 0x489e46
push ebp
push esi
push ecx
mov ecx, ebx
call fcn.0048a0a5
xor esi, esi
mov ecx, dword [edi]
movzx edx, byte [esi + ecx]
movzx eax, byte [esi + ecx + 1]
shl edx, 8
or edx, eax
movzx eax, byte [esi + ecx + 2]
shl edx, 8
or edx, eax
movzx eax, byte [esi + ecx + 3]
shl edx, 8
or edx, eax
mov eax, dword [ebx]
mov dword [esi + eax], edx
add esi, 4
cmp esi, 0x40
jl 0x489dc8
push 4
pop ebp
mov edi, dword [ebx]
mov ecx, dword [edi + ebp]
mov esi, ecx
mov edx, dword [edi + ebp + 0x34]
mov eax, ecx
rol esi, 0xe
ror eax, 7
xor esi, eax
shr ecx, 3
xor esi, ecx
mov eax, edx
mov ecx, edx
rol eax, 0xd
rol ecx, 0xf
xor ecx, eax
shr edx, 0xa
xor ecx, edx
add esi, ecx
add esi, dword [edi + ebp - 4]
add esi, dword [edi + ebp + 0x20]
mov dword [edi + ebp + 0x3c], esi
add ebp, 4
cmp ebp, 0xc4
jl 0x489dfc
pop esi
mov al, 1
pop ebp
jmp 0x489e48
xor al, al
pop edi
pop ebx
ret 8

Function at 0x489e4d
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 8]
sub esp, 0x10
push ebx
test ecx, ecx
je 0x489f70
mov eax, dword [ecx + 4]
sub eax, dword [ecx]
and eax, 0xfffffffc
cmp eax, 0x20
jne 0x489f70
mov ebx, dword [esp + 0x18]
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
and eax, 0xfffffffc
cmp eax, 0x100
jne 0x489f70
push ebp
push esi
push edi
push ecx
lea ecx, [esp + 0x18]
call fcn.0048a05e
and dword [esp + 0x10], 0
mov edi, dword [esp + 0x14]
mov edx, dword [edi + 0x10]
mov ebp, edx
mov esi, dword [edi + 0x18]
mov eax, edx
rol eax, 7
mov ecx, edx
ror ebp, 0xb
not ecx
xor ebp, eax
and ecx, esi
mov eax, edx
ror eax, 6
xor ebp, eax
mov eax, dword [edi + 0x14]
and eax, edx
xor ecx, eax
mov eax, dword [0x595ba0]
add ebp, ecx
mov ecx, dword [esp + 0x10]
add ebp, dword [ecx + eax]
mov eax, dword [ebx]
add ebp, dword [ecx + eax]
mov ecx, dword [esp + 0x14]
mov ebx, dword [ecx]
add ebp, dword [ecx + 0x1c]
mov edx, dword [ecx + 8]
mov edi, dword [ecx + 4]
mov dword [ecx + 0x1c], esi
mov eax, dword [ecx + 0x14]
mov dword [ecx + 0x18], eax
mov eax, dword [ecx + 0x10]
mov dword [ecx + 0x14], eax
mov eax, dword [ecx + 0xc]
add eax, ebp
mov dword [ecx + 0x10], eax
mov eax, dword [ecx + 8]
mov dword [ecx + 0xc], eax
mov eax, dword [ecx + 4]
mov dword [ecx + 8], eax
mov eax, dword [ecx]
mov dword [ecx + 4], eax
mov ecx, ebx
ror ecx, 0xd
mov eax, ebx
rol eax, 0xa
xor ecx, eax
mov eax, ebx
ror eax, 2
xor ecx, eax
mov eax, edi
xor eax, edx
and edi, edx
and eax, ebx
add ecx, ebp
mov ebx, dword [esp + 0x24]
xor eax, edi
mov edi, dword [esp + 0x14]
add eax, ecx
mov dword [edi], eax
mov eax, dword [esp + 0x10]
add eax, 4
mov dword [esp + 0x10], eax
cmp eax, 0x100
jl 0x489e9b
mov esi, dword [esp + 0x28]
xor edx, edx
mov ecx, dword [esi]
mov eax, dword [edx + edi]
add dword [edx + ecx], eax
add edx, 4
cmp edx, 0x20
jl 0x489f52
push edi
call fcn.0050266e
pop ecx
pop edi
pop esi
mov al, 1
pop ebp
jmp 0x489f72
xor al, al
pop ebx
add esp, 0x10
ret 8
Function at 0x48a765
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x198
mov eax, dword [0x58e700]
xor eax, esp
mov dword [esp + 0x194], eax
lea eax, [esp]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x48a7aa
mov eax, dword [esp]
cmp al, 2
jne 0x48a7a4
shr eax, 8
cmp al, 2
jne 0x48a7a4
dec al
jmp 0x48a7ac
call dword [sym.imp.WS2_32.dll_WSACleanup]
xor al, al
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.00502673
mov esp, ebp
pop ebp
ret