joyce8/EMBER2024-capa huggingface dataset:
Function at 0x415d1e
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, eax
mov eax, dword [esi + 0x10]
push edi
mov dword [ebp - 8], eax
cmp dword [esi + 0x43c], eax
jae 0x415e86
mov ebx, 0xff
push 1
mov eax, esi
call fcn.00415eb7
cmp eax, 1
mov eax, esi
jne 0x415d7c
push 8
call fcn.00415eb7
mov ecx, dword [esi + 0x43c]
mov edx, dword [esi + 0x438]
and ecx, 0x1ffff
mov byte [ecx + edx], al
inc dword [esi + 0x43c]
inc dword [esi + 0x440]
jmp 0x415e22
push 0xf
call fcn.00415eb7
mov dword [ebp - 4], eax
push 2
mov eax, esi
xor edi, edi
call fcn.00415eb7
cmp eax, 3
jne 0x415ddc
push eax
pop edi
push eax
mov eax, esi
call fcn.00415eb7
cmp eax, 7
jne 0x415ddc
push 0xa
pop edi
push 5
mov eax, esi
call fcn.00415eb7
cmp eax, 0x1f
jne 0x415ddc
push 0x29
pop edi
push 8
mov eax, esi
call fcn.00415eb7
cmp eax, ebx
jne 0x415ddc
mov edi, 0x128
jmp 0x415dcf
add edi, ebx
push 8
mov eax, esi
call fcn.00415eb7
cmp eax, ebx
je 0x415dcd
lea edi, [eax + edi + 3]
mov eax, dword [esi + 0x43c]
sub eax, dword [ebp - 4]
test edi, edi
je 0x415e22
mov ebx, dword [esi + 0x43c]
mov ecx, dword [esi + 0x438]
mov edx, eax
and edx, 0x1ffff
mov dl, byte [edx + ecx]
and ebx, 0x1ffff
inc eax
mov byte [ebx + ecx], dl
inc dword [esi + 0x43c]
inc dword [esi + 0x440]
dec edi
jne 0x415ded
mov ebx, 0xff
call fcn.00415c5d
cmp dword [0x492410], 0x1000
jbe 0x415e68
mov edi, dword [esi + 0x454]
and dword [0x492410], 0
test edi, edi
je 0x415e6e
mov ecx, dword [esi + 8]
mov eax, ecx
imul eax, eax, 0x64
xor edx, edx
div dword [esi + 0x10]
push eax
push ecx
push dword [esi + 0xc]
call edi
add esp, 0xc
test eax, eax
jne 0x415e6e
mov byte [esi + 0x448], 1
jmp 0x415e6e
inc dword [0x492410]
cmp byte [esi + 0x448], 0
jne 0x415eb2
mov eax, dword [ebp - 8]
cmp dword [esi + 0x43c], eax
jb 0x415d3f
mov eax, dword [esi + 0x460]
test eax, eax
je 0x415eab
push dword [esi + 0x20]
push eax
push 1
push dword [esi + 0x458]
call fcn.00458f46
add esp, 0x10
and dword [esi + 0x460], 0
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
push 4
pop eax
jmp 0x415ead

Function at 0x415f4c
Capabilities:
Hash data with md5

