joyce8/EMBER2024-capa huggingface dataset:
Function at 0x411d02
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x43f520]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040b061
and dword [ebp - 0x14], 0
cmp dword [0x444a94], 0
mov dword [ebp - 0x18], eax
jne 0x411db5
push 0x403934
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x411e5d
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x403928
push ebx
call edi
test eax, eax
je 0x411e5d
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x403918
push ebx
mov dword [0x444a94], eax
call edi
push eax
call esi
push 0x403904
push ebx
mov dword [0x444a98], eax
call edi
push eax
call esi
push 0x4038e8
push ebx
mov dword [0x444a9c], eax
call edi
push eax
call esi
mov dword [0x444aa4], eax
test eax, eax
je 0x411db5
push 0x4038d0
push ebx
call edi
push eax
call esi
mov dword [0x444aa0], eax
mov eax, dword [0x444aa0]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x411e0e
cmp dword [0x444aa4], ecx
je 0x411e0e
push eax
call esi
push dword [0x444aa4]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x411e0e
test ebx, ebx
je 0x411e0e
call edi
test eax, eax
je 0x411e05
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x411e05
test byte [ebp - 8], 1
jne 0x411e0e
or dword [ebp + 0x10], 0x200000
jmp 0x411e41
mov eax, dword [0x444a98]
cmp eax, dword [ebp - 0x18]
je 0x411e41
push eax
call esi
test eax, eax
je 0x411e41
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x411e41
mov eax, dword [0x444a9c]
cmp eax, dword [ebp - 0x18]
je 0x411e41
push eax
call esi
test eax, eax
je 0x411e41
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x444a94]
call esi
test eax, eax
je 0x411e5d
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x411e5f
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00408961
leave
ret
Function at 0x43a7d0
Capabilities:
Delete directory
Get common file path
Manipulate console buffer

Disassembly:
sub esp, 0xc0c
cmp dword [0x7c9820], 0x37
jne 0x43a870
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCommState]
push 0
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemPowerStatus]
push 0
lea eax, [esp + 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea ecx, [esp + 8]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
lea edx, [esp + 4]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeA]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push 0
lea eax, [esp + 0x10]
push eax
push 0
push 0x404174
push 0
call dword [sym.imp.KERNEL32.dll_FoldStringA]
push 0
push 0
push 0
push 0x4041b0
push 0x404248
push 0x4042c8
call dword [sym.imp.KERNEL32.dll_ReplaceFileW]
mov ecx, dword [0x7c9824]
mov dword [esp], ecx
mov eax, 0x5d1
add dword [esp], eax
mov edx, dword [esp]
mov al, byte [edx + esi]
mov ecx, dword [0x449884]
mov byte [ecx + esi], al
add esp, 0xc0c
ret
Function at 0x43aac0
Capabilities:
Accept command line arguments
Enumerate files on windows
Manipulate console buffer
Move file

Disassembly:
mov eax, dword [0x7c9820]
sub esp, 0x434
push ebx
push ebp
push esi
shr eax, 3
xor ebx, ebx
push edi
mov edi, dword [0x449884]
cmp eax, ebx
jbe 0x43aca8
mov dword [esp + 0x1c], edi
mov dword [esp + 0x24], eax
jmp 0x43aaf6
mov edi, dword [esp + 0x1c]
xor ebx, ebx
cmp dword [0x7c9820], 0x1c
jne 0x43ab0d
lea eax, [esp + 0x38]
push eax
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
mov ecx, dword [edi + 4]
mov edx, dword [0x440700]
mov eax, dword [0x440704]
mov esi, dword [edi]
mov ebp, dword [0x440708]
mov dword [esp + 0x14], ecx
mov ecx, dword [0x44070c]
mov edi, 0xc6ef3720
mov dword [esp + 0x30], edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], 0x20
jmp 0x43ab4a
xor ebx, ebx
mov eax, esi
mov edx, esi
shl eax, 4
shr edx, 5
add edx, dword [esp + 0x28]
add eax, ebp
lea ecx, [edi + esi]
xor eax, ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], eax
mov dword [0x7c87a4], ebx
mov eax, dword [esp + 0x18]
add dword [0x7c87a4], eax
mov edx, dword [0x7c87a4]
mov dword [esp + 0x34], edx
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x34]
add dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
xor eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
sub dword [esp + 0x14], eax
mov ecx, dword [esp + 0x14]
shl ecx, 4
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x30]
add dword [esp + 0x10], eax
cmp dword [0x7c9820], 0x1be
mov eax, dword [esp + 0x14]
lea ebx, [edi + eax]
jne 0x43abe4
lea edx, [esp + 0x3c]
push edx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
mov eax, dword [esp + 0x14]
shr eax, 5
add eax, dword [esp + 0x2c]
cmp dword [0x7c9820], 0x979
mov dword [0x7c87a8], 0xff6b3619
mov dword [0x7c87ac], 0xffffffff
mov dword [esp + 0x18], eax
jne 0x43ac28
push 0
lea eax, [esp + 0x44]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GlobalGetAtomNameA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
xor dword [esp + 0x10], ebx
mov eax, dword [esp + 0x18]
xor dword [esp + 0x10], eax
mov eax, dword [0x7c9820]
sub esi, dword [esp + 0x10]
cmp eax, 0x93
je 0x43ac4a
add edi, 0x61c88647
dec dword [esp + 0x20]
jne 0x43ab48
cmp eax, 0x8d4
jne 0x43ac61
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov dword [edi], esi
mov dword [edi + 4], ecx
cmp dword [0x7c9820], 0x17
jne 0x43ac97
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MoveFileWithProgressA]
lea edx, [esp + 0x40]
push edx
push 0x404100
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
add edi, 8
dec dword [esp + 0x24]
mov dword [esp + 0x1c], edi
jne 0x43aaf0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x434
ret
Function at 0x8ccbaf
Capabilities:
Encode data using xor

Disassembly:
mov ebx, 0x8cc92e
mov eax, eax
dec eax
mov ecx, 0x988865e0
call fcn.008ccbf5
sub eax, 1
add eax, 0xe1bbec29
xor dword [edx], ebx
add ecx, 0x90e44791
inc ecx
inc edx
mov eax, eax
cmp edx, esi
jne fcn.008ccbaf
add eax, 0x60eddf47
sub eax, 0x994082eb
sub ecx, 0x56be3420
ret
Function at 0x8f36d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x908038]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
test edi, edi
je 0x8f37f3
test esi, esi
je 0x8f37f3
mov ecx, esi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x8f3700
sub ecx, edx
xor eax, eax
sar ecx, 1
je 0x8f37f5
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.008f9f30
add esp, 0xc
cmp dword [ebp + 0xc], 0
jne 0x8f376f
cmp dword [0x908f08], 3
jne 0x8f376f
push 0x104
lea eax, [ebp - 0x20c]
push eax
call dword [0x902020]
push 0x90699c
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.008f64eb
add esp, 0xc
jmp 0x8f3781
lea eax, [ebp - 0x20c]
push eax
push 0x104
call dword [0x90201c]
push esi
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.008f64eb
push 0x9069a0
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x210]
push eax
mov dword [ebp - 0x210], 0
call fcn.008f66e2
mov eax, dword [ebp - 0x210]
add esp, 0x18
test eax, eax
je 0x8f37f3
push eax
push 1
push 0x200
push edi
call fcn.008f69b4
push dword [ebp - 0x210]
call fcn.008f6acc
add esp, 0x14
mov eax, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.008f634a
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.008f634a
mov esp, ebp
pop ebp
ret

