joyce8/EMBER2024-capa huggingface dataset:
Function at 0x410870
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
xor ebx, ebx
cmp byte [0x438c0c], bl
je 0x4108a4
push ebx
push dword [ebp + 8]
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
cmp eax, ebx
je 0x4108a0
cmp eax, 0x50
je 0x4108a0
cmp eax, 0xb7
je 0x4108a0
xor al, al
jmp 0x4108c4
mov al, 1
jmp 0x4108c4
push dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
call fcn.0040f4e7
push dword [eax]
call fcn.00410846
push dword [ebp - 0xc]
mov bl, al
call fcn.0040f7b5
pop ecx
mov al, bl
pop ebx
leave
ret 4

Function at 0x410a4f
Capabilities:
Create directory

Disassembly:
push 0x44
mov eax, 0x42ce7a
call fcn.00421e60
xor ebx, ebx
cmp byte [0x438c0c], bl
jne 0x410a94
push dword [ebp + 8]
lea eax, [ebp - 0x18]
push eax
call fcn.0040f4e7
mov eax, dword [eax]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push dword [ebp - 0x18]
mov esi, eax
call fcn.0040f7b5
pop ecx
cmp esi, ebx
je 0x410aa2
mov al, 1
call fcn.00421f38
ret 4
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jmp 0x410a88
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x410ab3
xor al, al
jmp 0x410a8c
lea ecx, [ebp - 0x50]
call fcn.00411213
lea ecx, [ebp - 0x28]
call fcn.0040efc9
push dword [ebp + 8]
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], ebx
call fcn.004112e9
test al, al
jne 0x410ae2
push dword [ebp - 0x28]
call fcn.0040f7b5
pop ecx
mov al, bl
jmp 0x410a8c
mov ebx, dword [ebp - 0x30]
shr ebx, 4
and bl, 1
jmp 0x410ad5

Function at 0x411234
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0x438c0c], 0
jne 0x411268
push esi
push dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
call fcn.0040f4e7
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push dword [ebp - 0xc]
mov esi, eax
call fcn.0040f7b5
pop ecx
mov eax, esi
pop esi
jmp 0x411278
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x411278
or eax, eax
leave
ret 4

Function at 0x41172d
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
push eax
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x411753
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x411753
xor al, al
jmp 0x411768
mov edx, dword [ebp - 4]
xor eax, eax
xor ecx, ecx
add ecx, esi
adc edx, eax
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov al, 1
pop esi
leave
ret 4

