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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [0x45166c]
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 0x41cb72
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.00413e70
push str.DataSysConfig.ini
mov eax, esi
call fcn.00413d70
mov eax, dword [ebp - 0xf0]
push eax
push 0x63
lea ecx, [ebp - 0x68]
push ecx
push 0x4468c1
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 0x41ca71
sub eax, edx
je 0x41cb4b
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.00414360
add esp, 0xc
lea edx, [ebp - 0xa8]
push str.bianya2
or eax, 0xffffffff
lea esi, [ebp - 0xac]
mov dword [ebp - 0xac], edx
mov byte [ebp - 0xa8], 0
call fcn.00413e70
push 0x4493f8
mov eax, esi
call fcn.00413d70
mov eax, dword [ebx + 0x54]
push eax
mov eax, esi
call fcn.00413d70
mov edx, dword [ebp - 0x134]
mov eax, edx
lea esi, [eax + 1]
pop edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41caf6
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 0x41cb32
push eax
call fcn.004244b1
add esp, 4
mov eax, dword [ebp - 0x134]
lea edx, [ebp - 0x130]
cmp eax, edx
je 0x41cb4b
push eax
call fcn.004244b1
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 0x41cb72
push eax
call fcn.004244b1
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042396b
mov esp, ebp
pop ebp
ret
Function at 0x41d130
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x440323
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x45166c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [edi]
lea eax, [ebp - 0x94]
mov dword [ebp - 0x98], eax
push ecx
or eax, 0xffffffff
lea esi, [ebp - 0x98]
mov byte [ebp - 0x94], 0
call fcn.00413e70
push 0x4468f4
mov eax, esi
mov dword [ebp - 4], 0
call fcn.00413d70
push str.BianShell.dll
mov eax, esi
call fcn.00413d70
mov eax, dword [edi]
lea edx, [ebp - 0x50]
push eax
or eax, 0xffffffff
lea esi, [ebp - 0x54]
mov dword [ebp - 0x54], edx
mov byte [ebp - 0x50], 0
call fcn.00413e70
push 0x4468f4
mov eax, esi
mov byte [ebp - 4], 1
call fcn.00413d70
lea ecx, [ebp - 0xbc]
test ecx, ecx
je 0x41d204
push str.GetNativeSystemInfo
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41d1f7
lea edx, [ebp - 0xbc]
push edx
call eax
jmp 0x41d204
lea eax, [ebp - 0xbc]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ax, word [ebp - 0xbc]
cmp ax, 9
je 0x41d217
cmp ax, 6
jne 0x41d21e
push 0x4494c8
jmp 0x41d223
push 0x4494d8
lea eax, [ebp - 0x54]
call fcn.00413d70
mov ecx, dword [ebp - 0x98]
mov edx, dword [ebp - 0x54]
push ecx
push edx
call fcn.00426006
mov eax, dword [ebp - 0x54]
lea ecx, [ebp - 0x50]
add esp, 8
cmp eax, ecx
je 0x41d251
push eax
call fcn.004244b1
add esp, 4
mov eax, dword [ebp - 0x98]
lea edx, [ebp - 0x94]
cmp eax, edx
je 0x41d26a
push eax
call fcn.004244b1
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042396b
mov esp, ebp
pop ebp
ret
Function at 0x41d290
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 [0x45166c]
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.00414360
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.00414360
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.00413e70
push str.DataSysConfig.ini
mov eax, esi
call fcn.00413d70
mov edx, dword [ebp - 0xac]
push edx
push 0x63
lea eax, [ebp - 0x68]
push eax
push 0x4468c1
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 0x41d3c0
sub eax, esi
je 0x41d420
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.00414360
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 0x41d420
push eax
call fcn.004244b1
add esp, 4
mov eax, dword [ebp - 0xac]
lea ecx, [ebp - 0xa8]
pop edi
pop esi
cmp eax, ecx
je 0x41d43b
push eax
call fcn.004244b1
add esp, 4
mov eax, dword [ebp - 0xf0]
lea edx, [ebp - 0xec]
cmp eax, edx
je 0x41d454
push eax
call fcn.004244b1
add esp, 4
mov eax, dword [ebp - 0x134]
lea ecx, [ebp - 0x130]
cmp eax, ecx
je 0x41d46d
push eax
call fcn.004244b1
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov al, 1
call fcn.0042396b
mov esp, ebp
pop ebp
ret

