joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10002ed0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x1002c018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
jne 0x10002f16
push str.Error:_Unable_to_create_toolhelp_snapshot_
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 4
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001df15
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x130]
push eax
push esi
mov dword [ebp - 0x130], 0x128
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x10002f04
mov ebx, dword [sym.imp.KERNEL32.dll_Process32Next]
jmp 0x10002f40
mov ecx, edi
lea eax, [ebp - 0x10c]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10002f68
test dl, dl
je 0x10002f64
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10002f68
add eax, 2
add ecx, 2
test dl, dl
jne 0x10002f48
xor eax, eax
jmp 0x10002f6d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x10002f8f
lea ecx, [ebp - 0x130]
push ecx
push esi
call ebx
test eax, eax
jne 0x10002f40
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001df15
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x128]
pop esi
xor ecx, ebp
pop ebx
call fcn.1001df15
mov esp, ebp
pop ebp
ret

Function at 0x100030a0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002051e
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x1002c018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
test byte [0x1015fe40], 1
jne 0x1000313b
or dword [0x1015fe40], 1
mov edi, 0x10235921
lea esi, [ebp - 0x30]
mov dword [ebp - 4], 0
call fcn.1001a6b0
mov esi, eax
mov ecx, 0x10235935
lea eax, [ebp - 0x1c]
call fcn.1001a630
push esi
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.1001dab0
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1015fe3c], eax
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov word [ebp - 0x14], ax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov word [ebp - 0x20], ax
mov byte [ebp - 0x1e], al
mov dword [ebp - 4], 0xffffffff
push 0
push 0xffffffffffffffff
call dword [0x1015fe3c]
test eax, eax
jne 0x10003150
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001df15
mov esp, ebp
pop ebp
ret
Function at 0x1000ac40
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001f0a8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x1002c018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edx, edx
mov ecx, 0x49
xor eax, eax
mov bl, byte [eax + 0x100252e4]
xor bl, cl
inc ecx
and ecx, 0x800000ff
mov byte [ebp + eax - 0x30], bl
jns 0x1000ac8f
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0x1c
jl 0x1000ac72
mov byte [ebp - 0x14], dl
mov dword [ebp - 4], edx
mov ecx, dword [0x1015f4e0]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
lea edx, [ebp - 0x30]
push edx
call eax
add eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov eax, dword [eax + ecx*4]
add eax, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001df15
mov esp, ebp
pop ebp
ret 8

Function at 0x1000ad70
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001f078
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x1002c018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor edx, edx
mov ecx, 2
xor eax, eax
mov bl, byte [eax + str.KELUD_Xfd]
xor bl, cl
inc ecx
and ecx, 0x800000ff
mov byte [ebp + eax - 0x34], bl
jns 0x1000adc2
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0x20
jl 0x1000ada5
mov byte [ebp - 0x14], dl
mov dword [ebp - 4], edx
mov ecx, dword [0x1015f4e0]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
lea edx, [ebp - 0x34]
push edx
call eax
imul esi, esi, 0x4c
add eax, dword [ebp + 8]
mov eax, dword [esi + eax + 0xc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001df15
mov esp, ebp
pop ebp
ret 4
Function at 0x1000ae10
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001f048
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x1002c018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, 2
xor eax, eax
mov dl, byte [eax + str.KELUD_Xfd]
xor dl, cl
inc ecx
and ecx, 0x800000ff
mov byte [ebp + eax - 0x34], dl
jns 0x1000ae5f
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0x20
jl 0x1000ae42
mov byte [ebp - 0x14], 0
mov dword [ebp - 4], 0
mov ecx, dword [0x1015f4e0]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
lea edx, [ebp - 0x34]
push edx
call eax
imul esi, esi, 0x13
add eax, edi
add esi, ebx
lea ecx, [eax + esi*4]
xor eax, eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], al
mov eax, dword [ebp + 8]
test eax, eax
je 0x1000aeb3
cmp dword [ecx], eax
jmp 0x1000aebb
mov edx, dword [ecx]
test edx, edx
je 0x1000aebf
cmp edx, eax
je 0x1000aebf
mov dword [ecx], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001df15
mov esp, ebp
pop ebp
ret 4

Function at 0x1000b040
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001f018
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x1002c018]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edx, edx
mov ecx, 0x1f
xor eax, eax
mov bl, byte [eax + str.Vfira_nuINF_OY]
xor bl, cl
inc ecx
and ecx, 0x800000ff
mov byte [ebp + eax - 0x2c], bl
jns 0x1000b08f
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0x17
jl 0x1000b072
mov byte [ebp - 0x15], dl
mov dword [ebp - 4], edx
mov ecx, dword [0x1015f4e0]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
lea edx, [ebp - 0x2c]
push edx
call eax
mov ecx, dword [ebp + 8]
mov eax, dword [eax + ecx + 0xc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1001df15
mov esp, ebp
pop ebp
ret 4
Function at 0x1000b4a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001ef38
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x1002c018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edx, edx
mov ecx, 0x8d
xor eax, eax
mov bl, byte [eax + 0x100268c8]
xor bl, cl
inc ecx
and ecx, 0x800000ff
mov byte [ebp + eax - 0x24], bl
jns 0x1000b4ef
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0x13
jl 0x1000b4d2
mov byte [ebp - 0x11], dl
mov dword [ebp - 4], edx
mov ecx, dword [0x1015f4e0]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
lea edx, [ebp - 0x24]
push edx
call eax
fld dword [ebp + 8]
mov eax, dword [eax + esi + 0xc]
fstp dword [eax]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001df15
mov esp, ebp
pop ebp
ret 4

Function at 0x1000b540
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001ef08
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x1002c018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, 0x1c
xor eax, eax
nop
mov dl, byte [eax + 0x100268dc]
xor dl, cl
inc ecx
and ecx, 0x800000ff
mov byte [ebp + eax - 0x24], dl
jns 0x1000b58d
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0x11
jl 0x1000b570
mov byte [ebp - 0x13], 0
mov dword [ebp - 4], 0
mov ecx, dword [0x1015f4e0]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
lea edx, [ebp - 0x24]
push edx
call eax
mov ecx, dword [ebp + 8]
mov eax, dword [eax + ecx + 0xc]
xor ecx, ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
mov word [ebp - 0x14], cx
fld dword [eax]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001df15
mov esp, ebp
pop ebp
ret 4
Function at 0x1000b700
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10020180
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x1002c018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov ecx, 0xa3
xor eax, eax
mov dl, byte [eax + 0x1002690c]
xor dl, cl
inc ecx
and ecx, 0x800000ff
mov byte [ebp + eax - 0x30], dl
jns 0x1000b751
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0x1d
jl 0x1000b734
mov byte [ebp - 0x13], 0
mov dword [ebp - 4], 0
mov ecx, dword [0x1015f4e0]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
lea edx, [ebp - 0x30]
push edx
call eax
test eax, eax
setne al
mov dword [ebp - 4], 0xffffffff
test al, al
je 0x1000b7bd
mov edi, 0x10198240
lea esi, [ebp - 0x30]
call fcn.1001afe0
mov dword [ebp - 4], 1
mov ecx, dword [0x1015f4e0]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x28]
call eax
push 0
lea esi, [ebx + eax]
call fcn.1000a500
mov edi, eax
mov eax, esi
mov ebx, 0x44
call fcn.1000a480
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001df15
mov esp, ebp
pop ebp
ret

Function at 0x1000b7e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001eea8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x1002c018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, 0xeb
xor eax, eax
nop
mov dl, byte [eax + 0x10026098]
xor dl, cl
inc ecx
and ecx, 0x800000ff
mov byte [ebp + eax - 0x30], dl
jns 0x1000b82d
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0x1c
jl 0x1000b810
mov byte [ebp - 0x14], 0
mov dword [ebp - 4], 0
mov ecx, dword [0x1015f4e0]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
lea edx, [ebp - 0x30]
push edx
call eax
add eax, dword [0x1015f4dc]
xor ecx, ecx
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
mov byte [ebp - 0x14], cl
push edi
mov ecx, esi
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001df15
mov esp, ebp
pop ebp
ret
Function at 0x1000b9c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10020148
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x1002c018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edx, edx
mov ecx, 0x31
xor eax, eax
mov bl, byte [eax + 0x1002695c]
xor bl, cl
inc ecx
and ecx, 0x800000ff
mov byte [ebp + eax - 0x30], bl
jns 0x1000ba10
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0x1d
jl 0x1000b9f3
mov byte [ebp - 0x13], dl
mov dword [ebp - 4], edx
mov ecx, dword [0x1015f4e0]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
lea edx, [ebp - 0x30]
push edx
call eax
push 2
lea ebx, [esi + eax]
call fcn.1000a500
mov edi, eax
mov eax, ebx
mov ebx, 0xe
call fcn.1000a480
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001df15
mov esp, ebp
pop ebp
ret

Function at 0x1000ba60
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001ee18
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x1002c018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, 0x31
xor eax, eax
nop
mov dl, byte [eax + 0x1002697c]
xor dl, cl
inc ecx
and ecx, 0x800000ff
mov byte [ebp + eax - 0x2c], dl
jns 0x1000baad
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0x1b
jl 0x1000ba90
mov byte [ebp - 0x11], 0
mov dword [ebp - 4], 0
mov ecx, dword [0x1015f4e0]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
lea edx, [ebp - 0x2c]
push edx
call eax
mov ecx, dword [ebp + 8]
mov eax, dword [eax + ecx + 0xc]
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001df15
mov esp, ebp
pop ebp
ret 4
Function at 0x1000fc40
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2d4
mov eax, dword [0x1002c018]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
test esi, esi
je 0x1000fdf0
mov eax, 0x10016d60
test eax, eax
je 0x1000fdf0
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push edi
push str.NtSetContextThread
push str.ntdll.dll
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1015caac], 0x10016d60
mov ecx, dword [esi]
mov dword [0x1015ca9c], ecx
mov edx, dword [esi + 4]
mov dword [0x1015caa0], edx
mov dword [ebp - 0x2d4], eax
mov eax, dword [esi + 8]
mov dword [0x1015caa4], eax
mov ecx, dword [esi + 0xc]
mov dword [0x1015caa8], ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edi, eax
call fcn.1000fe10
push eax
push 1
push 0x1a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
cmp edi, 0xffffffff
je 0x1000fd05
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call dword [sym.imp.MSVCR100.dll_srand]
add esp, 4
push 0x1000fbd0
call dword [sym.imp.MSVCR100.dll_rand]
cdq
mov ecx, 0xffffff
idiv ecx
push edx
call dword [sym.imp.KERNEL32.dll_AddVectoredExceptionHandler]
test eax, eax
jne 0x1000fd18
pop edi
pop ebx
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001df15
mov esp, ebp
pop ebp
ret
push edi
mov dword [0x1015cab0], eax
mov dword [ebp - 0x2d0], 0x10010
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push str.NtGetContextThread
push str.ntdll.dll
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea edx, [ebp - 0x2d0]
push edx
push edi
call eax
mov eax, dword [esi]
test eax, eax
setne cl
test cl, cl
je 0x1000fd63
mov edx, 1
mov dword [ebp - 0x2cc], eax
jmp 0x1000fd69
mov edx, dword [ebp - 0x2d4]
lea eax, [esi + 4]
test eax, eax
je 0x1000fd84
mov eax, dword [eax]
test eax, eax
setne cl
test cl, cl
je 0x1000fd84
or edx, 4
mov dword [ebp - 0x2c8], eax
lea eax, [esi + 8]
test eax, eax
je 0x1000fd9f
mov eax, dword [eax]
test eax, eax
setne cl
test cl, cl
je 0x1000fd9f
or edx, 0x10
mov dword [ebp - 0x2c4], eax
add esi, 0xc
je 0x1000fdb8
mov eax, dword [esi]
test eax, eax
setne cl
test cl, cl
je 0x1000fdb8
or edx, 0x40
mov dword [ebp - 0x2c0], eax
lea eax, [ebp - 0x2d0]
push eax
push edi
mov dword [ebp - 0x2bc], 0
mov dword [ebp - 0x2b8], edx
call dword [ebp - 0x2d4]
push edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop edi
pop ebx
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001df15
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor al, al
pop esi
call fcn.1001df15
mov esp, ebp
pop ebp
ret
Function at 0x1000fe10
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x1002c018]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 4
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
jne 0x1000fe42
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001df15
mov esp, ebp
pop ebp
ret
push ebx
lea eax, [ebp - 0x20]
push eax
push esi
mov dword [ebp - 0x20], 0x1c
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x1000fe70
mov ebx, dword [sym.imp.KERNEL32.dll_Thread32Next]
nop
cmp dword [ebp - 0x14], edi
je 0x1000fe89
lea ecx, [ebp - 0x20]
push ecx
push esi
call ebx
test eax, eax
jne 0x1000fe60
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001df15
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x18]
pop ebx
xor ecx, ebp
pop esi
call fcn.1001df15
mov esp, ebp
pop ebp
ret
Function at 0x10017340
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x250
mov eax, dword [0x1002c018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [sym.imp.MSVCR100.dll_sprintf]
push edi
push esi
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x108]
push ecx
mov dword [ebp - 0x110], 0x2a5c7325
mov word [ebp - 0x10c], 0x2a2e
mov byte [ebp - 0x10a], 0
call ebx
add esp, 0xc
lea edx, [ebp - 0x250]
push edx
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
nop
lea ecx, [ebp - 0x224]
push ecx
push esi
lea edx, [ebp - 0x110]
push edx
lea eax, [ebp - 0x108]
push eax
mov dword [ebp - 0x110], 0x255c7325
mov word [ebp - 0x10c], 0x73
call ebx
add esp, 0x10
xor eax, eax
lea ecx, [ebp - 0x108]
push ecx
mov dword [ebp - 0x110], eax
mov word [ebp - 0x10c], ax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea edx, [ebp - 0x250]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x100173a0
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.1001df15
mov esp, ebp
pop ebp
ret

Function at 0x10017420
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
mov eax, dword [0x1002c018]
xor eax, esp
mov dword [esp + 8], eax
mov eax, dword [ebp + 8]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
mov eax, dword [ebp + 0xc]
dec eax
jne 0x100174a3
push 0x1015ef60
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov esi, 0x1015ef60
call fcn.10017340
mov esi, str.C:Windowsprefetch
call fcn.10017340
lea eax, [esp + 4]
push eax
mov dword [esp + 8], 0x742e4d47
mov word [esp + 0xc], 0x7478
mov byte [esp + 0xe], 0
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
xor eax, eax
mov dword [esp + 4], eax
mov word [esp + 8], ax
mov byte [esp + 0xa], al
call fcn.1001dd00
mov ecx, eax
call fcn.1001dc30
mov ecx, dword [esp + 0xc]
pop esi
xor ecx, esp
mov eax, 1
call fcn.1001df15
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10019380
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100205e8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x1002c018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [edi + 0x44], 0
je 0x100194d8
cmp byte [edi + 0x49], 0
je 0x100194d8
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
mov ecx, edi
call edx
cmp eax, 0xffffffff
je 0x100194cc
lea esi, [ebp - 0x2c]
call fcn.10019070
mov dword [ebp - 4], 0
mov ebx, 0x10
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x2c]
cmp eax, ebx
jae 0x1001942b
lea ecx, [ebp - 0x2c]
mov eax, ecx
add ecx, dword [ebp - 0x1c]
lea edx, [ebp - 0x30]
push edx
push ecx
mov ecx, dword [edi + 0x44]
push eax
lea eax, [edi + 0x4c]
push eax
call dword [sym.imp.MSVCP100.dll_public:_int___thiscall_std::codecvt_char__char__int_::unshift_int___char___char___char___const]
sub eax, 0
je 0x10019430
dec eax
je 0x10019434
sub eax, 2
lea esi, [ebp - 0x2c]
je 0x100194d3
call fcn.100013c0
xor al, al
jmp 0x100194da
mov eax, dword [ebp - 0x2c]
jmp 0x100193f5
mov byte [edi + 0x49], 0
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x2c]
mov eax, edx
cmp ecx, ebx
jae 0x10019443
lea eax, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, eax
je 0x10019468
mov eax, edx
cmp ecx, ebx
jae 0x10019453
lea eax, [ebp - 0x2c]
mov ecx, dword [edi + 0x54]
push ecx
push esi
push 1
push eax
call dword [sym.imp.MSVCR100.dll_fwrite]
add esp, 0x10
cmp esi, eax
jne 0x100194c4
cmp byte [edi + 0x49], 0
je 0x100194d0
test esi, esi
jne 0x100193e6
mov eax, dword [ebp - 0x1c]
or edx, 0xffffffff
sub edx, eax
cmp edx, 8
jbe 0x100194f5
lea esi, [eax + 8]
lea eax, [ebp - 0x2c]
call fcn.10001640
test al, al
je 0x100193e6
mov ecx, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], ebx
jae 0x100194a1
lea ecx, [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
xor eax, eax
mov dword [ecx + edx], eax
mov dword [ecx + edx + 4], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], esi
cmp dword [ebp - 0x18], ebx
jae 0x100194bb
lea eax, [ebp - 0x2c]
mov byte [eax + esi], 0
jmp 0x100193e6
lea esi, [ebp - 0x2c]
call fcn.100013c0
xor al, al
jmp 0x100194da
lea esi, [ebp - 0x2c]
call fcn.100013c0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001df15
mov esp, ebp
pop ebp
ret
push 0x10023a44
call dword [sym.imp.MSVCP100.dll_void___cdecl_std::_Xlength_error_char_const__]
int3

Function at 0x1001a5b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edx, 0xf1
xor ecx, ecx
jmp 0x1001a5c0
mov al, byte [edi + ecx - 0x210f19]
xor al, dl
inc edx
and edx, 0x800000ff
mov byte [ecx + esi], al
jns 0x1001a5dd
dec edx
or edx, 0xffffff00
inc edx
inc ecx
cmp ecx, 0xc
jl 0x1001a5c0
mov byte [esi + 0xc], 0
mov eax, esi
ret