joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41c2a0
Capabilities:
Persist via run registry key
Read .ini file
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [0x45066c]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x138]
push eax
push 0x20006
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x41c432
mov edx, dword [ebx]
push esi
lea ecx, [ebp - 0xec]
mov byte [ebp - 0xec], al
push edx
or eax, 0xffffffff
lea esi, [ebp - 0xf0]
mov dword [ebp - 0xf0], ecx
call fcn.004137c0
push str.DataSysConfig.ini
mov eax, esi
call fcn.004136c0
mov eax, dword [ebp - 0xf0]
push eax
push 0x63
lea ecx, [ebp - 0x68]
push ecx
push 0x4457f5
push str.RunSetup
push str.SysConfig
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x68]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41c331
sub eax, edx
je 0x41c40b
push edi
lea eax, [ebp - 0x68]
mov byte [ebp - 0x130], cl
mov ecx, dword [ebx]
push eax
push ecx
lea edx, [ebp - 0x130]
push str.__s_s___mini
lea edi, [ebp - 0x134]
mov dword [ebp - 0x134], edx
call fcn.00413cb0
add esp, 0xc
lea edx, [ebp - 0xa8]
push str.Bianya
or eax, 0xffffffff
lea esi, [ebp - 0xac]
mov dword [ebp - 0xac], edx
mov byte [ebp - 0xa8], 0
call fcn.004137c0
push 0x448270
mov eax, esi
call fcn.004136c0
mov eax, dword [ebx + 0x54]
push eax
mov eax, esi
call fcn.004136c0
mov edx, dword [ebp - 0x134]
mov eax, edx
lea esi, [eax + 1]
pop edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41c3b6
mov ecx, dword [ebp - 0xac]
sub eax, esi
push eax
push edx
mov edx, dword [ebp - 0x138]
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [ebp - 0xac]
lea ecx, [ebp - 0xa8]
cmp eax, ecx
je 0x41c3f2
push eax
call fcn.00423ad1
add esp, 4
mov eax, dword [ebp - 0x134]
lea edx, [ebp - 0x130]
cmp eax, edx
je 0x41c40b
push eax
call fcn.00423ad1
add esp, 4
mov eax, dword [ebp - 0x138]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0xf0]
lea ecx, [ebp - 0xec]
pop esi
cmp eax, ecx
je 0x41c432
push eax
call fcn.00423ad1
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042304b
mov esp, ebp
pop ebp
ret
Function at 0x41c9f0
Capabilities:
Create process on windows
Create service
Persist via windows service
Read .ini file
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x178
mov eax, dword [0x45066c]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebx]
push esi
push edi
push str.BianYaSrv.exe
push ecx
lea eax, [ebp - 0x130]
push str._s_s
lea edi, [ebp - 0x134]
mov dword [ebp - 0x134], eax
mov byte [ebp - 0x130], 0
call fcn.00413cb0
add esp, 0xc
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov edx, dword [ebp - 0x134]
push 0
push 0
push 0
push 0
push 0
push edx
push 1
push 2
push 0x10
push 0xf01ff
push str.BianYaSrv
mov esi, eax
push str.BianYaSrv
push esi
call dword [sym.imp.ADVAPI32.dll_CreateServiceA]
push 0
mov edi, eax
push 0
push edi
call dword [sym.imp.ADVAPI32.dll_StartServiceA]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call edi
push esi
call edi
mov ecx, dword [ebx]
push str.Bianya.exe
push ecx
lea eax, [ebp - 0xec]
push str._s_s
lea edi, [ebp - 0xf0]
mov dword [ebp - 0xf0], eax
mov byte [ebp - 0xec], 0
call fcn.00413cb0
mov edx, dword [ebp - 0xf0]
add esp, 0xc
push 5
push edx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov ecx, dword [ebx]
lea eax, [ebp - 0xa8]
mov dword [ebp - 0xac], eax
push ecx
or eax, 0xffffffff
lea esi, [ebp - 0xac]
mov byte [ebp - 0xa8], 0
call fcn.004137c0
push str.DataSysConfig.ini
mov eax, esi
call fcn.004136c0
mov edx, dword [ebp - 0xac]
push edx
push 0x63
lea eax, [ebp - 0x68]
push eax
push 0x4457f5
push str.RunSetup
push str.SysConfig
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x68]
lea esi, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41cb20
sub eax, esi
je 0x41cb80
mov eax, dword [ebx]
lea edx, [ebp - 0x68]
push edx
push eax
lea ecx, [ebp - 0x174]
push str._s_s
lea edi, [ebp - 0x178]
mov dword [ebp - 0x178], ecx
mov byte [ebp - 0x174], 0
call fcn.00413cb0
mov ecx, dword [ebp - 0x178]
add esp, 0xc
push 5
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov eax, dword [ebp - 0x178]
lea edx, [ebp - 0x174]
cmp eax, edx
je 0x41cb80
push eax
call fcn.00423ad1
add esp, 4
mov eax, dword [ebp - 0xac]
lea ecx, [ebp - 0xa8]
pop edi
pop esi
cmp eax, ecx
je 0x41cb9b
push eax
call fcn.00423ad1
add esp, 4
mov eax, dword [ebp - 0xf0]
lea edx, [ebp - 0xec]
cmp eax, edx
je 0x41cbb4
push eax
call fcn.00423ad1
add esp, 4
mov eax, dword [ebp - 0x134]
lea ecx, [ebp - 0x130]
cmp eax, ecx
je 0x41cbcd
push eax
call fcn.00423ad1
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov al, 1
call fcn.0042304b
mov esp, ebp
pop ebp
ret

