joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4029b0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x90]
sub esp, 0x110
mov eax, dword [0x42f180]
xor eax, ebp
mov dword [ebp + 0x8c], eax
mov eax, dword [ebp + 0x98]
push ebx
lea ecx, [ebp - 0x68]
push ecx
push 0x20019
xor ebx, ebx
push ebx
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x9c]
push str.SoftwarePythonPythonCore
push eax
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x6c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x402a04
xor eax, eax
jmp 0x402b41
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp + 0x3c]
push eax
push ebx
push dword [ebp - 0x68]
mov dword [ebp - 0x70], 0x50
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x402b35
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov esi, dword [ebp + 0xa0]
inc dword [ebp - 0x6c]
mov dword [ebp - 0x70], 0x50
cmp esi, ebx
je 0x402a77
cmp byte [esi], bl
je 0x402a77
lea eax, [ebp + 0x3c]
mov cl, byte [esi]
cmp cl, byte [eax]
jne 0x402a6a
cmp cl, bl
je 0x402a66
mov cl, byte [esi + 1]
cmp cl, byte [eax + 1]
jne 0x402a6a
inc esi
inc esi
inc eax
inc eax
cmp cl, bl
jne 0x402a4c
xor eax, eax
jmp 0x402a6f
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x402b13
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp + 0x3c]
push eax
lea eax, [ebp - 0x14]
push str.Python_Version__s__found_in_registry_
push eax
call esi
lea eax, [ebp + 0x3c]
push eax
lea eax, [ebp - 0x64]
push str.SoftwarePythonPythonCore_sInstallPath
push eax
call esi
add esp, 0x18
lea eax, [ebp - 0x78]
push eax
push 0x20019
push ebx
lea eax, [ebp - 0x64]
push eax
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x402b13
push 0x10c
call fcn.004116e0
mov esi, eax
pop ecx
mov dword [ebp - 0x80], 0x105
cmp esi, ebx
je 0x402b0a
lea eax, [ebp - 0x80]
push eax
push esi
push ebx
push ebx
push ebx
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x402b0a
lea eax, [ebp - 0x14]
push eax
push ebx
push 0x180
push dword [ebp - 0x74]
call edi
mov ecx, dword [ebp - 0x7c]
push esi
push eax
push 0x19a
push dword [ebp - 0x74]
mov dword [esi + 0x108], ecx
call edi
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp + 0x3c]
push eax
push dword [ebp - 0x6c]
push dword [ebp - 0x68]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x402a31
pop edi
pop esi
push dword [ebp - 0x68]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
mov ecx, dword [ebp + 0x8c]
xor ecx, ebp
pop ebx
call fcn.00407875
add ebp, 0x90
leave
ret
Function at 0x4036c6
Capabilities:
Create process on windows
Resume thread
Self delete

Disassembly:
push ebp
lea ebp, [esp - 0x1e0]
sub esp, 0x260
mov eax, dword [0x42f180]
xor eax, ebp
mov dword [ebp + 0x1dc], eax
push ebx
push esi
push edi
push 0x104
lea eax, [ebp + 0xd8]
push eax
xor edi, edi
push edi
call dword [sym.imp.kernel32.dll_GetModuleFileNameA]
lea eax, [ebp + 0xd8]
push eax
lea eax, [ebp - 0x2c]
push str._s.bat
push eax
call fcn.004116e0
lea eax, [ebp - 0x2c]
push 0x425fc0
push eax
call fcn.004116e0
mov ebx, eax
push str.:Repeat_n
push ebx
call fcn.00408778
lea eax, [ebp + 0xd8]
push eax
mov esi, str.del___s__n
push esi
push ebx
call fcn.00408778
lea eax, [ebp + 0xd8]
push eax
push str.if_exist___s__goto_Repeat_n
push ebx
call fcn.00408778
lea eax, [ebp - 0x2c]
push eax
push esi
push ebx
call fcn.00408778
add esp, 0x40
push ebx
call fcn.00408fa6
push 0x44
pop esi
push esi
lea eax, [ebp - 0x80]
push edi
push eax
call fcn.004076c0
add esp, 0x10
xor eax, eax
mov word [ebp - 0x50], ax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x80]
push eax
push 0x4253ac
push edi
push esi
push edi
push edi
push edi
lea eax, [ebp - 0x2c]
push eax
push edi
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x54], 1
call dword [sym.imp.kernel32.dll_CreateProcessA]
test eax, eax
je 0x4037e7
mov esi, dword [sym.imp.kernel32.dll_SetThreadPriority]
push 0xfffffffffffffff1
push dword [ebp - 0x38]
call esi
push 0xf
call dword [sym.imp.kernel32.dll_GetCurrentThread]
push eax
call esi
push 0x80
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.kernel32.dll_SetPriorityClass]
push dword [ebp - 0x3c]
mov esi, dword [sym.imp.kernel32.dll_CloseHandle]
call esi
push dword [ebp - 0x38]
call dword [sym.imp.kernel32.dll_ResumeThread]
push dword [ebp - 0x38]
call esi
mov ecx, dword [ebp + 0x1dc]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00407875
add ebp, 0x1e0
leave
ret

Function at 0x403989
Capabilities:
Delete file

Disassembly:
push esi
push 0x3a
push dword [esp + 0xc]
call fcn.00407290
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x40399f
pop esi
ret
inc esi
movsx eax, byte [esi]
push eax
call fcn.004116e0
pop ecx
test eax, eax
jne 0x40399f
push esi
call dword [sym.imp.kernel32.dll_DeleteFileA]
pop esi
ret

Function at 0x4039b7
Capabilities:
Delete directory

Disassembly:
push esi
push 0x3a
push dword [esp + 0xc]
call fcn.00407290
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x4039cd
pop esi
ret
inc esi
movsx eax, byte [esi]
push eax
call fcn.004116e0
pop ecx
test eax, eax
jne 0x4039cd
push esi
call dword [sym.imp.kernel32.dll_RemoveDirectoryA]
pop esi
ret
Function at 0x4044dd
Capabilities:
Delete file
Read .ini file

Disassembly:
mov eax, 0x1004
call fcn.00408e10
mov eax, dword [0x42f180]
xor eax, esp
mov dword [esp + 0x1000], eax
push ebx
push ebp
push esi
push edi
push dword [0x43292c]
mov edi, dword [sym.imp.kernel32.dll_GetPrivateProfileStringA]
mov ebp, 0x1000
push ebp
lea eax, [esp + 0x18]
push eax
mov ebx, 0x425524
push ebx
push str.title
mov esi, 0x425f40
push esi
call edi
push 0x50
pop ecx
lea eax, [esp + 0x10]
mov edx, 0x431140
call fcn.004116e0
push dword [0x43292c]
lea eax, [esp + 0x14]
push ebp
push eax
push ebx
push str.info
push esi
call edi
mov ecx, ebp
lea eax, [esp + 0x10]
mov edx, 0x431580
call fcn.004116e0
push dword [0x43292c]
push 0x50
push 0x4327c0
push ebx
push str.build_info
push esi
call edi
push dword [0x43292c]
mov ebp, dword [sym.imp.kernel32.dll_GetPrivateProfileIntA]
push 1
push str.target_compile
push esi
call ebp
push dword [0x43292c]
mov dword [0x431194], eax
push 1
push str.target_optimize
push esi
call ebp
push dword [0x43292c]
mov dword [0x431190], eax
push 0xa
push 0x432590
push ebx
push str.target_version
push esi
call edi
push dword [0x43292c]
push 0x50
push 0x4312c0
push ebx
push str.name
push str.metadata
call edi
push dword [0x43292c]
push 0x104
push 0x4311a0
push ebx
push str.install_script
push esi
call edi
push dword [0x43292c]
mov ebp, 0x431550
push 0xa
push ebp
push ebx
push str.user_access_control
push esi
call edi
push 6
mov edi, str.force
mov esi, ebp
pop ecx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x40462b
call fcn.004116e0
test eax, eax
je 0x404688
call fcn.00403547
test eax, eax
jne 0x404688
call fcn.004116e0
jmp 0x4046cb
push 5
mov edi, str.auto
mov esi, ebp
pop ecx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x404658
call fcn.004116e0
test eax, eax
je 0x404688
call fcn.00403547
test eax, eax
jne 0x404688
call fcn.004116e0
test eax, eax
je 0x404688
jmp 0x404621
cmp byte [0x431550], al
je 0x404688
push 5
mov edi, str.none
mov esi, ebp
pop ecx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x404688
push eax
push str.oops
push str.Bad_user_access_control_value
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0x431140
call fcn.00402766
push eax
mov dword [0x432580], eax
call fcn.004116e0
pop ecx
pop ecx
push dword [0x432814]
call dword [sym.imp.kernel32.dll_UnmapViewOfFile]
mov eax, dword [0x43292c]
test eax, eax
je 0x4046bb
push eax
call dword [sym.imp.kernel32.dll_DeleteFileA]
mov eax, dword [0x432930]
test eax, eax
je 0x4046cb
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [esp + 0x1010]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.00407875
add esp, 0x1004
ret

Function at 0x407875
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42f180]
jne 0x40787f
repz ret
jmp fcn.0040bbd7
Function at 0x401270
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x405018]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
or esi, 0xffffffff
xor ecx, ecx
lea esp, [esp]
mov eax, ecx
shr eax, 1
mov dword [ebp + ecx*4 - 0x404], ecx
test cl, 1
je 0x4012a5
xor eax, 0xedb88320
mov dword [ebp + ecx*4 - 0x404], eax
test al, 1
je 0x4012b9
shr eax, 1
xor eax, 0xedb88320
jmp 0x4012bb
shr eax, 1
mov dword [ebp + ecx*4 - 0x404], eax
test al, 1
je 0x4012cf
shr eax, 1
xor eax, 0xedb88320
jmp 0x4012d1
shr eax, 1
mov dword [ebp + ecx*4 - 0x404], eax
test al, 1
je 0x4012e5
shr eax, 1
xor eax, 0xedb88320
jmp 0x4012e7
shr eax, 1
mov dword [ebp + ecx*4 - 0x404], eax
test al, 1
je 0x4012fb
shr eax, 1
xor eax, 0xedb88320
jmp 0x4012fd
shr eax, 1
mov dword [ebp + ecx*4 - 0x404], eax
test al, 1
je 0x401311
shr eax, 1
xor eax, 0xedb88320
jmp 0x401313
shr eax, 1
mov dword [ebp + ecx*4 - 0x404], eax
test al, 1
je 0x401327
shr eax, 1
xor eax, 0xedb88320
jmp 0x401329
shr eax, 1
mov dword [ebp + ecx*4 - 0x404], eax
test al, 1
je 0x40133d
shr eax, 1
xor eax, 0xedb88320
jmp 0x40133f
shr eax, 1
mov dword [ebp + ecx*4 - 0x404], eax
inc ecx
cmp ecx, 0x100
jb 0x401290
xor ecx, ecx
test edx, edx
je 0x40137a
lea esp, [esp]
movzx eax, byte [ecx + edi]
xor eax, esi
and eax, 0xff
shr esi, 8
xor esi, dword [ebp + eax*4 - 0x404]
inc ecx
cmp ecx, edx
jb 0x401360
mov ecx, dword [ebp - 4]
not esi
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0040237d
mov esp, ebp
pop ebp
ret

