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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov edx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [edx]
xor esi, esi
mov dword [ebp - 8], edi
mov dword [ebp - 4], esi
lea esp, [esp]
test edi, edi
je 0x43ea78
cmp byte [edi], 0
mov eax, edi
je 0x43e9f6
nop
inc eax
cmp byte [eax], 0
jne 0x43e9f0
sub eax, edi
and eax, 0x3fffffff
cmp dword [ebx + 0x1b0], 0
lea ecx, [ebx + 0x1a4]
mov esi, eax
je 0x43ea51
xor eax, eax
mov edx, esi
mov ecx, edi
test esi, esi
jle 0x43ea41
jmp 0x43ea20
movzx edi, byte [ecx]
movzx edi, byte [edi + 0x5157a0]
lea ebx, [eax*8]
xor edi, ebx
dec edx
xor eax, edi
inc ecx
test edx, edx
jg 0x43ea20
mov ebx, dword [ebp + 8]
mov edi, dword [ebp - 8]
xor edx, edx
div dword [ebx + 0x1a4]
lea ecx, [ebx + 0x1a4]
jmp 0x43ea53
xor edx, edx
push esi
push edi
mov eax, ecx
call fcn.00407970
add esp, 8
test eax, eax
je 0x43ea6e
mov eax, dword [eax + 8]
mov esi, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
jmp 0x43ea7b
mov esi, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
xor eax, eax
jmp 0x43ea7b
mov eax, dword [ebx + 8]
test eax, eax
je 0x43ea8d
movzx ecx, byte [esi + 0x516034]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4 - 0x14]
cmp dword [eax + 0xc], 0
jne 0x43eaac
inc esi
mov dword [ebp - 4], esi
cmp esi, 3
jl 0x43e9e0
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [eax]
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov ecx, dword [eax + 0xc]
pop edi
pop esi
mov dword [edx + 0xc], ecx
mov dword [edx + 0x10], 0
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x444e40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push ebx
xor eax, eax
test dword [edx + 0x18], 0x40000
push esi
push edi
mov dword [ebp - 4], eax
je 0x444f86
mov ecx, dword [ebp + 0xc]
mov edi, dword [ecx + 0x10]
test edi, edi
je 0x444ea6
lea ebx, [ebx]
mov eax, dword [edi + 0x14]
test eax, eax
jle 0x444e9c
lea edx, [edi + 0x24]
mov esi, eax
lea esp, [esp]
mov ecx, dword [edx]
cmp ecx, 0x1f
jle 0x444e8c
or eax, 0xffffffff
jmp 0x444e93
mov eax, 1
shl eax, cl
or dword [ebp - 4], eax
add edx, 8
dec esi
jne 0x444e80
mov edi, dword [edi + 4]
test edi, edi
jne 0x444e70
mov ecx, dword [ebp + 0xc]
mov esi, dword [ecx]
mov eax, esi
test esi, esi
jne 0x444eb5
xor edi, edi
mov dword [ebp - 8], edi
jmp 0x444ed2
cmp byte [esi], 0
je 0x444ec6
lea ebx, [ebx]
inc eax
cmp byte [eax], 0
jne 0x444ec0
sub eax, esi
and eax, 0x3fffffff
mov edi, eax
mov dword [ebp - 8], eax
mov ebx, dword [ecx + 0x40]
add ebx, 0x38
cmp dword [ebx + 0xc], 0
mov dword [ebp - 0xc], ebx
je 0x444f17
xor eax, eax
mov edx, edi
mov ecx, esi
test edi, edi
jle 0x444f11
jmp 0x444ef0
movzx edi, byte [ecx]
movzx edi, byte [edi + 0x5157a0]
lea ebx, [eax*8]
xor edi, ebx
dec edx
xor eax, edi
inc ecx
test edx, edx
jg 0x444ef0
mov edi, dword [ebp - 8]
mov ebx, dword [ebp - 0xc]
xor edx, edx
div dword [ebx]
jmp 0x444f19
xor edx, edx
push edi
push esi
mov eax, ebx
call fcn.00407970
xor ebx, ebx
add esp, 8
cmp eax, ebx
je 0x444f83
mov edi, dword [eax + 8]
cmp edi, ebx
je 0x444f83
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
lea eax, [ebp - 8]
push eax
push edi
push ecx
push edx
xor eax, eax
mov dword [ebp - 8], ebx
call fcn.00443500
mov eax, dword [ebp - 8]
add esp, 0x10
cmp eax, ebx
je 0x444f7c
movzx ecx, word [eax + 0x28]
cmp ecx, ebx
jle 0x444f7c
mov edx, dword [eax + 4]
mov esi, ecx
mov ecx, dword [edx]
cmp ecx, 0x1f
jle 0x444f6c
or eax, 0xffffffff
jmp 0x444f73
mov eax, 1
shl eax, cl
or dword [ebp - 4], eax
add edx, 4
dec esi
jne 0x444f60
mov edi, dword [edi + 0xc]
cmp edi, ebx
jne 0x444f32
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46bfb0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x338
mov eax, dword [0x5322a8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
xor ebx, ebx
push 0x103
lea eax, [ebp - 0x10f]
push ebx
push eax
mov byte [ebp - 0x110], bl
call fcn.004e7d90
push 0x103
lea ecx, [ebp - 0x217]
push ebx
push ecx
mov byte [ebp - 0x218], bl
call fcn.004e7d90
push 0x103
lea edx, [ebp - 0x31f]
push ebx
push edx
mov byte [ebp - 0x320], bl
call fcn.004e7d90
add esp, 0x24
lea eax, [ebp - 0x328]
push eax
push 0xf003f
push ebx
push esi
push reloc.WS2_32.dll_bind
mov dword [ebp - 0x324], ebx
mov dword [ebp - 0x328], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x46c116
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
jmp 0x46c050
mov eax, 0x104
lea ecx, [ebp - 0x338]
push ecx
mov dword [ebp - 0x32c], eax
mov dword [ebp - 0x330], eax
lea edx, [ebp - 0x330]
push edx
lea eax, [ebp - 0x320]
push eax
mov eax, dword [ebp - 0x324]
push ebx
lea ecx, [ebp - 0x32c]
push ecx
mov ecx, dword [ebp - 0x328]
lea edx, [ebp - 0x218]
push edx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
cmp eax, ebx
jne 0x46c116
lea edx, [ebp - 0x218]
push edx
push esi
lea eax, [ebp - 0x110]
push 0x519048
push eax
call edi
add esp, 0x10
lea ecx, [ebp - 0x110]
push ecx
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
push str.ShlWapi.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, ebx
je 0x46c104
push str.SHDeleteKeyA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x46c104
lea edx, [ebp - 0x110]
push edx
push reloc.WS2_32.dll_bind
call eax
test eax, eax
jne 0x46c116
inc dword [ebp - 0x324]
jmp 0x46c050
xor eax, eax
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e3946
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x328]
cmp eax, ebx
je 0x46c127
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.004e3946
mov esp, ebp
pop ebp
ret
Function at 0x46d230
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x240
mov eax, dword [0x5322a8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push str.Function_Start
mov ecx, ebx
mov dword [ebp - 0x23c], ebx
call fcn.004a4c50
add esp, 4
push 0x228
lea eax, [ebp - 0x234]
push 0
push eax
mov dword [ebp - 0x238], 0x22c
call fcn.004e7d90
add esp, 0xc
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea ecx, [ebp - 0x238]
mov esi, eax
push ecx
push esi
mov dword [ebp - 0x240], esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x46d304
mov ebx, dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, edi
lea edx, [ebp - 0x214]
push str.wmcFTSlave.exe
push edx
call fcn.004f20d4
add esp, 8
test eax, eax
jne 0x46d2ec
mov eax, dword [ebp - 0x230]
push eax
push 0
push 0x401
call ebx
mov esi, eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call edi
mov esi, dword [ebp - 0x240]
lea ecx, [ebp - 0x238]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x46d2b0
mov ebx, dword [ebp - 0x23c]
push esi
call edi
push str.Function_End
mov ecx, ebx
call fcn.004a4c50
mov ecx, dword [ebp - 4]
add esp, 4
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.004e3946
mov esp, ebp
pop ebp
ret

Function at 0x46d330
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x240
mov eax, dword [0x5322a8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push str.Function_Start
mov ecx, ebx
mov dword [ebp - 0x23c], ebx
call fcn.004a4c50
add esp, 4
push 0x228
lea eax, [ebp - 0x234]
push 0
push eax
mov dword [ebp - 0x238], 0x22c
call fcn.004e7d90
add esp, 0xc
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea ecx, [ebp - 0x238]
mov esi, eax
push ecx
push esi
mov dword [ebp - 0x240], esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x46d404
mov ebx, dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, edi
lea edx, [ebp - 0x214]
push str.wmcFTMaster.exe
push edx
call fcn.004f20d4
add esp, 8
test eax, eax
jne 0x46d3ec
mov eax, dword [ebp - 0x230]
push eax
push 0
push 0x401
call ebx
mov esi, eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call edi
mov esi, dword [ebp - 0x240]
lea ecx, [ebp - 0x238]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x46d3b0
mov ebx, dword [ebp - 0x23c]
push esi
call edi
push str.Function_End
mov ecx, ebx
call fcn.004a4c50
mov ecx, dword [ebp - 4]
add esp, 4
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.004e3946
mov esp, ebp
pop ebp
ret
Function at 0x470a40
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x240
mov eax, dword [0x5322a8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push str.Function_Start
mov ecx, ebx
mov dword [ebp - 0x23c], ebx
call fcn.004a4c50
add esp, 4
push 0x228
lea eax, [ebp - 0x234]
push 0
push eax
mov dword [ebp - 0x238], 0x22c
call fcn.004e7d90
add esp, 0xc
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea ecx, [ebp - 0x238]
mov esi, eax
push ecx
push esi
mov dword [ebp - 0x240], esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x470b14
mov ebx, dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, edi
lea edx, [ebp - 0x214]
push str.wmcRCSlave.exe
push edx
call fcn.004f20d4
add esp, 8
test eax, eax
jne 0x470afc
mov eax, dword [ebp - 0x230]
push eax
push 0
push 0x401
call ebx
mov esi, eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call edi
mov esi, dword [ebp - 0x240]
lea ecx, [ebp - 0x238]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x470ac0
mov ebx, dword [ebp - 0x23c]
push esi
call edi
push str.Function_End
mov ecx, ebx
call fcn.004a4c50
mov ecx, dword [ebp - 4]
add esp, 4
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.004e3946
mov esp, ebp
pop ebp
ret

Function at 0x470b40
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x240
mov eax, dword [0x5322a8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push str.Function_Start
mov ecx, ebx
mov dword [ebp - 0x23c], ebx
call fcn.004a4c50
add esp, 4
push 0x228
lea eax, [ebp - 0x234]
push 0
push eax
mov dword [ebp - 0x238], 0x22c
call fcn.004e7d90
add esp, 0xc
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea ecx, [ebp - 0x238]
mov esi, eax
push ecx
push esi
mov dword [ebp - 0x240], esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x470c14
mov ebx, dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, edi
lea edx, [ebp - 0x214]
push str.wmcRCMaster.exe
push edx
call fcn.004f20d4
add esp, 8
test eax, eax
jne 0x470bfc
mov eax, dword [ebp - 0x230]
push eax
push 0
push 0x401
call ebx
mov esi, eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call edi
mov esi, dword [ebp - 0x240]
lea ecx, [ebp - 0x238]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x470bc0
mov ebx, dword [ebp - 0x23c]
push esi
call edi
push str.Function_End
mov ecx, ebx
call fcn.004a4c50
mov ecx, dword [ebp - 4]
add esp, 4
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.004e3946
mov esp, ebp
pop ebp
ret
Function at 0x496070
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xac
mov eax, dword [0x5322a8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov dword [esi], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 4], ecx
push ebx
lea ecx, [ebp - 0x9c]
push 0x104
mov dword [esi + 8], edx
push ecx
mov dword [esi + 0xc], eax
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0xa8], 0x104
call dword [0x5393b0]
mov eax, dword [ebp - 0x9c]
add esp, 8
lea edx, [ebp - 0xa8]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
lea ecx, [ebp - 0xa0]
push 0x40
push ecx
mov dword [ebp - 0xa0], 0
call dword [0x5393b0]
add esp, 8
lea edx, [ebp - 0x98]
push edx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
movzx ecx, word [ebp - 0x8c]
movzx edx, word [ebp - 0x8e]
push eax
movzx eax, word [ebp - 0x8a]
mov ebx, dword [sym.imp.USER32.dll_wsprintfW]
push eax
movzx eax, word [ebp - 0x90]
push ecx
movzx ecx, word [ebp - 0x92]
push edx
movzx edx, word [ebp - 0x96]
push eax
movzx eax, word [ebp - 0x98]
push ecx
mov ecx, dword [ebp - 0xa0]
push edx
push eax
push str._04u__02u__02u__02u__02u__02u__03u__u
push ecx
call ebx
lea edx, [ebp - 0xa4]
push 0x104
push edx
mov dword [ebp - 0xa4], 0
call dword [0x5393b0]
xor eax, eax
push 0x3e
push eax
lea ecx, [ebp - 0x86]
push ecx
mov word [ebp - 0x88], ax
call fcn.004e7d90
movzx edx, word [esi + 4]
mov eax, dword [esi]
push edx
push eax
lea ecx, [ebp - 0x88]
push str._08X__04X
push ecx
call ebx
add esp, 0x4c
xor edx, edx
push 0x3e
push edx
lea eax, [ebp - 0x46]
push eax
mov word [ebp - 0x48], dx
call fcn.004e7d90
push str.00000003_0102
lea ecx, [ebp - 0x88]
push ecx
call fcn.004f20d4
add esp, 0x14
test eax, eax
jne 0x4961e6
jmp 0x4961d0
movzx ecx, word [eax + str.AssetDevice]
mov word [ebp + eax - 0x48], cx
add eax, 2
test cx, cx
jne 0x4961d0
jmp 0x496234
lea edx, [ebp - 0x88]
push str.00000003_0103
push edx
call fcn.004f20d4
add esp, 8
test eax, eax
jne 0x496216
mov edi, edi
movzx ecx, word [eax + str.AssetSoftware]
mov word [ebp + eax - 0x48], cx
add eax, 2
test cx, cx
jne 0x496200
jmp 0x496234
xor eax, eax
jmp 0x496220
movzx ecx, word [eax + str.Asset]
mov word [ebp + eax - 0x48], cx
add eax, 2
test cx, cx
jne 0x496220
mov eax, dword [ebp - 0xa0]
mov ecx, dword [ebp - 0x9c]
push eax
mov eax, dword [ebp - 0xa4]
push ecx
lea edx, [ebp - 0x48]
push edx
push str._s__s__s.dat
push eax
call ebx
mov ecx, dword [ebp - 0x9c]
push ecx
push 0x28
push esi
call dword [0x53937c]
mov edx, dword [ebp - 0xa4]
push edx
push 0x30
push esi
call dword [0x53937c]
lea eax, [ebp - 0xa4]
push 0x104
push eax
call dword [0x5393b8]
lea ecx, [ebp - 0xa0]
push 0x40
push ecx
call dword [0x5393b8]
lea edx, [ebp - 0x9c]
push 0x104
push edx
call dword [0x5393b8]
mov ecx, dword [ebp - 4]
add esp, 0x44
xor ecx, ebp
pop ebx
call fcn.004e3946
mov esp, ebp
pop ebp
ret
Function at 0x4a1fa0
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x480
mov eax, dword [0x5322a8]
xor eax, esp
mov dword [esp + 0x47c], eax
push esi
push edi
mov edi, dword [ebp + 0x10]
push 0
push str.WMCSYSTEM
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x4a1fe8
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x47c]
xor ecx, esp
call fcn.004e3946
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ebp + 8]
push 0x522f50
push edi
xor esi, esi
mov dword [0x53b62c], eax
call fcn.004f20d4
add esp, 8
test eax, eax
jne 0x4a2021
call fcn.004a2390
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0x47c]
xor ecx, esp
call fcn.004e3946
mov esp, ebp
pop ebp
ret 0x10
push 0x522f58
push edi
call fcn.004f20d4
add esp, 8
test eax, eax
jne 0x4a2050
call fcn.004a25d0
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0x47c]
xor ecx, esp
call fcn.004e3946
mov esp, ebp
pop ebp
ret 0x10
push 0x522f60
push edi
call fcn.004f20d4
add esp, 8
test eax, eax
jne 0x4a2089
mov dword [0x533644], 1
call fcn.004a21c0
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0x47c]
xor ecx, esp
call fcn.004e3946
mov esp, ebp
pop ebp
ret 0x10
xor ecx, ecx
push 0x40e
push ecx
lea edx, [esp + 0x7a]
push edx
mov word [esp + 0x7c], cx
call fcn.004e7d90
add esp, 0xc
xor eax, eax
jmp 0x4a20b0
movzx ecx, word [eax + str._i__s__]
mov word [esp + eax + 0x70], cx
add eax, 2
test cx, cx
jne 0x4a20b0
push 0x201
lea eax, [esp + 0x82]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [esp + 0x70]
push 0x5c
push ecx
call fcn.004e4991
xor edx, edx
lea edi, [esp + 0x78]
add esp, 8
mov word [eax + 2], dx
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4a20f5
push 0x44
lea eax, [esp + 0x2c]
push 0
mov ecx, 7
mov esi, str.XceedCry.dll_
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.004e7d90
add esp, 0xc
xor eax, eax
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x2c]
push edx
push eax
push eax
push 0x20
push eax
push eax
push eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
lea eax, [esp + 0x90]
push eax
push str.C:WindowsSystem32_regsvr32.exe
mov dword [esp + 0x50], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ecx, dword [esp + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov edx, dword [esp + 8]
push edx
call esi
lea eax, [esp + 0x18]
push eax
mov dword [0x533644], 2
mov dword [esp + 0x1c], str.Win_Win
mov dword [esp + 0x20], 0x4a2670
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
call dword [sym.imp.ADVAPI32.dll_StartServiceCtrlDispatcherW]
mov ecx, dword [esp + 0x484]
pop edi
mov esi, eax
pop esi
xor ecx, esp
call fcn.004e3946
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4a2390
Capabilities:
Create service
Persist via windows service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x328
mov eax, dword [0x5322a8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x11c
lea ecx, [ebp - 0x328]
push 0
push ecx
call fcn.004e7d90
add esp, 0xc
lea edx, [ebp - 0x328]
push edx
mov dword [ebp - 0x328], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov esi, dword [ebp - 0x324]
sub esi, 6
neg esi
push 2
sbb esi, esi
push 0
and esi, 0x100
push 0
add esi, 0x10
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
push 0
push 0
push 0
push 0
push 0
mov edi, eax
lea eax, [ebp - 0x20c]
push eax
push 0
push 2
push esi
push 0xf01ff
push str.Win_Win_Commander
push str.Win_Win
push edi
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov ebx, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov esi, eax
test esi, esi
je 0x4a2452
call fcn.004a24b0
push esi
call ebx
push edi
call ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.004e3946
mov esp, ebp
pop ebp
ret

Function at 0x4a2470
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x4a2a10
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x53b63c], eax
test eax, eax
jne 0x4a2498
mov esp, ebp
pop ebp
ret
mov eax, 1
mov dword [0x53b640], eax
mov esp, ebp
pop ebp
ret
Function at 0x4a24b0
Capabilities:
Check for time delay via gettickcount
Query service status
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x5322a8]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
mov dword [ebp - 0x28], edi
test edi, edi
je 0x4a25b3
push esi
push 0xf01ff
push str.Win_Win
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
je 0x4a25ab
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
push esi
call fcn.004a28b0
add esp, 4
lea eax, [ebp - 0x20]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x4a25a4
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
cmp dword [ebp - 0x1c], 2
mov ecx, dword [ebp - 0xc]
mov edi, eax
mov dword [ebp - 0x24], ecx
jne 0x4a25a0
jmp 0x4a2540
mov eax, 0xcccccccd
mul dword [ebp - 8]
shr edx, 3
cmp edx, 0x3e8
jae 0x4a255a
mov edx, 0x3e8
jmp 0x4a2567
cmp edx, 0x2710
jbe 0x4a2567
mov edx, 0x2710
push edx
call dword [sym.imp.KERNEL32.dll_Sleep]
lea edx, [ebp - 0x20]
push edx
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x4a25a0
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0xc], eax
jbe 0x4a2591
call ebx
mov ecx, dword [ebp - 0xc]
mov edi, eax
mov dword [ebp - 0x24], ecx
jmp 0x4a259a
call ebx
sub eax, edi
cmp eax, dword [ebp - 8]
ja 0x4a25a0
cmp dword [ebp - 0x1c], 2
je 0x4a2540
mov edi, dword [ebp - 0x28]
pop ebx
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 1
pop edi
call fcn.004e3946
mov esp, ebp
pop ebp
ret

Function at 0x4a25d0
Capabilities:
Delete service
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x5322a8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 2
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
push 0xf01ff
mov edi, eax
push str.Win_Win
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov ebx, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov esi, eax
test esi, esi
je 0x4a2648
lea eax, [ebp - 0x20]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x4a2645
cmp dword [ebp - 0x1c], 1
je 0x4a263e
lea ecx, [ebp - 0x20]
push ecx
push 0xc8
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
push esi
call ebx
push edi
call ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.004e3946
mov esp, ebp
pop ebp
ret
Function at 0x4a28b0
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x5322a8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x3c]
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
mov eax, dword [ebp - 0x38]
dec eax
cmp eax, 6
ja case.default.0x4a28d7
jmp dword [eax*4 + 0x4a2964]
mov eax, 4
jmp 0x4a2912
mov eax, 1
jmp 0x4a2912
mov eax, 7
jmp 0x4a2912
mov eax, 5
jmp 0x4a2912
mov eax, 6
jmp 0x4a2912
mov eax, 2
jmp 0x4a2912
mov eax, 3
jmp 0x4a2912
mov eax, dword [ebp - 0x40]
push esi
xor esi, esi
lea edx, [ebp - 0x20]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x536444]
push edx
push eax
mov dword [ebp - 0x20], 0x10
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
call dword [sym.imp.ADVAPI32.dll_SetServiceStatus]
test eax, eax
jne 0x4a2955
mov ecx, dword [0x53b638]
push ecx
mov dword [0x53b640], esi
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004e3946
mov esp, ebp
pop ebp
ret