Function at 0x41cfe0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp byte [esi + 8], 0
mov dword [esi], vtable.ArkThread.0
je 0x41d012
cmp byte [esi + 9], 0
jne 0x41d012
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [esi + 9], 1
test byte [ebp + 8], 1
je 0x41d021
push esi
call fcn.004233f0
add esp, 4
mov eax, esi
pop esi
pop ebp
ret 4
Function at 0x41d030
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x440f5b
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push esi
push edi
mov eax, dword [0x45066c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0xa0
call fcn.00423460
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x41d07c
push eax
call fcn.0041b3d0
jmp 0x41d07e
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 8]
mov dword [edi + 0x14], eax
mov edx, dword [ecx]
mov dword [eax + 0x98], edx
mov ecx, dword [ecx + 4]
lea eax, [ebp - 0x50]
mov dword [ebp - 0x54], eax
push ecx
or eax, 0xffffffff
lea esi, [ebp - 0x54]
mov byte [ebp - 0x50], 0
call fcn.004137c0
mov edx, dword [ebp - 0x54]
mov esi, dword [edi + 0x14]
push edx
or eax, 0xffffffff
call fcn.004137c0
mov ecx, dword [esi + 0x48]
mov edx, dword [esi + 0x44]
lea eax, [esi + 0x44]
push ecx
push edx
lea ecx, [ebp + 8]
push ecx
push eax
call fcn.0041cbf0
mov ecx, dword [0x453434]
call fcn.00402800
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0x54]
lea edx, [ebp - 0x50]
cmp eax, edx
je 0x41d0f9
push eax
call fcn.00423ad1
add esp, 4
mov edi, dword [edi + 0x14]
mov edx, dword [edi]
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41d103
sub eax, esi
je 0x41d148
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x41d127
mov eax, dword [edi]
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExA]
mov ecx, dword [edi]
sub esp, 0x44
mov esi, esp
lea eax, [esi + 4]
mov dword [ebp + 8], esp
mov dword [esi], eax
mov byte [eax], 0
push ecx
or eax, 0xffffffff
call fcn.004137c0
push edi
call fcn.0041b720
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x41f570
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
test ecx, ecx
jne 0x41f577
xor eax, eax
ret
push esi
not eax
cmp edx, 8
jb 0x41f64d
mov esi, edx
shr esi, 3
push edi
lea esp, [esp]
movzx edi, byte [ecx]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x449b78]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x449b78]
movzx edi, byte [ecx + 2]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x449b78]
movzx edi, byte [ecx + 3]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x449b78]
movzx edi, byte [ecx + 4]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x449b78]
movzx edi, byte [ecx + 5]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x449b78]
movzx edi, byte [ecx + 6]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x449b78]
movzx edi, byte [ecx + 7]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x449b78]
add ecx, 8
sub edx, 8
dec esi
jne 0x41f590
pop edi
test edx, edx
je 0x41f66a
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x449b78]
inc ecx
dec edx
jne 0x41f651
not eax
pop esi
ret

Function at 0x41fce0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ebx
imul esi, dword [ebp + 0xc]
cmp byte [edi], 0
je 0x41fd16
mov ecx, dword [ebp + 8]
mov edx, dword [edi + 4]
push 0
lea eax, [ebp + 0xc]
push eax
push esi
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x41fd0c
mov byte [edi + 8], 1
mov eax, dword [ebp + 0xc]
xor edx, edx
div ebx
pop esi
pop ebp
ret
mov ecx, dword [edi + 0x18]
mov eax, dword [edi + 0x14]
lea edx, [ecx + esi]
cmp edx, eax
jbe 0x41fd27
sub eax, ecx
mov esi, eax
mov eax, dword [edi + 0x10]
add eax, ecx
mov ecx, dword [ebp + 8]
push esi
push eax
push ecx
call fcn.00426040
add dword [edi + 0x18], esi
add esp, 0xc
mov eax, esi
xor edx, edx
div ebx
pop esi
pop ebp
ret

Function at 0x41fd50
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp byte [esi], 0
push edi
mov edi, 1
je 0x41fd83
mov edx, dword [esi + 4]
push 0
lea eax, [ebp - 8]
push eax
push edi
lea ecx, [ebp - 1]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x41fd7e
mov byte [esi + 8], 1
mov edi, dword [ebp - 8]
jmp 0x41fdae
mov eax, dword [esi + 0x14]
push ebx
mov ebx, dword [esi + 0x18]
lea ecx, [ebx + 1]
cmp ecx, eax
jbe 0x41fd95
sub eax, ebx
mov edi, eax
mov edx, dword [esi + 0x10]
push edi
add edx, ebx
push edx
lea eax, [ebp - 1]
push eax
call fcn.00426040
add esp, 0xc
add ebx, edi
mov dword [esi + 0x18], ebx
pop ebx
cmp edi, 1
pop edi
jne 0x41fdc3
movzx ecx, byte [ebp - 1]
mov edx, dword [ebp + 8]
mov dword [edx], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret
cmp byte [esi], 0
je 0x41fdbd
cmp byte [esi + 8], 0
je 0x41fdbd
or eax, 0xffffffff
mov esp, ebp
pop ebp
ret
Function at 0x41fe60
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp byte [esi], 0
je 0x41fea7
cmp byte [esi + 1], 0
je 0x41feaf
mov eax, dword [esi + 4]
push 2
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp byte [esi], 0
push ebx
je 0x41fec1
cmp byte [esi + 1], 0
je 0x41feb5
mov edx, dword [esi + 4]
push 1
push 0
push 0
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ebx, eax
sub ebx, dword [esi + 0xc]
mov dword [ebp - 4], ebx
jmp 0x41fec9
mov ecx, dword [esi + 0x14]
mov dword [esi + 0x18], ecx
jmp 0x41fe81
xor eax, eax
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 0
mov ebx, dword [ebp - 4]
jmp 0x41fec9
mov eax, dword [esi + 0x18]
mov dword [ebp - 4], eax
mov ebx, eax
push edi
mov edi, 0xffff
mov dword [ebp - 8], edi
cmp ebx, edi
jae 0x41fedb
mov dword [ebp - 8], ebx
mov edi, ebx
push 0x404
call fcn.004242df
add esp, 4
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x41fef5
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 4
mov dword [ebp - 0x14], 0
cmp edi, eax
jbe 0x420009
jmp 0x41ff19
mov edi, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov ebx, dword [ebp - 4]
add eax, 0x400
mov dword [ebp - 0xc], edi
cmp eax, edi
ja 0x41ff28
mov dword [ebp - 0xc], eax
mov eax, ebx
sub eax, dword [ebp - 0xc]
sub ebx, eax
mov dword [ebp - 0x1c], eax
cmp ebx, 0x404
jbe 0x41ff3f
mov ebx, 0x404
cmp byte [esi], 0
je 0x41ff64
cmp byte [esi + 1], 0
je 0x420009
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 4]
push 0
push 0
add ecx, eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x41ff67
mov dword [esi + 0x18], eax
cmp byte [esi], 0
mov edi, ebx
je 0x41ff90
mov ecx, dword [ebp - 0x10]
mov edx, dword [esi + 4]
push 0
lea eax, [ebp - 0x18]
push eax
push ebx
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x41ff8b
mov byte [esi + 8], 1
mov eax, dword [ebp - 0x18]
jmp 0x41ffb9
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x14]
lea edx, [eax + ebx]
cmp edx, ecx
jbe 0x41ffa1
sub ecx, eax
mov edi, ecx
mov ecx, dword [esi + 0x10]
mov edx, dword [ebp - 0x10]
push edi
add ecx, eax
push ecx
push edx
call fcn.00426040
add esp, 0xc
add dword [esi + 0x18], edi
mov eax, edi
xor edx, edx
div ebx
cmp eax, 1
jne 0x420009
lea eax, [ebx - 3]
test eax, eax
jle 0x41fffd
lea esp, [esp]
mov ecx, dword [ebp - 0x10]
dec eax
cmp byte [eax + ecx], 0x50
jne 0x41ffef
cmp byte [eax + ecx + 1], 0x4b
jne 0x41ffef
cmp byte [eax + ecx + 2], 5
jne 0x41ffef
cmp byte [eax + ecx + 3], 6
je 0x41fff5
test eax, eax
jg 0x41ffd0
jmp 0x41fffd
add eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
jne 0x420009
mov edx, dword [ebp - 8]
cmp dword [ebp - 0xc], edx
jb 0x41ff10
mov eax, dword [ebp - 0x10]
push eax
call fcn.00423ad1
mov eax, dword [ebp - 0x14]
add esp, 4
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4219e0
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
mov eax, dword [0x45066c]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x3f
lea eax, [ebp - 0x7b]
push 0
push eax
mov byte [ebp - 0x7c], 0
call fcn.0042c010
add esp, 0xc
xor eax, eax
jmp 0x421a10
mov ecx, eax
shr ecx, 3
movsx edx, byte [ecx + str.Sta_Enctypt]
mov ecx, eax
and ecx, 7
shl edx, cl
inc eax
sar edx, 7
and dl, 1
mov byte [ebp + eax - 0x7d], dl
cmp eax, 0x40
jb 0x421a10
push 0x37
lea eax, [ebp - 0x3b]
push 0
push eax
mov byte [ebp - 0x3c], 0
call fcn.0042c010
add esp, 0xc
xor eax, eax
lea esp, [esp]
movsx ecx, byte [eax + str.91__]
movzx edx, byte [ebp + ecx - 0x7d]
movsx ecx, byte [eax + 0x448481]
mov byte [ebp + eax - 0x3c], dl
movzx edx, byte [ebp + ecx - 0x7d]
movsx ecx, byte [eax + 0x448482]
mov byte [ebp + eax - 0x3b], dl
movzx edx, byte [ebp + ecx - 0x7d]
movsx ecx, byte [eax + 0x448483]
mov byte [ebp + eax - 0x3a], dl
movzx edx, byte [ebp + ecx - 0x7d]
mov byte [ebp + eax - 0x39], dl
add eax, 4
cmp eax, 0x38
jl 0x421a50
lea edx, [ebp - 0x3c]
mov ecx, esi
call fcn.00421ab0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042304b
mov esp, ebp
pop ebp
ret
Function at 0x421ab0
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb0
mov eax, dword [0x45066c]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push ebx
push esi
push edi
lea ebx, [ecx + 1]
mov ecx, 7
mov esi, edx
lea edi, [ebp - 0x90]
rep movsd dword es:[edi], dword [esi]
lea esi, [edx + 0x1c]
mov ecx, 7
lea edi, [ebp - 0xac]
rep movsd dword es:[edi], dword [esi]
xor edi, edi
mov byte [ebp - 0x3c], 0
mov dword [ebp - 0x3b], eax
mov dword [ebp - 0x37], eax
mov dword [ebp - 0x33], eax
mov dword [ebp - 0x2f], eax
mov dword [ebp - 0x2b], eax
mov dword [ebp - 0x27], eax
mov word [ebp - 0x23], ax
mov byte [ebp - 0x21], al
mov byte [ebp - 0x20], al
mov dword [ebp - 0x1f], eax
mov dword [ebp - 0x1b], eax
mov dword [ebp - 0x17], eax
mov dword [ebp - 0x13], eax
mov dword [ebp - 0xf], eax
mov dword [ebp - 0xb], eax
mov word [ebp - 7], ax
mov byte [ebp - 5], al
mov dword [ebp - 0xb0], edi
jmp 0x421b36
mov edi, dword [ebp - 0xb0]
movsx esi, byte [edi + 0x4484e8]
mov eax, 0x1c
sub eax, esi
push eax
lea ecx, [ebp + esi - 0x90]
push ecx
lea edx, [ebp - 0x3c]
push edx
call fcn.00426040
push esi
lea eax, [ebp - 0x90]
lea ecx, [ebp - 0x20]
push eax
sub ecx, esi
push ecx
call fcn.00426040
movsx esi, byte [edi + 0x4484e8]
mov edx, 0x1c
sub edx, esi
push edx
lea eax, [ebp + esi - 0xac]
push eax
lea ecx, [ebp - 0x20]
push ecx
call fcn.00426040
push esi
lea edx, [ebp - 0xac]
lea eax, [ebp - 4]
push edx
sub eax, esi
push eax
call fcn.00426040
push 0x37
lea ecx, [ebp - 0x73]
push 0
push ecx
call fcn.0042c010
mov ecx, 7
lea esi, [ebp - 0x3c]
lea edi, [ebp - 0x74]
rep movsd dword es:[edi], dword [esi]
mov ecx, 7
lea esi, [ebp - 0x20]
lea edi, [ebp - 0x58]
add esp, 0x3c
rep movsd dword es:[edi], dword [esi]
xor eax, eax
jmp 0x421bd0
movsx edx, byte [eax + 0x4484b8]
movzx ecx, byte [ebp + edx - 0x75]
mov byte [ebx + eax - 1], cl
movsx edx, byte [eax + 0x4484b9]
movzx ecx, byte [ebp + edx - 0x75]
mov byte [ebx + eax], cl
movsx edx, byte [eax + 0x4484ba]
movzx ecx, byte [ebp + edx - 0x75]
mov byte [ebx + eax + 1], cl
movsx edx, byte [eax + 0x4484bb]
movzx ecx, byte [ebp + edx - 0x75]
mov byte [ebx + eax + 2], cl
movsx edx, byte [eax + 0x4484bc]
movzx ecx, byte [ebp + edx - 0x75]
mov byte [ebx + eax + 3], cl
movsx edx, byte [eax + 0x4484bd]
movzx ecx, byte [ebp + edx - 0x75]
mov byte [ebx + eax + 4], cl
add eax, 6
cmp eax, 0x30
jl 0x421bd0
mov eax, dword [ebp - 0xb0]
mov ecx, 7
lea esi, [ebp - 0x3c]
lea edi, [ebp - 0x90]
rep movsd dword es:[edi], dword [esi]
inc eax
mov ecx, 7
lea esi, [ebp - 0x20]
lea edi, [ebp - 0xac]
add ebx, 0x30
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0xb0], eax
cmp eax, 0x10
jl 0x421b30
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042304b
mov esp, ebp
pop ebp
ret
Function at 0x421c90
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe8
mov eax, dword [0x45066c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor ebx, ebx
push 0x3f
mov esi, ecx
lea ecx, [ebp - 0x43]
push ebx
push ecx
mov dword [ebp - 0xe8], eax
mov byte [ebp - 0x44], bl
call fcn.0042c010
push 0x3f
lea edx, [ebp - 0xe3]
push ebx
push edx
mov byte [ebp - 0xe4], bl
call fcn.0042c010
push 0x3f
lea eax, [ebp - 0x83]
push ebx
push eax
call fcn.0042c010
add esp, 0x24
xor eax, eax
jmp 0x421cf0
mov ecx, eax
shr ecx, 3
movsx edx, byte [ecx + esi]
mov ecx, eax
and ecx, 7
shl edx, cl
inc eax
sar edx, 7
and dl, 1
mov byte [ebp + eax - 0x45], dl
cmp eax, 0x40
jb 0x421cf0
lea eax, [ebp - 0xe4]
lea ecx, [ebp - 0x44]
call fcn.00422070
mov ecx, 8
lea esi, [ebp - 0xe4]
lea edi, [ebp - 0x24]
rep movsd dword es:[edi], dword [esi]
mov ecx, 8
lea esi, [ebp - 0xc4]
lea edi, [ebp - 0xa4]
rep movsd dword es:[edi], dword [esi]
xor esi, esi
mov edx, dword [ebp - 0xe8]
lea eax, [ebp - 0xa4]
push eax
mov ecx, esi
lea ebx, [ebp - 0x24]
call fcn.00421e10
inc esi
cmp esi, 0x10
jl 0x421d43
mov ecx, 8
lea esi, [ebp - 0xa4]
lea edi, [ebp - 0x84]
rep movsd dword es:[edi], dword [esi]
mov ecx, 8
mov esi, ebx
lea edi, [ebp - 0x64]
rep movsd dword es:[edi], dword [esi]
xor eax, eax
movsx ecx, byte [eax + 0x448788]
movzx edx, byte [ebp + ecx - 0x85]
mov ecx, dword [ebp - 0xe8]
mov byte [ecx + eax + 0x600], dl
movsx edx, byte [eax + 0x448789]
movzx edx, byte [ebp + edx - 0x85]
mov byte [ecx + eax + 0x601], dl
movsx edx, byte [eax + 0x44878a]
movzx edx, byte [ebp + edx - 0x85]
mov byte [ecx + eax + 0x602], dl
movsx edx, byte [eax + 0x44878b]
movzx edx, byte [ebp + edx - 0x85]
mov byte [ecx + eax + 0x603], dl
add eax, 4
cmp eax, 0x40
jl 0x421d81
mov eax, ecx
lea edi, [eax + 0x600]
lea esi, [eax + 0x680]
call fcn.004222f0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042304b
mov esp, ebp
pop ebp
ret 4
Function at 0x422070
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, str.:2_
mov edi, 0x4484f9
mov edx, 0x4484fa
mov ebx, 0x4484fb
sub esi, eax
sub edi, eax
sub edx, eax
sub ebx, eax
mov dword [ebp - 8], ebx
mov dword [ebp - 4], 0x10
nop
movsx ebx, byte [esi + eax]
movzx ebx, byte [ebx + ecx - 1]
mov byte [eax], bl
movsx ebx, byte [edi + eax]
movzx ebx, byte [ebx + ecx - 1]
mov byte [eax + 1], bl
movsx ebx, byte [edx + eax]
movzx ebx, byte [ebx + ecx - 1]
mov byte [eax + 2], bl
mov ebx, dword [ebp - 8]
movsx ebx, byte [ebx + eax]
movzx ebx, byte [ebx + ecx - 1]
mov byte [eax + 3], bl
add eax, 4
dec dword [ebp - 4]
jne 0x4220a0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4220f0
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, 0x44853b
sub ebx, eax
mov dword [ebp - 8], ebx
push esi
mov ebx, 0x44853c
sub ebx, eax
push edi
mov dword [ebp - 0xc], ebx
mov esi, 0x448538
mov edi, 0x448539
mov edx, 0x44853a
mov ebx, 0x44853d
sub esi, eax
sub edi, eax
sub edx, eax
sub ebx, eax
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], 8
movsx ebx, byte [esi + eax]
movzx ebx, byte [ebx + ecx - 1]
mov byte [eax], bl
movsx ebx, byte [edi + eax]
movzx ebx, byte [ebx + ecx - 1]
mov byte [eax + 1], bl
movsx ebx, byte [edx + eax]
movzx ebx, byte [ebx + ecx - 1]
mov byte [eax + 2], bl
mov ebx, dword [ebp - 8]
movsx ebx, byte [ebx + eax]
movzx ebx, byte [ebx + ecx - 1]
mov byte [eax + 3], bl
mov ebx, dword [ebp - 0xc]
movsx ebx, byte [ebx + eax]
movzx ebx, byte [ebx + ecx - 1]
mov byte [eax + 4], bl
mov ebx, dword [ebp - 0x10]
movsx ebx, byte [ebx + eax]
movzx ebx, byte [ebx + ecx - 1]
mov byte [eax + 5], bl
add eax, 6
dec dword [ebp - 4]
jne 0x422133
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x422270
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, 0x448768
mov edi, 0x448769
mov edx, 0x44876a
mov ebx, 0x44876b
sub esi, eax
sub edi, eax
sub edx, eax
sub ebx, eax
mov dword [ebp - 8], ebx
mov dword [ebp - 4], 8
nop
movsx ebx, byte [esi + eax]
movzx ebx, byte [ebx + ecx - 1]
mov byte [eax], bl
movsx ebx, byte [edi + eax]
movzx ebx, byte [ebx + ecx - 1]
mov byte [eax + 1], bl
movsx ebx, byte [edx + eax]
movzx ebx, byte [ebx + ecx - 1]
mov byte [eax + 2], bl
mov ebx, dword [ebp - 8]
movsx ebx, byte [ebx + eax]
movzx ebx, byte [ebx + ecx - 1]
mov byte [eax + 3], bl
add eax, 4
dec dword [ebp - 4]
jne 0x4222a0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x42304b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x45066c]
jne 0x423055
repz ret
jmp fcn.00428a0c
Function at 0x436a74
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x45066c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00428e0b
and dword [ebp - 0x14], 0
cmp dword [0x453310], 0
mov dword [ebp - 0x18], eax
jne 0x436b27
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x436bcf
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x436bcf
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x453310], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x453314], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x453318], eax
call edi
push eax
call esi
mov dword [0x453320], eax
test eax, eax
je 0x436b27
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x45331c], eax
mov eax, dword [0x45331c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x436b80
cmp dword [0x453320], ecx
je 0x436b80
push eax
call esi
push dword [0x453320]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x436b80
test ebx, ebx
je 0x436b80
call edi
test eax, eax
je 0x436b77
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x436b77
test byte [ebp - 8], 1
jne 0x436b80
or dword [ebp + 0x10], 0x200000
jmp 0x436bb3
mov eax, dword [0x453314]
cmp eax, dword [ebp - 0x18]
je 0x436bb3
push eax
call esi
test eax, eax
je 0x436bb3
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x436bb3
mov eax, dword [0x453318]
cmp eax, dword [ebp - 0x18]
je 0x436bb3
push eax
call esi
test eax, eax
je 0x436bb3
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x453310]
call esi
test eax, eax
je 0x436bcf
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x436bd1
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042304b
leave
ret