Disassembly:
push 8
lea eax, [esi + 0x44]
push 0
push eax
call fcn.00457bd0
add esp, 0xc
mov dword [esi + 0x34], 0x67452301
mov dword [esi + 0x38], 0xefcdab89
mov dword [esi + 0x3c], 0x98badcfe
mov dword [esi + 0x40], 0x10325476
ret
Function at 0x416932
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1a8
push ebx
push esi
push 0x46df88
call fcn.00410d6e
pop ecx
mov esi, eax
lea eax, [esp + 0xa8]
push esi
push eax
call fcn.004582e0
push esi
call fcn.00455e6c
add esp, 0xc
lea esi, [esp + 0x18]
call fcn.00415f4c
lea eax, [esp + 0xa8]
push eax
call fcn.004581c0
pop ecx
mov ebx, eax
call fcn.00415f4c
lea eax, [esp + 0xa8]
push eax
mov eax, ebx
call fcn.00415f79
mov eax, esi
call fcn.0041600e
and dword [edi + 8], 0
push 0x10
xor ecx, ecx
xor eax, eax
pop ebx
movzx edx, byte [esp + ecx + 0x18]
add eax, edx
inc ecx
cmp ecx, ebx
jl 0x4169a3
push 0x470d64
push dword [ebp + 8]
mov dword [edi + 8], eax
call fcn.00459652
pop ecx
pop ecx
mov dword [edi], eax
test eax, eax
jne 0x4169ca
inc eax
jmp 0x416a26
mov esi, edi
call fcn.00416a2e
push dword [edi]
mov esi, eax
test esi, esi
je 0x4169e2
call fcn.004596d6
mov eax, esi
jmp 0x416a25
push ebx
lea eax, [esp + 0x10]
push 1
push eax
call fcn.00459994
add esp, 0x10
push 0x99f2
push ebx
lea eax, [esp + 0x10]
push eax
call fcn.00416b29
xor ecx, ecx
mov dword [edi + 8], ecx
xor eax, eax
movzx edx, byte [esp + eax + 8]
imul ecx, edx
inc eax
cmp eax, ebx
jl 0x416a09
push dword [edi]
mov dword [edi + 8], ecx
call fcn.00459c72
mov dword [edi + 4], eax
xor eax, eax
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x416a2e
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10020
call fcn.004672e0
xor eax, eax
mov cl, byte [eax + 0x47b1a0]
mov byte [ebp + eax - 0x20], cl
mov cl, byte [eax + 0x47b198]
mov byte [ebp + eax - 0x18], cl
inc eax
cmp eax, 8
jl 0x416a3d
push ebx
push edi
lea eax, [ebp - 8]
push 0x470d84
push eax
call fcn.004582e0
push 4
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00455af0
add esp, 0x14
xor edi, edi
push dword [esi]
lea eax, [ebp - 0x10020]
push 0x10000
push 1
push eax
call fcn.00459994
add esp, 0x10
mov dword [ebp - 0xc], eax
cmp eax, 0x18
jl 0x416b24
lea edx, [eax - 0x14]
xor ecx, ecx
test edx, edx
jle 0x416ad0
xor edx, edx
lea eax, [ebp + ecx - 0x10020]
mov bl, byte [ebp + edx - 0x20]
cmp bl, byte [eax + edx]
jne 0x416ac0
inc edx
cmp edx, 0x14
jl 0x416ab1
cmp edx, 0x14
je 0x416ae4
mov eax, dword [ebp - 0xc]
inc ecx
lea edx, [eax - 0x14]
cmp ecx, edx
jl 0x416aa8
push 1
push 0xffffffffffffffec
push dword [esi]
lea edi, [edi + eax - 0x14]
call fcn.00459d61
add esp, 0xc
jmp 0x416a7b
push 0
lea eax, [edi + ecx + 0x14]
push eax
push dword [esi]
call fcn.00459d61
add esp, 0xc
push dword [esi]
lea eax, [ebp - 8]
push 4
push 1
push eax
call fcn.00459994
lea eax, [ebp - 8]
push 0x470d74
push eax
mov byte [ebp - 4], 0
call fcn.004599c0
add esp, 0x18
neg eax
sbb eax, eax
and eax, 4
pop edi
pop ebx
leave
ret
push 3
pop eax
jmp 0x416b20
Function at 0x416b29
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xdc
push esi
push edi
lea eax, [ebp - 0xdc]
call fcn.00416795
push dword [ebp + 0x10]
lea esi, [ebp - 0xdc]
call fcn.004168d0
xor edi, edi
cmp dword [ebp + 0xc], edi
jbe 0x416b6e
mov eax, dword [ebp + 8]
lea esi, [edi + eax]
lea eax, [ebp - 0xdc]
push eax
call fcn.004168a0
xor byte [esi], al
inc edi
cmp edi, dword [ebp + 0xc]
jb 0x416b54
pop edi
pop esi
leave
ret 0xc
Function at 0x416f3a
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x690
push ebx
push esi
mov esi, eax
push edi
lea eax, [ebp - 0x47c]
call fcn.004159b9
push 0
push dword [esi + 4]
xor edi, edi
push dword [esi]
inc edi
mov dword [ebp - 0x10], edi
call fcn.00459d61
add esp, 0xc
lea eax, [ebp - 0x68c]
push eax
push dword [ebp + 8]
call fcn.004170a8
test eax, eax
je 0x416f83
push 6
pop eax
jmp 0x4170a1
push dword [esi]
lea eax, [ebp - 5]
push edi
push edi
push eax
call fcn.00459994
push dword [esi]
lea eax, [ebp - 0xc]
push edi
push 4
push eax
call fcn.00459994
push dword [esi]
mov edi, dword [ebp - 0xc]
push 1
lea eax, [ebp - 0xc]
push 4
mov ebx, 0x87bc
push eax
xor edi, ebx
call fcn.00459994
push dword [esi]
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 0x10]
xor eax, ebx
push 1
mov dword [ecx], eax
lea eax, [ebp - 0xc]
push 4
push eax
call fcn.00459994
mov ebx, dword [ebp - 0xc]
add esp, 0x40
push 1
push 0x10
push dword [esi]
xor ebx, 0xa685
call fcn.00459d61
mov eax, dword [ebp + 0x10]
add esp, 0xc
push dword [eax]
call fcn.0045824b
pop ecx
push edi
mov dword [ebp + 0x10], eax
call fcn.0045824b
pop ecx
push dword [esi]
mov dword [ebp + 8], eax
push 1
push edi
push eax
call fcn.00459994
mov eax, dword [esi + 8]
mov esi, dword [ebp + 8]
add esp, 0x10
add eax, 0x2477
push eax
push edi
push esi
call fcn.00416b29
push edi
push esi
lea edi, [ebp - 0x10]
call fcn.00415965
cmp ebx, dword [ebp - 0x10]
je 0x417049
push dword [ebp + 0x10]
call fcn.004583d8
pop ecx
push esi
call fcn.004583d8
pop ecx
push 0xa
jmp 0x416f7d
cmp byte [ebp - 5], 1
jne 0x41708b
lea eax, [ebp - 0x47c]
call fcn.004159b9
xor eax, eax
inc eax
mov dword [ebp - 0x468], eax
mov dword [ebp - 0x464], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x47c], eax
lea eax, [ebp - 0x47c]
mov dword [ebp - 0x478], esi
call fcn.004159e9
push esi
call fcn.004583d8
jmp 0x417096
push dword [ebp + 0x10]
call fcn.004583d8
mov dword [ebp + 0x10], esi
mov eax, dword [ebp + 0xc]
pop ecx
mov ecx, dword [ebp + 0x10]
mov dword [eax], ecx
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x4170a8
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x438
and dword [ebp - 0xc], 0
push ebx
push edi
mov byte [ebp - 1], 1
push dword [esi]
lea eax, [ebp - 0x18]
push 4
push 1
push eax
call fcn.00459994
add esp, 0x10
push 0x18ee
push 4
lea eax, [ebp - 0x18]
push eax
call fcn.00416b29
lea eax, [ebp - 0x18]
push 0x470da0
push eax
mov byte [ebp - 0x14], 0
call fcn.004599c0
pop ecx
pop ecx
test eax, eax
jne 0x41721e
push dword [esi]
inc dword [ebp - 0xc]
push 1
lea eax, [ebp - 0x10]
push 4
push eax
call fcn.00459994
mov edi, dword [ebp - 0x10]
push dword [esi]
xor edi, 0xadbc
lea ebx, [edi + edi]
push ebx
lea eax, [ebp - 0x228]
push 1
push eax
call fcn.00459994
add esp, 0x20
add edi, 0xb33f
push edi
push ebx
lea eax, [ebp - 0x228]
push eax
call fcn.00416b29
xor eax, eax
mov word [ebp + ebx - 0x228], ax
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x438]
push eax
call fcn.004561f7
push dword [esi]
lea eax, [ebp - 0x10]
push 1
push 4
push eax
call fcn.00459994
mov edi, dword [ebp - 0x10]
push dword [esi]
xor edi, 0xf820
lea ebx, [edi + edi]
push ebx
lea eax, [ebp - 0x228]
push 1
push eax
call fcn.00459994
add esp, 0x28
add edi, 0xf479
push edi
push ebx
lea eax, [ebp - 0x228]
push eax
call fcn.00416b29
xor eax, eax
mov word [ebp + ebx - 0x228], ax
lea eax, [ebp - 0x228]
push eax
push dword [ebp + 0xc]
call fcn.004561f7
push dword [ebp + 8]
lea eax, [ebp - 0x438]
push eax
call fcn.00457dcc
add esp, 0x10
test eax, eax
je 0x417235
push 0x470d94
push dword [ebp + 8]
call fcn.00457dcc
pop ecx
pop ecx
test eax, eax
jne 0x4171e6
cmp dword [ebp - 0xc], eax
je 0x417235
xor edi, edi
inc edi
push edi
push edi
push dword [esi]
call fcn.00459d61
add esp, 0xc
push dword [esi]
lea eax, [ebp - 8]
push edi
push 4
push eax
call fcn.00459994
xor dword [ebp - 8], 0x87bc
mov eax, dword [ebp - 8]
push edi
add eax, 0x18
push eax
push dword [esi]
call fcn.00459d61
add esp, 0x1c
jmp 0x417222
mov byte [ebp - 1], 0
cmp byte [ebp - 1], 1
je 0x4170bb
push 6
pop eax
pop edi
pop ebx
leave
ret 8
xor eax, eax
jmp 0x41722f
Function at 0x4253bb
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
xor ebx, ebx
cmp byte [esi + 0xd0], bl
je 0x425411
cmp byte [ebp + 8], bl
je 0x425411
mov eax, dword [esi + 0xd4]
cmp eax, ebx
je 0x4253e4
push eax
call dword [0x46b304]
mov dword [esi + 0xd4], ebx
push ebx
push ebx
push 1
push ebx
call dword [0x46b298]
push esi
push ebx
push 0x4248c7
mov dword [esi + 0xd4], eax
call fcn.00459ea4
xor eax, eax
add esp, 0xc
cmp dword [esi + 0x18], ebx
sete al
pop ebx
pop ebp
ret 4
pop ebx
mov eax, esi
pop ebp
jmp fcn.004254d6

Function at 0x425c87
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
push esi
mov esi, eax
cmp byte [esi + 0x30], 0
je 0x425ca6
push dword [ebp + 8]
call fcn.00425d97
jmp 0x425d92
mov eax, dword [esi + 0x34]
push 0x470d98
push eax
call fcn.00459652
pop ecx
pop ecx
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x425ce5
mov dword [esi + 0x18], 0x1f
call dword [0x46b300]
mov dword [esi + 0x1c], eax
mov esi, dword [esi + 0xd4]
test esi, esi
je 0x425cde
push esi
call dword [0x46b29c]
xor al, al
jmp 0x425d92
mov dword [ebp - 8], 1
lea eax, [ebp - 8]
push eax
push 0x400
lea eax, [ebp - 0x414]
push eax
push dword [ebp + 8]
call dword [0x46b720]
test eax, eax
je 0x425d45
cmp dword [ebp - 8], 0
je 0x425d34
push dword [ebp - 0x10]
lea eax, [ebp - 0x414]
push 1
push dword [ebp - 8]
push eax
call fcn.00458f46
mov eax, dword [ebp - 8]
add esp, 0x10
add dword [esi + 8], eax
adc dword [esi + 0xc], 0
test eax, eax
jne 0x425cec
mov eax, dword [esi + 8]
or eax, dword [esi + 0xc]
jne 0x425d72
mov dword [esi + 0x18], 0x21
jmp 0x425d4c
mov dword [esi + 0x18], 0x20
call dword [0x46b300]
mov dword [esi + 0x1c], eax
mov esi, dword [esi + 0xd4]
test esi, esi
je 0x425d66
push esi
call dword [0x46b29c]
push dword [ebp - 0x10]
call fcn.004596d6
xor al, al
jmp 0x425d91
and dword [esi + 0x18], 0
mov esi, dword [esi + 0xd4]
test esi, esi
je 0x425d87
push esi
call dword [0x46b29c]
push dword [ebp - 0x10]
call fcn.004596d6
mov al, 1
pop ecx
pop esi
leave
ret 4
Function at 0x10029b0
Capabilities:
Delete registry value
Persist via windows service
Query or enumerate registry value
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
lea eax, [ebp - 4]
push eax
push 0x10013b8
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov edi, eax
xor esi, esi
cmp edi, esi
je 0x10029e7
push edi
push 0x100137c
call fcn.01002720
pop ecx
pop ecx
jmp 0x1002aa5
mov eax, dword [ebp + 8]
sub eax, esi
je 0x1002a73
dec eax
je 0x1002a57
dec eax
je 0x1002a02
push dword [ebp + 8]
push 0x100134c
jmp 0x1002a4b
lea eax, [ebp - 8]
push eax
push dword [ebp + 0xc]
lea eax, [ebp + 8]
push eax
push esi
mov esi, 0x1001328
push esi
push dword [ebp - 4]
mov dword [ebp - 8], 8
mov dword [ebp + 8], 0xb
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test edi, edi
je 0x1002a39
push edi
push 0x10012e8
jmp 0x1002a95
cmp dword [ebp + 8], 0xb
jne 0x1002a45
cmp dword [ebp - 8], 8
je 0x1002a9c
push esi
push 0x10012b8
call fcn.01002720
pop ecx
pop ecx
push 0x57
pop edi
jmp 0x1002a9c
push 0x1001328
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov edi, eax
cmp edi, esi
je 0x1002a9c
push edi
push 0x1001278
jmp 0x1002a95
push 8
push dword [ebp + 0xc]
push 0xb
push esi
push 0x1001328
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
cmp edi, esi
je 0x1002a9c
push edi
push 0x1001238
call fcn.01002720
pop ecx
pop ecx
push dword [ebp - 4]
call dword [entry0]
mov eax, edi
pop edi
pop esi
leave
ret 8

Function at 0x1002b10
Capabilities:
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x3c
lea eax, [ebp - 0xc]
push eax
push 2
call fcn.010029b0
test eax, eax
je 0x1002b2f
push eax
push 0x10015c0
jmp 0x1002b57
push edi
push 0xc
pop ecx
xor eax, eax
lea edi, [ebp - 0x3c]
rep stosd dword es:[edi], eax
lea eax, [ebp - 4]
push eax
push 0x30
lea eax, [ebp - 0x3c]
push eax
push 3
call dword [sym.imp.ntdll.dll_NtQuerySystemInformation]
test eax, eax
pop edi
je 0x1002b63
push eax
push 0x1001570
call fcn.01002720
pop ecx
pop ecx
xor eax, eax
inc eax
leave
ret
push dword [ebp - 0x3c]
push dword [ebp - 0x38]
push dword [ebp - 0xc]
push dword [ebp - 8]
push 0x1001520
call fcn.01002720
mov eax, dword [ebp - 8]
add esp, 0x14
cmp eax, dword [ebp - 0x38]
jl 0x1002b5e
jne 0x1002b8e
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x3c]
jbe 0x1002b5e
xor eax, eax
leave
ret
Function at 0x1002b97
Capabilities:
Create service
Modify service
Persist via windows service

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x1005004]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x214], eax
push 0x105
lea eax, [ebp - 0x210]
push eax
xor esi, esi
push esi
call dword [0x1001080]
test eax, eax
jne 0x1002bdd
call dword [fcn.010010a0]
mov esi, eax
push esi
push 0x1001850
jmp 0x1002bff
push 2
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
cmp eax, esi
mov dword [ebp - 0x218], eax
jne 0x1002c0e
call dword [fcn.010010a0]
mov esi, eax
push esi
push 0x10017e0
call dword [sym.imp.msvcrt.dll_wprintf]
pop ecx
pop ecx
mov eax, esi
jmp 0x1002cc1
push ebx
push edi
push esi
push esi
push 0x10017cc
push esi
push esi
lea ecx, [ebp - 0x210]
push ecx
push 1
push 2
push 0x10
push 0xf01ff
push 0x1001770
push 0x100175c
push eax
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov edi, dword [sym.imp.msvcrt.dll_wprintf]
mov ebx, eax
cmp ebx, esi
jne 0x1002c5d
call dword [fcn.010010a0]
push eax
push 0x1001740
call fcn.01002720
pop ecx
pop ecx
jmp 0x1002c9c
mov eax, dword [ebp - 0x214]
push 0x1001710
mov dword [ebp - 0x214], eax
call edi
pop ecx
lea eax, [ebp - 0x214]
push eax
push 1
push ebx
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
test eax, eax
jne 0x1002c95
call dword [fcn.010010a0]
push eax
push 0x1001690
call edi
pop ecx
pop ecx
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push dword [ebp - 0x218]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call fcn.01002ab2
mov ebx, eax
cmp ebx, esi
je 0x1002cbd
push ebx
push 0x1001608
call edi
pop ecx
pop ecx
pop edi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
pop esi
call fcn.010037fc
leave
ret 4

