joyce8/EMBER2024-capa huggingface dataset:
Function at 0x422778
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
mov dword [eax], 0
cmp dword [ebp + 8], 0
jne 0x422795
mov eax, 8
jmp 0x4228ba
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x4227ad
mov eax, 6
jmp 0x4228ba
push 0
push 0x80
push 3
push 0
push 7
push closesocket
mov edx, dword [ebp + 8]
push edx
call dword [0x54299c]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x4227ec
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 0
xor eax, eax
jmp 0x4228ba
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x20
je 0x422807
mov edx, dword [ebp + 0xc]
mov dword [edx], 0
xor eax, eax
jmp 0x4228ba
push 0
push 0x80
push 3
push 0
push 7
push 0x40000000
mov eax, dword [ebp + 8]
push eax
call dword [0x54299c]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x422843
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp + 0xc]
mov dword [edx], 0
xor eax, eax
jmp 0x4228ba
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x20
je 0x42285b
mov eax, dword [ebp + 0xc]
mov dword [eax], 0
xor eax, eax
jmp 0x4228ba
push 0
push 0x80
push 3
push 0
push 7
push 0x10000
mov ecx, dword [ebp + 8]
push ecx
call dword [0x54299c]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x422897
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 0xc]
mov dword [eax], 0
xor eax, eax
jmp 0x4228ba
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x20
je 0x4228af
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 0
xor eax, eax
jmp 0x4228ba
mov edx, dword [ebp + 0xc]
mov dword [edx], 1
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x423f47
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov dword [ebp - 0x108], ecx
cmp dword [0x5429ec], 0
je 0x423f69
mov eax, 1
jmp 0x4240cb
lea eax, [ebp - 0x104]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push str.AntiRk.dll
push 0x104
lea ecx, [ebp - 0x104]
push ecx
call fcn.00408090
lea edx, [ebp - 0x104]
push edx
mov ecx, dword [ebp - 0x108]
call fcn.00423ecd
test eax, eax
jne 0x423fae
xor eax, eax
jmp 0x4240cb
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ecx, dword [ebp - 0x108]
mov dword [ecx + 0x10], eax
mov edx, dword [ebp - 0x108]
cmp dword [edx + 0x10], 0
jne 0x423fd7
xor eax, eax
jmp 0x4240cb
push 0x4c38b0
mov eax, dword [ebp - 0x108]
mov ecx, dword [eax + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0x108]
mov dword [edx], eax
mov eax, dword [ebp - 0x108]
cmp dword [eax], 0
jne 0x424006
xor eax, eax
jmp 0x4240cb
push 0x4c38bc
mov ecx, dword [ebp - 0x108]
mov edx, dword [ecx + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x108]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x108]
cmp dword [edx + 4], 0
jne 0x424037
xor eax, eax
jmp 0x4240cb
push 0x4c38cc
mov eax, dword [ebp - 0x108]
mov ecx, dword [eax + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0x108]
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x108]
cmp dword [eax + 8], 0
jne 0x424065
xor eax, eax
jmp 0x4240cb
push 0x4c38e0
mov ecx, dword [ebp - 0x108]
mov edx, dword [ecx + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x108]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 0x108]
cmp dword [edx + 0xc], 0
jne 0x424093
xor eax, eax
jmp 0x4240cb
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x108]
call dword [edx + 8]
add esp, 8
test eax, eax
jne 0x4240af
xor eax, eax
jmp 0x4240cb
mov eax, dword [ebp - 0x108]
mov dword [eax + 0x14], 1
mov dword [0x5429ec], 1
mov eax, 1
mov esp, ebp
pop ebp
ret 8
Function at 0x424df8
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], 0
je 0x424e13
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x424e17
xor eax, eax
jmp 0x424e60
push 0x30
push 0
mov ecx, dword [ebp + 0xc]
push ecx
call sub.ntdll.dll_memset
add esp, 0xc
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
call fcn.0042544d
test eax, eax
jne 0x424e41
xor eax, eax
jmp 0x424e60
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp - 4]
add ecx, 0xc58
call fcn.00426040
test eax, eax
je 0x424e5e
mov eax, 1
jmp 0x424e60
xor eax, eax
mov esp, ebp
pop ebp
ret 8
Function at 0x425267
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a676e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x58
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x68], ecx
mov eax, dword [ebp - 0x68]
add eax, 0x19b4
push eax
call sub.ntdll.dll_strlen
add esp, 4
test eax, eax
jne 0x4252a8
xor eax, eax
jmp 0x42543c
mov ecx, dword [ebp - 0x68]
add ecx, 0xc58
call fcn.00417180
push 0x4d5b44
mov ecx, dword [ebp - 0x68]
add ecx, 0x19b4
push ecx
call dword [sym.imp.MSVCRT.dll_fopen]
add esp, 8
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x4252de
xor eax, eax
jmp 0x42543c
mov dword [ebp - 0x20], 0
xor edx, edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x24]
push eax
push 1
push 0x10
lea ecx, [ebp - 0x20]
push ecx
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x10
cmp eax, 1
je 0x425326
mov dword [ebp - 0x5c], 1
push 0x4b40c8
lea edx, [ebp - 0x5c]
push edx
call sub.MSVCRT.dll__CxxThrowException
cmp dword [ebp - 0x20], 0x21726152
jne 0x4253e0
cmp dword [ebp - 0x18], 0
je 0x4253e0
cmp dword [ebp - 0x18], 0
je 0x4253cc
mov byte [ebp - 0x58], 0
mov ecx, 0xb
xor eax, eax
lea edi, [ebp - 0x57]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebp - 0x24]
push eax
push 0x30
push 1
lea ecx, [ebp - 0x58]
push ecx
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x10
cmp eax, 0x30
je 0x425376
jmp 0x4253cc
mov dword [ebp - 0x28], 0
jmp 0x425388
mov edx, dword [ebp - 0x28]
add edx, 1
mov dword [ebp - 0x28], edx
cmp dword [ebp - 0x28], 0xc
jae 0x4253a4
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp + eax*4 - 0x58]
xor ecx, 0x12345678
mov edx, dword [ebp - 0x28]
mov dword [ebp + edx*4 - 0x58], ecx
jmp 0x42537f
mov byte [ebp - 0x60], 1
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x58]
push ecx
mov ecx, dword [ebp - 0x68]
add ecx, 0xc58
call fcn.00425f40
mov edx, dword [ebp - 0x18]
sub edx, 1
mov dword [ebp - 0x18], edx
jmp 0x42533d
cmp dword [ebp - 0x18], 0
je 0x4253e0
mov ecx, dword [ebp - 0x68]
add ecx, 0xc58
call fcn.00417180
jmp 0x425401
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
mov ecx, dword [ebp - 0x68]
add ecx, 0xc58
call fcn.00425f20
test eax, eax
jne 0x42542b
xor eax, eax
jmp 0x42543c
mov edx, dword [ebp - 0x68]
mov eax, dword [ebp - 0x1c]
mov dword [edx + 0x18ac], eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4254c5
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x10], 0
xor eax, eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
cmp dword [ebp + 0x10], 0
je 0x4254fa
mov dword [ebp - 0x10], SysStringLen
mov dword [ebp - 0xc], 2
mov dword [ebp - 8], 4
jmp 0x42550f
mov dword [ebp - 0x10], 0xc0000000
mov dword [ebp - 0xc], 4
mov dword [ebp - 8], 6
push 0
push 0
push 3
push 0
push 1
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x425596
cmp dword [ebp + 0xc], 0
je 0x425547
push 0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
push 0
push 0
push 0
mov edx, dword [ebp - 0xc]
push edx
push 0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x14], 0
je 0x425596
push 0
push 0
push 0
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x18]
jmp 0x425598
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4255bb
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4aaab8
push 0x4a2bd4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xffffffe0
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x24], ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
xor edx, edx
mov dx, word [ecx]
cmp edx, 0x5a4d
je 0x425614
mov dword [ebp - 0x28], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x28]
jmp 0x425670
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
cmp dword [edx], 0x4550
jne 0x425638
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
mov cx, word [eax + 6]
test ecx, ecx
jne 0x42564b
mov dword [ebp - 0x2c], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x2c]
jmp 0x425670
mov dword [ebp - 0x30], 1
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x30]
jmp 0x425670
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x42674f
Capabilities:
Set console window title

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x64], 0
je 0x426780
cmp dword [ebp + 8], 0
jne 0x426770
mov dword [ebp - 8], 0x5444ac
jmp 0x426776
mov ecx, dword [ebp + 8]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov esp, ebp
pop ebp
ret 4
Function at 0x42694d
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
xor edx, edx
mov dl, byte [ecx]
test edx, edx
je 0x42699a
mov eax, dword [ebp - 4]
xor ecx, ecx
mov cl, byte [eax]
mov edx, dword [ebp - 8]
xor edx, ecx
and edx, 0xff
mov eax, dword [ebp - 8]
shr eax, 8
mov ecx, dword [edx*4 + 0x4aaacc]
xor ecx, eax
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
jmp 0x426960
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x4270fa
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a688c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x23c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x248], ecx
push 0x4d649c
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
add esp, 8
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x427147
xor eax, eax
jmp 0x427375
mov ecx, dword [ebp - 0x248]
add ecx, 4
call fcn.00417180
mov dword [ebp - 0x20], 0
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x24]
push edx
push 1
push 0x10
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x10
cmp eax, 1
je 0x4271a3
mov dword [ebp - 0x238], 1
push 0x4b40c8
lea ecx, [ebp - 0x238]
push ecx
call sub.MSVCRT.dll__CxxThrowException
cmp dword [ebp - 0x20], 0x21726152
je 0x4271cd
cmp dword [ebp - 0x24], 0
je 0x4271c6
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
mov dword [ebp - 0x24], 0
xor eax, eax
jmp 0x427375
cmp dword [ebp - 0x20], 0x21726152
jne 0x42731b
cmp dword [ebp - 0x18], 0
je 0x42731b
cmp dword [ebp - 0x18], 0
je 0x4272ec
mov byte [ebp - 0x130], 0
mov ecx, 0x41
xor eax, eax
lea edi, [ebp - 0x12f]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x24]
push eax
push 1
push 0x105
lea ecx, [ebp - 0x130]
push ecx
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x10
cmp eax, 1
je 0x427229
jmp 0x4272ec
mov dword [ebp - 0x28], 0
jmp 0x42723b
mov edx, dword [ebp - 0x28]
add edx, 1
mov dword [ebp - 0x28], edx
cmp dword [ebp - 0x28], 0x41
jge 0x42725d
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp + eax*4 - 0x130]
xor ecx, 0x12345678
mov edx, dword [ebp - 0x28]
mov dword [ebp + edx*4 - 0x130], ecx
jmp 0x427232
mov byte [ebp - 0x234], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x233]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x104
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x130]
push ecx
call fcn.0042a14d
add esp, 0xc
mov dword [ebp - 0x24c], eax
cmp dword [ebp - 0x24c], 0
je 0x4272de
lea edx, [ebp - 0x234]
push edx
push 0x104
lea eax, [ebp - 0x130]
push eax
call fcn.00409190
mov dword [ebp - 0x23c], 1
lea ecx, [ebp - 0x23c]
push ecx
lea edx, [ebp - 0x130]
push edx
mov ecx, dword [ebp - 0x248]
add ecx, 4
call fcn.00427590
mov eax, dword [ebp - 0x18]
sub eax, 1
mov dword [ebp - 0x18], eax
jmp 0x4271e4
cmp dword [ebp - 0x18], 0
je 0x42731b
mov ecx, dword [ebp - 0x248]
add ecx, 4
call fcn.00417180
mov dword [ebp - 0x240], 2
push 0x4b40c8
lea ecx, [ebp - 0x240]
push ecx
call sub.MSVCRT.dll__CxxThrowException
jmp 0x42734f
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x24], 0
je 0x427370
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
mov dword [ebp - 0x24], 0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x42871f
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
push 0x40
mov eax, dword [ebp + 0xc]
push eax
push 0x545484
mov ecx, dword [ebp - 0xc]
call fcn.00428c0f
push 0x40
push 0x4ab130
push 0x545484
push 0x545484
mov ecx, dword [ebp - 0xc]
call fcn.00428b04
mov ecx, dword [ebp + 0x14]
and ecx, 0xff
test ecx, ecx
je 0x4287d9
mov dword [ebp - 4], 0
jmp 0x428773
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0x10
jge 0x4287d7
push 0x20
mov eax, dword [0x4d64e4]
push eax
push 0x545464
call sub.ntdll.dll_memcpy
add esp, 0xc
mov ecx, dword [ebp - 4]
imul ecx, ecx, 0x30
mov edx, dword [ebp + 0x10]
add edx, ecx
push edx
mov eax, dword [0x4d64e4]
push eax
mov ecx, dword [ebp - 0xc]
call fcn.004289f6
push 0x20
mov ecx, dword [0x4d64e0]
push ecx
mov edx, dword [0x4d64e4]
push edx
mov ecx, dword [ebp - 0xc]
call fcn.00428b65
push 0x20
push 0x545464
mov eax, dword [0x4d64e0]
push eax
call sub.ntdll.dll_memcpy
add esp, 0xc
jmp 0x42876a
jmp 0x428851
mov dword [ebp - 8], 0xf
jmp 0x4287eb
mov ecx, dword [ebp - 8]
sub ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
jl 0x428851
push 0x20
mov edx, dword [0x4d64e0]
push edx
push 0x545464
call sub.ntdll.dll_memcpy
add esp, 0xc
mov eax, dword [ebp - 8]
imul eax, eax, 0x30
mov ecx, dword [ebp + 0x10]
add ecx, eax
push ecx
mov edx, dword [0x4d64e0]
push edx
mov ecx, dword [ebp - 0xc]
call fcn.004289f6
push 0x20
mov eax, dword [0x4d64e4]
push eax
mov ecx, dword [0x4d64e0]
push ecx
mov ecx, dword [ebp - 0xc]
call fcn.00428b65
push 0x20
push 0x545464
mov edx, dword [0x4d64e4]
push edx
call sub.ntdll.dll_memcpy
add esp, 0xc
jmp 0x4287e2
push 0x40
push 0x4ab170
push 0x545484
push 0x545484
mov ecx, dword [ebp - 0xc]
call fcn.00428b04
push 0x40
push 0x545484
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0xc]
call fcn.00428c5a
mov esp, ebp
pop ebp
ret 0x10

Function at 0x428946
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
push 0x40
mov eax, dword [ebp + 0xc]
push eax
push 0x545424
mov ecx, dword [ebp - 8]
call fcn.00428c0f
push 0x38
push str.91__
push 0x545424
push 0x545424
mov ecx, dword [ebp - 8]
call fcn.00428b04
mov byte [ebp - 4], 0
jmp 0x42898a
mov cl, byte [ebp - 4]
add cl, 1
mov byte [ebp - 4], cl
movsx edx, byte [ebp - 4]
cmp edx, 0x10
jge 0x4289f0
movsx eax, byte [ebp - 4]
movsx ecx, byte [eax + 0x4ab268]
push ecx
push 0x1c
mov edx, dword [0x4d64e8]
push edx
mov ecx, dword [ebp - 8]
call fcn.00428bae
movsx eax, byte [ebp - 4]
movsx ecx, byte [eax + 0x4ab268]
push ecx
push 0x1c
mov edx, dword [0x4d64ec]
push edx
mov ecx, dword [ebp - 8]
call fcn.00428bae
push 0x30
push 0x4ab238
push 0x545424
movsx eax, byte [ebp - 4]
imul eax, eax, 0x30
mov ecx, dword [ebp + 8]
add ecx, eax
push ecx
mov ecx, dword [ebp - 8]
call fcn.00428b04
jmp 0x428981
mov esp, ebp
pop ebp
ret 8
Function at 0x4289f6
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 0x30
push 0x4ab1b0
mov eax, dword [ebp + 8]
push eax
push 0x5454c4
mov ecx, dword [ebp - 4]
call fcn.00428b04
push 0x30
mov ecx, dword [ebp + 0xc]
push ecx
push 0x5454c4
mov ecx, dword [ebp - 4]
call fcn.00428b65
push 0x5454c4
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 4]
call fcn.00428a56
push 0x20
push 0x4ab1e0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 4]
call fcn.00428b04
mov esp, ebp
pop ebp
ret 8
Function at 0x428d28
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push edi
mov dword [ebp - 4], 0
mov dword [ebp - 0x10c], 0
mov byte [ebp - 0x108], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x107]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebp + 8]
push eax
push 0x4d64f0
push 0x4d6524
push 0x104
lea ecx, [ebp - 0x108]
push ecx
call fcn.0040a2c0
add esp, 0x14
lea edx, [ebp - 0x10c]
push edx
lea eax, [ebp - 0x108]
push eax
push SysStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x428da7
xor eax, eax
jmp 0x428f7f
push 7
push 0x4d652c
push 1
push 0
push 0
mov ecx, dword [ebp - 0x10c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x428dde
mov edx, dword [ebp - 0x10c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x428f7f
mov eax, dword [ebp - 0x10c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x4d6534
push 0x104
lea ecx, [ebp - 0x108]
push ecx
call fcn.00408090
lea edx, [ebp - 0x10c]
push edx
lea eax, [ebp - 0x108]
push eax
push SysStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x428e2a
xor eax, eax
jmp 0x428f7f
push 7
push 0x4d653c
push 1
push 0
push 0
mov ecx, dword [ebp - 0x10c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x428e61
mov edx, dword [ebp - 0x10c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x428f7f
mov eax, dword [ebp - 0x10c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 8]
push ecx
push 0x4d6544
push 0x4d6578
push 0x104
lea edx, [ebp - 0x108]
push edx
call fcn.0040a2c0
add esp, 0x14
lea eax, [ebp - 0x10c]
push eax
lea ecx, [ebp - 0x108]
push ecx
push SysStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x428eb9
xor eax, eax
jmp 0x428f7f
push 7
push 0x4d6580
push 1
push 0
push 0
mov edx, dword [ebp - 0x10c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x428ef0
mov eax, dword [ebp - 0x10c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x428f7f
mov ecx, dword [ebp - 0x10c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x4d6588
push 0x104
lea edx, [ebp - 0x108]
push edx
call fcn.00408090
lea eax, [ebp - 0x10c]
push eax
lea ecx, [ebp - 0x108]
push ecx
push SysStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x428f39
xor eax, eax
jmp 0x428f7f
push 7
push 0x4d6590
push 1
push 0
push 0
mov edx, dword [ebp - 0x10c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x428f6d
mov eax, dword [ebp - 0x10c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x428f7f
mov ecx, dword [ebp - 0x10c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x428f84
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push edi
mov byte [ebp - 0x104], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x103]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebp + 8]
push eax
push str.SYSTEMCurrentControlSetControlSafeBootMinimal
push 0x4d65cc
push 0x104
lea ecx, [ebp - 0x104]
push ecx
call fcn.0040a2c0
add esp, 0x14
lea edx, [ebp - 0x104]
push edx
push SysStringLen
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
push 0x4d65d4
push 0x104
lea eax, [ebp - 0x104]
push eax
call fcn.00408090
lea ecx, [ebp - 0x104]
push ecx
push SysStringLen
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
mov edx, dword [ebp + 8]
push edx
push str.SYSTEMCurrentControlSetControlSafeBootNetwork
push 0x4d6610
push 0x104
lea eax, [ebp - 0x104]
push eax
call fcn.0040a2c0
add esp, 0x14
lea ecx, [ebp - 0x104]
push ecx
push SysStringLen
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
push 0x4d6618
push 0x104
lea edx, [ebp - 0x104]
push edx
call fcn.00408090
lea eax, [ebp - 0x104]
push eax
push SysStringLen
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
mov eax, 1
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x429069
Capabilities:
Persist via windows service
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push edi
mov dword [ebp - 4], 0
mov byte [ebp - 0x108], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x107]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebp + 0xc]
push eax
push 0x4d6620
push 0x104
lea ecx, [ebp - 0x108]
push ecx
call fcn.0040a2c0
add esp, 0x10
lea edx, [ebp - 0x10c]
push edx
lea eax, [ebp - 0x108]
push eax
push SysStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x4290d5
mov eax, dword [ebp - 4]
jmp 0x42918c
push 4
lea ecx, [ebp + 0x14]
push ecx
push 4
push 0
push str.Type
mov edx, dword [ebp - 0x10c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x4290fa
jmp 0x42917c
push 4
lea eax, [ebp + 0x10]
push eax
push 4
push 0
push str.ErrorControl
mov ecx, dword [ebp - 0x10c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x42911c
jmp 0x42917c
push 4
lea edx, [ebp + 0x18]
push edx
push 4
push 0
push str.Start
mov eax, dword [ebp - 0x10c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x42913e
jmp 0x42917c
mov ecx, dword [ebp + 8]
push ecx
call sub.ntdll.dll_strlen
add esp, 4
push eax
mov edx, dword [ebp + 8]
push edx
push 2
push 0
push 0x4d6668
mov eax, dword [ebp - 0x10c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x42916b
jmp 0x42917c
mov dword [ebp - 4], 1
xor ecx, ecx
test ecx, ecx
jne 0x4290d5
mov edx, dword [ebp - 0x10c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 4]
pop edi
mov esp, ebp
pop ebp
ret