joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4043a0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4a10c8]
jne 0x4043aa
repz ret
jmp fcn.00406b0e

Function at 0x40672f
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00404421
and dword [ebp - 4], 0
cmp dword [0x4a2a10], 0
mov ebx, eax
jne 0x4067e0
push 0x4019c8
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x406891
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4019bc
push edi
call esi
test eax, eax
je 0x406891
push eax
call fcn.004043af
mov dword [esp], 0x4019ac
push edi
mov dword [0x4a2a10], eax
call esi
push eax
call fcn.004043af
mov dword [esp], 0x401998
push edi
mov dword [0x4a2a14], eax
call esi
push eax
call fcn.004043af
mov dword [esp], 0x40197c
push edi
mov dword [0x4a2a18], eax
call esi
push eax
call fcn.004043af
pop ecx
mov dword [0x4a2a20], eax
test eax, eax
je 0x4067e0
push 0x401964
push edi
call esi
push eax
call fcn.004043af
pop ecx
mov dword [0x4a2a1c], eax
mov eax, dword [0x4a2a1c]
cmp eax, ebx
je 0x406838
cmp dword [0x4a2a20], ebx
je 0x406838
push eax
call fcn.0040442a
push dword [0x4a2a20]
mov esi, eax
call fcn.0040442a
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x406838
test edi, edi
je 0x406838
call esi
test eax, eax
je 0x40682f
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40682f
test byte [ebp - 0xc], 1
jne 0x406838
or dword [ebp + 0x10], 0x200000
jmp 0x406871
mov eax, dword [0x4a2a14]
cmp eax, ebx
je 0x406871
push eax
call fcn.0040442a
pop ecx
test eax, eax
je 0x406871
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x406871
mov eax, dword [0x4a2a18]
cmp eax, ebx
je 0x406871
push eax
call fcn.0040442a
pop ecx
test eax, eax
je 0x406871
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4a2a10]
call fcn.0040442a
pop ecx
test eax, eax
je 0x406891
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x406893
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x403cc4
Capabilities:
Terminate process

Disassembly:
jmp 0x464099
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x4640aa
push 5
pop ecx
int 0x29
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.0040670d
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret

Function at 0x403e4a
Capabilities:
Query environment variable

Disassembly:
jmp 0x4adb42
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x4adb53
pop esi
ret
push ebx
push edi
push esi
call fcn.004ada29
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.004048fe
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x4adb7b
push ebx
push esi
push edi
call fcn.004064a1
add esp, 0xc
push 0
call fcn.00407270
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret
Function at 0x406582
Capabilities:
Parse pe header

Disassembly:
jmp 0x452ecf
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x452f0e
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x452f0e
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x452f0e
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x452f0e
cmp dword [ecx + 0x74], 0xe
jbe 0x452f0e
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x4a6b61
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.0040201d
mov eax, dword [0x594258]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.00406da2
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x4a6ba3
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x4a6cff
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00406f3c
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x5996c8]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.00403896
mov ecx, dword [esi*4 + 0x5996c8]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x4a6cf8
cmp eax, dword [edi + ecx + 0x24]
jne 0x4a6cf8
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4a6cf8
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00403896
add esp, 0x14
test edx, edx
jl 0x4a6cf8
jg 0x4a6c6e
test eax, eax
jb 0x4a6cf8
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x4a6cf8
jl 0x4a6c88
cmp dword [ebp - 0x1008], eax
ja 0x4a6cf8
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x4a6ca6
test ebx, ebx
je 0x4a6cdf
cmp ecx, edi
jae 0x4a6cdf
mov al, byte [ecx]
cmp al, 0xd
jne 0x4a6cc0
lea eax, [edi - 1]
cmp ecx, eax
jae 0x4a6ccc
cmp byte [ecx + 1], 0xa
jne 0x4a6ccc
inc ecx
jmp 0x4a6ccc
movzx eax, al
movsx eax, byte [eax + 0x594578]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x4a6ca6
cmp edx, ebx
jne 0x4a6ca6
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x4a6cfd
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0040361b
leave
ret
Function at 0x4a6f04
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x5996c8]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4a6f44
cmp byte [ebx], 0xa
jne 0x4a6f44
or byte [eax + edi + 0x28], 4
jmp 0x4a6f49
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x4a7047
mov al, byte [edx]
cmp al, 0x1a
je 0x4a7029
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x4a6f78
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x4a6f9d
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x4a6fa7
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x4a6f5a
jmp 0x4a7047
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4a7024
cmp dword [ebp - 0xc], 0
je 0x4a7024
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x5996c8]
test byte [eax + edi + 0x28], 0x48
je 0x4a6ffe
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x4a6fe9
mov byte [esi], dl
jmp 0x4a6ffa
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x5996c8]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x4a7047
cmp byte [ebp - 1], 0xa
jne 0x4a700d
cmp esi, ebx
jne 0x4a700d
mov byte [esi], 0xa
jmp 0x4a7046
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00401ae6
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x4a7047
mov byte [esi], 0xd
jmp 0x4a7046
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x5996c8]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x4a7043
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x4a7047
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x4a70a3
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x5996c8]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4a70e6
cmp word [esi], dx
jne 0x4a70e6
or byte [edi + eax + 0x28], 4
jmp 0x4a70eb
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x4a723e
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x4a721e
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x4a712d
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x4a7163
cmp eax, edx
jae 0x4a716f
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x4a7105
jmp 0x4a723e
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4a721a
cmp dword [ebp - 0x14], 0
je 0x4a721a
mov eax, dword [ebx*4 + 0x5996c8]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x4a71f2
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x4a71bb
mov word [esi], cx
jmp 0x4a71ee
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x5996c8]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x5996c8]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x5996c8]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x4a723e
pop ebx
cmp word [ebp - 4], bx
jne 0x4a7203
cmp esi, dword [ebp + 0xc]
jne 0x4a7203
mov word [esi], bx
jmp 0x4a723b
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00401ae6
add esp, 0x10
cmp word [ebp - 4], bx
je 0x4a723e
push 0xd
jmp 0x4a7237
mov ecx, dword [ebx*4 + 0x5996c8]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x4a7235
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x4a723e
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x4ac0e1
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x594258]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x4ac12c
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.004ac5a3
test al, al
jne 0x4ac126
sub edx, 2
cmp edx, edi
jne 0x4ac10c
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x4ac14e
lea eax, [edi + 2]
cmp edx, eax
je 0x4ac14e
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.004abcda
add esp, 0x10
jmp 0x4ac248
push esi
lea ecx, [ebp - 0x255]
call fcn.004ac5a3
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4ac191
push dword [ebp - 0x25c]
jmp 0x4ac13e
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x4ac1ce
cmp word [ebp - 0x226], 0
je 0x4ac1ef
cmp word [ebp - 0x226], ax
jne 0x4ac1ce
cmp word [ebp - 0x224], 0
je 0x4ac1ef
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.004abcda
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x4ac23b
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x4ac1a8
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x4ac223
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x4ac248
push 0x4ab6c2
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00406299
add esp, 0x10
jmp 0x4ac218
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040361b
leave
ret
Function at 0x1000269d
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push dword [esp + 0x14]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
ret 8

Function at 0x100026eb
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
mov ebx, ecx
test esi, esi
jne 0x100026fc
push 0xd
pop eax
jmp 0x10002726
push edi
xor edi, edi
push esi
call dword [sym.imp.kernel32.dll_lstrlenA]
inc eax
add esi, eax
add edi, eax
cmp eax, 1
jne 0x100026ff
push edi
push dword [esp + 0x18]
push 7
push 0
push dword [esp + 0x20]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebx
ret 8

Function at 0x10002cb1
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0xa0]
sub esp, 0x120
mov eax, dword [0x1002b19c]
xor eax, ebp
mov dword [ebp + 0x9c], eax
mov eax, dword [ebp + 0xa8]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
or ecx, 0x2001f
push ecx
push eax
push dword [edi]
xor esi, esi
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x6c], esi
call fcn.1000e6cf
mov ebx, eax
cmp ebx, esi
je 0x10002d24
lea ecx, [ebp - 0x74]
call fcn.1000133f
mov eax, ebx
mov ecx, dword [ebp + 0x9c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000c2c7
add ebp, 0xa0
leave
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
jmp 0x10002d3c
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x74]
call fcn.10002cb1
cmp eax, esi
jne 0x10002d6e
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x64]
push eax
push esi
push dword [ebp - 0x74]
mov dword [ebp - 0x68], 0x100
call ebx
test eax, eax
je 0x10002d2c
lea ecx, [ebp - 0x74]
call fcn.1000133f
push dword [ebp - 0x78]
mov ecx, edi
call fcn.100025c6
lea ecx, [ebp - 0x74]
mov esi, eax
call fcn.1000133f
mov eax, esi
jmp 0x10002d0a
Function at 0x10005086
Capabilities:
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x8f4]
sub esp, 0x974
mov eax, dword [0x1002b19c]
xor eax, ebp
mov dword [ebp + 0x8f0], eax
push ebx
mov ebx, dword [ebp + 0x914]
push esi
mov esi, dword [ebp + 0x8fc]
push edi
mov edi, 0x400
test ebx, ebx
jne 0x100050d8
push edi
lea eax, [ebp - 0x14]
push eax
push 1
push esi
call fcn.1000e6cf
add esp, 0x10
test eax, eax
je 0x100050d8
lea eax, [ebp - 0x14]
push eax
push str._s_ssvagent.exe
jmp 0x100050ee
test esi, esi
jne 0x10005226
test ebx, ebx
je 0x10005226
push ebx
push str._s_bin_ssvagent.exe
lea eax, [ebp + 0x3ec]
push edi
push eax
call fcn.1000e6cf
add esp, 0x10
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp + 0x3ec]
push eax
call fcn.1000e6cf
pop ecx
pop ecx
test eax, eax
jne 0x10005226
xor edi, edi
mov byte [ebp + 0x7ec], al
mov esi, 0x104
lea eax, [ebp + 0x7ec]
cmp dword [ebp + 0x900], edi
je 0x1000513a
push str.__new
jmp 0x1000513f
push str.__old
push esi
push eax
call fcn.1000e6cf
add esp, 0xc
cmp dword [ebp + 0x904], edi
jne 0x10005159
cmp dword [ebp + 0x910], edi
je 0x1000516e
push str.__high
lea eax, [ebp + 0x7ec]
push esi
push eax
call fcn.1000e6cf
add esp, 0xc
cmp dword [ebp + 0x90c], edi
je 0x1000518b
push str.__settreatas
lea eax, [ebp + 0x7ec]
push esi
push eax
call fcn.1000e6cf
add esp, 0xc
cmp dword [ebp + 0x910], edi
je 0x100051a8
push str.__regdeploy
lea eax, [ebp + 0x7ec]
push esi
push eax
call fcn.1000e6cf
add esp, 0xc
push 0x3c
pop esi
push esi
lea eax, [ebp - 0x80]
push edi
push eax
call fcn.1000c3a0
add esp, 0xc
lea eax, [ebp + 0x7ec]
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x6c], eax
cmp dword [ebp + 0x904], edi
je 0x100051dd
call fcn.1000e6cf
test eax, eax
je 0x100051dd
mov dword [ebp - 0x74], str.runas
cmp dword [ebp + 0x908], edi
je 0x100051ec
mov dword [ebp - 0x7c], 0x40
lea eax, [ebp + 0x3ec]
mov dword [ebp - 0x70], eax
xor esi, esi
lea eax, [ebp - 0x80]
inc esi
push eax
mov dword [ebp - 0x64], esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
je 0x10005226
cmp dword [ebp - 0x48], edi
je 0x10005222
push 0xffffffffffffffff
push dword [ebp - 0x48]
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
push dword [ebp - 0x48]
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, esi
jmp 0x10005228
xor eax, eax
mov ecx, dword [ebp + 0x8f0]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000c2c7
add ebp, 0x8f4
leave
ret
Function at 0x1000533d
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
lea ebp, [esp - 0x8d0]
sub esp, 0x950
mov eax, dword [0x1002b19c]
xor eax, ebp
mov dword [ebp + 0x8cc], eax
mov eax, dword [ebp + 0x8d8]
push ebx
push esi
push edi
xor ebx, ebx
push 0x3ff
mov dword [ebp - 0x80], eax
lea eax, [ebp + 0x4cd]
push ebx
push eax
mov byte [ebp + 0x4cc], bl
call fcn.1000c3a0
add esp, 0xc
mov dword [ebp - 0x78], ebx
mov edi, 0x1002b10c
mov esi, 0x400
cmp dword [ebp - 0x78], ebx
jne 0x1000545f
push dword [ebp - 0x80]
lea eax, [ebp + 0xcc]
push esi
push eax
mov byte [ebp + 0xcc], bl
call fcn.1000e6cf
push 0x10024474
lea eax, [ebp + 0xcc]
push esi
push eax
call fcn.1000e6cf
push dword [edi]
lea eax, [ebp + 0xcc]
push esi
push eax
call fcn.1000e6cf
add esp, 0x24
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp + 0xcc]
push eax
call dword [sym.imp.kernel32.dll_FindFirstFileA]
mov dword [ebp - 0x7c], eax
cmp eax, 0xffffffff
je 0x10005450
push dword [ebp - 0x80]
lea eax, [ebp + 0x4cc]
push esi
push eax
mov byte [ebp + 0x4cc], bl
call fcn.1000e6cf
push 0x10024478
lea eax, [ebp + 0x4cc]
push esi
push eax
call fcn.1000e6cf
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp + 0x4cc]
push esi
push eax
call fcn.1000e6cf
lea eax, [ebp + 0x4cc]
push eax
call fcn.100083c7
add esp, 0x28
test eax, eax
je 0x10005449
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 0x7c]
call dword [sym.imp.kernel32.dll_FindNextFileA]
test eax, eax
jne 0x100053ea
jmp 0x10005450
mov dword [ebp - 0x78], 1
add edi, 4
cmp edi, 0x1002b118
jl 0x1000538e
push dword [ebp - 0x7c]
call dword [sym.imp.kernel32.dll_FindClose]
mov ecx, dword [ebp + 0x8cc]
mov eax, dword [ebp - 0x78]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000c2c7
add ebp, 0x8d0
leave
ret
Function at 0x10005483
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
lea ebp, [esp - 0x944]
sub esp, 0x944
push 0xfffffffffffffffe
push 0x10028328
push 0x1000c6d0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x1002b19c]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp + 0x940], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x94c]
mov dword [ebp - 0x1c], eax
xor edi, edi
mov dword [ebp - 0x20], edi
mov byte [ebp + 0x540], 0
push 0x3ff
push edi
lea eax, [ebp + 0x541]
push eax
call fcn.1000c3a0
add esp, 0xc
mov dword [ebp - 4], edi
mov dword [ebp - 0x24], edi
mov esi, 0x400
cmp dword [ebp - 0x24], 3
jge 0x10005633
mov byte [ebp + 0x140], 0
push dword [ebp - 0x1c]
push esi
lea eax, [ebp + 0x140]
push eax
call fcn.1000e6cf
push 0x1002447c
push esi
lea eax, [ebp + 0x140]
push eax
call fcn.1000e6cf
mov eax, dword [ebp - 0x24]
push dword [eax*4 + 0x1002b10c]
push esi
lea eax, [ebp + 0x140]
push eax
call fcn.1000e6cf
add esp, 0x24
lea eax, [ebp]
push eax
lea eax, [ebp + 0x140]
push eax
call dword [sym.imp.kernel32.dll_FindFirstFileA]
mov dword [ebp - 0x28], eax
cmp eax, 0xffffffff
je 0x1000560c
mov byte [ebp + 0x540], 0
push dword [ebp - 0x1c]
push esi
lea eax, [ebp + 0x540]
push eax
call fcn.1000e6cf
push 0x10024480
push esi
lea eax, [ebp + 0x540]
push eax
call fcn.1000e6cf
lea eax, [ebp + 0x2c]
push eax
push esi
lea eax, [ebp + 0x540]
push eax
call fcn.1000e6cf
lea eax, [ebp + 0x540]
push eax
call fcn.100083c7
add esp, 0x28
test eax, eax
jne 0x100055f7
push 0x404
call fcn.1000e6cf
pop ecx
mov ebx, eax
test ebx, ebx
jne 0x100055d8
push 0xfffffffffffffffe
lea eax, [ebp - 0x10]
push eax
push 0x1002b19c
call fcn.1000cdb0
add esp, 0xc
xor eax, eax
jmp 0x10005642
mov byte [ebx], 0
lea eax, [ebp + 0x540]
push eax
push esi
push ebx
call fcn.1000e6cf
add esp, 0xc
mov dword [ebx + 0x400], edi
mov edi, ebx
mov dword [ebp - 0x20], edi
lea eax, [ebp]
push eax
push dword [ebp - 0x28]
call dword [sym.imp.kernel32.dll_FindNextFileA]
test eax, eax
jne 0x10005563
test edi, edi
je 0x1000562b
push edi
call dword [sym.imp.kernel32.dll_DeleteFileA]
mov ebx, dword [edi + 0x400]
push edi
call fcn.1000e6cf
pop ecx
mov edi, ebx
mov dword [ebp - 0x20], edi
jmp 0x1000560c
inc dword [ebp - 0x24]
jmp 0x100054f9
mov dword [ebp - 4], 0xfffffffe
call fcn.10005668
xor eax, eax
inc eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x940]
xor ecx, ebp
call fcn.1000c2c7
add ebp, 0x944
leave
ret
Function at 0x1000589b
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x3a0]
sub esp, 0x420
mov eax, dword [0x1002b19c]
xor eax, ebp
mov dword [ebp + 0x39c], eax
push ebx
xor ebx, ebx
push 0x3ff
lea eax, [ebp - 0x63]
push ebx
push eax
mov dword [ebp - 0x68], ebx
mov byte [ebp - 0x64], bl
call fcn.1000c3a0
add esp, 0xc
push 0x20019
push 0x10024384
push SysReAllocString
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x6c], ebx
call fcn.1000e6cf
lea ecx, [ebp - 0x74]
test eax, eax
je 0x10005913
call fcn.1000133f
lea ecx, [ebp - 0x80]
call fcn.1000133f
jmp 0x1000599e
push 0x2001f
push str.Classes
push dword [ebp - 0x80]
call fcn.1000e6cf
test eax, eax
je 0x1000592e
lea ecx, [ebp - 0x74]
jmp 0x10005901
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov esi, 0x400
push esi
lea eax, [ebp - 0x64]
push eax
push ebx
jmp 0x10005983
push 0xa
lea eax, [ebp - 0x64]
push str.JavaPlugin
push eax
call fcn.1000e6cf
add esp, 0xc
test eax, eax
jne 0x1000596a
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x74]
call fcn.10002cb1
test eax, eax
je 0x1000596d
inc dword [ebp - 0x68]
push esi
lea eax, [ebp - 0x64]
push ebx
push eax
call fcn.1000c3a0
add esp, 0xc
push esi
lea eax, [ebp - 0x64]
push eax
push dword [ebp - 0x68]
push dword [ebp - 0x74]
call edi
test eax, eax
je 0x10005943
lea ecx, [ebp - 0x74]
call fcn.1000133f
lea ecx, [ebp - 0x80]
call fcn.1000133f
pop edi
pop esi
mov ecx, dword [ebp + 0x39c]
xor ecx, ebp
pop ebx
call fcn.1000c2c7
add ebp, 0x3a0
leave
ret