joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47d604
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, 0x438f2c
call fcn.00435bf8
sub esp, 0xec
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebx + 0x60]
push edi
lea edi, [ebx + 8]
push edi
call fcn.0044fea5
xor ecx, ecx
cmp esi, eax
jne 0x47d63b
cmp ecx, edx
jne 0x47d63b
mov byte [ebx + 0xd0], cl
jmp 0x47d81d
push edi
call fcn.0044fea5
xor edi, edi
cmp edi, edx
lea ecx, [esi + 0x1a]
jl 0x47d6ee
jg 0x47d658
cmp ecx, eax
jb 0x47d6ee
lea ecx, [ebp - 0x44]
call fcn.0045d48b
xor esi, esi
push esi
push 0x400
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], esi
call fcn.0046f402
push dword [ebx + 4]
lea ecx, [ebp - 0x44]
push dword [ebx]
push dword [ebx + 0x24]
push 0x4a87a8
push dword [ebp - 0x30]
push esi
call fcn.0044681f
push eax
call fcn.0041ea93
add esp, 0x18
cmp eax, esi
jl 0x47d6a3
push esi
push eax
lea ecx, [ebp - 0x44]
call fcn.0046f402
push 0x49ec12
lea ecx, [ebp - 0x28]
call fcn.0046f57e
push str.Jvcn__by_number_0x___ntfs_lib::Co
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 1
call fcn.0046f57e
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x44]
push eax
mov byte [ebp - 4], 2
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0xf8]
push eax
call fcn.0047825e
push 0x4ac7e8
lea eax, [ebp - 0xf8]
push eax
call fcn.004218d5
lea edi, [ebx + 0x80]
push esi
push edi
call fcn.00467766
mov esi, eax
mov eax, dword [esi]
pop ecx
pop ecx
mov dword [ebx + 0x98], eax
cmp eax, 0xffffffff
je 0x47d816
test eax, eax
je 0x47d816
movzx ecx, byte [esi + 7]
movzx eax, byte [esi + 6]
movzx edx, word [esi + 4]
add eax, ecx
cmp edx, eax
jge 0x47d7bd
lea ecx, [ebp - 0x28]
call fcn.0045d48b
push 0
push 0x400
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 3
call fcn.0046f402
push dword [ebx + 4]
lea esi, [ebx + 0x28]
push dword [ebx]
sub esp, 0x1c
push 7
pop ecx
mov edi, esp
push dword [ebx + 0x24]
rep movsd dword es:[edi], dword [esi]
push 0x4a8808
push dword [ebp - 0x14]
lea ecx, [ebp - 0x28]
push 0
call fcn.0044681f
push eax
call fcn.0041ea93
add esp, 0x34
test eax, eax
jl 0x47d78b
push 0
push eax
lea ecx, [ebp - 0x28]
call fcn.0046f402
push 0x49ec12
lea ecx, [ebp - 0x60]
call fcn.0046f57e
push str.Jvcn__by_number_0x___ntfs_lib::Co
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 4
call fcn.0046f57e
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x28]
push eax
mov byte [ebp - 4], 5
lea eax, [ebp - 0x7c]
jmp 0x47d6d0
movzx eax, byte [esi + 6]
push eax
push eax
mov eax, dword [ebx + 0x60]
add eax, ecx
push eax
push edi
call fcn.00467712
add esp, 0xc
push eax
lea ecx, [ebx + 0x9c]
call fcn.00417a90
mov eax, dword [esi + 8]
mov dword [ebx + 0xb8], eax
mov eax, dword [esi + 0xc]
mov dword [ebx + 0xbc], eax
mov eax, dword [esi + 0x10]
mov dword [ebx + 0xc0], eax
mov eax, dword [esi + 0x14]
mov dword [ebx + 0xc4], eax
mov ax, word [esi + 0x18]
mov word [ebx + 0xc8], ax
mov byte [ebx + 0xd0], 1
jmp 0x47d81d
mov byte [ebx + 0xd0], 0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
Function at 0x417c10
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov eax, dword [edi + 8]
test eax, eax
jne 0x417c57
push 0x41
call dword [sym.imp.USER32.dll_VkKeyScanW]
push str.uxtheme.dll
mov word [edi + 9], ax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
mov dword [edi], esi
je 0x417c57
mov eax, dword [0x4c6aac]
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
push str.IsThemeActive
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [edi + 8], eax
pop edi
pop esi
ret

