joyce8/EMBER2024-capa huggingface dataset:
Function at 0x479d63
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x254
mov eax, dword [0x79cf48]
xor eax, esp
mov dword [esp + 0x250], eax
push ebx
push esi
push edi
push 0
push 0xf
call dword [sym.imp.KERNEL32.DLL_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
jne 0x479d98
xor al, al
jmp 0x479e2f
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x22c
xor ebx, ebx
push eax
inc ebx
push esi
mov dword [esp + 0x14], ebx
call dword [sym.imp.KERNEL32.DLL_Process32FirstW]
jmp 0x479e1f
lea edx, [esp + 0x34]
lea ecx, [esp + 0x244]
call fcn.004d8418
mov edx, str.CiscoCollabHost.exe
mov ecx, eax
call fcn.0047bec8
lea ecx, [esp + 0x244]
mov bl, al
call fcn.0045037b
test bl, bl
je 0x479e0f
push dword [esp + 0x18]
push 0
push 1
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
mov edi, eax
test edi, edi
je 0x479e0f
push 0
push edi
call dword [sym.imp.KERNEL32.DLL_TerminateProcess]
mov ebx, eax
push edi
mov dword [esp + 0x10], ebx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
jmp 0x479e13
mov ebx, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_Process32NextW]
test eax, eax
jne 0x479db5
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
test ebx, ebx
setne al
mov ecx, dword [esp + 0x25c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00628cc2
mov esp, ebp
pop ebp
ret

Function at 0x47a667
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, ecx
mov dword [esp + 0x10], esi
push edi
test eax, eax
jg 0x47a692
jl 0x47a689
test ebx, ebx
jne 0x47a692
xor eax, eax
xor edx, edx
jmp 0x47a753
cmp dword [esi + 0x38], 0
je 0x47a6a7
push eax
push ebx
push dword [ebp + 8]
call fcn.0044fa84
jmp 0x47a753
mov eax, dword [esi + 0x1c]
mov edi, ebx
mov ecx, dword [eax]
test ecx, ecx
je 0x47a6eb
mov eax, dword [esi + 0x2c]
cmp dword [eax], 0
jbe 0x47a6eb
cmp dword [eax], ebx
mov esi, ebx
cmovb esi, dword [eax]
push esi
push ecx
push dword [ebp + 8]
call fcn.0063e5a0
mov ecx, dword [esp + 0x20]
sub edi, esi
mov eax, dword [ebp + 8]
add esp, 0xc
add eax, esi
mov dword [esp + 0x10], eax
mov eax, dword [ecx + 0x2c]
sub dword [eax], esi
mov eax, dword [ecx + 0x1c]
add dword [eax], esi
mov esi, ecx
jmp 0x47a6f2
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], eax
cmp dword [esi + 0x4c], 0
je 0x47a749
mov ecx, esi
call fcn.0047b7c6
mov ecx, dword [esp + 0x10]
mov edx, edi
mov eax, 0xfff
cmp edi, eax
jbe 0x47a734
push dword [esi + 0x4c]
push eax
push 1
push ecx
call fcn.0064f15b
mov ecx, dword [esp + 0x20]
sub edi, eax
add ecx, eax
add esp, 0x10
mov dword [esp + 0x10], ecx
mov edx, edi
cmp eax, 0xfff
jne 0x47a749
jmp 0x47a705
test edx, edx
je 0x47a749
push dword [esi + 0x4c]
push edi
push 1
push ecx
call fcn.0064f15b
add esp, 0x10
sub edi, eax
mov edx, dword [ebp + 0x10]
sub ebx, edi
mov eax, ebx
sbb edx, 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x483c2a
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push 0x328
mov eax, 0x67b6e3
call fcn.006724e0
mov dword [ebp - 0x31c], ecx
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x88]
xorps xmm0, xmm0
mov dword [ebp - 0x318], eax
push eax
movlpd qword [ebp - 0x314], xmm0
call fcn.0044fcc7
and dword [ebp - 4], 0
lea ecx, [ebp - 0x70]
push 0x7318a8
call fcn.0044fc8a
lea ecx, [ebp - 0x88]
mov dword [ebp - 4], 1
push ecx
lea eax, [ebp - 0x58]
push eax
push ecx
lea ecx, [ebp - 0x328]
call fcn.00483ed8
push ecx
lea edx, [ebp - 0x328]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.00483f52
pop ecx
lea ecx, [ebp - 0x328]
call fcn.00468e40
push 0x44dadf
push 2
push 0x18
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 5
push eax
call fcn.00628ed9
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x308]
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push ecx
push eax
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
mov dword [ebp - 0x30c], eax
cmp eax, 0xffffffff
je 0x483e3c
lea ecx, [ebp - 0x308]
push ecx
push eax
call dword [sym.imp.KERNEL32.DLL_FindNextFileW]
mov esi, dword [ebp - 0x310]
mov edi, dword [ebp - 0x314]
test eax, eax
je 0x483e2e
test byte [ebp - 0x308], 0x10
je 0x483e01
lea eax, [ebp - 0x2dc]
push eax
lea ecx, [ebp - 0x28]
call fcn.0044fc8a
push 0x72e9a0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 6
call fcn.0048088b
test al, al
jne 0x483df3
push 0x731878
lea ecx, [ebp - 0x28]
call fcn.0048088b
test al, al
jne 0x483df3
push dword [ebp - 0x318]
lea ecx, [ebp - 0xb8]
call fcn.0044fcc7
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0xa0]
call fcn.0044fcc7
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 8
push ecx
lea eax, [ebp - 0x88]
push eax
push ecx
lea ecx, [ebp - 0x334]
call fcn.00483ed8
push ecx
lea edx, [ebp - 0x334]
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x58]
call fcn.00483f52
pop ecx
mov ecx, dword [ebp - 0x31c]
lea eax, [ebp - 0x58]
push eax
mov byte [ebp - 4], 0xa
call fcn.00483c2a
add edi, eax
lea ecx, [ebp - 0x58]
adc esi, edx
call fcn.00450240
lea ecx, [ebp - 0x334]
call fcn.00468e40
push 0x44dadf
push 2
push 0x18
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 6
push eax
call fcn.00628ed9
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
call fcn.00450240
jmp 0x483e16
mov ecx, dword [ebp - 0x2ec]
xor eax, eax
add eax, dword [ebp - 0x2e8]
adc ecx, 0
add edi, eax
adc esi, ecx
lea eax, [ebp - 0x308]
push eax
push dword [ebp - 0x30c]
call dword [sym.imp.KERNEL32.DLL_FindNextFileW]
jmp 0x483d08
push dword [ebp - 0x30c]
call dword [sym.imp.KERNEL32.DLL_FindClose]
jmp 0x483e48
mov esi, dword [ebp - 0x310]
mov edi, dword [ebp - 0x314]
lea ecx, [ebp - 0x40]
call fcn.00450240
mov eax, edi
mov edx, esi
call fcn.0067248f
ret 4
Function at 0x489bab
Capabilities:
Get file version info

Disassembly:
push 0xc4
mov eax, 0x67c17e
call fcn.006724ad
mov edi, edx
mov dword [ebp - 0x18], ecx
xor ebx, ebx
push ebx
push edi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
xor ecx, ecx
mov dword [ebp - 0x14], ebx
push 2
pop edx
mov esi, eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00629702
lea ecx, [ebp - 0xd0]
mov ebx, eax
call fcn.00474fb7
and dword [ebp - 4], 0
push ebx
push esi
push 0
push edi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x489c8a
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x727a60
push ebx
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x489c8a
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0xc0]
movzx eax, word [eax + 0x12]
push eax
call fcn.0047fd0a
mov esi, 0x72e450
mov ecx, eax
mov edx, esi
call fcn.004508e8
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0xc0]
movzx eax, word [eax + 0x10]
push eax
call fcn.0047fd0a
mov edx, esi
mov ecx, eax
call fcn.004508e8
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0xc0]
movzx eax, word [eax + 0x16]
push eax
call fcn.0047fd0a
mov edx, esi
mov ecx, eax
call fcn.004508e8
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0xc0]
movzx eax, word [eax + 0x14]
push eax
call fcn.0047fd0a
push ebx
call fcn.00629270
mov esi, dword [ebp - 0x18]
pop ecx
push esi
lea ecx, [ebp - 0xb8]
call fcn.00450176
lea ecx, [ebp - 0xd0]
call fcn.004749ec
mov eax, esi
call fcn.0067247b
ret

Function at 0x489cea
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push edi
xor edi, edi
cmp dword [edx + 0x14], 8
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
jb 0x489d05
mov edx, dword [edx]
sub esp, 0x14
lea ecx, [ebp - 0x10]
push edx
push 0x80000001
call fcn.0044b22e
test eax, eax
jne 0x489d40
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x14], 8
jb 0x489d25
mov ecx, dword [ecx]
mov eax, dword [ebp + 8]
push 4
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push 4
push edi
push ecx
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
sete bl
cmp dword [ebp - 0x10], edi
je 0x489d51
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov al, bl
pop ebx
leave
ret
Function at 0x49209e
Capabilities:
Create directory
Get common file path

Disassembly:
push 0x34
mov eax, 0x67db77
call fcn.006724e0
mov esi, ecx
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x40], esi
xor ebx, ebx
mov dword [ebp - 0x34], ebx
mov edi, esi
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], 0xf
mov byte [esi], bl
lea eax, [ebp - 0x30]
mov dword [ebp - 4], ebx
push eax
push ebx
push 0x4000
push edx
mov dword [ebp - 0x34], 1
mov dword [ebp - 0x30], ebx
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
js 0x492146
cmp dword [ebp - 0x30], ebx
je 0x492155
push ebx
push dword [ebp - 0x30]
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
cmp eax, 0xb7
je 0x49210d
cmp eax, 0x50
je 0x49210d
test eax, eax
jne 0x492146
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x3c], ecx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x492116
sub ecx, edx
lea edx, [ebp - 0x3c]
sar ecx, 1
mov dword [ebp - 0x38], ecx
lea ecx, [ebp - 0x2c]
call fcn.004d847b
lea eax, [ebp - 0x2c]
mov ecx, esi
push eax
call fcn.0044fd37
lea ecx, [ebp - 0x2c]
call fcn.0045037b
cmp dword [ebp - 0x30], 0
je 0x492155
push dword [ebp - 0x30]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, esi
call fcn.0067248f
ret

Function at 0x4921a9
Capabilities:
Get common file path

Disassembly:
push 0x1c
mov eax, 0x67dbab
call fcn.006724ad
mov ebx, ecx
mov dword [ebp - 0x10], ebx
xor eax, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov edi, 0x104
mov dword [ebp - 4], eax
push edi
lea ecx, [ebp - 0x28]
call fcn.00492240
mov esi, dword [ebp - 0x28]
push esi
push edi
call dword [sym.imp.KERNEL32.DLL_GetTempPathW]
test eax, eax
je 0x49220d
mov ecx, esi
mov dword [ebp - 0x1c], esi
xor edi, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x4921ef
sub ecx, edx
lea edx, [ebp - 0x1c]
sar ecx, 1
mov dword [ebp - 0x18], ecx
mov ecx, ebx
call fcn.004d847b
jmp 0x492223
xor eax, eax
mov edi, ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], 0xf
mov byte [ebx], al
test esi, esi
je 0x492238
mov eax, dword [ebp - 0x20]
sub eax, esi
and eax, 0xfffffffe
push eax
push esi
call fcn.00450fd9
pop ecx
pop ecx
mov eax, ebx
call fcn.0067247b
ret
Function at 0x4a506f
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x264
mov eax, 0x67fae4
call fcn.006724e0
mov esi, ecx
mov dword [ebp - 0x250], esi
push 0x208
xor ebx, ebx
mov dword [ebp - 0x250], esi
lea eax, [ebp - 0x21c]
push ebx
push eax
call fcn.00640240
add esp, 0xc
mov dword [ebp - 0x250], 0x104
lea eax, [ebp - 0x250]
mov edi, str.OriginalInstallPath
push eax
lea eax, [ebp - 0x21c]
push eax
push ebx
push 0xffff
push edi
push str.SoftwareCisco_Spark_Native
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
lea eax, [ebp - 0x21c]
jne 0x4a50ec
mov dword [esi], 1
jmp 0x4a5226
push 0x208
push ebx
push eax
call fcn.00640240
add esp, 0xc
lea eax, [ebp - 0x250]
push eax
lea eax, [ebp - 0x21c]
push eax
push ebx
push 0xffff
push edi
push str.SoftwareCisco_Spark_Native
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x4a521e
push 0x208
lea eax, [ebp - 0x21c]
push ebx
push eax
call fcn.00640240
add esp, 0xc
lea eax, [ebp - 0x250]
push eax
lea eax, [ebp - 0x21c]
push eax
push ebx
push 0xffff
push edi
push str.SoftwareWOW6432NodeCisco_Spark_Native
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x4a521e
push edi
lea ecx, [ebp - 0x24c]
call fcn.0044fc8a
push str.SoftwareCisco_Spark_Native
lea ecx, [ebp - 0x234]
mov dword [ebp - 4], ebx
call fcn.0044fc8a
push 0x20119
lea eax, [ebp - 0x24c]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x234]
mov edx, 0x80000002
push eax
lea ecx, [ebp - 0x270]
call fcn.004a55f9
add esp, 0xc
lea ecx, [ebp - 0x234]
call fcn.00450240
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 4
call fcn.00450240
cmp byte [ebp - 0x258], 0
je 0x4a51fd
lea eax, [ebp - 0x270]
mov dword [esi], ebx
push eax
lea ecx, [esi + 4]
call fcn.0044fcc7
cmp byte [ebp - 0x258], 0
je 0x4a522f
lea ecx, [ebp - 0x270]
call fcn.00450240
jmp 0x4a522f
mov dword [esi], 2
lea edi, [esi + 4]
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], 7
mov word [esi + 4], ax
jmp 0x4a522f
mov dword [esi], ebx
lea eax, [ebp - 0x21c]
push eax
lea ecx, [esi + 4]
call fcn.0044fc8a
mov eax, esi
call fcn.0067248f
ret
Function at 0x4a55f9
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x30
mov eax, 0x678fd0
call fcn.006724e0
mov esi, ecx
mov dword [ebp - 0x34], esi
mov eax, dword [ebp + 8]
xor ebx, ebx
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x34], esi
cmp dword [eax + 0x14], 8
jb 0x4a561d
mov eax, dword [eax]
lea ecx, [ebp - 0x30]
push ecx
push dword [ebp + 0x10]
push ebx
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4a5639
mov byte [esi + 0x18], bl
jmp 0x4a56f7
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x4a5643
mov eax, dword [edi]
lea ecx, [ebp - 0x38]
push ecx
push ebx
lea ecx, [ebp - 0x34]
push ecx
push ebx
push eax
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x4a5666
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4a5631
cmp dword [ebp - 0x34], 1
jne 0x4a565b
mov eax, dword [ebp - 0x38]
lea ecx, [ebp - 0x2c]
push ebx
shr eax, 1
push eax
call fcn.004a5d81
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
cmovae eax, dword [ebp - 0x2c]
cmp dword [edi + 0x14], 8
jb 0x4a5691
mov edi, dword [edi]
lea ecx, [ebp - 0x38]
push ecx
push eax
push ebx
push ebx
push edi
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x30]
test eax, eax
je 0x4a56b4
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [esi + 0x18], bl
jmp 0x4a56ef
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
cmovae ecx, dword [ebp - 0x2c]
push ebx
push ebx
call fcn.00480270
pop ecx
pop ecx
cmp eax, 0xffffffff
je 0x4a56e0
push ebx
push eax
lea ecx, [ebp - 0x2c]
call fcn.0046960e
lea eax, [ebp - 0x2c]
mov ecx, esi
push eax
call fcn.0044fc52
mov byte [esi + 0x18], 1
lea ecx, [ebp - 0x2c]
call fcn.00450240
mov eax, esi
call fcn.0067248f
ret
Function at 0x4a56ff
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x10
cmp dword [eax + 0x14], 8
push ebx
push esi
mov esi, ecx
jb 0x4a5714
mov eax, dword [eax]
lea ecx, [ebp - 4]
xor ebx, ebx
push ecx
push dword [ebp + 0x10]
push ebx
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4a5733
mov byte [esi + 4], bl
jmp 0x4a57a6
push edi
mov edi, dword [ebp + 0xc]
mov eax, edi
cmp dword [edi + 0x14], 8
jb 0x4a5741
mov eax, dword [edi]
lea ecx, [ebp - 0xc]
push ecx
push ebx
lea ecx, [ebp - 8]
push ecx
push ebx
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x4a5767
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [esi + 4], bl
jmp 0x4a57a5
cmp dword [ebp - 8], 4
je 0x4a5773
cmp dword [ebp - 8], 0xb
jne 0x4a5759
cmp dword [edi + 0x14], 8
jb 0x4a577b
mov edi, dword [edi]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
push ebx
push edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
test eax, eax
jne 0x4a575c
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x10]
mov dword [esi], eax
mov byte [esi + 4], 1
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x4a57ac
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xf4
mov eax, dword [0x79cf48]
xor eax, esp
mov dword [esp + 0xec], eax
mov eax, dword [esp + 0xf8]
xor edx, edx
push ebx
mov ebx, dword [esp + 0x100]
push ebp
cmp dword [eax + 0x14], 8
mov ebp, ecx
push esi
mov dword [esp + 0x18], ebp
mov esi, edx
push edi
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], edx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], edx
jb 0x4a57f8
mov eax, dword [eax]
lea ecx, [esp + 0x14]
push ecx
push 0x20019
push edx
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4a58b5
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x4a5821
mov eax, dword [ebx]
lea ecx, [esp + 0x10]
push ecx
push 0
lea ecx, [esp + 0x20]
push ecx
push 0
push eax
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4a58b5
push dword [esp + 0x10]
call fcn.00629702
cmp dword [ebx + 0x14], 8
mov esi, eax
pop ecx
mov dword [esp + 0x1c], esi
mov eax, ebx
jb 0x4a5858
mov eax, dword [ebx]
lea ecx, [esp + 0x10]
push ecx
push esi
lea ecx, [esp + 0x20]
push ecx
push 0
push eax
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4a58b5
mov esi, dword [esp + 0x18]
sub esp, 0x18
mov edi, dword [esp + 0x28]
mov ecx, esp
push ebx
call fcn.0044fcc7
push esi
mov esi, dword [esp + 0x38]
lea ecx, [esp + 0xd4]
push edi
mov edx, esi
call fcn.004a53c5
add esp, 0x20
lea ecx, [esp + 0x28]
push eax
call fcn.004a8678
mov byte [esp + 0x68], 1
lea eax, [esp + 0x28]
push 0xb
jmp 0x4a58c3
mov byte [esp + 0xb0], 0
lea eax, [esp + 0x70]
push 0xc
cmp byte [eax + 0x40], 0
pop ebx
mov byte [ebp + 0x40], 0
je 0x4a58da
push eax
mov ecx, ebp
call fcn.004a8678
mov byte [ebp + 0x40], 1
test bl, 4
je 0x4a5901
and ebx, 0xfffffffb
cmp byte [esp + 0xb0], 0
je 0x4a5901
lea ecx, [esp + 0x88]
call fcn.00491dbc
lea ecx, [esp + 0x70]
call fcn.00450240
test bl, 2
je 0x4a5922
and ebx, 0xfffffffd
cmp byte [esp + 0x68], 0
je 0x4a5922
lea ecx, [esp + 0x40]
call fcn.00491dbc
lea ecx, [esp + 0x28]
call fcn.00450240
test bl, 1
je 0x4a593f
lea ecx, [esp + 0xd0]
call fcn.00491dbc
lea ecx, [esp + 0xb8]
call fcn.00450240
push esi
call fcn.00629270
pop ecx
mov ecx, dword [esp + 0xfc]
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00628cc2
add esp, 0xf4
ret
Function at 0x4b764d
Capabilities:
Create thread

Disassembly:
push 4
mov eax, 0x682fc9
call fcn.006724ad
mov esi, ecx
push 8
xor ebx, ebx
call fcn.00629472
mov edx, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov dword [edx], ebx
mov dword [edx + 4], ebx
lea edi, [esi + 4]
mov dword [ebp - 4], ebx
push edi
push ebx
push eax
push 0x4b7aec
push ebx
push ebx
call fcn.006569c0
add esp, 0x1c
mov dword [esi], eax
test eax, eax
je 0x4b76a6
mov eax, esi
call fcn.0067247b
ret 4
push 6
mov dword [edi], ebx
call fcn.0062ca10
int3

Function at 0x4ca5f1
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, 0x270
cmp dword [esi], edi
jne 0x4ca639
lea edx, [esi + 8]
mov ecx, dword [edx - 4]
xor ecx, dword [edx]
lea edx, [edx + 4]
and ecx, 0x7fffffff
xor ecx, dword [edx - 8]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x62c]
xor eax, ecx
mov dword [edx + 0x9b8], eax
sub edi, 1
jne 0x4ca601
jmp 0x4ca646
cmp dword [esi], 0x4e0
jb 0x4ca646
call fcn.004ca680
mov eax, dword [esi]
pop edi
mov edx, dword [esi + eax*4 + 4]
inc eax
mov dword [esi], eax
mov ecx, edx
mov eax, dword [esi + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
pop esi
ret

Function at 0x4ca680
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
mov ebx, 0xe3
push edi
mov ebp, 0x7fffffff
lea edi, [esi + 0x9c4]
mov eax, dword [edi]
lea edx, [edi + 4]
mov ecx, dword [edx]
xor ecx, eax
and ecx, ebp
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edi + 0x634]
xor eax, ecx
mov dword [edi - 0x9c0], eax
lea edi, [edx]
mov eax, dword [edx]
sub ebx, 1
jne 0x4ca698
lea edi, [esi + 0xd50]
mov ebx, 0x18c
mov eax, dword [edi]
lea edx, [edi + 4]
mov ecx, dword [edx]
xor ecx, eax
and ecx, ebp
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edi - 0xd4c]
xor eax, ecx
mov dword [edi - 0x9c0], eax
lea edi, [edx]
mov eax, dword [edx]
sub ebx, 1
jne 0x4ca6d9
mov ecx, dword [esi + 0x1380]
xor ecx, dword [esi + 4]
and ecx, ebp
xor ecx, dword [esi + 0x1380]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
pop edi
sbb eax, eax
and dword [esi], 0
and eax, 0x9908b0df
shr ecx, 1
xor eax, dword [esi + 0x634]
xor eax, ecx
mov dword [esi + 0x9c0], eax
pop esi
pop ebp
pop ebx
ret
Function at 0x4d2dcd
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
or dword [ecx + 0x1384], 0xffffffff
mov edx, dword [esp + 4]
push ebx
push esi
xor esi, esi
mov dword [ecx + 4], edx
push edi
inc esi
lea edi, [ecx + 8]
mov ebx, 0x270
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, esi
inc esi
mov dword [edi], edx
lea edi, [edi + 4]
cmp esi, ebx
jb 0x4d2de9
pop edi
pop esi
mov dword [ecx], ebx
mov eax, ecx
pop ebx
ret 0xc