joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4052e0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x40ef40
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push ebp
push esi
push edi
mov eax, dword [0x414028]
xor eax, esp
push eax
lea eax, [esp + 0x7c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x8c]
mov esi, ecx
xor ebx, ebx
cmp esi, ebx
mov dword [esp + 0x48], eax
je 0x4054f2
push ebx
push 0x80
push 3
push ebx
push ebx
push 0x80000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x4054f2
push ebx
push ebx
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x84], ebx
push esi
lea ecx, [esp + 0x30]
lea edx, [esp + 0x50]
lea edi, [esp + 0x28]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
call fcn.00404a80
cmp al, bl
je 0x4053fa
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
mov ecx, esi
add ecx, 0xffffffff
mov eax, edi
adc eax, 0xffffffff
cmp eax, ebx
ja 0x4053fa
jb 0x4053aa
cmp ecx, 0xffffe
ja 0x4053fa
mov eax, esi
lea ecx, [esp + 0x14]
call fcn.004030f0
mov eax, dword [esp + 0x18]
cmp eax, ebx
mov dword [esp + 0x2c], ebx
je 0x4053c9
mov ecx, dword [esp + 0x1c]
sub ecx, eax
jne 0x4053d2
call fcn.00406d7c
mov eax, dword [esp + 0x18]
push ebx
lea edx, [esp + 0x30]
push edx
push esi
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esp + 0x2c]
xor ecx, ecx
cmp ecx, edi
ja 0x4053fa
jb 0x4053f1
cmp eax, esi
jae 0x4053fa
lea ecx, [esp + 0x14]
call fcn.004030f0
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [esp + 0x18]
cmp edi, ebx
je 0x4054f2
mov esi, dword [esp + 0x1c]
sub esi, edi
jne 0x405423
push edi
call fcn.00406f3a
add esp, 4
jmp 0x4054f2
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
lea eax, [esp + 0x58]
mov byte [esp + 0x84], 1
call fcn.00402a40
cmp esi, ebx
ja 0x40544d
call fcn.00406d7c
mov edi, dword [esp + 0x18]
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x5c]
push ecx
mov ecx, esi
mov edx, edi
call fcn.00402d20
test al, al
je 0x4054e0
mov edi, dword [esp + 0x3c]
cmp edi, ebx
mov ecx, dword [esp + 0x40]
jne 0x405474
xor esi, esi
jmp 0x405478
mov esi, ecx
sub esi, edi
mov eax, 0x35ae0b31
mul esi
mov eax, esi
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 0xa
imul eax, eax, 0x69d
sub esi, eax
jne 0x4054e0
cmp edi, ebx
jne 0x40549c
xor ecx, ecx
jmp 0x40549e
sub ecx, edi
mov eax, 0x35ae0b31
mul ecx
sub ecx, edx
shr ecx, 1
add ecx, edx
shr ecx, 0xa
mov esi, ecx
je 0x4054e0
mov ebx, dword [esp + 0x48]
push esi
push ebx
call fcn.004062a0
imul esi, esi, 0x69d
push esi
xor edi, edi
lea esi, [esp + 0x3c]
call fcn.00402fc0
push eax
mov esi, ebx
call fcn.00406370
push eax
call fcn.00407800
add esp, 0xc
lea esi, [esp + 0x38]
call fcn.00402f90
lea esi, [esp + 0x14]
call fcn.00402f90
mov ecx, dword [esp + 0x7c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret 4
Function at 0x405f60
Capabilities:
Check if file exists
Get file attributes
Query environment variable

Disassembly:
sub esp, 0x850
mov eax, dword [0x414028]
xor eax, esp
mov dword [esp + 0x84c], eax
mov eax, dword [esp + 0x854]
mov eax, dword [eax]
push ebx
xor ebx, ebx
cmp eax, ebx
je 0x405fa6
cmp byte [eax + 0x1038], bl
jne 0x405fa6
xor al, al
pop ebx
mov ecx, dword [esp + 0x84c]
xor ecx, esp
call fcn.00406bc8
add esp, 0x850
ret 4
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push esi
push str.COMCTL32.DLL
mov dword [esp + 0x18], 8
mov dword [esp + 0x1c], 0xff
call ebp
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.InitCommonControlsEx
push eax
mov dword [esp + 0x18], eax
call esi
cmp eax, ebx
je 0x405fe2
lea ecx, [esp + 0x14]
push ecx
call eax
push str.User32.dll
call ebp
push str.MessageBoxW
push eax
mov dword [esp + 0x14], eax
call esi
mov esi, eax
cmp esi, ebx
je 0x40602a
call dword [sym.imp.KERNEL32.dll_GetACP]
cmp eax, 0x3a8
je 0x40601c
cmp eax, 0xd698
je 0x40601c
push ebx
push str.2345Image
push str.The_program_files_may_be_damaged._nPlease_press__OK__goto_the_Official_Website_n_http:__pic.2345.com___download_the_lastest_version_and_reinstall.
jmp 0x406027
push ebx
push 0x411d60
push 0x411d70
push ebx
call esi
push edi
push 0x7fe
lea edx, [esp + 0x62]
push ebx
push edx
mov word [esp + 0x68], bx
call fcn.00407780
mov esi, dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
add esp, 0xc
push 0x3fe
lea eax, [esp + 0x60]
push eax
push str._programfiles_Internet_Exploreriexplore.exe
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
add eax, 0xffffffff
cmp eax, 0x3fd
ja 0x40607a
lea ecx, [esp + 0x5c]
push ecx
call edi
cmp eax, 0xffffffff
je 0x40607a
test al, 0x10
je 0x4060c8
push 0x3fe
lea edx, [esp + 0x60]
push edx
push str._programfiles_x86__Internet_Exploreriexplore.exe
call esi
add eax, 0xffffffff
cmp eax, 0x3fd
ja 0x4060a5
lea eax, [esp + 0x5c]
push eax
call edi
cmp eax, 0xffffffff
je 0x4060a5
test al, 0x10
je 0x4060c8
mov eax, dword [esp + 0x10]
cmp eax, ebx
mov esi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
je 0x4060b6
push eax
call esi
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x4060c1
push eax
call esi
xor al, al
jmp 0x406151
push 0x38
lea ecx, [esp + 0x28]
push ebx
push ecx
call fcn.00407780
add esp, 0xc
lea edx, [esp + 0x5c]
push str.Shell32.dll
mov dword [esp + 0x24], 0x3c
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], str.http:__pic.2345.com
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], 1
mov dword [esp + 0x5c], ebx
call ebp
mov edi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov esi, eax
cmp esi, ebx
je 0x406139
push str.ShellExecuteExW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x406136
lea ecx, [esp + 0x20]
push ecx
call eax
push esi
call edi
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x406144
push eax
call edi
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x40614f
push eax
call edi
mov al, 1
mov ecx, dword [esp + 0x85c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00406bc8
add esp, 0x850
ret 4
Function at 0x406170
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x40f0d8
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x414028]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
push 0x415da8
mov esi, ecx
mov dword [esp + 0xc], 0x415da8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
test esi, esi
mov dword [esp + 0x14], 0
je 0x4061d6
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4061d6
test al, 0x10
jne 0x4061d6
mov edx, esi
mov ecx, edi
call fcn.00405cd0
test al, al
jne 0x4061f4
push edi
call fcn.00405f60
push 0x415da8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push 0x415da8
mov esi, eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

