joyce8/EMBER2024-capa huggingface dataset:
Function at 0x478060
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0xffffffff
push 0
push 0
push 2
push 0
push 1
push 0x40000000
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x4780a1
jmp 0x4780dc
mov dword [ebp - 0x10], 0
push 0
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4780d1
mov edx, dword [ebp - 0x10]
cmp edx, dword [ebp + 0x10]
je 0x4780d5
jmp 0x4780dc
mov dword [ebp - 4], 1
cmp dword [ebp - 0xc], 0xffffffff
je 0x4780ec
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x478100
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1018
call fcn.00461aa0
mov eax, dword [0x4a7740]
xor eax, ebp
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x10], 0x1000
mov dword [ebp - 4], 0
push 0
push 0
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea ecx, [ebp - 4]
push ecx
push 0x1000
lea edx, [ebp - 0x1018]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x478173
mov dword [ebp - 8], 0
jmp 0x4781a0
cmp dword [ebp - 4], 0
je 0x478195
mov ecx, dword [ebp - 4]
push ecx
lea edx, [ebp - 0x1018]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.00479160
add esp, 0xc
mov dword [ebp - 8], eax
jmp 0x478197
jmp 0x4781a0
mov ecx, 1
test ecx, ecx
jne 0x478143
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00450ba2
mov esp, ebp
pop ebp
ret
Function at 0x478770
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x487123
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x4a7740]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x14]
call fcn.00401d70
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4787dc
mov dword [ebp - 0x18], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00403340
mov eax, dword [ebp - 0x18]
jmp 0x4788ca
push 0
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4788b1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x4788b1
lea eax, [ebp - 0x14]
push eax
call fcn.00478640
add esp, 4
lea ecx, [ebp - 0x14]
call fcn.00401ed0
movzx ecx, al
test ecx, ecx
je 0x47883f
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00403340
mov eax, dword [ebp - 0x1c]
jmp 0x4788ca
lea ecx, [ebp - 0x14]
call fcn.0041e8b0
push eax
call fcn.00478770
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x478874
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00403340
mov eax, dword [ebp - 0x20]
jmp 0x4788ca
push 0
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4788b1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x4788b1
mov dword [ebp - 0x24], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00403340
mov eax, dword [ebp - 0x24]
jmp 0x4788ca
mov dword [ebp - 0x28], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00403340
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x478ed0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48738b
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x4a7740]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x6c], 0
push 0x40
push 0
lea eax, [ebp - 0x68]
push eax
call fcn.00453b10
add esp, 0xc
mov dword [ebp - 0x20], 0
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x6c], 0x44
mov dword [ebp - 0x40], 1
lea ecx, [ebp - 0x70]
call fcn.00401d50
mov dword [ebp - 4], 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
push str.__s___s
lea ecx, [ebp - 0x70]
push ecx
call fcn.00410190
add esp, 0x10
cmp dword [ebp + 0x14], 0
je 0x478f69
mov word [ebp - 0x3c], 0xa
jmp 0x478f6f
mov word [ebp - 0x3c], 0
lea edx, [ebp - 0x20]
push edx
lea eax, [ebp - 0x6c]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x70]
call fcn.0041e8b0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x478fc8
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.KFunction::RunApp_CreateProcessW_error:_d__wait:_d__show:_d__path:_ws__cmd:_ws
push 0x4ab400
call fcn.00474de0
add esp, 0x1c
jmp 0x479004
cmp dword [ebp + 0x10], 0
je 0x478ffd
mov dword [ebp - 0x74], 0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [ebp - 0x74], 0
jne 0x478ffd
cmp dword [ebp + 0x18], 0
je 0x478ffd
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov dword [ebp - 0x24], 1
cmp dword [ebp - 0x20], 0
je 0x47901b
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x20], 0
cmp dword [ebp - 0x1c], 0
je 0x479032
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x1c], 0
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x78], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.00403340
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x479160
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], 0
cmp dword [ebp + 0xc], 0
jne 0x47917c
mov eax, dword [ebp - 4]
jmp 0x479257
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
shr ecx, 3
xor eax, 0xffffffff
test ecx, ecx
je 0x479232
push ebp
mov ebp, ecx
xor edx, edx
xor ecx, ecx
mov edi, edi
mov ebx, dword [esi]
add esi, 4
mov dl, bl
mov cl, bh
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x492e18]
shr ebx, 0x10
xor eax, edi
xor cl, al
shr eax, 8
mov edi, dword [ecx*4 + 0x492e18]
mov dl, bl
xor eax, edi
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x492e18]
mov cl, bh
xor eax, edi
mov ebx, dword [esi]
xor cl, al
shr eax, 8
mov edi, dword [ecx*4 + 0x492e18]
add esi, 4
xor eax, edi
mov dl, bl
mov cl, bh
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x492e18]
shr ebx, 0x10
xor eax, edi
xor cl, al
shr eax, 8
mov edi, dword [ecx*4 + 0x492e18]
mov dl, bl
xor eax, edi
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x492e18]
mov cl, bh
xor eax, edi
xor cl, al
shr eax, 8
xor eax, dword [ecx*4 + 0x492e18]
dec ebp
jne 0x47919c
pop ebp
mov ecx, dword [ebp + 0x10]
xor edx, edx
and ecx, 7
je 0x47924e
mov dl, byte [esi]
inc esi
xor dl, al
shr eax, 8
xor eax, dword [edx*4 + 0x492e18]
dec ecx
jne 0x47923c
xor eax, 0xffffffff
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x47a2d0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp + 8]
mov dword [edx], 0x67452301
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0xefcdab89
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], 0x98badcfe
mov edx, dword [ebp + 8]
mov dword [edx + 0xc], 0x10325476
pop ebp
ret

Function at 0x47a450
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp + 0xc]
push eax
push 0x104
mov ecx, dword [ebp + 8]
push ecx
push 0
push 0x493220
push 0x493228
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x47a48b
mov edx, dword [ebp + 8]
mov byte [edx], 0
xor al, al
jmp 0x47a48d
mov al, 1
mov esp, ebp
pop ebp
ret 8
Function at 0x47a4a0
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x430
mov eax, dword [0x4a7740]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0x42c], 0
xor eax, eax
mov dword [ebp - 0x42b], eax
mov dword [ebp - 0x427], eax
mov byte [ebp - 0x423], al
mov ecx, dword [ebp + 8]
push ecx
push 0x493218
lea edx, [ebp - 0x42c]
push edx
call fcn.004556bb
add esp, 0xc
mov byte [ebp - 0x426], 0
push 0
push 0x80
push 3
push 0
push 3
push SysReAllocString
lea eax, [ebp - 0x42c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
jne 0x47a51c
xor eax, eax
jmp 0x47a5b2
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov byte [ebp - 0x420], 0
push 0x3ff
push 0
lea ecx, [ebp - 0x41f]
push ecx
call fcn.00453b10
add esp, 0xc
lea edx, [ebp - 0x420]
mov dword [ebp - 0x430], edx
mov eax, dword [ebp - 0x430]
mov dword [eax + 4], 0x400
push 0
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x430]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp - 0x430]
push ecx
push 0xc
lea edx, [ebp - 0x10]
push edx
push 0x2d1400
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x18], 0
je 0x47a5b0
mov edx, dword [ebp - 0x430]
xor eax, eax
cmp dword [edx + 0x1c], 7
sete al
jmp 0x47a5b2
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00450ba2
mov esp, ebp
pop ebp
ret
Function at 0x47aef0
Capabilities:
Delete directory
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x486dd9
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x4a7740]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x10]
call fcn.00401d70
mov dword [ebp - 4], 0
push 0x494560
lea ecx, [ebp - 0x278]
call fcn.004118c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x278]
push ecx
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x14]
push eax
call fcn.00411940
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x278]
call fcn.00403340
mov dword [ebp - 0x26c], 0
push 0x24c
push 0
lea ecx, [ebp - 0x268]
push ecx
call fcn.00453b10
add esp, 0xc
lea edx, [ebp - 0x26c]
push edx
lea ecx, [ebp - 0x14]
call fcn.0041e8b0
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x270], eax
cmp dword [ebp - 0x270], 0xffffffff
jne 0x47afe8
lea ecx, [ebp - 0x10]
call fcn.0041e8b0
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov dword [ebp - 0x27c], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00403340
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00403340
mov eax, dword [ebp - 0x27c]
jmp 0x47b10f
lea eax, [ebp - 0x26c]
push eax
mov ecx, dword [ebp - 0x270]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x47b0cc
lea edx, [ebp - 0x240]
push edx
push 0x494564
call fcn.004554e9
add esp, 8
test eax, eax
je 0x47b034
lea eax, [ebp - 0x240]
push eax
push 0x494568
call fcn.004554e9
add esp, 8
test eax, eax
jne 0x47b036
jmp 0x47afe8
push 0x494570
lea ecx, [ebp - 0x280]
call fcn.004118c0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x280]
push ecx
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x274]
push eax
call fcn.00411940
add esp, 0xc
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x280]
call fcn.00403340
lea ecx, [ebp - 0x240]
push ecx
lea ecx, [ebp - 0x274]
call fcn.00401e30
mov edx, dword [ebp - 0x26c]
and edx, 0x10
je 0x47b0a6
lea ecx, [ebp - 0x274]
call fcn.0041e8b0
push eax
call fcn.0047aef0
add esp, 4
jmp 0x47b0b8
lea ecx, [ebp - 0x274]
call fcn.0041e8b0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x274]
call fcn.00403340
jmp 0x47afe8
mov eax, dword [ebp - 0x270]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x10]
call fcn.0041e8b0
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov dword [ebp - 0x284], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00403340
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00403340
mov eax, dword [ebp - 0x284]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.00450ba2
mov esp, ebp
pop ebp
ret
Function at 0x47b130
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x486ed0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x4a7740]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
lea ecx, [ebp - 0x10]
call fcn.00405500
mov dword [ebp - 4], 0
push 0x2001f
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x10]
call fcn.004186b0
push str.Kingsoft_Enterprise_Security_BQSaaS
lea ecx, [ebp - 0x10]
call fcn.00418680
lea ecx, [ebp - 0x14]
call fcn.00401d50
mov byte [ebp - 4], 1
push 0
push 0x19
push 0x104
lea ecx, [ebp - 0x14]
call fcn.00402c60
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x47b1db
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.00418760
push 0x494628
lea ecx, [ebp - 0x14]
call fcn.00401e30
lea ecx, [ebp - 0x14]
call fcn.0041e8b0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x14]
call fcn.00402b90
push 0
push 0x17
push 0x104
lea ecx, [ebp - 0x14]
call fcn.00402c60
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x47b229
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.00418760
push 0x494644
lea ecx, [ebp - 0x14]
call fcn.00401e30
lea ecx, [ebp - 0x14]
call fcn.0041e8b0
push eax
call fcn.0047aef0
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00403340
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00418740
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x47b260
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x486f03
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x4a7740]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x30]
call fcn.00405500
mov dword [ebp - 4], 0
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x28]
call fcn.00401d50
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.00401d50
mov byte [ebp - 4], 2
push 1
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallKingsoft_Enterprise_Security_BQSaaS
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x30]
call fcn.004116d0
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x47b303
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.00403340
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00403340
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.004116b0
jmp 0x47b42f
lea eax, [ebp - 0x28]
push eax
push str.InstallLocation
lea ecx, [ebp - 0x30]
call fcn.00411780
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x47b349
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.00403340
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00403340
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.004116b0
jmp 0x47b42f
push 0x4941a0
lea ecx, [ebp - 0x24]
call fcn.00401df0
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x24]
call fcn.00401e10
push 0x4941a4
lea ecx, [ebp - 0x24]
call fcn.00401e30
push 0x44
push 0
lea edx, [ebp - 0x7c]
push edx
call fcn.00453b10
add esp, 0xc
mov dword [ebp - 0x7c], 0x44
push 0x10
push 0
lea eax, [ebp - 0x20]
push eax
call fcn.00453b10
add esp, 0xc
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x7c]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x24]
call fcn.004119f0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x47b3e8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.00403340
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00403340
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.004116b0
jmp 0x47b42f
push 0xffffffffffffffff
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.00403340
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00403340
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.004116b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x47b440
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x486f2e
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x4a7740]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x1c]
call fcn.00405500
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00401d50
mov byte [ebp - 4], 1
push 1
push str.SOFTWAREMicrosoftWindowsCurrentVersionRunOnce
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x1c]
call fcn.004116d0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x47b4b0
jmp 0x47b4d3
lea eax, [ebp - 0x10]
push eax
push str.KESINSTALLNEEDREBOOT
lea ecx, [ebp - 0x1c]
call fcn.00411780
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x47b4cc
jmp 0x47b4d3
mov dword [ebp - 0x14], 1
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x20], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00403340
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.004116b0
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x47b510
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x486f59
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x4a7740]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x1c]
call fcn.00405500
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00401d50
mov byte [ebp - 4], 1
push 1
push 0x493fc0
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x1c]
call fcn.004116d0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x47b580
jmp 0x47b5a3
lea eax, [ebp - 0x10]
push eax
push str.FEINEEDREBOOT
lea ecx, [ebp - 0x1c]
call fcn.00411780
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x47b59c
jmp 0x47b5a3
mov dword [ebp - 0x14], 1
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x20], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00403340
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.004116b0
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x47b5e0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4873b6
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x4a7740]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00403760
push eax
lea ecx, [ebp - 0x14]
call fcn.00401d70
mov byte [ebp - 4], 1
push str.___s__f
lea ecx, [ebp - 0x14]
call fcn.00401e30
mov dword [ebp - 0x24], 0
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x6c], 0
push 0x40
push 0
lea ecx, [ebp - 0x68]
push ecx
call fcn.00453b10
add esp, 0xc
mov dword [ebp - 0x6c], 0x44
lea edx, [ebp - 0x24]
push edx
lea eax, [ebp - 0x6c]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x14]
call fcn.004119f0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x47b6c7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Create_Failed:_08X_n
push 0x4ab400
call fcn.00474de0
add esp, 0xc
mov dword [ebp - 0x70], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00403340
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00403740
mov eax, dword [ebp - 0x70]
jmp 0x47b729
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x74], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00403340
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00403740
mov eax, dword [ebp - 0x74]
jmp 0x47b729
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x47b740
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4878ac
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x4a7740]
xor eax, ebp
mov dword [ebp - 0x20], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xac], ecx
lea ecx, [ebp - 0x3c]
call fcn.0040ebb0
mov dword [ebp - 4], 0
push str.kclient.exe
lea eax, [ebp - 0xa8]
push eax
lea ecx, [ebp - 0x3c]
call fcn.0040e7e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xa8]
call fcn.00403760
push eax
lea ecx, [ebp - 0x40]
call fcn.00401d70
mov byte [ebp - 4], 2
push str.__s__f
lea ecx, [ebp - 0x40]
call fcn.00401e30
mov dword [ebp - 0x1c], 0
xor ecx, ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x8c], 0
push 0x40
push 0
lea edx, [ebp - 0x88]
push edx
call fcn.00453b10
add esp, 0xc
mov dword [ebp - 0x8c], 0x44
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x8c]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x40]
call fcn.004119f0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x47b860
push str.Install_Failed
push 0x4ab400
call fcn.00474de0
add esp, 8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.00403340
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xa8]
call fcn.00403740
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.0040e720
jmp 0x47b8a0
push 0xffffffffffffffff
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.00403340
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xa8]
call fcn.00403740
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.0040e720
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.00450ba2
mov esp, ebp
pop ebp
ret