Function at 0x8f38b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x908038]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
xor edx, edx
jmp 0x8f38d0
not byte [esi + edx]
inc edx
cmp edx, 0x200
jb 0x8f38d0
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call fcn.008f9f30
add esp, 0xc
mov dword [ebp - 0x214], 0
test esi, esi
je 0x8f3985
lea eax, [ebp - 0x210]
push eax
push 0x104
call dword [0x90201c]
push 0x906980
lea eax, [ebp - 0x210]
push 0x104
push eax
call fcn.008f64eb
push 0x9069c0
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x214]
push eax
call fcn.008f66e2
mov eax, dword [ebp - 0x214]
add esp, 0x18
test eax, eax
je 0x8f3971
push eax
push 1
push 0x200
push esi
call fcn.008f6c9a
push dword [ebp - 0x214]
call fcn.008f6acc
add esp, 0x14
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.008f634a
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
pop esi
call fcn.008f634a
mov esp, ebp
pop ebp
ret
Function at 0x8f4bd0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x908038]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
push 0x906aac
push ecx
lea eax, [ebp - 8]
push eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], 0
call fcn.008f66e2
add esp, 0xc
test eax, eax
je 0x8f4c15
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.008f634a
mov esp, ebp
pop ebp
ret
push ebx
push esi
push 2
push 0
push dword [ebp - 8]
call fcn.008f74b0
push dword [ebp - 8]
call fcn.008f7888
push 0
push 0
push dword [ebp - 8]
mov esi, eax
call fcn.008f74b0
lea eax, [edi + esi]
push eax
mov dword [ebp - 0x10], eax
call fcn.008f7357
push dword [ebp - 8]
mov ebx, eax
push 1
push esi
push ebx
mov dword [ebp - 0x14], ebx
call fcn.008f69b4
push dword [ebp - 8]
call fcn.008f6acc
push edi
add ebx, esi
push 0
push ebx
call fcn.008f9f30
mov eax, edi
cdq
and edx, 3
add esp, 0x40
lea edi, [edx + eax]
sar edi, 2
call dword [0x90202c]
push eax
call fcn.008f7913
add esp, 4
xor esi, esi
test edi, edi
jle 0x8f4c9d
lea ecx, [ecx]
call fcn.008f78f0
mov dword [ebx + esi*4], eax
inc esi
cmp esi, edi
jl 0x8f4c90
push 0x906ab4
push dword [ebp - 0xc]
lea eax, [ebp - 8]
push eax
call fcn.008f66e2
add esp, 0xc
test eax, eax
je 0x8f4cc8
pop esi
pop ebx
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.008f634a
mov esp, ebp
pop ebp
ret
push dword [ebp - 8]
mov esi, dword [ebp - 0x14]
push 1
push dword [ebp - 0x10]
push esi
call fcn.008f6c9a
push dword [ebp - 8]
call fcn.008f6acc
add esp, 0x14
test esi, esi
je 0x8f4cf1
push esi
call fcn.008f73e9
add esp, 4
mov ecx, dword [ebp - 4]
pop esi
pop ebx
xor ecx, ebp
mov eax, 1
pop edi
call fcn.008f634a
mov esp, ebp
pop ebp
ret
Function at 0x8f4d10
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x324
mov eax, dword [0x908038]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x103
lea eax, [ebp - 0x20b]
push 0
push eax
mov byte [ebp - 0x20c], 0
call fcn.008f9f30
push 0x103
lea eax, [ebp - 0x107]
push 0
push eax
mov byte [ebp - 0x108], 0
call fcn.008f9f30
push 0x103
lea eax, [ebp - 0x30f]
push 0
push eax
mov byte [ebp - 0x310], 0
call fcn.008f9f30
mov ax, word [0x906ac4]
movq xmm0, qword [0x906abc]
mov word [ebp - 0x31c], ax
mov al, byte [0x906ac6]
add esp, 0x24
mov byte [ebp - 0x31a], al
lea eax, [ebp - 0x20c]
movq qword [ebp - 0x324], xmm0
push eax
xorps xmm0, xmm0
push 0x104
movq qword [ebp - 0x319], xmm0
mov byte [ebp - 0x311], 0
call dword [0x902040]
lea edx, [ebp - 0x324]
mov esi, edx
lea esp, [esp]
mov al, byte [edx]
inc edx
test al, al
jne 0x8f4dd0
push edi
lea edi, [ebp - 0x20c]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x8f4de1
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push 0x104
lea eax, [ebp - 0x108]
mov ecx, edx
push eax
and ecx, 3
push 0
rep movsb byte es:[edi], byte [esi]
call dword [0x902044]
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x310]
push 0x104
push eax
call fcn.008f7923
lea eax, [ebp - 0x310]
push 0x5c
push eax
call fcn.008f7220
add esp, 0x14
pop edi
test eax, eax
je 0x8f4e3c
mov byte [eax], 0
lea eax, [ebp - 0x20c]
push 0x906ac8
push eax
call fcn.008f7a3c
mov esi, eax
add esp, 8
test esi, esi
je 0x8f4f9e
push esi
push 1
push 9
push 0x906acc
call fcn.008f6c9a
push esi
push 1
push 5
push 0x906ad8
call fcn.008f6c9a
lea ecx, [ebp - 0x108]
add esp, 0x20
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x8f4e84
push esi
sub ecx, edx
push 1
push ecx
lea eax, [ebp - 0x108]
push eax
call fcn.008f6c9a
push esi
push 1
push 2
push 0x906ae0
call fcn.008f6c9a
push esi
push 1
push 0xa
push 0x906ae4
call fcn.008f6c9a
lea ecx, [ebp - 0x108]
add esp, 0x30
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x8f4ec7
push esi
sub ecx, edx
push 1
push ecx
lea eax, [ebp - 0x108]
push eax
call fcn.008f6c9a
push esi
push 1
push 0xf
push 0x906af0
call fcn.008f6c9a
push esi
push 1
push 7
push 0x906b00
call fcn.008f6c9a
lea ecx, [ebp - 0x310]
add esp, 0x30
lea edx, [ecx + 1]
lea ebx, [ebx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x8f4f10
push esi
sub ecx, edx
push 1
push ecx
lea eax, [ebp - 0x310]
push eax
call fcn.008f6c9a
push esi
push 1
push 3
push 0x906b08
call fcn.008f6c9a
push esi
push 1
push 5
push 0x906b0c
call fcn.008f6c9a
lea ecx, [ebp - 0x20c]
add esp, 0x30
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x8f4f53
push esi
sub ecx, edx
push 1
push ecx
lea eax, [ebp - 0x20c]
push eax
call fcn.008f6c9a
push esi
push 1
push 1
push 0x906b14
call fcn.008f6c9a
push esi
call fcn.008f6acc
add esp, 0x24
lea eax, [ebp - 0x20c]
push 0
push 0
push 0
push eax
push 0x906b18
push 0
call dword [0x902164]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.008f634a
mov esp, ebp
pop ebp
ret
Function at 0x8f6220
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x100c
call fcn.008fd130
mov eax, dword [0x908038]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor edi, edi
push edi
push 4
mov esi, ecx
lea eax, [ebp - 0x1008]
push eax
push dword [esi]
mov ebx, edx
mov dword [ebp - 0x100c], esi
call dword [0x9021d4]
cmp eax, 4
je 0x8f6270
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.008f634a
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x1008], edi
jbe 0x8f62c0
jmp 0x8f6280
push 0
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [esi]
call dword [0x9021d4]
mov esi, eax
test esi, esi
je 0x8f62c0
push dword [ebx]
lea eax, [ebp - 0x1004]
push esi
push 1
push eax
call fcn.008f6c9a
add edi, esi
mov esi, dword [ebp - 0x100c]
add esp, 0x10
cmp edi, dword [ebp - 0x1008]
jb 0x8f6280
push dword [ebx]
call fcn.008f6acc
mov ecx, dword [ebp - 4]
add esp, 4
cmp edi, dword [ebp - 0x1008]
pop edi
sbb eax, eax
pop esi
xor ecx, ebp
inc eax
pop ebx
call fcn.008f634a
mov esp, ebp
pop ebp
ret
Function at 0x407890
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x491acb
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.004869d8
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x407912
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00484927
mov eax, dword [eax]
push 0x4aa1c0
push eax
call fcn.00476b74
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00486c63
test bl, bl
je 0x407912
push 0x4aa1c0
lea ecx, [esp + 0xc]
call fcn.00486ff3
push 0x4add0c
lea ecx, [esp + 0xc]
call fcn.00486ff3
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 0x40794e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00486c63
jmp 0x407a19
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 0x4079d2
lea edx, [esp + 0x7c]
push 0x4add08
push edx
call fcn.00476b74
add esp, 8
test eax, eax
je 0x4079d2
lea eax, [esp + 0x7c]
push 0x4add04
push eax
call fcn.00476b74
add esp, 8
test eax, eax
je 0x4079d2
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 0x407962
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.00486c63
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 0x408210
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 0x408272
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 0x408280
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x491b4b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4be888]
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 0x4083b8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x4082e6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00486c63
xor eax, eax
jmp 0x40842f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00486da0
push esi
lea ecx, [esp + 0xc]
call fcn.0048702f
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 0x40840d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.00408210
test eax, eax
jne 0x40840d
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.00408210
test eax, eax
jne 0x40840d
lea eax, [esp + 0x14]
push 0x4add20
push eax
call fcn.00477bf0
mov esi, eax
add esp, 8
test esi, esi
jne 0x4083ec
lea ecx, [esp + 0x14]
push 0x4add1c
push ecx
call fcn.00477b70
mov esi, eax
add esp, 8
test esi, esi
jne 0x4083ec
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x4083ef
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00486d50
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4082fe
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00486c63
xor eax, eax
jmp 0x40842f
mov byte [esi], 0
push 0x4add18
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.00486c63
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 0x418b00
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 0x418b6e
cmp si, 0x69
ja 0x418b6e
add esi, 0xffd0
cmp si, 0x11
je 0x418b3e
push 0x11
call edi
test ax, ax
jge 0x418b3e
or esi, 0x2000
cmp si, 0x10
je 0x418b53
push 0x10
call edi
test ax, ax
jge 0x418b53
or esi, 0x4000
cmp si, 0x12
je 0x418b68
push 0x12
call edi
test ax, ax
jge 0x418b68
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x418b7b
mov esi, 0xbd
jmp 0x418b2f
cmp si, 0x6e
jne 0x418b88
mov esi, 0xbe
jmp 0x418b2f
cmp si, 0x6f
jne 0x418b29
mov esi, 0xbf
jmp 0x418b2f

Function at 0x41a2d0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x4cef78]
xor edx, edx
cmp eax, edx
jne 0x41a2f6
xor eax, eax
mov byte [eax + 0x4cee78], al
inc eax
cmp eax, 0x100
jl 0x41a2de
mov dword [0x4cef78], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x4cee78
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x41a387
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 0x41a35a
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 0x41a328
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x41a400
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 0x41a453
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 0x41a43a
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