Function at 0x1002cd3
Capabilities:
Delete service

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
xor esi, esi
push 2
push esi
push esi
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebx, eax
cmp ebx, esi
jne 0x1002d0a
call dword [fcn.010010a0]
mov esi, eax
push esi
push 0x1001960
call dword [sym.imp.msvcrt.dll_wprintf]
pop ecx
pop ecx
mov eax, esi
jmp 0x1002d6b
push edi
push 0x10000
push 0x100175c
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
cmp edi, esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jne 0x1002d40
call dword [fcn.010010a0]
push eax
push 0x1001928
mov dword [ebp - 4], eax
call fcn.01002720
pop ecx
pop ecx
jmp 0x1002d64
push edi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
jne 0x1002d61
call dword [fcn.010010a0]
push eax
push 0x10018f0
mov dword [ebp - 4], eax
call fcn.01002720
pop ecx
pop ecx
push edi
call esi
push ebx
call esi
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40e5a0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4b75db
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.004a8771
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40e622
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004a5bfd
mov eax, dword [eax]
push 0x5a2224
push eax
call fcn.004857a4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004a89fc
test bl, bl
je 0x40e622
push 0x5a2224
lea ecx, [esp + 0xc]
call fcn.004a8d8c
push 0x5a5d9c
lea ecx, [esp + 0xc]
call fcn.004a8d8c
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 0x40e65e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004a89fc
jmp 0x40e729
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 0x40e6e2
lea edx, [esp + 0x7c]
push 0x5a5d98
push edx
call fcn.004857a4
add esp, 8
test eax, eax
je 0x40e6e2
lea eax, [esp + 0x7c]
push 0x5a5d94
push eax
call fcn.004857a4
add esp, 8
test eax, eax
je 0x40e6e2
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 0x40e672
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.004a89fc
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 0x40f980
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 0x40f9e2
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 0x40f9f0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4b773b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x5ad8f8]
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 0x40fb28
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40fa56
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004a89fc
xor eax, eax
jmp 0x40fb9f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004a8b39
push esi
lea ecx, [esp + 0xc]
call fcn.004a8dc8
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 0x40fb7d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.0040f980
test eax, eax
jne 0x40fb7d
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.0040f980
test eax, eax
jne 0x40fb7d
lea eax, [esp + 0x14]
push 0x5a5db0
push eax
call fcn.004867f0
mov esi, eax
add esp, 8
test esi, esi
jne 0x40fb5c
lea ecx, [esp + 0x14]
push 0x5a5dac
push ecx
call fcn.00486770
mov esi, eax
add esp, 8
test esi, esi
jne 0x40fb5c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40fb5f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004a8ae9
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40fa6e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004a89fc
xor eax, eax
jmp 0x40fb9f
mov byte [esi], 0
push 0x5a5da8
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.004a89fc
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