Function at 0x417e33
Capabilities:
Encode data using xor

Disassembly:
imul eax, dword [ebx - 0x57], 0xecb9a148
cli
lcall 0x6d02, 0x439a2c50
das
push ebp
xchg ecx, eax
lodsd eax, dword [esi]
sub al, 0xc6
dec edx
mov ecx, 0x2cfb02ab
wait
xor dword [edx - 0x5b], ebx
and ebp, edx
xor dword [edx + 0x25d00595], esp
pop edx
rol byte [ebx - 0x7d7e642b], cl
js 0x417e3b
jns 0x417ed6
push edi
lahf
pop ss
insd dword es:[edi], dx
dec esi
dec ecx
mov edi, 0x5f8f8519
out 0xae, al
mov word [0xbcd95f72], fs
in eax, dx
in al, dx
lcall 0xe605, 0x71e13136
pushfd
xor eax, 0x9c5362a6
adc byte [eax + 0x5c], bh
arpl word [si + 0x7c7e], dx
in al, 0x30
jnp 0x417eda
aad 0x81
mov word [eax - 0xdf8ebbc], es
sbb eax, 0x91db0c6a
lahf
je 0x417eac
retf
mov dword [0xaaf186b], eax
wait
push 0xb9c78631
mov ebx, 0x2daa9dd
adc edi, esi
invalid

Function at 0x45c763
Capabilities:
Check for vm using instruction vpcext

Disassembly:
mov es, word [eax]
mov cl, 0x4b
sbb bl, byte [ebx + 0x28]
fisubr word [ecx*4 - 0x23d8e03]
insb byte es:[edi], dx
mov dword [ebx + 0x6c85ce61], ecx
mov esp, 0x3b3afb25
scasd eax, dword es:[edi]
sub dword fs:[esi + 0x56], 0xb9cd25f0
sub dword [ecx], ecx
add eax, 0xf92d5af8
sti
mov bh, 0xd0
ja 0x45c730
out dx, eax
mov ebx, 0x1eea2299
mov eax, dword [0x72ec9ac]
invalid

Function at 0x45c7a9
Capabilities:
Check for vm using instruction vpcext