Function at 0x406bc8
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x414028]
jne 0x406bd2
repz ret
jmp fcn.00407672
Function at 0x409a31
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x4147e0]
je 0x409a4c
inc edi
cmp edi, 0x17
jb 0x409a3d
cmp edi, 0x17
jae 0x409bcc
push ebp
push 3
call fcn.0040cdd0
cmp eax, 1
pop ecx
je 0x409b98
push 3
call fcn.0040cdd0
test eax, eax
pop ecx
jne 0x409a80
cmp dword [0x414024], 1
je 0x409b98
cmp ebx, 0xfc
je 0x409bcb
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x4151d0
push ebp
call fcn.004085e8
add esp, 0xc
test eax, eax
je 0x409ab6
push esi
push esi
push esi
push esi
push esi
call fcn.00406c5c
add esp, 0x14
push 0x104
mov esi, 0x4151e9
push esi
push 0
mov byte [0x4152ed], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x409afa
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.004085e8
add esp, 0xc
test eax, eax
je 0x409afa
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.00406c5c
add esp, 0x14
push esi
call fcn.00408760
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x409b3f
push esi
call fcn.00408760
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x4154e4
push 0x4108a4
sub ecx, eax
push ecx
push eax
call fcn.0040c7f6
add esp, 0x14
test eax, eax
je 0x409b3f
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.00406c5c
add esp, 0x14
jmp 0x409b41
xor esi, esi
push 0x4108a0
push ebx
push ebp
call fcn.0040c730
add esp, 0xc
test eax, eax
je 0x409b61
push esi
push esi
push esi
push esi
push esi
call fcn.00406c5c
add esp, 0x14
push dword [edi*8 + 0x4147e4]
push ebx
push ebp
call fcn.0040c730
add esp, 0xc
test eax, eax
je 0x409b83
push esi
push esi
push esi
push esi
push esi
call fcn.00406c5c
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.0040cc13
add esp, 0xc
jmp 0x409bcb
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x409bcb
cmp ebp, 0xffffffff
je 0x409bcb
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x4147e4]
push dword [esi]
call fcn.00408760
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x40cc13
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00407c95
xor ebx, ebx
cmp dword [0x4158d0], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x40cce9
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x40cdc9
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x40cdc9
push eax
call fcn.00407c27
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4158d0], eax
call esi
push eax
call fcn.00407c27
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4158d4], eax
call esi
push eax
call fcn.00407c27
mov dword [0x4158d8], eax
lea eax, [ebp - 0xc]
push eax
call fcn.00408b0e
test eax, eax
pop ecx
pop ecx
je 0x40ccb7
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00406c5c
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x40cce9
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00407c27
cmp eax, ebx
pop ecx
mov dword [0x4158e0], eax
je 0x40cce9
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00407c27
pop ecx
mov dword [0x4158dc], eax
mov eax, dword [0x4158dc]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x40cd6e
cmp dword [0x4158e0], ecx
je 0x40cd6e
push eax
call fcn.00407c9e
push dword [0x4158e0]
mov esi, eax
call fcn.00407c9e
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x40cd6e
cmp edi, ebx
je 0x40cd6e
call esi
cmp eax, ebx
je 0x40cd3b
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40cd3b
test byte [ebp - 0x18], 1
jne 0x40cd6e
lea eax, [ebp - 0x10]
push eax
call fcn.00408b45
test eax, eax
pop ecx
je 0x40cd56
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00406c5c
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x40cd65
or dword [ebp + 0x10], 0x200000
jmp 0x40cda9
or dword [ebp + 0x10], 0x40000
jmp 0x40cda9
mov eax, dword [0x4158d4]
cmp eax, dword [ebp - 8]
je 0x40cda9
push eax
call fcn.00407c9e
cmp eax, ebx
pop ecx
je 0x40cda9
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x40cda9
mov eax, dword [0x4158d8]
cmp eax, dword [ebp - 8]
je 0x40cda9
push eax
call fcn.00407c9e
cmp eax, ebx
pop ecx
je 0x40cda9
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4158d0]
call fcn.00407c9e
cmp eax, ebx
pop ecx
je 0x40cdc9
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40cdcb
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x418dca
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
xor ebx, ebx
mov eax, 0x20000004
push esi
push edi
mov edi, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 4], edi
cmp dword [ebp + 8], ebx
je 0x418e5c
lea eax, [ebp - 4]
push eax
push 0x1a
call main
mov esi, eax
test esi, esi
jns 0x418e0d
push str.Failed_to_allocate_administrator_SID.
push esi
call main
mov edi, dword [ebp - 4]
pop ecx
pop ecx
jmp 0x418e85
push 2
push 8
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.advapi32.dll_InitializeAcl]
test eax, eax
jne 0x418e54
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x418e36
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x418e3d
mov esi, 0x80004005
push esi
push 0x601
push str.c:_agent_work138_s_src_burnenginecache.cpp
call fcn.004038f5
push str.Failed_to_initialize_ACL.
jmp 0x418e00
mov edi, dword [ebp - 4]
mov eax, 0x20000005
push 0x7d0
push 3
push ebx
lea ecx, [ebp - 0xc]
push ecx
push ebx
push edi
push eax
push 1
push dword [ebp + 0xc]
call main
push 0x80
push dword [ebp + 0xc]
mov esi, eax
call dword [sym.imp.kernel32.dll_SetFileAttributesW]
test edi, edi
je 0x418e8f
push edi
call main
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0x419e7b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x419e8a
pop dword [ebp - 0x3c]
mov eax, 0xd377099
add eax, 0xf30a2df1
sub dword [ebp - 0x3c], eax
push 0x40
push 0x1000
push 0x4f844
push 0
mov eax, 0x4715f37b
add eax, 0xb92ebf35
add eax, dword [ebp - 0x3c]
call dword [eax]
mov ecx, 0x8d0d47fc
add ecx, 0x72f2fd8b
xor edi, edi
add edi, eax
mov ebx, 0xa4d748aa
add ebx, 0x5b701556
add ebx, dword [ebp - 0x3c]
mov esi, 0xd6cf43c1
add dword [ebp - 4], edi
mov edx, dword [ebx]
sub dword [ebp - 0x18], 0xbba0951d
xor edx, esi
xor dword [ebp - 0x2c], ecx
mov dword [edi], edx
sub dword [ebp - 0x2c], esi
add edi, 0x499fe8
sub edi, 0x499fe4
add ebx, 0xc12c4542
add ebx, 0x3ed3bac2
loop 0x419ee5
add eax, 0x108ef
mov ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret
Function at 0x423510
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4d009b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.004c1ff4
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x423592
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004bf780
mov eax, dword [eax]
push 0x60ad84
push eax
call fcn.0049f634
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004c227f
test bl, bl
je 0x423592
push 0x60ad84
lea ecx, [esp + 0xc]
call fcn.004c265b
push 0x60ad90
lea ecx, [esp + 0xc]
call fcn.004c265b
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x4235ce
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004c227f
jmp 0x423699
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x423652
lea edx, [esp + 0x7c]
push 0x60ad8c
push edx
call fcn.0049f634
add esp, 8
test eax, eax
je 0x423652
lea eax, [esp + 0x7c]
push 0x60ad88
push eax
call fcn.0049f634
add esp, 8
test eax, eax
je 0x423652
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4235e2
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.004c227f
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x424920
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x424982
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x424990
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4d01fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x61cd2c]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x424ac8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x4249f6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004c227f
xor eax, eax
jmp 0x424b3f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004c2408
push esi
lea ecx, [esp + 0xc]
call fcn.004c2697
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x60add4
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x424b1d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.00424920
test eax, eax
jne 0x424b1d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push accept
mov ecx, edi
call fcn.00424920
test eax, eax
jne 0x424b1d
lea eax, [esp + 0x14]
push 0x60adb0
push eax
call fcn.004a0830
mov esi, eax
add esp, 8
test esi, esi
jne 0x424afc
lea ecx, [esp + 0x14]
push 0x60adac
push ecx
call fcn.004a07b0
mov esi, eax
add esp, 8
test esi, esi
jne 0x424afc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x424aff
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004c23b8
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x424a0e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004c227f
xor eax, eax
jmp 0x424b3f
mov byte [esi], 0
push 0x60ada8
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.004c227f
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4
Function at 0x43c010
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
mov cl, byte [eax + 8]
and ecx, 0xff
mov esi, ecx
cmp si, 0x60
jb 0x43c07e
cmp si, 0x69
ja 0x43c07e
add esi, 0xffd0
cmp si, 0x11
je 0x43c04e
push 0x11
call edi
test ax, ax
jge 0x43c04e
or esi, 0x2000
cmp si, 0x10
je 0x43c063
push 0x10
call edi
test ax, ax
jge 0x43c063
or esi, 0x4000
cmp si, 0x12
je 0x43c078
push 0x12
call edi
test ax, ax
jge 0x43c078
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x43c08b
mov esi, 0xbd
jmp 0x43c03f
cmp si, 0x6e
jne 0x43c098
mov esi, 0xbe
jmp 0x43c03f
cmp si, 0x6f
jne 0x43c039
mov esi, 0xbf
jmp 0x43c03f

Function at 0x43da10
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x62ea58]
xor edx, edx
cmp eax, edx
jne 0x43da36
xor eax, eax
mov byte [eax + 0x62e958], al
inc eax
cmp eax, 0x100
jl 0x43da1e
mov dword [0x62ea58], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x62e958
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x43dac7
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x43da9a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x43da68
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x43db40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x43db93
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x43db7a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret