joyce8/EMBER2024-capa huggingface dataset:
Function at 0xa1403082
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [0xa1411a64]
push ebx
push esi
push edi
mov edi, 0xa1411a60
sub edi, 0x12a60
lea eax, [ecx + ecx*2]
shl eax, 2
push 0
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], eax
pop edx
je 0xa14030ce
movzx esi, byte [edx - 0x5ebefda0]
mov ebx, dword [ebp - 4]
shr ebx, 0x1b
xor esi, ebx
mov ebx, dword [ebp - 4]
shl ebx, 5
xor esi, ebx
inc edx
cmp edx, eax
mov dword [ebp - 4], esi
jb 0xa14030af
cmp dword [ebp - 4], 0xd71bf652
je 0xa1403106
cmp byte [0xa14166fb], 0
jne 0xa14030f6
push 0x436e4dc9
push 0x576e4278
call fcn.a1402a6e
mov byte [0xa14166fb], 1
push 0x3e8
call fcn.a14002e6
mov ecx, dword [0xa1411a64]
and dword [ebp - 0xc], 0
test ecx, ecx
jbe 0xa1403193
mov esi, 0xa1410264
mov eax, dword [esi - 4]
mov edx, dword [esi]
and dword [ebp - 8], 0
add eax, edi
test edx, edx
mov dword [ebp - 4], edx
jbe 0xa140314e
mov edi, dword [ebp - 8]
movzx edi, byte [eax + edi]
mov ebx, dword [ebp - 4]
shr ebx, 0x1b
xor edi, ebx
mov ebx, dword [ebp - 4]
shl ebx, 5
xor edi, ebx
inc dword [ebp - 8]
cmp dword [ebp - 8], edx
mov dword [ebp - 4], edi
jb 0xa1403129
mov edi, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
cmp eax, dword [esi + 4]
je 0xa1403188
cmp byte [0xa14166fc], 0
jne 0xa1403188
push dword [ebp - 0xc]
push 0x436e4dca
push 0x576e4278
call fcn.a1402a8c
push 0x3e8
mov byte [0xa14166fc], 1
call fcn.a14002e6
mov ecx, dword [0xa1411a64]
inc dword [ebp - 0xc]
add esi, 0xc
cmp dword [ebp - 0xc], ecx
jb 0xa1403117
pop edi
pop esi
pop ebx
leave
ret

Function at 0xa14039cc
Capabilities:
Hash data with md5

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
and dword [eax + 0x14], 0
and dword [eax + 0x10], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
pop ebp
ret 4

Function at 0xa14044ce
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x100
mov dword [ebp - 4], ecx
xor esi, esi
mov edx, edi
mov ebx, eax
mov dword [edx], ecx
inc ecx
add edx, 4
dec ebx
jne 0xa14044ea
mov ecx, edi
mov dword [ebp + 8], eax
mov eax, dword [ebp + 0xc]
movzx eax, byte [esi + eax]
add al, byte [ecx]
mov edx, dword [ecx]
add al, byte [ebp - 4]
and eax, 0xff
mov dword [ebp - 4], eax
movzx eax, ax
lea eax, [edi + eax*4]
mov ebx, dword [eax]
mov dword [ecx], ebx
mov dword [eax], edx
lea eax, [esi + 1]
xor edx, edx
div dword [ebp + 0x10]
add ecx, 4
dec dword [ebp + 8]
mov esi, edx
jne 0xa14044f8
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0xa1404924
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.ntoskrnl.exe_Ordinal_21036]
test al, al
je 0xa1404951
mov eax, dword [esi + 0x3c]
add eax, esi
cmp word [esi], 0x5a4d
jne 0xa1404951
cmp dword [eax], 0x4550
jne 0xa1404951
mov eax, dword [eax + 8]
jmp 0xa1404953
xor eax, eax
pop esi
pop ebp
ret 8
Function at 0xa1406476
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0xa1411fb0]
and dword [ebp - 0x18], 0
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, dword [edi + 0x3c]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
add ebx, edi
cmp word [edi], 0x5a4d
mov dword [ebp - 0x14], eax
jne 0xa140659f
cmp dword [ebx], 0x4550
jne 0xa140659f
push dword [ebx + 0x78]
push edi
call fcn.a1401354
mov esi, eax
xor eax, eax
add esi, edi
cmp dword [ebx + 0x7c], eax
je 0xa140659f
cmp dword [esi + 0x18], eax
je 0xa140659f
cmp dword [esi + 0x14], eax
je 0xa140659f
push dword [esi + 0x1c]
push edi
call fcn.a1401354
push dword [esi + 0x20]
add eax, edi
push edi
mov dword [ebp - 0x10], eax
call fcn.a1401354
push dword [esi + 0x24]
mov ebx, eax
push edi
add ebx, edi
call fcn.a1401354
push dword [ebp - 0x10]
add eax, edi
mov dword [ebp - 0xc], eax
call dword [sym.imp.ntoskrnl.exe_Ordinal_21036]
test al, al
je 0xa140659f
push ebx
call dword [sym.imp.ntoskrnl.exe_Ordinal_21036]
test al, al
je 0xa140659f
push dword [ebp - 0xc]
call dword [sym.imp.ntoskrnl.exe_Ordinal_21036]
test al, al
je 0xa140659f
cmp byte [ebp + 0x14], 0
je 0xa1406542
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 0x14]
call fcn.a14013b8
and dword [ebp - 8], 0
cmp dword [esi + 0x18], 0
jbe 0xa140659a
push dword [ebp - 0x14]
mov eax, dword [ebp - 8]
push dword [ebx + eax*4]
push edi
call fcn.a1401354
add eax, edi
push eax
call dword [sym.imp.ntoskrnl.exe_Ordinal_21704]
test eax, eax
pop ecx
pop ecx
je 0xa1406577
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
cmp eax, dword [esi + 0x18]
jb 0xa140654c
jmp 0xa140659a
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
movzx eax, word [eax + ecx*2]
mov ecx, dword [ebp - 0x10]
push dword [ecx + eax*4]
push edi
call fcn.a1401354
add eax, edi
cmp byte [eax], 0xb8
jne 0xa140659a
mov eax, dword [eax + 1]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
jmp 0xa14065a1
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.a140e6a2
leave
ret 0x10

Function at 0xa1408518
Capabilities:
Encode data using xor
Hash data using jshash

Disassembly:
mov edi, edi
push esi
mov esi, dword [0xa1413dc0]
push edi
mov edi, 0xa1413dc0
cmp esi, edi
je 0xa1408583
push ebx
mov eax, 0x4e67c6a7
xor ecx, ecx
movsx edx, byte [esi + ecx - 0x34]
mov ebx, eax
shl ebx, 5
add edx, ebx
mov ebx, eax
shr ebx, 2
add edx, ebx
xor eax, edx
inc ecx
cmp ecx, 0xc
jb 0xa1408533
cmp eax, dword [esi - 0x28]
je 0xa140857c
cmp byte [0xa1413e25], 0
jne 0xa1408572
push 0x436e4dc6
push 0x576e4278
call fcn.a1402a6e
mov byte [0xa1413e25], 1
push 0x3e8
call fcn.a14002e6
mov esi, dword [esi]
cmp esi, edi
jne 0xa140852c
pop ebx
pop edi
pop esi
ret
Function at 0xa140858c
Capabilities:
Encode data using xor
Hash data using jshash

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push edi
mov byte [ebp - 1], 0
call dword [sym.imp.HAL.dll_Ordinal_23106]
cmp al, 2
mov edi, 0xa1413dd0
mov ecx, edi
jb 0xa14085b4
call dword [sym.imp.ntoskrnl.exe_Ordinal_21778]
mov byte [ebp - 1], 1
jmp 0xa14085bd
call dword [sym.imp.HAL.dll_Ordinal_23146]
mov byte [ebp - 2], al
push esi
mov esi, dword [0xa1413dc8]
cmp esi, 0xa1413dc8
je 0xa140861e
push ebx
mov eax, 0x4e67c6a7
xor ecx, ecx
movsx edx, byte [esi + ecx - 0x34]
mov ebx, eax
shl ebx, 5
add edx, ebx
mov ebx, eax
shr ebx, 2
add edx, ebx
xor eax, edx
inc ecx
cmp ecx, 0xc
jb 0xa14085d4
cmp eax, dword [esi - 0x28]
je 0xa1408613
cmp byte [0xa1413e26], 0
jne 0xa1408613
push 0x436e4dc5
push 0x576e4278
call fcn.a1402a6e
mov byte [0xa1413e26], 1
mov esi, dword [esi]
cmp esi, 0xa1413dc8
jne 0xa14085cd
pop ebx
cmp byte [ebp - 1], 0
pop esi
mov ecx, edi
je 0xa140862f
call dword [sym.imp.ntoskrnl.exe_Ordinal_21744]
jmp 0xa1408638
mov dl, byte [ebp - 2]
call dword [sym.imp.HAL.dll_Ordinal_23126]
pop edi
leave
ret

Function at 0xa14091d6
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x13c
mov eax, dword [0xa1411fb0]
and dword [ebp - 0x5c], 0
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
push 0x15
mov dword [ebp - 4], eax
pop ecx
xor eax, eax
lea edi, [ebp - 0x58]
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.ntoskrnl.exe_Ordinal_21036]
push esi
call edi
test al, al
je 0xa1409269
push ebx
call edi
test al, al
je 0xa1409269
mov eax, dword [esi + 0x3c]
add eax, esi
cmp word [esi], 0x5a4d
jne 0xa1409269
cmp dword [eax], 0x4550
jne 0xa1409269
push 0x38
lea esi, [eax + 0x18]
pop ecx
lea eax, [ebp - 0x5c]
lea edi, [ebp - 0x13c]
rep movsd dword es:[edi], dword [esi]
and dword [ebp - 0x120], 0
push eax
call fcn.a14039cc
push 0xe0
lea eax, [ebp - 0x13c]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.a1408f7c
lea eax, [ebp - 0x5c]
push eax
push ebx
call fcn.a1409024
mov al, 1
jmp 0xa140926b
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.a140e6a2
leave
ret 0xc
Function at 0x402560
Capabilities:
Get file version info

Disassembly:
sub esp, 0x1c
push esi
push edi
push 0x104
call fcn.0040a427
add esp, 4
mov esi, eax
push 0x104
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
mov dword [esp + 8], 0
je 0x402620
lea eax, [esp + 8]
push eax
push esi
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov edi, eax
test edi, edi
je 0x402620
push ebx
push edi
call fcn.0040a427
mov ecx, dword [esp + 0x10]
add esp, 4
mov ebx, eax
push ebx
push edi
push ecx
push esi
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x402616
lea edx, [esp + 0x14]
lea eax, [esp + 0x10]
push edx
push eax
push 0x4189d8
push ebx
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
call sub.VERSION.dll_VerQueryValueA
mov eax, dword [esp + 0x10]
test eax, eax
je 0x402616
mov edx, dword [eax + 0x14]
xor ecx, ecx
mov cx, word [eax + 0x14]
shr edx, 0x10
push ecx
push edx
mov edx, dword [eax + 0x10]
xor ecx, ecx
mov cx, word [eax + 0x10]
shr edx, 0x10
push ecx
push edx
push str.NeroCmd_version__d._d._d._d_n_n
call fcn.00409be1
add esp, 0x14
push ebx
call fcn.004097c0
add esp, 4
pop ebx
push esi
call fcn.004097c0
lea eax, [esp + 0x18]
push 0
lea ecx, [esp + 0x20]
push eax
lea edx, [esp + 0x28]
push ecx
lea eax, [esp + 0x30]
push edx
push eax
call fcn.00408400
add esp, 0x18
test eax, eax
pop edi
pop esi
je 0x402686
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
and ecx, 0xffff
push ecx
mov ecx, dword [esp + 0x1c]
and edx, 0xffff
and eax, 0xffff
push edx
and ecx, 0xffff
push eax
push ecx
push str.Nero_API_version__d._d._d._d_n_n
call fcn.00409be1
add esp, 0x14
add esp, 0x1c
ret
push str.Could_not_retrieve_version_information_from_NeroAPI__n
call fcn.00409be1
add esp, 4
add esp, 0x1c
ret
Function at 0x4081f0
Capabilities:
Get file version info

Disassembly:
sub esp, 0xc
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push esi
xor ebx, ebx
push edi
push ebx
push ebp
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ebx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov edi, eax
test edi, edi
jne 0x40821e
pop edi
pop esi
mov eax, ebx
mov edx, ebx
pop ebp
pop ebx
add esp, 0xc
ret
push edi
call fcn.0040c8da
mov esi, eax
add esp, 4
test esi, esi
jne 0x408239
pop edi
pop esi
mov eax, ebx
mov edx, ebx
pop ebp
pop ebx
add esp, 0xc
ret
push esi
push edi
push 0
push ebp
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
jne 0x40825c
push esi
call fcn.0040a524
add esp, 4
mov eax, ebx
mov edx, ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
lea eax, [esp + 0x10]
lea ecx, [esp + 0x20]
push eax
push ecx
push 0x4189d8
push esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
jne 0x40828a
push esi
call fcn.0040a524
add esp, 4
mov eax, ebx
mov edx, ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov eax, dword [esp + 0x20]
push esi
mov edx, dword [eax + 0x10]
mov cx, word [eax + 0x10]
shr edx, 0x10
mov word [esp + 0x18], dx
mov edx, dword [eax + 0x14]
mov ax, word [eax + 0x14]
mov word [esp + 0x1a], cx
shr edx, 0x10
mov word [esp + 0x1c], dx
mov word [esp + 0x1e], ax
call fcn.0040a524
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret

Function at 0x4082d0
Capabilities:
Set registry value

Disassembly:
push ecx
lea eax, [esp]
push esi
push eax
push 2
push 0
push str.SOFTWARE_aheadShared
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, dword [esp + 4]
test esi, esi
je 0x408320
mov edx, dword [esp + 0xc]
push edi
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
push edx
push 1
push eax
push str.NeroAPI
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ecx
ret

Function at 0x408540
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
lea eax, [esp]
push esi
xor esi, esi
push eax
push 0x20019
push esi
push str.SOFTWARE_aheadNero___Burning_RomInfo
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov eax, dword [esp + 4]
test eax, eax
je 0x408597
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x10]
push edx
push ecx
push esi
push str.Serial5
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40858c
mov esi, 1
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
pop ecx
ret
Function at 0x412339
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x420f28
cmp edx, dword [eax]
je 0x41235b
add eax, 8
inc ecx
cmp eax, 0x420fb8
jl 0x41234c
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x420f28]
jne 0x412489
mov eax, dword [0x421608]
cmp eax, 1
je 0x412463
test eax, eax
jne 0x41238c
cmp dword [0x41e988], 1
je 0x412463
cmp edx, 0xfc
je 0x412489
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4123c3
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00410490
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0040cc40
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x412406
lea eax, [ebp - 0x1a4]
push eax
call fcn.0040cc40
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x415a74
push edi
call fcn.0040a300
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00410490
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004104a0
lea eax, [ebp - 0xa0]
push 0x415a54
push eax
call fcn.004104a0
push dword [esi + 0x420f2c]
lea eax, [ebp - 0xa0]
push eax
call fcn.004104a0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004134ef
add esp, 0x2c
pop edi
jmp 0x412489
lea eax, [ebp + 8]
lea esi, [esi + 0x420f2c]
push 0
push eax
push dword [esi]
call fcn.0040cc40
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x417110
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x496b1b
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.0048a756
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x417192
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00487ae1
mov eax, dword [eax]
push 0x4ba210
push eax
call fcn.00479884
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0048a9e1
test bl, bl
je 0x417192
push 0x4ba210
lea ecx, [esp + 0xc]
call fcn.0048ad71
push 0x4bdd8c
lea ecx, [esp + 0xc]
call fcn.0048ad71
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 0x4171ce
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0048a9e1
jmp 0x417299
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 0x417252
lea edx, [esp + 0x7c]
push 0x4bdd88
push edx
call fcn.00479884
add esp, 8
test eax, eax
je 0x417252
lea eax, [esp + 0x7c]
push 0x4bdd84
push eax
call fcn.00479884
add esp, 8
test eax, eax
je 0x417252
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 0x4171e2
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.0048a9e1
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 0x417a90
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 0x417af2
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 0x417b00
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x496b9b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4c5718]
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 0x417c38
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x417b66
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0048a9e1
xor eax, eax
jmp 0x417caf
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0048ab1e
push esi
lea ecx, [esp + 0xc]
call fcn.0048adad
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x417c8d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push SysReAllocString
call fcn.00417a90
test eax, eax
jne 0x417c8d
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 SysReAllocString
mov ecx, edi
call fcn.00417a90
test eax, eax
jne 0x417c8d
lea eax, [esp + 0x14]
push 0x4bdda0
push eax
call fcn.0047a7d0
mov esi, eax
add esp, 8
test esi, esi
jne 0x417c6c
lea ecx, [esp + 0x14]
push 0x4bdd9c
push ecx
call fcn.0047a750
mov esi, eax
add esp, 8
test esi, esi
jne 0x417c6c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x417c6f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0048aace
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x417b7e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0048a9e1
xor eax, eax
jmp 0x417caf
mov byte [esi], 0
push 0x4bdd98
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.0048a9e1
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 0x42b1c0
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 0x42b22e
cmp si, 0x69
ja 0x42b22e
add esi, 0xffd0
cmp si, 0x11
je 0x42b1fe
push 0x11
call edi
test ax, ax
jge 0x42b1fe
or esi, 0x2000
cmp si, 0x10
je 0x42b213
push 0x10
call edi
test ax, ax
jge 0x42b213
or esi, 0x4000
cmp si, 0x12
je 0x42b228
push 0x12
call edi
test ax, ax
jge 0x42b228
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x42b23b
mov esi, 0xbd
jmp 0x42b1ef
cmp si, 0x6e
jne 0x42b248
mov esi, 0xbe
jmp 0x42b1ef
cmp si, 0x6f
jne 0x42b1e9
mov esi, 0xbf
jmp 0x42b1ef

Function at 0x42c970
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x4d6818]
xor edx, edx
cmp eax, edx
jne 0x42c996
xor eax, eax
mov byte [eax + 0x4d6718], al
inc eax
cmp eax, 0x100
jl 0x42c97e
mov dword [0x4d6818], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x4d6718
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x42ca27
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 0x42c9fa
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 0x42c9c8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x42caa0
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 0x42caf3
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 0x42cada
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