Disassembly:
sub dh, bl
sub al, 0x8d
std
jno 0x45c730
std
xchg ebx, eax
rol ebx, cl
cmp ecx, dword [ecx - 0x67a67d5b]
pop ds
ror dword [edi + 0x58], cl
in al, 0x4d
in al, 0x4b
and byte [ebx + 0x76], ah
jb 0x45c767
add dword [eax + 0x39], eax
insd dword es:[edi], dx
dec ebp
jnp 0x45c7ff
imul edx, ecx, 0xffffffa3
aam 0x2b
or ch, byte [eax + 0x2a]
retf
invalid
Function at 0x4ba655
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4c3360
cmp edx, dword [eax]
je 0x4ba677
add eax, 8
inc ecx
cmp eax, 0x4c33f0
jl 0x4ba668
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4c3360]
jne 0x4ba7a5
mov eax, dword [0x4c7cec]
cmp eax, 1
je 0x4ba77f
test eax, eax
jne 0x4ba6a8
cmp dword [0x4c328c], 1
je 0x4ba77f
cmp edx, 0xfc
je 0x4ba7a5
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4ba6df
lea eax, [ebp - 0x1a4]
push 0x4bfa38
push eax
call fcn.004bb040
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004bb4d0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4ba722
lea eax, [ebp - 0x1a4]
push eax
call fcn.004bb4d0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4bfa34
push edi
call fcn.004bd3a0
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x4bfa18
push eax
call fcn.004bb040
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004bb050
lea eax, [ebp - 0xa0]
push 0x4bfa14
push eax
call fcn.004bb050
push dword [esi + 0x4c3364]
lea eax, [ebp - 0xa0]
push eax
call fcn.004bb050
push 0x12010
lea eax, [ebp - 0xa0]
push 0x4bf9ec
push eax
call fcn.004bd314
add esp, 0x2c
pop edi
jmp 0x4ba7a5
lea eax, [ebp + 8]
lea esi, [esi + 0x4c3364]
push 0
push eax
push dword [esi]
call fcn.004bb4d0
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 0x4fca92
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
pushal
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x3c]
add eax, edx
add eax, 4
add eax, 0x14
lea eax, [eax + 0x60]
add eax, 8
mov eax, dword [eax]
add eax, edx
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x118], 0x49
mov byte [ebp - 0x117], 0x6d
mov byte [ebp - 0x116], 0x70
mov byte [ebp - 0x115], 0x6f
mov byte [ebp - 0x114], 0x72
mov byte [ebp - 0x113], 0x74
mov byte [ebp - 0x112], 0x20
mov byte [ebp - 0x111], 0x54
mov byte [ebp - 0x110], 0x61
mov byte [ebp - 0x10f], 0x62
mov byte [ebp - 0x10e], 0x6c
mov byte [ebp - 0x10d], 0x65
mov byte [ebp - 0x10c], 0x3a
mov byte [ebp - 0x10b], 0
mov eax, 1
mov eax, 1
test eax, eax
je 0x4fcb67
lea esi, [ebp - 0x14]
mov ecx, 0x14
mov al, 0
mov byte [esi], al
inc esi
dec ecx
jne 0x4fcb31
mov ebx, dword [ebp - 0x18]
lea esi, [ebp - 0x14]
mov edi, ebx
mov ecx, 0x14
repe cmpsb byte [esi], byte es:[edi]
je 0x4fcb5d
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004fcb71
test eax, eax
je 0x4fcb67
add ebx, 0x14
jmp 0x4fcb3a
popal
mov eax, 1
leave
ret 8
popal
mov eax, 0
leave
ret 8
Function at 0x4fcb71
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
pushal
mov eax, 1
test eax, eax
je 0x4fcddd
mov byte [ebp - 0x10c], 0x50
mov byte [ebp - 0x10b], 0x72
mov byte [ebp - 0x10a], 0x6f
mov byte [ebp - 0x109], 0x63
mov byte [ebp - 0x108], 0x65
mov byte [ebp - 0x107], 0x73
mov byte [ebp - 0x106], 0x73
mov byte [ebp - 0x105], 0x69
mov byte [ebp - 0x104], 0x6e
mov byte [ebp - 0x103], 0x67
mov byte [ebp - 0x102], 0x20
mov byte [ebp - 0x101], 0x49
mov byte [ebp - 0x100], 0x6d
mov byte [ebp - 0xff], 0x70
mov byte [ebp - 0xfe], 0x6f
mov byte [ebp - 0xfd], 0x72
mov byte [ebp - 0xfc], 0x74
mov byte [ebp - 0xfb], 0x20
mov byte [ebp - 0xfa], 0x44
mov byte [ebp - 0xf9], 0x69
mov byte [ebp - 0xf8], 0x72
mov byte [ebp - 0xf7], 0x65
mov byte [ebp - 0xf6], 0x63
mov byte [ebp - 0xf5], 0x74
mov byte [ebp - 0xf4], 0x6f
mov byte [ebp - 0xf3], 0x72
mov byte [ebp - 0xf2], 0x79
mov byte [ebp - 0xf1], 0x3a
mov byte [ebp - 0xf0], 0
mov eax, 1
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0xc]
add eax, dword [ebp + 0xc]
mov ebx, eax
mov eax, 1
test eax, eax
je 0x4fcddd
mov eax, 1
test eax, eax
je 0x4fcddd
push ebx
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
test eax, eax
je 0x4fcddd
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
add eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [edx + 0x10]
add eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
sub ecx, ecx
mov eax, dword [ebp - 0xc]
add eax, ecx
mov eax, dword [eax]
test eax, eax
je 0x4fcdd3
mov ebx, eax
and eax, 0x80000000
jne 0x4fcd4a
mov byte [ebp - 0x10c], 0x4e
mov byte [ebp - 0x10b], 0x61
mov byte [ebp - 0x10a], 0x6d
mov byte [ebp - 0x109], 0x65
mov byte [ebp - 0x108], 0x3a
mov byte [ebp - 0x107], 0x20
mov byte [ebp - 0x106], 0
lea eax, [ebp - 0x10c]
mov eax, 1
test eax, eax
je 0x4fcddd
add ebx, dword [ebp + 0xc]
lea ebx, [ebx + 2]
mov eax, ebx
mov eax, 1
test eax, eax
je 0x4fcddd
mov eax, 1
test eax, eax
je 0x4fcddd
push ecx
push ebx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
pop ecx
test eax, eax
je 0x4fcddd
mov ebx, dword [ebp - 8]
add ebx, ecx
mov dword [ebx], eax
add ecx, 4
jmp 0x4fcca5
mov byte [ebp - 0x10c], 0x4f
mov byte [ebp - 0x10b], 0x72
mov byte [ebp - 0x10a], 0x64
mov byte [ebp - 0x109], 0x69
mov byte [ebp - 0x108], 0x6e
mov byte [ebp - 0x107], 0x61
mov byte [ebp - 0x106], 0x6c
mov byte [ebp - 0x105], 0x3a
mov byte [ebp - 0x104], 0x20
mov byte [ebp - 0x103], 0
lea eax, [ebp - 0x10c]
mov eax, 1
test eax, eax
je 0x4fcddd
xor ebx, 0x80000000
mov eax, ebx
mov eax, 1
test eax, eax
je 0x4fcb67
push ecx
push ebx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
pop ecx
test eax, eax
je 0x4fcddd
mov ebx, dword [ebp - 8]
add ebx, ecx
mov dword [ebx], eax
add ecx, 4
jmp 0x4fcca5
popal
mov eax, 1
leave
ret 0xc
popal
mov eax, 0
leave
ret 0xc
Function at 0x4fce9d
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
pushal
mov edx, dword [ebp + 0xc]
sub eax, eax
mov ax, word [edx + 2]
mov dword [ebp - 0x118], eax
add edx, 0x14
mov eax, dword [edx + 0x1c]
mov dword [ebp - 0x114], eax
mov eax, dword [edx + 0x38]
mov dword [ebp - 0x110], edx
lea edx, [ebp - 0xc]
mov ebx, dword [ebp + 8]
push edx
push 4
push eax
push dword [ebp - 0x114]
call dword [ebx + 0x24]
test eax, eax
je 0x4fcfee
mov byte [ebp - 0x10c], 0x53
mov byte [ebp - 0x10b], 0x65
mov byte [ebp - 0x10a], 0x74
mov byte [ebp - 0x109], 0x20
mov byte [ebp - 0x108], 0x49
mov byte [ebp - 0x107], 0x6d
mov byte [ebp - 0x106], 0x61
mov byte [ebp - 0x105], 0x67
mov byte [ebp - 0x104], 0x65
mov byte [ebp - 0x103], 0x20
mov byte [ebp - 0x102], 0x77
mov byte [ebp - 0x101], 0x72
mov byte [ebp - 0x100], 0x69
mov byte [ebp - 0xff], 0x74
mov byte [ebp - 0xfe], 0x61
mov byte [ebp - 0xfd], 0x62
mov byte [ebp - 0xfc], 0x6c
mov byte [ebp - 0xfb], 0x65
mov byte [ebp - 0xfa], 0x3a
mov byte [ebp - 0xf9], 0
mov eax, 1
mov eax, 1
test eax, eax
je 0x4fcfee
mov edx, dword [ebp - 0x110]
lea ebx, [edx + 0x60]
mov eax, dword [edx + 0x5c]
mov edx, 8
mul edx
add eax, ebx
mov dword [ebp - 8], eax
mov eax, 0x28
mov edx, dword [ebp - 0x118]
mul edx
add eax, dword [ebp - 8]
mov ebx, dword [ebp + 0x10]
sub eax, ebx
mov dword [ebp - 4], eax
mov edi, dword [ebp - 0x114]
mov esi, dword [ebp + 0x10]
mov ecx, dword [ebp - 4]
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 0x118]
mov ebx, dword [ebp - 8]
push dword [ebp + 0x10]
push dword [ebp - 0x114]
push ebx
push dword [ebp + 8]
call fcn.004fcff8
test eax, eax
je 0x4fcfee
add ebx, 0x28
dec ecx
jne 0x4fcfc7
popal
mov eax, dword [ebp - 0x114]
leave
ret 0x10
popal
mov eax, 0
leave
ret 0x10

