joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48626d
Capabilities:
Encode data using xor

Disassembly:
push 0x30
mov eax, 0x51a1c9
call fcn.004b9729
mov ecx, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x3c], esi
mov edi, ecx
mov dword [ebp - 0x34], esi
xor eax, eax
xor edx, edx
inc edx
mov ebx, esi
mov dword [ebp - 4], edx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ecx], esi
mov dword [ecx + 4], esi
mov dword [ecx + 8], esi
xor eax, eax
mov dword [ebp - 0x3c], edx
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
xor eax, eax
lea edi, [ebp - 0x2c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 3
mov ecx, dword [eax - 0xc]
cmp ecx, 0x35
jl 0x486310
lea eax, [ecx - 0x35]
push eax
push 0x23
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp + 0xc]
call fcn.00468682
mov esi, dword [eax]
push esi
mov byte [ebp - 4], 4
call fcn.00468ac1
pop ecx
push eax
push esi
lea ecx, [ebp + 0xc]
call fcn.004689b5
mov ecx, dword [ebp - 0x20]
mov byte [ebp - 4], 3
lea ecx, [ecx - 0x10]
call fcn.0040ce73
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x1c]
push ecx
push ecx
mov ecx, esp
push eax
call fcn.00466cf4
call fcn.004880ad
mov eax, dword [ebp - 0x1c]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x18]
mov esi, ecx
sub esi, eax
je 0x48636e
push dword [ebp - 0x30]
and dword [ebp - 0x28], 0
lea eax, [ecx - 4]
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.00408122
push dword [ebp - 0x30]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
call fcn.0040899f
lea eax, [ebp - 0x2c]
mov ecx, esp
push eax
call fcn.0040a384
call fcn.0048548b
add esp, 0xc
add eax, 4
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x1c]
xor edi, edi
sub esi, dword [ebp - 0x34]
je 0x4863a7
movzx ecx, byte [eax + edi]
movsx ax, byte [ebx + 0x5b2084]
xor cx, ax
movzx eax, cx
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
call fcn.0046b8a2
inc ebx
xor eax, eax
cmp ebx, 0x1e
cmovge ebx, eax
mov eax, dword [ebp - 0x1c]
inc edi
cmp edi, esi
jb 0x486375
mov ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x20]
and dword [ebp - 0x20], 0
push eax
call fcn.0046b8a2
lea ecx, [ebp - 0x2c]
call fcn.0040ee97
lea ecx, [ebp - 0x1c]
call fcn.0040ee97
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.0040ce73
mov eax, dword [ebp - 0x38]
call fcn.004b96d8
ret
Function at 0x4863db
Capabilities:
Check if file exists
Delete file

Disassembly:
push 0x10
mov eax, 0x51a20e
call fcn.004b96f6
xor ebx, ebx
mov dword [ebp - 0x10], ebx
call fcn.0040cacd
push eax
lea ecx, [ebp - 0x10]
call fcn.00466c6a
mov eax, dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], ebx
push dword [eax]
call fcn.0046e1ba
mov ecx, dword [eax]
mov eax, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
push dword [eax]
call fcn.00485ca1
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.0040ce73
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x48648c
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x48648c
push ebx
push ebx
push ecx
mov ecx, esp
push str.T6yywB9cCsMwgodlVkPOHwejMqtikqvJZT8aA0EKjQ2exsyPmUVFHcjAz9pEgMOGTV8ITASBT8bGyMaBAwYCRckZmApBRMjHzFuBSwtDhIsJAsYYBUGJiFkMjo2cWhOTc4E24uDisTFRciPjoAAT84Ij89FGBsGCEbLnUwZTsZYzcaehF0N3s5cAJ5IgIkK2RkDmxmahcXLTUCFmg3bwkCej4GEypyKxh_JDUPFBIZMGNkEzISNgFlESdsACl5HxAeHwUUETNkGyZlCwc5NAQdfxIYdBIUIj0wAAAAvwBT3gnE_EIwG13192NU
call fcn.00466d59
lea eax, [ebp - 0x1c]
push eax
call fcn.0048626d
pop ecx
pop ecx
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.0046929c
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.004864e8
add esp, 0xc
lea ecx, [ebp - 0x1c]
mov esi, eax
call fcn.004690f8
test esi, esi
mov esi, dword [ebp - 0x10]
sete bl
jmp 0x4864d8
push ebx
push ecx
mov ecx, esp
push str.m7r0xF9yKM0sCPPqb4Z5p61jVsRDGvVekptbDYnPxofdhcZEBZjAw4dFjs2DXcccC4GHWFnZQN5DDc2DiBiFxJNzFoYRE3MzgoCSkzfh0zCB8DJxYgdzEFCxFmBGo9KQcALwsLHSQSDwY3GmQkFGwIEB4sETNtCjwZOm4YNxsXZxYkJTkCQERDA0iYTNkMzN8NSwZLx4gLGE1JjI0OiA_AwtpBS8cZAUqFB48Hx08JmNtCBc1dDYHESQpZg8EETIAGN7PRkZARk8CwIrNBQsNx0Ge2wLFQN3I3ciBCBsfgMoDHkONxsvPX0qDjdiFwoLOi4dAicKLDcHMgALHz4EOgYEBTcSPgVNTIvag0jOyoyPghjIhVDgk3GSc1DGU9DRAOFRYNdB5jFi1kGD8rYzUYHRR7BT4AAAEbMeCp_r_54pbSetb97D
call fcn.00466d59
lea eax, [ebp - 0x1c]
push eax
call fcn.0048626d
pop ecx
pop ecx
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.0046929c
push eax
lea ecx, [ebp - 0x10]
call fcn.0048d438
lea ecx, [ebp - 0x1c]
call fcn.004690f8
mov esi, dword [ebp - 0x10]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4864d8
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ebx, eax
lea ecx, [esi - 0x10]
call fcn.0040ce73
mov eax, ebx
call fcn.004b96c4
ret
Function at 0x4868e1
Capabilities:
Check if file exists

Disassembly:
push 0x18
mov eax, 0x51a2f3
call fcn.004b9729
and dword [ebp - 4], 0
lea ebx, [ecx + 0x38]
mov dword [ebp - 0x1c], ecx
mov ecx, ebx
mov dword [ebp - 0x24], 0x484e42
mov byte [ebp - 0x1f], 1
call fcn.00498ebb
push ecx
lea eax, [ebp - 0x24]
mov ecx, ebx
push eax
call fcn.00481aac
mov esi, dword [ebp + 8]
jmp 0x486998
push dword [esi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x486995
push 0
push ecx
mov ecx, esp
push str.kKCriNOeo5a8V3rofnXSYGJrlvzxZb9Y_PkaAIUFmcQGzYFMjI4EmMDHAJtFjkgezMZAGNiZBMEChMAdAMHKw4fABcuexkBOzEPCioiO2MmMRA5Z2MkBGcdNSE_Ox4APxQ5EgM1ZAE8InoCMBUDaxA_ISB7cjMYPW0cOzIAPDlsLh45PwI6Hh1xfWIAhNvFAonJSw2ImEbFT42GRIDMg0iZh4pfwoSIjMMPAcBBjEeLSIiLDcacjoEg8YjUcYhgPD3kAAACpxcSwFBpoH1OSUuHqfa
call fcn.00466d59
lea eax, [ebp - 0x24]
push eax
call fcn.0048626d
pop ecx
pop ecx
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.0046929c
push eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x14], esp
mov dword [ebp - 0x18], ecx
and dword [ecx + 0x10], 0
push ebx
mov byte [ebp - 4], 2
call fcn.00498d5c
mov eax, dword [esi]
push ecx
sub eax, 0x10
mov byte [ebp - 4], 3
mov edi, esp
push eax
call fcn.00467063
add eax, 0x10
mov dword [edi], eax
pop ecx
mov byte [ebp - 4], 1
call fcn.00487de6
add esp, 0x20
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.004690f8
add esi, 4
cmp esi, dword [ebp + 0xc]
jne 0x48691a
lea ecx, [ebp + 8]
call fcn.00498f4f
call fcn.004b96d8
ret 0xc

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

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x486a54
test al, 0x10
je 0x486a54
xor eax, eax
inc eax
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x487d16
Capabilities:
Check if file exists

Disassembly:
push 0x18
mov eax, 0x51a667
call fcn.004b9729
and dword [ebp - 4], 0
lea ebx, [ecx + 0x38]
mov dword [ebp - 0x1c], ecx
mov ecx, ebx
mov dword [ebp - 0x24], 0x484e42
mov byte [ebp - 0x1f], 0
call fcn.00498ebb
push ecx
lea eax, [ebp - 0x24]
mov ecx, ebx
push eax
call fcn.00481aac
mov esi, dword [ebp + 8]
jmp 0x487dcd
push dword [esi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x487dca
push 0
push ecx
mov ecx, esp
push str.kKCriNOeo5a8V3rofnXSYGJrlvzxZb9Y_PkaAIUFmcQGzYFMjI4EmMDHAJtFjkgezMZAGNiZBMEChMAdAMHKw4fABcuexkBOzEPCioiO2MmMRA5Z2MkBGcdNSE_Ox4APxQ5EgM1ZAE8InoCMBUDaxA_ISB7cjMYPW0cOzIAPDlsLh45PwI6Hh1xfWIAhNvFAonJSw2ImEbFT42GRIDMg0iZh4pfwoSIjMMPAcBBjEeLSIiLDcacjoEg8YjUcYhgPD3kAAACpxcSwFBpoH1OSUuHqfa
call fcn.00466d59
lea eax, [ebp - 0x24]
push eax
call fcn.0048626d
pop ecx
pop ecx
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.0046929c
push eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x14], esp
mov dword [ebp - 0x18], ecx
and dword [ecx + 0x10], 0
push ebx
mov byte [ebp - 4], 2
call fcn.00498d5c
mov eax, dword [esi]
push ecx
sub eax, 0x10
mov byte [ebp - 4], 3
mov edi, esp
push eax
call fcn.00467063
add eax, 0x10
mov dword [edi], eax
pop ecx
mov byte [ebp - 4], 1
call fcn.00487de6
add esp, 0x20
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.004690f8
add esi, 4
cmp esi, dword [ebp + 0xc]
jne 0x487d4f
lea ecx, [ebp + 8]
call fcn.00498f4f
call fcn.004b96d8
ret 0xc
Function at 0x4880ad
Capabilities:
Decode data using base64 via winapi

Disassembly:
push 0xc
mov eax, 0x51a73c
call fcn.004b9729
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x18], esi
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [eax - 0xc], ebx
je 0x488128
push ebx
push ebx
lea ecx, [ebp - 0x14]
push ecx
push ebx
push 1
push dword [eax - 0xc]
push eax
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
jne 0x4880ea
mov eax, dword [esi]
mov dword [esi + 4], eax
jmp 0x488120
push dword [ebp - 0x14]
mov ecx, esi
call fcn.00414b4d
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
push ebx
push ebx
mov esi, dword [edi - 0xc]
push eax
push ebx
call fcn.00410335
push eax
push 1
push esi
push edi
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
jne 0x488128
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx]
mov dword [ecx + 4], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0040ce73
mov eax, ebx
call fcn.004b96d8
ret

Function at 0x48813b
Capabilities:
Enumerate processes

Disassembly:
push 0x238
mov eax, 0x51a76c
call fcn.004b9729
mov ebx, dword [ebp + 0xc]
xor esi, esi
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x244], eax
mov eax, dword [ebx]
push 2
mov dword [ebx + 4], eax
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x4881eb
lea eax, [ebp - 0x23c]
mov dword [ebp - 0x23c], 0x22c
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x4881eb
lea eax, [ebp - 0x218]
mov dword [ebp - 0x240], esi
push eax
lea ecx, [ebp - 0x240]
call fcn.00466d59
push dword [ebp - 0x244]
lea ecx, [ebp - 0x240]
mov dword [ebp - 4], esi
call fcn.004709b6
test eax, eax
jne 0x4881c5
lea eax, [ebp - 0x234]
mov ecx, ebx
push eax
call fcn.00499852
mov ecx, dword [ebp - 0x240]
or dword [ebp - 4], 0xffffffff
lea ecx, [ecx - 0x10]
call fcn.0040ce73
lea eax, [ebp - 0x23c]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x488187
xor esi, esi
inc esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
call fcn.004b96d8
ret
Function at 0x488dcd
Capabilities:
Check if file exists

Disassembly:
push 0xc
mov eax, 0x51aa2c
call fcn.004b96f6
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x10], edi
call fcn.0040cacd
push eax
lea ecx, [ebp - 0x10]
call fcn.00466c6a
push edi
lea eax, [ebp - 0x10]
mov dword [ebp - 4], edi
push eax
push 0x26
call fcn.00489ef2
add esp, 0xc
mov dword [ebp - 0x14], edi
call fcn.0040cacd
push eax
lea ecx, [ebp - 0x14]
call fcn.00466c6a
push dword [0x5b6668]
mov ebx, dword [ebp - 0x10]
lea ecx, [ebp - 0x14]
push ebx
mov byte [ebp - 4], 1
call fcn.00485ca1
mov edi, dword [ebp - 0x14]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x488e48
push edi
call fcn.00468ac1
pop ecx
mov ecx, dword [ebp + 8]
push eax
push edi
call fcn.004689b5
jmp 0x488e89
mov eax, dword [esi + 0xc]
sub eax, 0x10
push eax
call fcn.00467063
add eax, 0x10
pop ecx
mov dword [ebp - 0x18], eax
push dword [0x5b6668]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.004705b2
mov esi, dword [ebp - 0x18]
push esi
call fcn.00468ac1
pop ecx
mov ecx, dword [ebp + 8]
push eax
push esi
call fcn.004689b5
lea ecx, [esi - 0x10]
call fcn.0040ce73
mov eax, dword [ebp + 8]
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
lea ecx, [edi - 0x10]
setne byte [ebp + 0xb]
call fcn.0040ce73
lea ecx, [ebx - 0x10]
call fcn.0040ce73
mov al, byte [ebp + 0xb]
call fcn.004b96c4
ret 4
Function at 0x48ad65
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x28
mov eax, 0x51b1c8
call fcn.004b9729
mov eax, dword [ebp + 0x10]
lea edi, [ebp - 0x30]
mov edx, dword [ebp + 8]
xor ebx, ebx
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x34], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
push dword [ebp + 0x14]
lea eax, [ebp - 0x24]
mov dword [ebp - 4], ebx
push eax
lea eax, [ebp - 0x30]
mov dword [ebp - 0x24], 0x20019
push eax
push ecx
push edx
call fcn.0048cfa7
add esp, 0x14
test eax, eax
jne 0x48ae76
mov esi, ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], 0x400
mov dword [ebp - 0x14], ebx
call fcn.0040cacd
push eax
lea ecx, [ebp - 0x14]
call fcn.00466c6a
mov byte [ebp - 4], 1
lea eax, [ebp - 0x1c]
push eax
push ebx
push ebx
push ebx
lea eax, [ebp - 0x20]
push eax
push ebx
push esi
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
je 0x48ae61
mov esi, dword [ebp - 0x20]
lea ecx, [ebp - 0x14]
push esi
call fcn.004688f2
push esi
lea ecx, [ebp - 0x14]
mov edi, eax
call fcn.0046896b
mov esi, dword [ebp - 0x24]
lea eax, [ebp - 0x1c]
push eax
push ebx
push ebx
push ebx
lea eax, [ebp - 0x20]
push eax
push edi
push esi
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.004744de
mov ecx, dword [ebp - 0x34]
lea eax, [ebp - 0x14]
push eax
call fcn.004811b4
mov edi, 0x53e978
push edi
call fcn.00468ac1
pop ecx
push eax
push edi
lea ecx, [ebp - 0x14]
call fcn.004689b5
inc esi
mov dword [ebp - 0x20], 0x400
mov dword [ebp - 0x24], esi
jmp 0x48add8
lea ecx, [ebp - 0x30]
call fcn.00470978
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.0040ce73
jmp 0x48ae78
mov ebx, eax
lea ecx, [ebp - 0x30]
call fcn.00470978
mov eax, ebx
call fcn.004b96d8
ret
Function at 0x48b717
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x1c
mov eax, 0x51b3ef
call fcn.004b9729
mov eax, dword [ebp + 0x10]
lea edi, [ebp - 0x24]
mov edx, dword [ebp + 8]
xor esi, esi
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x28], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
push dword [ebp + 0x14]
lea eax, [ebp - 0x18]
mov dword [ebp - 4], esi
push eax
lea eax, [ebp - 0x24]
mov dword [ebp - 0x18], 0x20019
push eax
push ecx
push edx
call fcn.0048cfa7
add esp, 0x14
test eax, eax
jne 0x48b805
mov edi, esi
mov dword [ebp - 0x18], 0x400
mov dword [ebp - 0x14], esi
call fcn.0040cacd
push eax
lea ecx, [ebp - 0x14]
call fcn.00466c6a
push dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.004688f2
push esi
push esi
push esi
push esi
lea ecx, [ebp - 0x18]
push ecx
push eax
push esi
jmp 0x48b7d6
push dword [ebp - 0x18]
call fcn.004744de
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x14]
push eax
call fcn.004811b4
lea ecx, [ebp - 0x14]
call fcn.00467484
mov eax, 0x400
lea ecx, [ebp - 0x14]
push eax
inc edi
mov dword [ebp - 0x18], eax
call fcn.004688f2
push esi
push esi
push esi
push esi
lea ecx, [ebp - 0x18]
push ecx
push eax
push edi
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
lea ecx, [ebp - 0x14]
cmp eax, 0x103
jne 0x48b79e
push 0xffffffffffffffff
call fcn.004744de
lea ecx, [ebp - 0x24]
call fcn.00470978
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.0040ce73
jmp 0x48b807
mov esi, eax
lea ecx, [ebp - 0x24]
call fcn.00470978
mov eax, esi
call fcn.004b96d8
ret

Function at 0x48c769
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x5b22e0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, 0x114
lea eax, [ebp - 0x118]
push esi
push 0
push eax
call fcn.004bd8d0
add esp, 0xc
mov dword [ebp - 0x118], esi
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
pop esi
test eax, eax
je 0x48c7c0
cmp dword [ebp - 0x114], 5
jne 0x48c7c0
xor eax, eax
inc eax
cmp dword [ebp - 0x110], eax
jae 0x48c7c2
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b9652
mov esp, ebp
pop ebp
ret
Function at 0x48d141
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x24
mov eax, 0x51b969
call fcn.004b9729
mov eax, dword [ebp + 0xc]
lea edi, [ebp - 0x28]
mov edx, dword [ebp + 8]
xor esi, esi
mov ecx, dword [ebp + 0x14]
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x1c], eax
xor eax, eax
stosd dword es:[edi], eax
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
mov eax, dword [ecx]
mov dword [ecx + 4], eax
lea eax, [ebp - 0x18]
push 1
push eax
lea eax, [ebp - 0x28]
mov dword [ebp - 4], esi
push eax
push dword [ebp - 0x14]
mov dword [ebp - 0x18], 0x20019
push edx
call fcn.0048cfa7
mov edi, eax
add esp, 0x14
test edi, edi
jne 0x48d1f4
lea eax, [ebp - 0x18]
push eax
push esi
push dword [ebp - 0x1c]
push esi
push ebx
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test edi, edi
jne 0x48d1ec
push dword [ebp - 0x18]
mov ecx, dword [ebp - 0x2c]
call fcn.00414b4d
mov ecx, dword [ebp - 0x2c]
push esi
call fcn.00410335
lea ecx, [ebp - 0x18]
push ecx
push eax
push dword [ebp - 0x1c]
push esi
push ebx
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test edi, edi
je 0x48d25b
lea ecx, [ebp - 0x28]
call fcn.00470978
cmp byte [ebp + 0x1c], 0
jne 0x48d26d
mov eax, dword [ebp - 0x30]
lea ecx, [ebp - 0x28]
push 0x20219
push dword [ebp - 0x14]
push dword [eax]
call fcn.00473dc4
mov edi, eax
test edi, edi
jne 0x48d26d
lea eax, [ebp - 0x14]
push eax
push esi
push dword [ebp - 0x1c]
push esi
push ebx
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test edi, edi
jne 0x48d265
push dword [ebp - 0x14]
mov ecx, dword [ebp - 0x2c]
call fcn.00414b4d
mov ecx, dword [ebp - 0x2c]
push esi
call fcn.00410335
lea ecx, [ebp - 0x14]
push ecx
push eax
push dword [ebp - 0x1c]
push esi
push ebx
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test edi, edi
jne 0x48d265
lea ecx, [ebp - 0x28]
call fcn.00470978
jmp 0x48d26f
lea ecx, [ebp - 0x28]
call fcn.00470978
mov esi, edi
lea ecx, [ebp - 0x28]
call fcn.00470978
mov eax, esi
call fcn.004b96d8
ret
Function at 0x498333
Capabilities:
Set registry value

Disassembly:
push 0x18
mov eax, 0x51d68f
call fcn.004b96f6
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x24], eax
xor eax, eax
lea edi, [ebp - 0x20]
stosd dword es:[edi], eax
xor edx, edx
mov dword [ebp - 4], edx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edx
push dword [ebp + 0x24]
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x14], 0x20006
push eax
push ecx
push ebx
call fcn.0048cfa7
mov edi, dword [ebp - 0x10]
mov esi, eax
add esp, 0x14
test esi, esi
je 0x4983a6
cmp byte [ebp + 0x28], 0
je 0x4983a2
push dword [ebp + 0x24]
push edi
push ebx
call fcn.00485ec2
add esp, 0xc
mov esi, eax
test esi, esi
jne 0x4983ed
push dword [ebp + 0x24]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x20]
push eax
push edi
push ebx
call fcn.0048cfa7
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x4983ed
mov esi, dword [ebp + 0x18]
lea ecx, [ebp + 0x14]
sub esi, dword [ebp + 0x14]
push eax
call fcn.00410335
push esi
push eax
push dword [ebp + 0x20]
push 0
push dword [ebp - 0x24]
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea ecx, [ebp - 0x20]
mov esi, eax
call fcn.00470978
lea ecx, [ebp - 0x20]
call fcn.00470978
lea ecx, [ebp + 0x14]
call fcn.0040ee97
mov eax, esi
call fcn.004b96c4
ret
Function at 0x499c89
Capabilities:
Encode data using xor

Disassembly:
push 0x30
mov eax, 0x51d87a
call fcn.004b9729
mov ecx, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x3c], esi
mov edi, ecx
mov dword [ebp - 0x34], esi
xor eax, eax
xor edx, edx
inc edx
mov ebx, esi
mov dword [ebp - 4], edx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ecx], esi
mov dword [ecx + 4], esi
mov dword [ecx + 8], esi
xor eax, eax
mov dword [ebp - 0x3c], edx
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
xor eax, eax
lea edi, [ebp - 0x2c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 3
mov ecx, dword [eax - 0xc]
cmp ecx, 0x35
jl 0x499d2c
lea eax, [ecx - 0x35]
push eax
push 0x23
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp + 0xc]
call fcn.00468682
mov esi, dword [eax]
push esi
mov byte [ebp - 4], 4
call fcn.00468ac1
pop ecx
push eax
push esi
lea ecx, [ebp + 0xc]
call fcn.004689b5
mov ecx, dword [ebp - 0x20]
mov byte [ebp - 4], 3
lea ecx, [ecx - 0x10]
call fcn.0040ce73
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x1c]
push ecx
push ecx
mov ecx, esp
push eax
call fcn.00466cf4
call fcn.00499df7
mov eax, dword [ebp - 0x1c]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x18]
mov esi, ecx
sub esi, eax
je 0x499d8a
push dword [ebp - 0x30]
and dword [ebp - 0x28], 0
lea eax, [ecx - 4]
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.00408122
push dword [ebp - 0x30]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
call fcn.0040899f
lea eax, [ebp - 0x2c]
mov ecx, esp
push eax
call fcn.0040a384
call fcn.00499c49
add esp, 0xc
add eax, 4
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x1c]
xor edi, edi
sub esi, dword [ebp - 0x34]
je 0x499dc3
movzx ecx, byte [eax + edi]
movsx ax, byte [ebx + str.BUUGUSBXSSPZVZOWSYFNCITIRTWRPI]
xor cx, ax
movzx eax, cx
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
call fcn.0046b8a2
inc ebx
xor eax, eax
cmp ebx, 0x1e
cmovge ebx, eax
mov eax, dword [ebp - 0x1c]
inc edi
cmp edi, esi
jb 0x499d91
mov ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x20]
and dword [ebp - 0x20], 0
push eax
call fcn.0046b8a2
lea ecx, [ebp - 0x2c]
call fcn.0040ee97
lea ecx, [ebp - 0x1c]
call fcn.0040ee97
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.0040ce73
mov eax, dword [ebp - 0x38]
call fcn.004b96d8
ret
Function at 0x499df7
Capabilities:
Decode data using base64 via winapi

Disassembly:
push 0xc
mov eax, 0x51d8a7
call fcn.004b9729
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x18], esi
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [eax - 0xc], ebx
je 0x499e72
push ebx
push ebx
lea ecx, [ebp - 0x14]
push ecx
push ebx
push 1
push dword [eax - 0xc]
push eax
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
jne 0x499e34
mov eax, dword [esi]
mov dword [esi + 4], eax
jmp 0x499e6a
push dword [ebp - 0x14]
mov ecx, esi
call fcn.00414b4d
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
push ebx
push ebx
mov esi, dword [edi - 0xc]
push eax
push ebx
call fcn.00410335
push eax
push 1
push esi
push edi
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
jne 0x499e72
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx]
mov dword [ecx + 4], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0040ce73
mov eax, ebx
call fcn.004b96d8
ret

Function at 0x4c8a87
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret