joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46c420
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4ebada
mov eax, dword fs:[0]
push eax
sub esp, 0x54c
mov eax, dword [0x53fa2c]
xor eax, esp
mov dword [esp + 0x548], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x53fa2c]
xor eax, esp
push eax
lea eax, [esp + 0x560]
mov dword fs:[0], eax
mov dword [esp + 0x568], 1
push 0x1ff
lea eax, [esp + 0x361]
push 0
push eax
mov byte [esp + 0x368], 0
call sub.MSVCR90.dll_memset
push 0x1ff
lea ecx, [esp + 0x16d]
push 0
push ecx
mov byte [esp + 0x174], 0
call sub.MSVCR90.dll_memset
add esp, 0x18
push 0x5116d8
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_310]
mov bl, 2
mov byte [esp + 0x568], bl
mov eax, dword [esp + 0x570]
mov ecx, dword [eax - 0xc]
cmp ecx, 0x200
jg 0x46c605
jae 0x46c4ea
lea edx, [esp + 0x15c]
sub edx, eax
lea ebx, [ebx]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x46c4e0
lea edx, [esp + 0x574]
push edx
lea eax, [esp + 0x1c]
push 0x502b38
push eax
call fcn.00410070
add esp, 0xc
mov byte [esp + 0x568], 3
mov eax, dword [eax]
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x46c510
lea edi, [esp + 0x15c]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x46c523
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov byte [esp + 0x568], bl
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x160]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x46c605
push 0
call dword [sym.imp.MSVCR90.dll__time64]
mov ebp, dword [sym.imp.MSVCR90.dll_sprintf]
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileA]
add esp, 4
jmp 0x46c590
mov eax, dword [esp + 0x570]
cmp dword [eax - 0xc], 0x200
ja 0x46c5fe
lea ecx, [esp + 0x48]
push ecx
push eax
lea edx, [esp + 0x364]
push 0x5027d8
push edx
call ebp
add esp, 0x10
test byte [esp + 0x1c], 0x10
jne 0x46c5f2
lea ecx, [esp + 0x35c]
push ecx
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_820]
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], 0xa
jle 0x46c5f2
push eax
push str.DeleteFile_22__s_
push 8
call fcn.0043d500
mov edx, dword [esp + 0x20]
add esp, 0xc
push edx
call ebx
lea eax, [esp + 0x1c]
push eax
push esi
call edi
test eax, eax
jne 0x46c590
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [esp + 0x568], 1
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x568], 0
lea ecx, [esp + 0x570]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov dword [esp + 0x568], 0xffffffff
lea ecx, [esp + 0x574]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov ecx, dword [esp + 0x560]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x548]
xor ecx, esp
call fcn.004e0148
add esp, 0x558
ret
Function at 0x46d0b0
Capabilities:
Query or enumerate registry key

Disassembly:
push 0xffffffffffffffff
push 0x4ecac6
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x53fa2c]
xor eax, esp
mov dword [esp + 0x214], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x53fa2c]
xor eax, esp
push eax
lea eax, [esp + 0x22c]
mov dword fs:[0], eax
mov edi, dword [esp + 0x23c]
mov dword [esp + 0x234], 1
xor esi, esi
push 0x1ff
lea eax, [esp + 0x2d]
push esi
push eax
mov dword [esp + 0x20], esi
mov byte [esp + 0x34], 0
call sub.MSVCR90.dll_memset
mov edx, dword [esp + 0x24c]
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
push 0x20019
push esi
push edx
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x46d258
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x46d258
cmp eax, 0xffffffff
je 0x46d258
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x3c]
push edx
push esi
push eax
mov dword [esp + 0x3c], 0x200
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
inc esi
cmp byte [esp + 0x28], 0
mov ebp, eax
je 0x46d24d
push ecx
lea eax, [esp + 0x248]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call dword [sym.imp.mfc90.dll_Ordinal_300]
mov byte [esp + 0x238], 2
push 0x4ff418
lea ecx, [esp + 0x248]
push ecx
lea edx, [esp + 0x24]
push edx
call fcn.00402a60
mov byte [esp + 0x244], 3
add esp, 8
mov ecx, esp
mov dword [esp + 0x2c], esp
lea edx, [esp + 0x30]
push edx
push eax
push ecx
call fcn.00402a60
add esp, 0xc
mov byte [esp + 0x23c], 4
push edi
mov byte [esp + 0x240], 5
call fcn.00465e10
add esp, 0xc
mov bl, al
mov byte [esp + 0x234], 1
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_601]
test bl, bl
jne 0x46d21c
mov byte [esp + 0x28], bl
cmp ebp, 0x103
je 0x46d24d
mov eax, dword [esp + 0x14]
jmp 0x46d152
mov byte [esp + 0x234], 0
lea ecx, [esp + 0x240]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov dword [esp + 0x234], 0xffffffff
lea ecx, [esp + 0x244]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov al, 1
jmp 0x46d287
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [esp + 0x234], 0
lea ecx, [esp + 0x240]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov dword [esp + 0x234], 0xffffffff
lea ecx, [esp + 0x244]
call dword [sym.imp.mfc90.dll_Ordinal_601]
xor al, al
mov ecx, dword [esp + 0x22c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.004e0148
add esp, 0x224
ret
Function at 0x46d4e0
Capabilities:
Access firewall policy via inetfwpolicy2
Access firewall rule properties via inetfwrule

Disassembly:
sub esp, 0x10
push ebx
push esi
push edi
xor edi, edi
push 2
push edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], edi
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov ebx, eax
cmp ebx, 0x80010106
je 0x46d50f
cmp ebx, edi
jl 0x46d583
mov esi, dword [sym.imp.ole32.dll_CoCreateInstance]
lea eax, [esp + 0xc]
push eax
push 0x510e54
push 1
push edi
push 0x510e44
call esi
test eax, eax
jl 0x46d583
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
lea edx, [esp + 0x10]
push edx
push eax
mov eax, dword [ecx + 0x48]
call eax
test eax, eax
jl 0x46d583
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
test eax, eax
jl 0x46d583
mov eax, dword [esp + 0x14]
test al, 4
je 0x46d56b
cmp eax, 4
je 0x46d56b
xor eax, 4
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x18]
push ecx
push 0x5119ec
push 1
push edi
push 0x5119dc
call esi
test eax, eax
jge 0x46d595
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x46d5c1
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
jmp 0x46d5c1
mov eax, dword [esp + 0x20]
push 0xffffffffffffffff
push eax
call fcn.00402c30
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
add esp, 8
push eax
mov eax, dword [edx + 0x24]
push ecx
call eax
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x46d5c1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x10]
cmp eax, edi
je 0x46d5d1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0xc]
cmp eax, edi
je 0x46d5e1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp ebx, edi
jl 0x46d5eb
call dword [sym.imp.ole32.dll_CoUninitialize]
pop edi
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x46dc20
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4ecc7f
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
mov eax, dword [0x53fa2c]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov dword [esp + 0x28], 0
push 0x1070804
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_300]
mov byte [esp + 0x28], 1
push 0x1070800
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90.dll_Ordinal_300]
mov byte [esp + 0x28], 2
push 0
call dword [sym.imp.MSVCR90.dll__time64]
add esp, 4
mov dword [esp + 0x18], eax
push str._Y__m__d__H:_M:_S
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x24], edx
call fcn.00409400
mov byte [esp + 0x28], 3
lea ecx, [esp + 0x18]
push ecx
call fcn.00465390
mov byte [esp + 0x2c], 4
push str._trojancut.exe
push eax
lea edx, [esp + 0x20]
push edx
call fcn.00402a60
mov byte [esp + 0x38], 5
push 0x5116d8
push 0x5116d8
push 0x5116d8
mov ecx, dword [esp + 0x4c]
push 0x5116d8
mov edx, dword [eax]
push 0x5116d8
mov eax, dword [esp + 0x2c]
push 0x5116d8
push 0
push 0x5116d8
push 0x5116d8
push 0
push 0x5116d8
push 0
push ecx
mov ecx, dword [esp + 0x50]
push 0x200000
push edx
mov edx, dword [esp + 0x5c]
push eax
push ecx
push edx
push 0xee64
lea eax, [esp + 0x8c]
push str.Set_d_s_s_s_s_d_s_ld_s_d_s_s_d_s_s_s_s_s_s
push eax
call dword [sym.imp.mfc90.dll_Ordinal_2539]
add esp, 0x64
mov byte [esp + 0x28], 4
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x28], 3
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_601]
call sub.mfc90.dll_Ordinal_1137
mov eax, dword [eax + 4]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x7c]
call eax
push 0
push ecx
mov esi, eax
mov ecx, esp
lea edx, [esp + 0x38]
mov dword [esp + 0x20], esp
push edx
call dword [sym.imp.mfc90.dll_Ordinal_300]
mov byte [esp + 0x30], 6
mov byte [esp + 0x30], 3
mov ecx, esi
call fcn.004a9f10
mov esi, eax
mov byte [esp + 0x28], 2
lea ecx, [esp + 8]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x28], 1
lea ecx, [esp + 0xc]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x28], 0
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov dword [esp + 0x28], 0xffffffff
lea ecx, [esp + 0x30]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x24
ret
Function at 0x471be0
Capabilities:
Access peb ldr_data
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push 0xffffffffffffffff
push 0x4ed592
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push edi
mov eax, dword [0x53fa2c]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0xc], ebx
mov edi, dword [esp + 0x30]
mov ecx, edi
call dword [sym.imp.mfc90.dll_Ordinal_316]
mov dword [esp + 0x28], ebx
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], 1
call fcn.00464700
mov dword [esp + 0x28], 1
cmp dword [esp + 0x18], ebx
jne 0x471c5d
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x471c73
lea ecx, [esp + 0x18]
push ecx
push ebx
push ebx
push 0x800c
push eax
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x471c73
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x18]
push ebx
push edx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
push edi
lea ecx, [esp + 0x14]
call fcn.0046a9c0
mov byte [esp + 0x28], bl
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x471c94
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x471ca7
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x471cbb
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov dword [esp + 0x14], ebx
mov eax, edi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
add esp, 0x20
ret
Function at 0x471cd0
Capabilities:
Get number of processors
Log keystrokes via polling

Disassembly:
push 0xffffffffffffffff
push 0x4ed5dd
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x53fa2c]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov dword [esp + 0x28], 0
push 0x5c
lea ecx, [esp + 0x34]
call dword [sym.imp.mfc90.dll_Ordinal_5963]
mov esi, eax
cmp esi, 0xffffffff
jne 0x471d34
mov dword [esp + 0x28], eax
lea ecx, [esp + 0x30]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
mov eax, dword [esp + 0x30]
mov eax, dword [eax - 0xc]
sub eax, esi
dec eax
push eax
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x38]
call dword [sym.imp.mfc90.dll_Ordinal_5997]
mov byte [esp + 0x28], 1
push 0x512bbc
push eax
lea edx, [esp + 0x1c]
push edx
call fcn.00402a60
add esp, 0xc
mov byte [esp + 0x28], 3
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov eax, dword [esp + 0x30]
mov eax, dword [eax - 0xc]
sub eax, esi
dec eax
push eax
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x38]
call dword [sym.imp.mfc90.dll_Ordinal_5997]
mov byte [esp + 0x28], 4
push 0x512bac
push eax
lea edx, [esp + 0x24]
push edx
call fcn.00402a60
add esp, 0xc
mov byte [esp + 0x28], 6
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov ebx, dword [sym.imp.USER32.dll_PostMessageA]
mov ebp, dword [sym.imp.USER32.dll_VkKeyScanA]
mov eax, dword [esp + 0x14]
push eax
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
jne 0x471de2
push 0x3e8
call edi
jmp 0x471dc8
mov ecx, dword [esp + 0x1c]
push ecx
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
mov esi, eax
test esi, esi
je 0x471e1f
push 0
push 0x1b
call ebp
movsx edx, ax
push edx
push pe_nt_image_headers32
push esi
call ebx
push 0xa
call edi
push 0
push 0x1b
call ebp
cwde
push eax
push 0x101
push esi
call ebx
push 0xa
call edi
push 3
call edi
mov ecx, dword [esp + 0x14]
push ecx
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
jne 0x471de2
push 0x64
call edi
jmp 0x471dc8
Function at 0x47cfa0
Capabilities:
Create thread

Disassembly:
push ecx
mov ecx, dword [esp + 8]
lea eax, [esp]
push eax
push 0
push ecx
push 0x47cca0
push 0
push 0
call dword [sym.imp.MSVCR90.dll__beginthreadex]
mov al, 1
add esp, 0x1c
ret

Function at 0x47cfd0
Capabilities:
Create thread

Disassembly:
push ecx
mov ecx, dword [esp + 8]
lea eax, [esp]
push eax
push 0
push ecx
push 0x47ce70
push 0
push 0
call dword [sym.imp.MSVCR90.dll__beginthreadex]
mov al, 1
add esp, 0x1c
ret
Function at 0x47e110
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4eeabe
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x53fa2c]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
xor edi, edi
mov word [esi + 0xe], ax
mov dword [esp + 0x18], edi
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edx
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], eax
mov byte [esp + 0x18], 1
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
cmp dword [esi + 0x10], edi
jne 0x47e1b7
push 0xc
call sub.mfc90.dll_Ordinal_798
add esp, 4
mov dword [esp + 0x20], eax
mov byte [esp + 0x18], 2
cmp eax, edi
je 0x47e1aa
push edi
push 0x10000
mov ecx, eax
call fcn.00472720
jmp 0x47e1ac
xor eax, eax
mov byte [esp + 0x18], 1
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esp + 0x18], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 0xc
Function at 0x480ce0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4eeed9
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push esi
push edi
mov eax, dword [0x53fa2c]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
lea ecx, [esp + 0xc]
call dword [sym.imp.mfc90.dll_Ordinal_316]
mov dword [esp + 0x54], 0
mov esi, dword [esp + 0x5c]
cmp dword [esi + 0x30], 0
je 0x480d56
push str.rcvJson_tc_server_docHttp.HasParseError
push 8
call fcn.0043d500
add esp, 8
mov dword [esp + 0x54], 0xffffffff
lea ecx, [esp + 0xc]
call dword [sym.imp.mfc90.dll_Ordinal_601]
xor al, al
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x4c
ret
mov edi, dword [esi]
mov eax, dword [esi + 8]
shl edi, 5
add edi, eax
push str.user_id_type
lea eax, [esp + 0x60]
push eax
mov ecx, esi
call fcn.0047f8a0
mov eax, dword [eax]
cmp eax, edi
je 0x480d9d
push str.user_id_type
mov ecx, esi
call fcn.0047f950
mov ecx, 0x1000
test word [eax + 0xe], cx
jne 0x480d91
mov eax, dword [eax + 8]
push eax
mov ecx, 0x103ad04
call dword [sym.imp.mfc90.dll_Ordinal_820]
mov edi, dword [esi]
mov eax, dword [esi + 8]
push str.user_structure
lea edx, [esp + 0x60]
shl edi, 5
push edx
mov ecx, esi
add edi, eax
call fcn.0047f8a0
cmp dword [eax], edi
je 0x480de2
push str.user_structure
mov ecx, esi
call fcn.0047f950
mov ecx, 0x1000
test word [eax + 0xe], cx
jne 0x480dd6
mov eax, dword [eax + 8]
push eax
mov ecx, 0x103add4
call dword [sym.imp.mfc90.dll_Ordinal_820]
mov edi, dword [esi]
mov eax, dword [esi + 8]
push str.config_type
lea edx, [esp + 0x60]
shl edi, 5
push edx
mov ecx, esi
add edi, eax
call fcn.0047f8a0
mov eax, dword [eax]
cmp eax, edi
je 0x480e22
push str.config_type
mov ecx, esi
call fcn.0047f950
mov eax, dword [eax]
mov dword [0x53ed7c], eax
cmp eax, 1
jne 0x480e22
or dword [0x10389dc], 4
push pe_nt_image_headers32
push 0
lea ecx, [esp + 0x18]
call fcn.004731d0
mov byte [esp + 0x54], 1
push 0x20
push 0
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x34]
call fcn.00472680
mov byte [esp + 0x54], 2
lea ecx, [esp + 0x28]
push ecx
mov ecx, esi
call fcn.004807f0
mov edx, dword [esp + 0x20]
sub edx, dword [esp + 0x1c]
cmp edx, 1
jge 0x480e72
push 1
lea ecx, [esp + 0x14]
call fcn.00472b80
mov ecx, dword [esp + 0x1c]
mov eax, ecx
inc ecx
mov dword [esp + 0x1c], ecx
mov byte [eax], 0
mov eax, dword [esp + 0x18]
dec dword [esp + 0x1c]
push eax
mov ecx, 0x103acbc
call dword [sym.imp.mfc90.dll_Ordinal_820]
mov ecx, dword [0x103acbc]
push ecx
push str.tc_http_server
push str.SOFTWARETrojanCutTC_Env_tc_COMMUNICATION
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00491e90
add esp, 0x10
mov byte [esp + 0x54], 1
lea ecx, [esp + 0x28]
call fcn.00472e10
mov byte [esp + 0x54], 0
lea ecx, [esp + 0x10]
call fcn.00472c40
mov dword [esp + 0x54], 0xffffffff
lea ecx, [esp + 0xc]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov al, 1
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x4c
ret
Function at 0x48e9b0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
push ebx
mov ebx, dword [esp + 0x14]
push esi
mov eax, ebx
push edi
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x48e9c0
sub eax, edx
xor edi, edi
xor esi, esi
mov dword [esp + 0x14], eax
test eax, eax
jle 0x48ea59
push ebp
mov ebp, dword [esp + 0x24]
mov edi, edi
mov cl, byte [esi + ebx]
mov dl, byte [esi + ebx + 1]
xor eax, eax
mov word [esp + 0x15], ax
mov byte [esp + 0x16], al
lea eax, [esp + 0x13]
mov byte [esp + 0x14], cl
inc esi
push eax
lea ecx, [esp + 0x18]
push ecx
mov byte [esp + 0x1d], dl
inc esi
call fcn.0048e910
mov eax, 0x66666667
imul edi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax + eax*4]
mov al, byte [esp + 0x1b]
add edx, edx
mov ecx, edi
sub ecx, edx
xor al, byte [ecx + 0x53f208]
lea edx, [esp + 0x1c]
push edx
push ebp
push 0x508fd8
push ebp
mov byte [esp + 0x2b], al
inc edi
mov byte [esp + 0x2c], al
mov byte [esp + 0x2d], 0
call dword [sym.imp.MSVCR90.dll_sprintf]
add esp, 0x18
cmp esi, dword [esp + 0x18]
jl 0x48e9e0
pop ebp
pop edi
pop esi
pop ebx
add esp, 0xc
ret

Function at 0x48ecd0
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x4f070c
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x53fa2c]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
xor esi, esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x18], esi
mov ebx, 1
mov dword [esp + 0x24], ebx
mov edi, dword [esp + 0x2c]
push 0x5116d8
mov ecx, edi
call dword [sym.imp.mfc90.dll_Ordinal_310]
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], ebx
call dword [sym.imp.mfc90.dll_Ordinal_316]
mov byte [esp + 0x24], 2
mov eax, dword [esp + 0x30]
mov ebp, dword [eax - 0xc]
cmp ebp, esi
jle 0x48ed8b
mov ebx, dword [sym.imp.mfc90.dll_Ordinal_2539]
nop
push esi
lea ecx, [esp + 0x34]
call dword [sym.imp.mfc90.dll_Ordinal_899]
mov cl, al
mov eax, 0xcccccccd
mul esi
shr edx, 3
lea edx, [edx + edx*4]
add edx, edx
mov eax, esi
sub eax, edx
xor cl, byte [eax + 0x53f208]
lea edx, [esp + 0x14]
movzx ecx, cl
push ecx
push str._02x
push edx
call ebx
add esp, 0xc
lea eax, [esp + 0x14]
push eax
mov ecx, edi
call dword [sym.imp.mfc90.dll_Ordinal_941]
inc esi
cmp esi, ebp
jl 0x48ed40
mov ecx, edi
call dword [sym.imp.mfc90.dll_Ordinal_4481]
mov byte [esp + 0x24], 1
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x24], 0
lea ecx, [esp + 0x30]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov eax, edi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret

Function at 0x48f040
Capabilities:
Find taskbar

Disassembly:
push 0x5116d8
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
je 0x48f060
push 0x53f384
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [0x53f390]
cmp eax, 0xc8
jle 0x48f079
sub eax, dword [0x53f388]
cmp eax, 0xc8
jl 0x48f07b
xor eax, eax
ret
Function at 0x48f080
Capabilities:
Find taskbar

Disassembly:
push 0x5116d8
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
je 0x48f0a0
push 0x53f384
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [0x53f384]
cmp ecx, 0xc8
jle 0x48f0bc
mov eax, dword [0x53f38c]
sub eax, ecx
cmp eax, 0xc8
jl 0x48f0be
xor eax, eax
ret
Function at 0x48f4b0
Capabilities:
Enumerate process modules

Disassembly:
sub esp, 0x228
mov eax, dword [0x53fa2c]
xor eax, esp
mov dword [esp + 0x224], eax
push edi
push 0x220
lea eax, [esp + 0xc]
push 0
push eax
mov dword [esp + 0x10], 0
call sub.MSVCR90.dll_memset
mov ecx, dword [esp + 0x23c]
add esp, 0xc
push ecx
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
jne 0x48f50f
xor al, al
pop edi
mov ecx, dword [esp + 0x224]
xor ecx, esp
call fcn.004e0148
add esp, 0x228
ret
push ebx
lea edx, [esp + 8]
push edx
mov ebx, 0x224
push edi
mov dword [esp + 0x10], ebx
call sub.KERNEL32.dll_Module32First
test eax, eax
jne 0x48f541
pop ebx
xor al, al
pop edi
mov ecx, dword [esp + 0x224]
xor ecx, esp
call fcn.004e0148
add esp, 0x228
ret
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_StrStrIA]
push str.SystemApps
lea eax, [esp + 0x130]
push eax
call esi
test eax, eax
jne 0x48f581
push str.WindowsApps
lea ecx, [esp + 0x130]
push ecx
call esi
test eax, eax
jne 0x48f581
push str.AppDataLocalMicrosoft
lea edx, [esp + 0x130]
push edx
call esi
test eax, eax
je 0x48f5e3
lea eax, [esp + 0xc]
push eax
push edi
mov dword [esp + 0x14], ebx
call sub.KERNEL32.dll_Module32Next
test eax, eax
je 0x48f5dc
mov ecx, str.tc_ad.dll
lea eax, [esp + 0x2c]
lea ecx, [ecx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x48f5c0
test dl, dl
je 0x48f5bc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x48f5c0
add eax, 2
add ecx, 2
test dl, dl
jne 0x48f5a0
xor eax, eax
jmp 0x48f5c5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x48f5fd
lea ecx, [esp + 0xc]
push ecx
push edi
mov dword [esp + 0x14], ebx
call sub.KERNEL32.dll_Module32Next
test eax, eax
jne 0x48f594
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebx
xor al, al
pop edi
mov ecx, dword [esp + 0x224]
xor ecx, esp
call fcn.004e0148
add esp, 0x228
ret
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x230]
pop esi
pop ebx
pop edi
xor ecx, esp
mov al, 1
call fcn.004e0148
add esp, 0x228
ret