Function at 0x4fd09e
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
pushal
mov edx, dword [ebp + 0xc]
mov ebx, dword [edx + 0x24]
and ebx, 0xe0000000
cmp ebx, 0xe0000000
jne 0x4fd0c9
mov eax, 0x40
mov dword [ebp - 0x108], eax
jmp 0x4fd12e
mov ebx, dword [edx + 0x24]
and ebx, 0x60000000
cmp ebx, 0x60000000
jne 0x4fd0e7
mov eax, 0x20
mov dword [ebp - 0x108], eax
jmp 0x4fd12e
mov ebx, dword [edx + 0x24]
and ebx, 0xc0000000
cmp ebx, 0xc0000000
jne 0x4fd105
mov eax, 4
mov dword [ebp - 0x108], eax
jmp 0x4fd12e
mov ebx, dword [edx + 0x24]
and ebx, 0x40000000
cmp ebx, 0x40000000
jne 0x4fd123
mov eax, 2
mov dword [ebp - 0x108], eax
jmp 0x4fd12e
mov eax, 1
mov dword [ebp - 0x108], eax
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0xc]
add eax, dword [ebp + 0x10]
mov ebx, dword [edx + 8]
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x104]
push edx
push dword [ebp - 0x108]
push ebx
push eax
call dword [ecx + 0x24]
test eax, eax
je 0x4fd16b
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0xc]
add eax, dword [ebp + 0x10]
mov eax, 1
popal
mov eax, 1
leave
ret 0x10
popal
sub eax, eax
leave
ret 0x10
Function at 0x4fd172
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
pushal
mov edx, dword [ebp + 8]
mov ax, word [edx]
cmp ax, 0x5a4d
jne 0x4fd1a1
mov eax, dword [edx + 0x3c]
add edx, eax
mov eax, dword [edx]
cmp eax, 0x4550
jne 0x4fd1a1
add edx, 4
mov dword [ebp - 4], edx
popal
mov eax, dword [ebp - 4]
leave
ret 8
popal
sub eax, eax
leave
ret 8

Function at 0x4fddff
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov ecx, 3
mov edx, 1
push ecx
push dword [ebp + 8]
call fcn.004fdf04
rol eax, 8
push dword [ebp + 0xc]
push eax
call fcn.004fdf20
push edx
push dword [ebp + 0x10]
push eax
call fcn.004fdeec
inc edx
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.004fdf04
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.004fdecb
push ecx
push dword [ebp + 8]
call fcn.004fdf04
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.004fdf04
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.004fdecb
push ecx
push dword [ebp + 8]
call fcn.004fdf04
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.004fdf04
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.004fdecb
push ecx
push dword [ebp + 8]
call fcn.004fdf04
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.004fdf04
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.004fdecb
cmp ecx, 0x2b
jne 0x4fde0f
leave
ret 0xc

Function at 0x4ff4b4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
pushal
mov byte [ebp - 0x118], 0x42
mov byte [ebp - 0x117], 0x72
mov byte [ebp - 0x116], 0x75
mov byte [ebp - 0x115], 0x74
mov byte [ebp - 0x114], 0x65
mov byte [ebp - 0x113], 0x66
mov byte [ebp - 0x112], 0x6f
mov byte [ebp - 0x111], 0x72
mov byte [ebp - 0x110], 0x63
mov byte [ebp - 0x10f], 0x69
mov byte [ebp - 0x10e], 0x6e
mov byte [ebp - 0x10d], 0x67
mov byte [ebp - 0x10c], 0x20
mov byte [ebp - 0x10b], 0x4b
mov byte [ebp - 0x10a], 0x65
mov byte [ebp - 0x109], 0x79
mov byte [ebp - 0x108], 0
mov eax, 1
lea edi, [ebp - 0x14]
mov ecx, 0x10
mov al, 0
mov byte [edi], al
inc edi
dec ecx
jne 0x4ff544
mov eax, dword [ebp + 8]
push 4
push 0x3000
push 0x2010
push 0
call dword [eax + 0x20]
test eax, eax
je 0x4ff5d6
mov dword [ebp - 4], eax
mov edi, eax
mov esi, dword [ebp + 0xc]
mov ecx, 0x2010
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0xc]
push dword [ebp + 0xc]
push 0x2010
call fcn.004ff3fa
push 0x2010
push dword [ebp + 0xc]
call fcn.004fd1a8
test eax, eax
jne 0x4ff5b8
mov esi, dword [ebp - 4]
mov edi, dword [ebp + 0xc]
mov ecx, 0x2010
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x14]
push eax
call fcn.004ff5dd
test eax, eax
je 0x4ff5d6
jmp 0x4ff574
mov eax, dword [ebp + 8]
push 0x8000
push 0
push dword [ebp - 4]
call dword [eax + 0x28]
test eax, eax
je 0x4ff5d6
popal
mov eax, 1
leave
ret 8
popal
sub eax, eax
leave
ret 8
Function at 0x4ff60b
Capabilities:
Terminate process

Disassembly:
call fcn.004ff618
push 0
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
Function at 0x4065b0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40c17c]
jne 0x4065ba
repz ret
jmp fcn.00406941

Function at 0x401100
Capabilities:
Accept command line arguments
Create process on windows
Terminate process

Disassembly:
sub esp, 0x54
push ebx
push ebp
push esi
xor ebp, ebp
xor esi, esi
mov bl, 0x20
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov edx, eax
cmp byte [edx], 0x22
jne 0x401120
mov bl, 0x22
jmp 0x401120
mov al, byte [edx + 1]
inc edx
cmp al, bl
je 0x40112e
test al, al
jne 0x401120
jmp 0x401147
cmp byte [edx], 0
je 0x401147
mov al, byte [edx + 1]
inc edx
test al, al
je 0x401147
cmp al, 0x20
je 0x401133
cmp al, 9
je 0x401133
test al, al
jne 0x401160
push ebp
push 0x4010e8
push 0x401028
push ebp
call dword [sym.imp.USER32.dll_MessageBoxA]
push ebp
call dword [sym.imp.KERNEL32.dll_ExitProcess]
cmp al, 0x2f
jne 0x40117b
mov al, byte [edx + 1]
or al, 0x20
cmp al, 0x77
jne 0x40117b
cmp byte [edx + 2], 0x20
jne 0x40117b
mov esi, 1
add edx, 3
mov al, byte [edx]
test al, al
je 0x401191
cmp al, 0x20
je 0x401189
cmp al, 9
jne 0x401191
mov al, byte [edx + 1]
inc edx
test al, al
jne 0x401181
push edi
xor eax, eax
mov ecx, 0x11
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x10]
push ecx
lea eax, [esp + 0x24]
push eax
push ebp
push ebp
push 0x10
push ebp
push ebp
push ebp
push edx
push ebp
mov dword [esp + 0x48], 0x44
mov dword [esp + 0x74], 1
mov word [esp + 0x78], bp
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
pop edi
je 0x4011f9
cmp esi, ebp
je 0x4011e3
mov ecx, dword [esp + 0xc]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esp + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [esp + 0x10]
push eax
call esi
jmp 0x401201
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
push ebp
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x417c30
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x48d7cb
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.004821c3
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x417cb2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0048009d
mov eax, dword [eax]
push 0x543ccc
push eax
call fcn.00472d04
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0048244e
test bl, bl
je 0x417cb2
push 0x543ccc
lea ecx, [esp + 0xc]
call fcn.004827de
push 0x543cd8
lea ecx, [esp + 0xc]
call fcn.004827de
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 0x417cee
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0048244e
jmp 0x417db9
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 0x417d72
lea edx, [esp + 0x7c]
push 0x543cd4
push edx
call fcn.00472d04
add esp, 8
test eax, eax
je 0x417d72
lea eax, [esp + 0x7c]
push 0x543cd0
push eax
call fcn.00472d04
add esp, 8
test eax, eax
je 0x417d72
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 0x417d02
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.0048244e
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 0x4185c0
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 0x418622
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 0x418630
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x48d84b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x54f1d8]
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 0x418768
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x418696
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0048244e
xor eax, eax
jmp 0x4187df
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0048258b
push esi
lea ecx, [esp + 0xc]
call fcn.0048281a
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 0x4187bd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push SysReAllocString
call fcn.004185c0
test eax, eax
jne 0x4187bd
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.004185c0
test eax, eax
jne 0x4187bd
lea eax, [esp + 0x14]
push 0x543ce8
push eax
call fcn.00473e50
mov esi, eax
add esp, 8
test esi, esi
jne 0x41879c
lea ecx, [esp + 0x14]
push 0x543ce4
push ecx
call fcn.00473dd0
mov esi, eax
add esp, 8
test esi, esi
jne 0x41879c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x41879f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0048253b
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4186ae
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0048244e
xor eax, eax
jmp 0x4187df
mov byte [esi], 0
push 0x543ce0
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.0048244e
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