Function at 0x401390
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x405018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 0x108], edx
mov dword [ebp - 0x10c], ecx
xor eax, eax
jmp 0x4013c0
mov byte [ebp + eax - 0x104], al
inc eax
cmp eax, 0x100
jb 0x4013c0
xor edi, edi
xor esi, esi
mov dl, byte [ebp + esi - 0x104]
mov eax, esi
and eax, 0xf
movzx ecx, dl
movzx eax, byte [eax + ebx]
add edi, eax
add edi, ecx
and edi, 0xff
inc esi
mov al, byte [ebp + edi - 0x104]
mov byte [ebp + esi - 0x105], al
mov byte [ebp + edi - 0x104], dl
cmp esi, 0x100
jb 0x4013d3
xor ebx, ebx
xor esi, esi
xor edi, edi
cmp dword [ebp - 0x108], ebx
jbe 0x40147d
lea esp, [esp]
inc esi
and esi, 0xff
inc edi
mov dl, byte [ebp + esi - 0x104]
movzx eax, dl
add ebx, eax
and ebx, 0xff
movzx eax, byte [ebp + ebx - 0x104]
mov byte [ebp + esi - 0x104], al
mov byte [ebp + ebx - 0x104], dl
movzx ecx, byte [ebp + esi - 0x104]
movzx eax, dl
add ecx, eax
and ecx, 0xff
movzx eax, byte [ebp + ecx - 0x104]
mov ecx, dword [ebp - 0x10c]
xor byte [ecx + edi - 1], al
cmp edi, dword [ebp - 0x108]
jb 0x401420
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040237d
mov esp, ebp
pop ebp
ret 4
Function at 0x401490
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 0
push 0
push 3
push 0
push 0
push 0xc0000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4014b9
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push ebx
push edi
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
lea ecx, [ebx + 0xc]
push ecx
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
test edi, edi
jne 0x4014e8
push esi
call dword [sym.imp.ntdll.dll_NtClose]
xor eax, eax
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
push 0
lea eax, [ebp - 4]
push eax
push ebx
lea eax, [edi + 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x401515
push esi
call dword [sym.imp.ntdll.dll_NtClose]
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
push 0
push 0
push 0
push esi
mov dword [edi], ebx
mov dword [edi + 4], esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, edi
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x401a90
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa5c
mov eax, dword [0x405018]
xor eax, esp
mov dword [esp + 0xa58], eax
push ebx
push esi
mov eax, ecx
push edi
push eax
mov dword [esp + 0x10], eax
lea eax, [esp + 0x664]
push str._s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x664]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x401b6e
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea eax, [esp + 0x10]
push eax
push esi
call edi
test eax, eax
je 0x401b67
mov ebx, dword [sym.imp.MSVCR110.dll_wcsstr]
cmp word [esp + 0x3c], 0x2e
je 0x401b5b
lea eax, [esp + 0x3c]
push eax
push dword [esp + 0x10]
lea eax, [esp + 0x268]
push str._s_s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
test byte [esp + 0x10], 0x10
je 0x401b3c
lea ecx, [esp + 0x260]
call fcn.00401a90
jmp 0x401b5b
lea eax, [esp + 0x3c]
push str..exe
push eax
call ebx
add esp, 8
test eax, eax
je 0x401b5b
lea ecx, [esp + 0x260]
call fcn.00401990
lea eax, [esp + 0x10]
push eax
push esi
call edi
test eax, eax
jne 0x401b00
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0xa64]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0040237d
mov esp, ebp
pop ebp
ret
Function at 0x401dc0
Capabilities:
Access peb ldr_data
Check mutex on windows
Create thread
Get file size
Query environment variable
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x81c
mov eax, dword [0x405018]
xor eax, esp
mov dword [esp + 0x818], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov dword [esp + 0xc], eax
mov eax, dword fs:[0x30]
push 0xf0000000
mov eax, dword [eax + 0xc]
push 1
mov eax, dword [eax + 0x14]
push 0
mov eax, dword [eax + 0x20]
push 0
push 0x405438
mov dword [0x405434], eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x401e2c
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x818]
xor ecx, esp
call fcn.0040237d
mov esp, ebp
pop ebp
ret 0x10
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push dword [0x405434]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x401e89
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
push edi
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ebx, eax
test ebx, ebx
je 0x401e89
push 0
lea eax, [esp + 0x20]
push eax
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x401e89
push dword [esp + 0xc]
mov edx, edi
mov ecx, ebx
call fcn.00401530
push str.Global3pc6RWOgectGTFqCowxjeGy3XIGPtLwNrsr2zDctYD4hAU5pj4GW7rm8gHrHyTB6
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x401ebe
mov ecx, dword [esp + 0x824]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0040237d
mov esp, ebp
pop ebp
ret 0x10
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push 0
push 0x401d80
push 0
push 0
call esi
push 0
push 0
push 0
push 0x401cd0
push 0
push 0
call esi
push 0
push 0
push 0
push 0x401bb0
push 0
push 0
call esi
push 0x400
lea eax, [esp + 0x24]
push eax
push str.userprofile
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov esi, dword [sym.imp.ntdll.dll_NtDelayExecution]
mov dword [esp + 0x10], 0x4d2fa200
mov dword [esp + 0x14], 0xffffffff
lea ecx, [esp + 0x20]
call fcn.00401a90
lea eax, [esp + 0x10]
push eax
push 0
call esi
jmp 0x401f22
Function at 0x406060
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x405ffd
mov esi, dword [edx + 0x28]
jmp 0x40600c
movzx ecx, word [edx + 0x26]
jmp 0x40601a
xor edi, edi
nop
nop
jmp 0x40602d
xor eax, eax
lodsb al, byte [esi]
nop
cmp al, 0x61
jmp 0x40603f
jl fcn.00406060
nop
jmp 0x406051
sub al, 0x20
jmp fcn.00406060
ror edi, 0xd
add edi, eax
nop
jmp 0x406074
dec ecx
jne 0x40601d
nop
push edx
mov edx, dword [edx + 0x10]
nop
mov eax, dword [edx + 0x3c]
nop
jmp 0x406096
add eax, edx
jmp 0x4060a5
mov eax, dword [eax + 0x78]
nop
jmp 0x4060b7
test eax, eax
jmp 0x4060ca
push edi
nop
je 0x406282
nop
add eax, edx
jmp 0x4060e0
mov ecx, dword [eax + 0x18]
nop
mov ebx, dword [eax + 0x20]
push eax
nop
add ebx, edx
jmp 0x4060fb
nop
test ecx, ecx
nop
jmp 0x40610b
je 0x406273
dec ecx
nop
mov esi, dword [ebx + ecx*4]
nop
xor edi, edi
nop
jmp 0x406129
add esi, edx
jmp 0x40613c
xor eax, eax
nop
jmp 0x406150
lodsb al, byte [esi]
nop
ror edi, 0xd
nop
jmp 0x406161
add edi, eax
cmp al, ah
nop
jmp 0x406172
jne 0x40612b
nop
add edi, dword [ebp - 8]
nop
jmp 0x40618a
cmp edi, dword [ebp + 0x24]
nop
jmp 0x40619f
jne 0x4060fb
nop
pop eax
jmp 0x4061b2
mov ebx, dword [eax + 0x24]
jmp 0x4061c4
add ebx, edx
mov cx, word [ebx + ecx*2]
jmp 0x4061d7
mov ebx, dword [eax + 0x1c]
jmp 0x4061ea
add ebx, edx
mov eax, dword [ebx + ecx*4]
add eax, edx
nop
jmp 0x406202
mov dword [esp + 0x24], eax
nop
jmp 0x406217
pop ebx
jmp 0x40622a
pop ebx
nop
popal
jmp 0x40623a
pop ecx
nop
pop edx
nop
jmp 0x40624f
push ecx
nop
jmp 0x406261
jmp eax
nop
jmp 0x406281
pop eax
pop edi
nop
jmp 0x406296
pop edx
jmp 0x4062ab
mov edx, dword [edx]
nop
jmp 0x405ff2

Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x407ef8
mov ecx, 0x2bdc606d
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x42e04e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x42e024
nop
mov eax, section..data
mov ebx, 0x42cd70
nop
mov ecx, 0x1c9e7fc4
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x42e084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x4010a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
mov ebx, eax
lea eax, [ebp - 0x810]
sub esp, 0x840
mov dword [ebp - 0x80c], 0x800
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x20019
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], str.SoftwareMicrosoftWindowsCurrentVersionAppletsRegedit
mov dword [esp], 0x80000001
call dword [sym.imp.advapi32.dll_RegCreateKeyExW]
sub esp, 0x24
test eax, eax
je 0x401118
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
lea eax, [ebp - 0x80c]
mov dword [esp + 0xc], 0
lea esi, [ebp - 0x808]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], esi
mov dword [esp + 8], 0
mov dword [esp + 4], str.LastKey
mov eax, dword [ebp - 0x810]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
sub esp, 0x18
test eax, eax
jne 0x4011b0
mov eax, dword [section..bss]
mov dword [esp], esi
add eax, 0x40
mov dword [esp + 4], eax
call dword [sym.imp.kernel32.dll_lstrcmpW]
sub esp, 8
test eax, eax
je 0x4011b0
mov dword [esp + 4], esi
mov dword [esp], ebx
call fcn.0040d700
test eax, eax
je 0x4011b0
mov dword [esp + 0xc], eax
mov dword [esp + 8], 9
mov dword [esp + 4], 0x110b
mov dword [esp], ebx
call dword [0x415704]
sub esp, 0x10
jmp 0x4011fa
mov dword [esp + 0xc], 0
mov esi, dword [0x415704]
mov dword [esp + 8], 0
mov dword [esp + 4], 0x110a
mov eax, dword [section..bss]
mov eax, dword [eax + 4]
mov dword [esp], eax
call esi
sub esp, 0x10
mov dword [esp + 0xc], eax
mov dword [esp + 8], 2
mov dword [esp + 4], 0x1102
mov dword [esp], ebx
call esi
sub esp, 0x10
mov eax, dword [ebp - 0x810]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
sub esp, 4
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
Function at 0x401430
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, eax
push ebx
mov ebx, ecx
sub esp, 0x230
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x220], 0
test edx, edx
je 0x401578
lea eax, [ebp - 0x220]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp], esi
call fcn.0040c8d0
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
mov eax, dword [ebp - 0x220]
test ebx, ebx
je 0x401540
test eax, eax
je 0x40150b
cmp eax, 0x80000000
je 0x401500
cmp eax, 0x80000001
je 0x4015e0
mov edx, dword [str.HKEY_LOCAL_MACHINE]
cmp eax, 0x80000002
je 0x4014db
cmp eax, 0x80000003
je 0x4015a8
cmp eax, 0x80000005
je 0x4015d0
mov edx, str.Unknown_HKEY._Please_report.
cmp eax, 0x80000006
je 0x401568
mov dword [ebp - 0x214], edx
test ebx, ebx
jne 0x40150b
lea eax, [ebp - 0x218]
call fcn.004012f0
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
mov eax, dword [str.HKEY_CLASSES_ROOT]
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x21c], 0x104
lea eax, [ebp - 0x21c]
lea ebx, [ebp - 0x210]
mov dword [esp + 4], eax
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_GetComputerNameW]
mov dword [ebp - 0x218], ebx
sub esp, 8
jmp 0x4014e5
test eax, eax
je 0x4014f0
cmp eax, 0x80000000
je 0x4015b8
cmp eax, 0x80000001
jne 0x4014a8
mov eax, dword [str.HKEY_CURRENT_USER]
mov dword [ebp - 0x214], eax
jmp 0x4014e5
mov edx, dword [str.HKEY_DYN_DATA]
jmp 0x4014db
mov dword [esp + 0xc], 0
mov dword [esp + 8], 9
mov dword [esp + 4], 0x110a
mov dword [esp], eax
call dword [0x415704]
sub esp, 0x10
mov edx, eax
jmp 0x401465
mov edx, dword [str.HKEY_USERS]
jmp 0x4014db
mov eax, dword [str.HKEY_CLASSES_ROOT]
mov dword [ebp - 0x214], eax
jmp 0x4014e5
mov edx, dword [str.HKEY_CURRENT_CONFIG]
jmp 0x4014db
mov eax, dword [str.HKEY_CURRENT_USER]
mov dword [ebp - 0x214], eax
jmp 0x40150b