Function at 0x41d880
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 0x41d8b2
cmp byte [esi + 9], 0
jne 0x41d8b2
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 0x41d8c1
push esi
call fcn.00423dcd
add esp, 4
mov eax, esi
pop esi
pop ebp
ret 4
Function at 0x41d8d0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x441b2b
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push esi
push edi
mov eax, dword [0x45166c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0xa0
call fcn.00423e3d
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x41d91c
push eax
call fcn.0041bb10
jmp 0x41d91e
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.00413e70
mov edx, dword [ebp - 0x54]
mov esi, dword [edi + 0x14]
push edx
or eax, 0xffffffff
call fcn.00413e70
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.0041d490
call fcn.00402960
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0x54]
lea edx, [ebp - 0x50]
cmp eax, edx
je 0x41d993
push eax
call fcn.004244b1
add esp, 4
mov edi, dword [edi + 0x14]
mov edx, dword [edi]
mov eax, edx
lea esi, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41d9a0
sub eax, esi
je 0x41d9e5
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x41d9c4
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.00413e70
push edi
call fcn.0041be60
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 0x41fe90
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
test ecx, ecx
jne 0x41fe97
xor eax, eax
ret
push esi
not eax
cmp edx, 8
jb 0x41ff6d
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 + 0x44ad08]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x44ad08]
movzx edi, byte [ecx + 2]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x44ad08]
movzx edi, byte [ecx + 3]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x44ad08]
movzx edi, byte [ecx + 4]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x44ad08]
movzx edi, byte [ecx + 5]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x44ad08]
movzx edi, byte [ecx + 6]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x44ad08]
movzx edi, byte [ecx + 7]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x44ad08]
add ecx, 8
sub edx, 8
dec esi
jne 0x41feb0
pop edi
test edx, edx
je 0x41ff8a
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x44ad08]
inc ecx
dec edx
jne 0x41ff71
not eax
pop esi
ret

Function at 0x420600
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 0x420636
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 0x42062c
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 0x420647
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.00426a40
add dword [edi + 0x18], esi
add esp, 0xc
mov eax, esi
xor edx, edx
div ebx
pop esi
pop ebp
ret

Function at 0x420670
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp byte [esi], 0
push edi
mov edi, 1
je 0x4206a3
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 0x42069e
mov byte [esi + 8], 1
mov edi, dword [ebp - 8]
jmp 0x4206ce
mov eax, dword [esi + 0x14]
push ebx
mov ebx, dword [esi + 0x18]
lea ecx, [ebx + 1]
cmp ecx, eax
jbe 0x4206b5
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.00426a40
add esp, 0xc
add ebx, edi
mov dword [esi + 0x18], ebx
pop ebx
cmp edi, 1
pop edi
jne 0x4206e3
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 0x4206dd
cmp byte [esi + 8], 0
je 0x4206dd
or eax, 0xffffffff
mov esp, ebp
pop ebp
ret
Function at 0x420780
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp byte [esi], 0
je 0x4207c7
cmp byte [esi + 1], 0
je 0x4207cf
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 0x4207e1
cmp byte [esi + 1], 0
je 0x4207d5
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 0x4207e9
mov ecx, dword [esi + 0x14]
mov dword [esi + 0x18], ecx
jmp 0x4207a1
xor eax, eax
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 0
mov ebx, dword [ebp - 4]
jmp 0x4207e9
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 0x4207fb
mov dword [ebp - 8], ebx
mov edi, ebx
push 0x404
call fcn.00424cbf
add esp, 4
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x420815
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 4
mov dword [ebp - 0x14], 0
cmp edi, eax
jbe 0x420929
jmp 0x420839
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 0x420848
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 0x42085f
mov ebx, 0x404
cmp byte [esi], 0
je 0x420884
cmp byte [esi + 1], 0
je 0x420929
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 0x420887
mov dword [esi + 0x18], eax
cmp byte [esi], 0
mov edi, ebx
je 0x4208b0
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 0x4208ab
mov byte [esi + 8], 1
mov eax, dword [ebp - 0x18]
jmp 0x4208d9
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x14]
lea edx, [eax + ebx]
cmp edx, ecx
jbe 0x4208c1
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.00426a40
add esp, 0xc
add dword [esi + 0x18], edi
mov eax, edi
xor edx, edx
div ebx
cmp eax, 1
jne 0x420929
lea eax, [ebx - 3]
test eax, eax
jle 0x42091d
lea esp, [esp]
mov ecx, dword [ebp - 0x10]
dec eax
cmp byte [eax + ecx], 0x50
jne 0x42090f
cmp byte [eax + ecx + 1], 0x4b
jne 0x42090f
cmp byte [eax + ecx + 2], 5
jne 0x42090f
cmp byte [eax + ecx + 3], 6
je 0x420915
test eax, eax
jg 0x4208f0
jmp 0x42091d
add eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
jne 0x420929
mov edx, dword [ebp - 8]
cmp dword [ebp - 0xc], edx
jb 0x420830
mov eax, dword [ebp - 0x10]
push eax
call fcn.004244b1
mov eax, dword [ebp - 0x14]
add esp, 4
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x422300
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
mov eax, dword [0x45166c]
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.0042cae0
add esp, 0xc
xor eax, eax
jmp 0x422330
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 0x422330
push 0x37
lea eax, [ebp - 0x3b]
push 0
push eax
mov byte [ebp - 0x3c], 0
call fcn.0042cae0
add esp, 0xc
xor eax, eax
lea esp, [esp]
movsx ecx, byte [eax + 0x449610]
movzx edx, byte [ebp + ecx - 0x7d]
movsx ecx, byte [eax + 0x449611]
mov byte [ebp + eax - 0x3c], dl
movzx edx, byte [ebp + ecx - 0x7d]
movsx ecx, byte [eax + 0x449612]
mov byte [ebp + eax - 0x3b], dl
movzx edx, byte [ebp + ecx - 0x7d]
movsx ecx, byte [eax + 0x449613]
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 0x422370
lea edx, [ebp - 0x3c]
mov ecx, esi
call fcn.004223d0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042396b
mov esp, ebp
pop ebp
ret
Function at 0x4223d0
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb0
mov eax, dword [0x45166c]
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 0x422456
mov edi, dword [ebp - 0xb0]
movsx esi, byte [edi + 0x449678]
mov eax, 0x1c
sub eax, esi
push eax
lea ecx, [ebp + esi - 0x90]
push ecx
lea edx, [ebp - 0x3c]
push edx
call fcn.00426a40
push esi
lea eax, [ebp - 0x90]
lea ecx, [ebp - 0x20]
push eax
sub ecx, esi
push ecx
call fcn.00426a40
movsx esi, byte [edi + 0x449678]
mov edx, 0x1c
sub edx, esi
push edx
lea eax, [ebp + esi - 0xac]
push eax
lea ecx, [ebp - 0x20]
push ecx
call fcn.00426a40
push esi
lea edx, [ebp - 0xac]
lea eax, [ebp - 4]
push edx
sub eax, esi
push eax
call fcn.00426a40
push 0x37
lea ecx, [ebp - 0x73]
push 0
push ecx
call fcn.0042cae0
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 0x4224f0
movsx edx, byte [eax + 0x449648]
movzx ecx, byte [ebp + edx - 0x75]
mov byte [ebx + eax - 1], cl
movsx edx, byte [eax + 0x449649]
movzx ecx, byte [ebp + edx - 0x75]
mov byte [ebx + eax], cl
movsx edx, byte [eax + 0x44964a]
movzx ecx, byte [ebp + edx - 0x75]
mov byte [ebx + eax + 1], cl
movsx edx, byte [eax + 0x44964b]
movzx ecx, byte [ebp + edx - 0x75]
mov byte [ebx + eax + 2], cl
movsx edx, byte [eax + 0x44964c]
movzx ecx, byte [ebp + edx - 0x75]
mov byte [ebx + eax + 3], cl
movsx edx, byte [eax + 0x44964d]
movzx ecx, byte [ebp + edx - 0x75]
mov byte [ebx + eax + 4], cl
add eax, 6
cmp eax, 0x30
jl 0x4224f0
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 0x422450
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042396b
mov esp, ebp
pop ebp
ret
Function at 0x4225b0
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe8
mov eax, dword [0x45166c]
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.0042cae0
push 0x3f
lea edx, [ebp - 0xe3]
push ebx
push edx
mov byte [ebp - 0xe4], bl
call fcn.0042cae0
push 0x3f
lea eax, [ebp - 0x83]
push ebx
push eax
call fcn.0042cae0
add esp, 0x24
xor eax, eax
jmp 0x422610
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 0x422610
lea eax, [ebp - 0xe4]
lea ecx, [ebp - 0x44]
call fcn.00422990
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.00422730
inc esi
cmp esi, 0x10
jl 0x422663
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 + 0x449918]
movzx edx, byte [ebp + ecx - 0x85]
mov ecx, dword [ebp - 0xe8]
mov byte [ecx + eax + 0x600], dl
movsx edx, byte [eax + 0x449919]
movzx edx, byte [ebp + edx - 0x85]
mov byte [ecx + eax + 0x601], dl
movsx edx, byte [eax + 0x44991a]
movzx edx, byte [ebp + edx - 0x85]
mov byte [ecx + eax + 0x602], dl
movsx edx, byte [eax + 0x44991b]
movzx edx, byte [ebp + edx - 0x85]
mov byte [ecx + eax + 0x603], dl
add eax, 4
cmp eax, 0x40
jl 0x4226a1
mov eax, ecx
lea edi, [eax + 0x600]
lea esi, [eax + 0x680]
call fcn.00422c10
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042396b
mov esp, ebp
pop ebp
ret 4
Function at 0x422990
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, 0x449689
mov edx, 0x44968a
mov ebx, 0x44968b
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 0x4229c0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x422a10
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, 0x4496cb
sub ebx, eax
mov dword [ebp - 8], ebx
push esi
mov ebx, 0x4496cc
sub ebx, eax
push edi
mov dword [ebp - 0xc], ebx
mov esi, 0x4496c8
mov edi, 0x4496c9
mov edx, 0x4496ca
mov ebx, 0x4496cd
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 0x422a53
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x422b90
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, 0x4498f8
mov edi, 0x4498f9
mov edx, 0x4498fa
mov ebx, 0x4498fb
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 0x422bc0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x42396b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x45166c]
jne 0x423975
repz ret
jmp fcn.0042940d