Function at 0x41c826
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
lea eax, [ebp + 0x10]
push eax
xor eax, eax
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
push eax
call fcn.004245d1
mov ecx, dword [ebp + 8]
add esp, 0x18
push eax
mov dword [ecx], eax
call fcn.0041c7d8
pop ebp
ret 0xc
Function at 0x41e892
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42db67
mov eax, dword fs:[0]
push eax
mov eax, 0x10068
call fcn.004249a0
mov eax, dword [0x437b70]
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, dword [ebp + 8]
and dword [ebp - 0x1002c], 0
mov dword [ebp - 0x1001c], ebx
xor edi, edi
mov esi, 0x42e35c
inc edi
push esi
lea ecx, [ebp - 0x10028]
mov dword [ebp - 4], edi
mov byte [ebp - 0x10011], 0
call fcn.0040f010
push esi
mov ecx, ebx
mov byte [ebp - 4], 2
call fcn.0040f010
and dword [ebp - 0x10018], 0
cmp dword [ebp + 0x10], 0
mov dword [ebp - 0x1002c], edi
jbe 0x41ea9e
push edi
push dword [ebp - 0x10018]
lea eax, [ebp - 0x10038]
push eax
lea ecx, [ebp + 0xc]
call fcn.004011e9
mov eax, dword [eax]
push 0x42f838
push eax
call fcn.00421f6a
push dword [ebp - 0x10038]
mov ebx, eax
neg ebx
sbb bl, bl
call fcn.0040f7b5
add esp, 0xc
inc bl
je 0x41e9e0
cmp byte [ebp - 0x10011], 0
sete al
mov byte [ebp - 0x10011], al
test al, al
jne 0x41ea89
mov ebx, 0x7fff
push ebx
lea eax, [ebp - 0x10010]
push eax
push dword [ebp - 0x10028]
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea eax, [ebp - 0x10010]
push eax
push dword [ebp - 0x1001c]
lea eax, [ebp - 0x10074]
push eax
call fcn.0040ef96
mov ecx, dword [ebp - 0x1001c]
push eax
mov byte [ebp - 4], 3
call fcn.0040f120
push dword [ebp - 0x10074]
mov byte [ebp - 4], 2
call fcn.0040f7b5
pop ecx
push esi
lea ecx, [ebp - 0x10028]
call fcn.0040f0ba
push esi
lea eax, [ebp - 0x10010]
push ebx
push eax
call fcn.00421a19
add esp, 0xc
jmp 0x41ea89
cmp byte [ebp - 0x10011], 0
push edi
push dword [ebp - 0x10018]
lea ecx, [ebp + 0xc]
je 0x41ea3a
lea eax, [ebp - 0x10068]
push eax
call fcn.004011e9
push eax
lea eax, [ebp - 0x10028]
push eax
lea eax, [ebp - 0x10050]
push eax
mov byte [ebp - 4], 4
call fcn.0040ef6f
push eax
lea ecx, [ebp - 0x10028]
mov byte [ebp - 4], 5
call fcn.0040f120
push dword [ebp - 0x10050]
call fcn.0040f7b5
push dword [ebp - 0x10068]
jmp 0x41ea7e
lea eax, [ebp - 0x1005c]
push eax
call fcn.004011e9
push eax
push dword [ebp - 0x1001c]
lea eax, [ebp - 0x10044]
push eax
mov byte [ebp - 4], 6
call fcn.0040ef6f
mov ecx, dword [ebp - 0x1001c]
push eax
mov byte [ebp - 4], 7
call fcn.0040f120
push dword [ebp - 0x10044]
call fcn.0040f7b5
push dword [ebp - 0x1005c]
mov byte [ebp - 4], 2
call fcn.0040f7b5
pop ecx
pop ecx
inc dword [ebp - 0x10018]
mov eax, dword [ebp - 0x10018]
cmp eax, dword [ebp + 0x10]
jb 0x41e915
push dword [ebp - 0x10028]
call fcn.0040f7b5
push dword [ebp + 0xc]
call fcn.0040f7b5
mov eax, dword [ebp - 0x1001c]
pop ecx
pop ecx
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.00421a0a
leave
ret 0x10
Function at 0x41ecfb
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x437b70]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
push 0x124
mov dword [ebp - 0x130], eax
lea eax, [ebp - 0x128]
push 0
push eax
call fcn.00421990
add esp, 0xc
lea eax, [ebp - 0x12c]
push eax
push dword [ebp - 0x130]
mov dword [ebp - 0x12c], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
jne 0x41ed6b
push dword [ebp - 0x130]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 1
call fcn.00424c4e
mov eax, dword [esi]
mov edi, dword [eax]
cmp edi, eax
je 0x41edb3
push dword [edi + 8]
call fcn.0041e580
cmp eax, dword [ebp - 0x114]
jne 0x41edad
push dword [ebp - 0x124]
push 0
push 0x100410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
lea ecx, [ebp - 0x134]
mov dword [ebp - 0x134], eax
mov eax, dword [esi]
push ecx
push eax
mov ecx, esi
call fcn.0041ec15
mov edi, dword [edi]
cmp edi, dword [esi]
jne 0x41ed73
lea eax, [ebp - 0x12c]
push eax
push dword [ebp - 0x130]
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x41ed6b
push dword [ebp - 0x130]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00421a0a
leave
ret 4
Function at 0x421a0a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x437b70]
jne 0x421a14
repz ret
jmp fcn.00425900

Function at 0x429bb7
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x437b70]
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.004250c1
and dword [ebp - 0x14], 0
cmp dword [0x439aec], 0
mov dword [ebp - 0x18], eax
jne 0x429c6a
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x429d12
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x43111c
push ebx
call edi
test eax, eax
je 0x429d12
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x439aec], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x439af0], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x439af4], eax
call edi
push eax
call esi
mov dword [0x439afc], eax
test eax, eax
je 0x429c6a
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x439af8], eax
mov eax, dword [0x439af8]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x429cc3
cmp dword [0x439afc], ecx
je 0x429cc3
push eax
call esi
push dword [0x439afc]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x429cc3
test ebx, ebx
je 0x429cc3
call edi
test eax, eax
je 0x429cba
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x429cba
test byte [ebp - 8], 1
jne 0x429cc3
or dword [ebp + 0x10], 0x200000
jmp 0x429cf6
mov eax, dword [0x439af0]
cmp eax, dword [ebp - 0x18]
je 0x429cf6
push eax
call esi
test eax, eax
je 0x429cf6
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x429cf6
mov eax, dword [0x439af4]
cmp eax, dword [ebp - 0x18]
je 0x429cf6
push eax
call esi
test eax, eax
je 0x429cf6
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x439aec]
call esi
test eax, eax
je 0x429d12
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x429d14
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00421a0a
leave
ret
Function at 0x10003626
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x11c
mov eax, dword [0x10041024]
xor eax, esp
mov dword [esp + 0x118], eax
push ebx
mov ebx, dword [esp + 0x124]
push ebp
push esi
push edi
mov edi, ecx
xor ebp, ebp
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
mov eax, dword [edi + 4]
or eax, 0x2001f
push eax
push ebx
push dword [edi]
call fcn.1002128b
mov esi, eax
test esi, esi
jne 0x100036d5
lea eax, [esp + 0x20]
push eax
push ebp
push ebp
push ebp
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x3c]
push eax
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
jmp 0x100036b0
lea eax, [esp + 0x28]
push eax
call fcn.10003626
mov esi, eax
test esi, esi
jne 0x100036d5
lea eax, [esp + 0x20]
xor ecx, ecx
push eax
push ecx
push ecx
push ecx
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x3c]
push eax
push ecx
push dword [esp + 0x30]
mov dword [esp + 0x30], 0x100
call ebp
lea ecx, [esp + 0x14]
test eax, eax
je 0x1000368b
call fcn.10002ded
push ebx
mov ecx, edi
call fcn.10002e76
mov esi, eax
lea ecx, [esp + 0x14]
call fcn.10002ded
mov ecx, dword [esp + 0x128]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1000be90
add esp, 0x11c
ret 4
Function at 0x10005a24
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x974
mov eax, dword [0x10041024]
xor eax, esp
mov dword [esp + 0x970], eax
push ebx
push ebp
xor ebp, ebp
mov ebx, 0x400
push esi
mov esi, dword [esp + 0x99c]
inc ebp
push edi
mov edi, dword [esp + 0x988]
test esi, esi
jne 0x10005a7b
push ebx
lea eax, [esp + 0x584]
push eax
push ebp
push edi
call fcn.10008e4e
add esp, 0x10
test eax, eax
je 0x10005a7b
mov eax, str._s_ssvagent.exe
lea esi, [esp + 0x580]
jmp 0x10005a90
test edi, edi
jne 0x10005be0
test esi, esi
je 0x10005be0
mov eax, str._s_bin_ssvagent.exe
push esi
push eax
lea eax, [esp + 0x188]
push ebx
push eax
call fcn.10004e7f
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x194]
push eax
call fcn.1002128b
add esp, 0x18
test eax, eax
jne 0x10005be0
cmp dword [esp + 0x98c], 0
mov ecx, str.__new
mov byte [esp + 0x7c], al
mov ebx, 0x104
mov eax, str.__old
cmovne eax, ecx
push eax
lea eax, [esp + 0x80]
push ebx
push eax
call fcn.1002128b
mov edi, dword [esp + 0x99c]
add esp, 0xc
mov esi, dword [esp + 0x99c]
test edi, edi
jne 0x10005b03
test esi, esi
je 0x10005b19
push str.__high
lea eax, [esp + 0x80]
push ebx
push eax
call fcn.1002128b
add esp, 0xc
cmp dword [esp + 0x998], 0
je 0x10005b39
push str.__settreatas
lea eax, [esp + 0x80]
push ebx
push eax
call fcn.1002128b
add esp, 0xc
test esi, esi
je 0x10005b53
push str.__regdeploy
lea eax, [esp + 0x80]
push ebx
push eax
call fcn.1002128b
add esp, 0xc
push 0x3c
pop esi
push esi
lea eax, [esp + 0x14]
push 0
push eax
call fcn.1000de50
add esp, 0xc
mov dword [esp + 0x10], esi
lea eax, [esp + 0x7c]
mov dword [esp + 0x24], eax
test edi, edi
je 0x10005b8b
call fcn.1002128b
test eax, eax
mov ecx, str.runas
cmove ecx, dword [esp + 0x1c]
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x14]
cmp dword [esp + 0x994], 0
push 0x40
pop ecx
cmovne eax, ecx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x14], eax
lea eax, [esp + 0x180]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
je 0x10005be0
cmp dword [esp + 0x48], 0
je 0x10005bdc
push 0xffffffffffffffff
push dword [esp + 0x4c]
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
push dword [esp + 0x48]
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, ebp
jmp 0x10005be2
xor eax, eax
mov ecx, dword [esp + 0x980]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1000be90
add esp, 0x974
ret
Function at 0x10005d98
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x948
mov eax, dword [0x10041024]
xor eax, esp
mov dword [esp + 0x944], eax
push ebx
push ebp
mov ebp, dword [esp + 0x954]
lea eax, [esp + 0x14c]
push esi
push edi
push 0x400
push 0
push eax
call fcn.1000de50
mov ebx, dword [esp + 0x1c]
add esp, 0xc
xor esi, esi
mov edi, section..data
test esi, esi
jne 0x10005ebe
push ebp
mov ebx, 0x400
mov byte [esp + 0x558], 0
lea eax, [esp + 0x558]
push ebx
push eax
call fcn.1002128b
push 0x100315c4
lea eax, [esp + 0x564]
push ebx
push eax
call fcn.1002128b
push dword [edi]
lea eax, [esp + 0x570]
push ebx
push eax
call fcn.1002128b
add esp, 0x24
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x558]
push eax
call dword [sym.imp.kernel32.dll_FindFirstFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x10005eaf
push ebp
lea eax, [esp + 0x158]
mov byte [esp + 0x158], 0
push 0x400
push eax
call fcn.1002128b
push 0x100315c8
lea eax, [esp + 0x164]
push 0x400
push eax
call fcn.1002128b
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x170]
push 0x400
push eax
call fcn.1002128b
lea eax, [esp + 0x178]
push eax
call fcn.10009086
add esp, 0x28
test eax, eax
je 0x10005eac
lea eax, [esp + 0x14]
push eax
push ebx
call dword [sym.imp.kernel32.dll_FindNextFileA]
test eax, eax
jne 0x10005e3d
jmp 0x10005eaf
xor esi, esi
inc esi
add edi, 4
cmp edi, 0x1004100c
jl 0x10005dd9
push ebx
call dword [sym.imp.kernel32.dll_FindClose]
mov ecx, dword [esp + 0x954]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1000be90
add esp, 0x948
ret
Function at 0x10007043
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x7c0]
sub esp, 0x840
mov eax, dword [0x10041024]
xor eax, ebp
mov dword [ebp + 0x7bc], eax
push ebx
push esi
push edi
call fcn.10007258
xor ebx, ebx
lea ecx, [ebp - 0x80]
mov esi, 0x20019
mov dword [ebp - 0x80], ebx
push esi
push 0x100314f4
push reloc.OLEAUT32.dll_SysReAllocString
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
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], ebx
call fcn.1002128b
test eax, eax
jne 0x10007222
push esi
push 0x10031500
push dword [ebp - 0x80]
lea ecx, [ebp - 0x74]
call fcn.1002128b
test eax, eax
jne 0x10007222
push esi
push 0x1003150c
push dword [ebp - 0x74]
lea ecx, [ebp - 0x68]
call fcn.1002128b
test eax, eax
jne 0x10007222
mov esi, 0x400
lea eax, [ebp + 0x3bc]
push esi
push ebx
push eax
mov edi, ebx
call fcn.1000de50
push esi
lea eax, [ebp - 0x44]
push ebx
push eax
call fcn.1000de50
add esp, 0x18
lea eax, [ebp + 0x3bc]
push esi
push eax
push ebx
jmp 0x10007211
lea ecx, [ebp + 0x3bc]
mov edx, ebx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10007111
sub ecx, esi
lea eax, [ebp - 0x44]
mov bl, byte [ebp + edx + 0x3bc]
cmp bl, 0x2e
je 0x1000712c
mov byte [eax], bl
inc eax
inc edx
cmp edx, ecx
jbe 0x1000711d
xor ebx, ebx
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x5c], str.NODOTVERSION
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10007147
sub ecx, edx
lea esi, [ecx + 1]
cmp esi, 0x3fffffff
jle 0x1000715f
mov eax, ebx
jmp 0x10007176
lea eax, [esi + esi]
call fcn.1000c1e0
mov eax, esp
lea ecx, [ebp - 0x44]
push 3
push esi
push ecx
push eax
call fcn.1002128b
push 0x50
mov dword [ebp - 0x58], eax
pop eax
mov dword [ebp - 0x54], str.CLSID_STRING
call fcn.1000c1e0
mov eax, esp
push 3
push 0x27
push str.5852F5ED_8BF4_11D4_A245_0080C6F74284
push eax
call fcn.1002128b
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
call fcn.1002128b
test eax, eax
je 0x100071bd
lea eax, [ebp - 0x5c]
push eax
push 1
push 0x67
push 0x10041c48
call fcn.100046aa
call fcn.1002128b
test eax, eax
je 0x100071ce
cmp dword [ebp + 0x7cc], ebx
je 0x100071e0
lea eax, [ebp - 0x5c]
push eax
push 1
push 0x68
push 0x10041c48
call fcn.100046aa
call dword [sym.imp.ole32.dll_CoUninitialize]
mov esi, 0x400
lea eax, [ebp + 0x3bc]
push esi
push ebx
push eax
call fcn.1000de50
push esi
lea eax, [ebp - 0x44]
push ebx
push eax
call fcn.1000de50
add esp, 0x18
lea eax, [ebp + 0x3bc]
inc edi
push esi
push eax
push edi
push dword [ebp - 0x68]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
je 0x10007106
lea ecx, [ebp - 0x68]
call fcn.10002ded
lea ecx, [ebp - 0x74]
call fcn.10002ded
lea ecx, [ebp - 0x80]
call fcn.10002ded
lea esp, [ebp - 0x8c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x7bc]
xor ecx, ebp
call fcn.1000be90
add ebp, 0x7c0
leave
ret
Function at 0x10007258
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x41c
mov eax, dword [0x10041024]
xor eax, esp
mov dword [esp + 0x418], eax
push ebx
push ebp
push esi
mov ebp, 0x400
lea eax, [esp + 0x24]
xor ebx, ebx
push ebp
push ebx
push eax
mov esi, ebx
call fcn.1000de50
add esp, 0xc
mov dword [esp + 0x18], ebx
lea ecx, [esp + 0x18]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0xc], ebx
push 0x20019
push 0x100314d4
push SysReAllocString
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
call fcn.1002128b
test eax, eax
jne 0x1000732e
push 0x2001f
push str.Classes
push dword [esp + 0x20]
lea ecx, [esp + 0x18]
call fcn.1002128b
test eax, eax
jne 0x1000732e
push ebp
lea eax, [esp + 0x28]
push eax
push ebx
jmp 0x10007320
push 0xa
lea eax, [esp + 0x28]
push str.JavaPlugin
push eax
call fcn.10016e00
add esp, 0xc
test eax, eax
jne 0x10007309
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x10]
call fcn.10003626
test eax, eax
je 0x1000730a
inc esi
push ebp
lea eax, [esp + 0x28]
push ebx
push eax
call fcn.1000de50
add esp, 0xc
lea eax, [esp + 0x24]
push ebp
push eax
push esi
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
je 0x100072df
lea ecx, [esp + 0xc]
call fcn.10002ded
lea ecx, [esp + 0x18]
call fcn.10002ded
mov ecx, dword [esp + 0x424]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1000be90
add esp, 0x41c
ret
Function at 0x10007358
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push 0x960
push 0x1003e9c0
call fcn.1000c180
mov esi, dword [ebp + 8]
mov dword [ebp - 0x964], esi
xor edi, edi
mov dword [ebp - 0x960], edi
push 0x400
push edi
lea eax, [ebp - 0x41c]
push eax
call fcn.1000de50
add esp, 0xc
and dword [ebp - 4], edi
xor ebx, ebx
mov dword [ebp - 0x96c], ebx
cmp ebx, 3
jge 0x1000750d
mov byte [ebp - 0x81c], 0
push esi
mov esi, 0x400
push esi
lea eax, [ebp - 0x81c]
push eax
call fcn.1002128b
push 0x100315cc
push esi
lea eax, [ebp - 0x81c]
push eax
call fcn.1002128b
push dword [ebx*4 + section..data]
push esi
lea eax, [ebp - 0x81c]
push eax
call fcn.1002128b
add esp, 0x24
lea eax, [ebp - 0x95c]
push eax
lea eax, [ebp - 0x81c]
push eax
call dword [sym.imp.kernel32.dll_FindFirstFileA]
mov esi, eax
mov dword [ebp - 0x970], esi
cmp esi, 0xffffffff
je 0x100074d9
mov byte [ebp - 0x41c], 0
push dword [ebp - 0x964]
push 0x400
lea eax, [ebp - 0x41c]
push eax
call fcn.1002128b
push 0x100315d0
push 0x400
lea eax, [ebp - 0x41c]
push eax
call fcn.1002128b
lea eax, [ebp - 0x930]
push eax
push 0x400
lea eax, [ebp - 0x41c]
push eax
call fcn.1002128b
lea eax, [ebp - 0x41c]
push eax
call fcn.10009086
add esp, 0x28
test eax, eax
jne 0x100074c3
push 0x404
call fcn.1002128b
pop ecx
mov dword [ebp - 0x968], eax
test eax, eax
jne 0x10007497
push 0xfffffffffffffffe
lea eax, [ebp - 0x10]
push eax
push 0x10041024
call fcn.1000d760
add esp, 0xc
xor eax, eax
jmp 0x1000751c
mov byte [eax], 0
lea ecx, [ebp - 0x41c]
push ecx
push 0x400
push eax
call fcn.1002128b
add esp, 0xc
mov eax, dword [ebp - 0x968]
mov dword [eax + 0x400], edi
mov edi, eax
mov dword [ebp - 0x960], edi
lea eax, [ebp - 0x95c]
push eax
push esi
call dword [sym.imp.kernel32.dll_FindNextFileA]
test eax, eax
jne 0x10007409
test edi, edi
je 0x10007501
push edi
call dword [sym.imp.kernel32.dll_DeleteFileA]
mov esi, dword [edi + 0x400]
push 0x404
push edi
call fcn.1002128b
pop ecx
pop ecx
mov edi, esi
mov dword [ebp - 0x960], edi
jmp 0x100074d9
inc ebx
mov esi, dword [ebp - 0x964]
jmp 0x10007392
mov dword [ebp - 4], 0xfffffffe
call fcn.10007532
xor eax, eax
inc eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret