joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43d28f
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00437962
xor ebx, ebx
cmp dword [0x45d920], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x43d365
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x43d445
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x43d445
push eax
call fcn.004378f4
mov dword [esp], 0x449308
push edi
mov dword [0x45d920], eax
call esi
push eax
call fcn.004378f4
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x45d924], eax
call esi
push eax
call fcn.004378f4
mov dword [0x45d928], eax
lea eax, [ebp - 0xc]
push eax
call fcn.00438100
test eax, eax
pop ecx
pop ecx
je 0x43d333
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004357c5
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x43d365
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.004378f4
cmp eax, ebx
pop ecx
mov dword [0x45d930], eax
je 0x43d365
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004378f4
pop ecx
mov dword [0x45d92c], eax
mov eax, dword [0x45d92c]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x43d3ea
cmp dword [0x45d930], ecx
je 0x43d3ea
push eax
call fcn.0043796b
push dword [0x45d930]
mov esi, eax
call fcn.0043796b
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x43d3ea
cmp edi, ebx
je 0x43d3ea
call esi
cmp eax, ebx
je 0x43d3b7
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x43d3b7
test byte [ebp - 0x18], 1
jne 0x43d3ea
lea eax, [ebp - 0x10]
push eax
call fcn.00438137
test eax, eax
pop ecx
je 0x43d3d2
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004357c5
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x43d3e1
or dword [ebp + 0x10], 0x200000
jmp 0x43d425
or dword [ebp + 0x10], 0x40000
jmp 0x43d425
mov eax, dword [0x45d924]
cmp eax, dword [ebp - 8]
je 0x43d425
push eax
call fcn.0043796b
cmp eax, ebx
pop ecx
je 0x43d425
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x43d425
mov eax, dword [0x45d928]
cmp eax, dword [ebp - 8]
je 0x43d425
push eax
call fcn.0043796b
cmp eax, ebx
pop ecx
je 0x43d425
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x45d920]
call fcn.0043796b
cmp eax, ebx
pop ecx
je 0x43d445
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x43d447
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100024e3
Capabilities:
Get geographical location

Disassembly:
sub esp, 0x454
mov eax, dword [0x1006a1fc]
xor eax, esp
mov dword [esp + 0x450], eax
push esi
mov esi, dword [esp + 0x45c]
push edi
mov edi, dword [esp + 0x464]
push esi
mov dword [esp + 0x1c], esi
call dword [sym.imp.GDI32.dll_SaveDC]
push 2
push esi
mov dword [esp + 0x18], eax
call dword [sym.imp.GDI32.dll_SetGraphicsMode]
push 1
push 0
push esi
call dword [sym.imp.GDI32.dll_ModifyWorldTransform]
xor eax, eax
push eax
push eax
push eax
push esi
call dword [sym.imp.GDI32.dll_SetViewportOrgEx]
xor eax, eax
push eax
push eax
push eax
push esi
call dword [sym.imp.GDI32.dll_SetWindowOrgEx]
push 0x58
push esi
mov esi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
call esi
push 0x5a
push dword [esp + 0x1c]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x1c], xmm0
call esi
movss xmm0, dword [esp + 0x14]
mulss xmm0, dword [0x10046d40]
push 1
movd xmm2, eax
cvtdq2ps xmm2, xmm2
divss xmm0, dword [0x10046d58]
cvttss2si eax, xmm0
mov dword [esp + 0xc], eax
imul eax, dword [esp + 0x46c], 0xa
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm2
divss xmm0, dword [0x10046d58]
cvttss2si eax, xmm0
mov dword [esp + 0x10], eax
lea eax, [esp + 0xc]
push eax
push dword [esp + 0x20]
call dword [sym.imp.GDI32.dll_DPtoLP]
movd xmm0, dword [esp + 0xc]
cvtdq2pd xmm0, xmm0
push 0x400
andps xmm0, xmmword [0x10046d60]
divsd xmm0, qword [0x10046d50]
addsd xmm0, qword [0x10046d48]
cvttsd2si eax, xmm0
neg eax
mov dword [esp + 0x20], eax
xor eax, eax
cmp dword [esp + 0x470], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
setne byte [esp + 0x35]
mov dword [esp + 0x2c], eax
mov byte [esp + 0x34], al
mov dword [esp + 0x36], eax
mov word [esp + 0x3a], ax
mov eax, dword [esp + 0x474]
neg eax
sbb eax, eax
and eax, 0x2bc
mov dword [esp + 0x30], eax
lea eax, [esp + 0x5c]
push eax
push 0x1002
push 0x800
call dword [sym.imp.kernel32.dll_GetLocaleInfoA]
push 5
lea eax, [esp + 0x5c]
push 0x10044eac
push eax
call fcn.100233a0
test eax, eax
mov ecx, 0x10044eb4
lea eax, [esp + 0x44]
cmovne ecx, edi
push ecx
push 0x20
push eax
call fcn.1003ef73
add esp, 0x18
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push dword [esp + 0x10]
mov esi, eax
push dword [esp + 0x1c]
call dword [sym.imp.GDI32.dll_RestoreDC]
mov ecx, dword [esp + 0x458]
mov eax, esi
pop edi
pop esi
xor ecx, esp
call fcn.1001df6b
add esp, 0x454
ret 0x14
Function at 0x10008eeb
Capabilities:
Get geographical location

Disassembly:
sub esp, 0x454
mov eax, dword [0x1006a1fc]
xor eax, esp
mov dword [esp + 0x450], eax
push esi
mov esi, dword [esp + 0x45c]
push edi
mov edi, dword [esp + 0x464]
push esi
mov dword [esp + 0x1c], esi
call dword [sym.imp.GDI32.dll_SaveDC]
push 2
push esi
mov dword [esp + 0x18], eax
call dword [sym.imp.GDI32.dll_SetGraphicsMode]
push 1
push 0
push esi
call dword [sym.imp.GDI32.dll_ModifyWorldTransform]
xor eax, eax
push eax
push eax
push eax
push esi
call dword [sym.imp.GDI32.dll_SetViewportOrgEx]
xor eax, eax
push eax
push eax
push eax
push esi
call dword [sym.imp.GDI32.dll_SetWindowOrgEx]
push 0x58
push esi
mov esi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
call esi
push 0x5a
push dword [esp + 0x1c]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x1c], xmm0
call esi
movss xmm0, dword [esp + 0x14]
mulss xmm0, dword [0x10046d40]
push 1
movd xmm2, eax
cvtdq2ps xmm2, xmm2
divss xmm0, dword [0x10046d58]
cvttss2si eax, xmm0
mov dword [esp + 0xc], eax
imul eax, dword [esp + 0x46c], 0xa
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm2
divss xmm0, dword [0x10046d58]
cvttss2si eax, xmm0
mov dword [esp + 0x10], eax
lea eax, [esp + 0xc]
push eax
push dword [esp + 0x20]
call dword [sym.imp.GDI32.dll_DPtoLP]
movd xmm0, dword [esp + 0xc]
cvtdq2pd xmm0, xmm0
push 0x400
andps xmm0, xmmword [0x10046d60]
divsd xmm0, qword [0x10046d50]
addsd xmm0, qword [0x10046d48]
cvttsd2si eax, xmm0
neg eax
mov dword [esp + 0x20], eax
xor eax, eax
cmp dword [esp + 0x470], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
setne byte [esp + 0x35]
mov dword [esp + 0x2c], eax
mov byte [esp + 0x34], al
mov dword [esp + 0x36], eax
mov word [esp + 0x3a], ax
mov eax, dword [esp + 0x474]
neg eax
sbb eax, eax
and eax, 0x2bc
mov dword [esp + 0x30], eax
lea eax, [esp + 0x5c]
push eax
push 0x1002
push 0x800
call dword [sym.imp.kernel32.dll_GetLocaleInfoA]
push 5
lea eax, [esp + 0x5c]
push 0x10046ddc
push eax
call fcn.100233a0
test eax, eax
mov ecx, 0x10046de4
lea eax, [esp + 0x44]
cmovne ecx, edi
push ecx
push 0x20
push eax
call fcn.1003ef73
add esp, 0x18
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push dword [esp + 0x10]
mov esi, eax
push dword [esp + 0x1c]
call dword [sym.imp.GDI32.dll_RestoreDC]
mov ecx, dword [esp + 0x458]
mov eax, esi
pop edi
pop esi
xor ecx, esp
call fcn.1001df6b
add esp, 0x454
ret 0x14
Function at 0x1000cf1a
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x11c
mov eax, dword [0x1006a1fc]
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.1003ef73
mov esi, eax
test esi, esi
jne 0x1000cfc9
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 0x1000cfa4
lea eax, [esp + 0x28]
push eax
call fcn.1000cf1a
mov esi, eax
test esi, esi
jne 0x1000cfc9
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 0x1000cf7f
call fcn.10003fa0
push ebx
mov ecx, edi
call fcn.1000c8c8
mov esi, eax
lea ecx, [esp + 0x14]
call fcn.10003fa0
mov ecx, dword [esp + 0x128]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1001df6b
add esp, 0x11c
ret 4
Function at 0x1000e480
Capabilities:
Create directory
Query or enumerate registry value

Disassembly:
mov eax, 0x114c
call fcn.1001e1d0
mov eax, dword [0x1006a1fc]
xor eax, esp
mov dword [esp + 0x1148], eax
push ebx
mov ebx, dword [esp + 0x1154]
lea eax, [esp + 0x14c]
push ebp
push esi
push edi
mov ebp, 0x800
xor esi, esi
push ebp
push esi
push eax
mov dword [esp + 0x1c], esi
call fcn.10020dd0
push ebp
lea eax, [esp + 0x968]
push esi
push eax
call fcn.10020dd0
push str.SOFTWAREMozillaMozilla_Firefox
lea eax, [esp + 0x174]
mov dword [esp + 0x30], ebp
push ebp
push eax
call fcn.1003ef73
mov ebp, dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
lea eax, [esp + 0x34]
add esp, 0x24
push eax
lea eax, [esp + 0x15c]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call ebp
test eax, eax
jne 0x1000e532
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x95c]
push eax
push esi
push esi
push 0x1004a76c
push dword [esp + 0x24]
call edi
push dword [esp + 0x10]
test eax, eax
je 0x1000e54d
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [esp + 0x1158]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1001df6b
add esp, 0x114c
ret
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
lea eax, [esp + 0x958]
push eax
lea eax, [esp + 0x15c]
push str.SOFTWAREMozillaMozilla_Firefox_sMain
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x15c]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call ebp
test eax, eax
jne 0x1000e532
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x800
push eax
push ebx
xor ebp, ebp
push ebp
push ebp
push 0x1004a7a8
push dword [esp + 0x24]
call edi
push dword [esp + 0x10]
test eax, eax
je 0x1000e5b7
call esi
jmp 0x1000e532
call esi
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000e5be
sub ecx, edx
cmp byte [ecx + ebx - 1], 0x5c
je 0x1000e5e2
lea edi, [ebx - 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1000e5d1
mov ax, word [0x1004a7bc]
mov word [edi], ax
lea edi, [ebx - 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1000e5e5
mov esi, str.extensions
lea eax, [esp + 0x18]
push eax
push ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
call dword [sym.imp.kernel32.dll_FindFirstFileA]
cmp eax, 0xffffffff
jne 0x1000e619
push ebp
push ebx
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x1000e62b
jmp 0x1000e532
push eax
call dword [sym.imp.kernel32.dll_FindClose]
test byte [esp + 0x18], 0x10
je 0x1000e532
xor eax, eax
inc eax
jmp 0x1000e534
Function at 0x1000e633
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
push ebp
lea ebp, [esp - 0x10c4]
mov eax, 0x1144
call fcn.1001e1d0
mov eax, dword [0x1006a1fc]
xor eax, ebp
mov dword [ebp + 0x10c0], eax
push esi
push edi
mov edi, dword [ebp + 0x10cc]
lea eax, [ebp - 0x80]
push 0x140
push 0
push eax
call fcn.10020dd0
push edi
lea eax, [ebp + 0xc0]
push str._s.
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp + 0xc0]
push eax
call dword [sym.imp.kernel32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x1000e753
lea eax, [ebp - 0x54]
push 0x1004a7ec
push eax
call fcn.1003ef73
pop ecx
pop ecx
test eax, eax
je 0x1000e71f
lea eax, [ebp - 0x54]
push 0x1004a7f0
push eax
call fcn.1003ef73
pop ecx
pop ecx
test eax, eax
je 0x1000e71f
lea eax, [ebp - 0x54]
push eax
push edi
lea eax, [ebp + 0x8c0]
push 0x1004a7f4
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [ebp - 0x80]
add esp, 0x10
and eax, 0xfffffffe
push eax
lea eax, [ebp + 0x8c0]
push eax
call dword [sym.imp.kernel32.dll_SetFileAttributesA]
test byte [ebp - 0x80], 0x10
lea eax, [ebp + 0x8c0]
push eax
jne 0x1000e719
call dword [sym.imp.kernel32.dll_DeleteFileA]
test eax, eax
jne 0x1000e71f
push eax
lea eax, [ebp + 0x8c0]
push eax
call fcn.1000b54d
pop ecx
jmp 0x1000e71e
call fcn.1000e633
pop ecx
lea eax, [ebp - 0x80]
push eax
push esi
call dword [sym.imp.kernel32.dll_FindNextFileA]
test eax, eax
jne 0x1000e69c
push esi
call dword [sym.imp.kernel32.dll_FindClose]
push edi
call dword [sym.imp.kernel32.dll_RemoveDirectoryA]
mov esi, eax
test esi, esi
jne 0x1000e74f
push eax
push edi
call fcn.1000b54d
pop ecx
pop ecx
mov eax, esi
jmp 0x1000e756
xor eax, eax
inc eax
mov ecx, dword [ebp + 0x10c0]
pop edi
xor ecx, ebp
pop esi
call fcn.1001df6b
add ebp, 0x10c4
leave
ret

Function at 0x100117ed
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, 0x8c
test esi, esi
lea edx, [esi + 0xc]
cmove edx, eax
push edx
mov eax, dword [edx]
call dword [eax + 0x18]
push 0x58
test esi, esi
lea eax, [esi - 0x28]
pop ecx
cmove eax, ecx
pop esi
cmp dword [eax], 0
je 0x1001181e
push 0
push dword [eax]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
ret 8
Function at 0x100153fb
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x974
mov eax, dword [0x1006a1fc]
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 0x10015452
push ebx
lea eax, [esp + 0x584]
push eax
push ebp
push edi
call fcn.1001a9f6
add esp, 0x10
test eax, eax
je 0x10015452
mov eax, str._s_ssvagent.exe
lea esi, [esp + 0x580]
jmp 0x10015467
test edi, edi
jne 0x100155b7
test esi, esi
je 0x100155b7
mov eax, str._s_bin_ssvagent.exe
push esi
push eax
lea eax, [esp + 0x188]
push ebx
push eax
call fcn.100082eb
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x194]
push eax
call fcn.1003ef73
add esp, 0x18
test eax, eax
jne 0x100155b7
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.1003ef73
mov edi, dword [esp + 0x99c]
add esp, 0xc
mov esi, dword [esp + 0x99c]
test edi, edi
jne 0x100154da
test esi, esi
je 0x100154f0
push str.__high
lea eax, [esp + 0x80]
push ebx
push eax
call fcn.1003ef73
add esp, 0xc
cmp dword [esp + 0x998], 0
je 0x10015510
push str.__settreatas
lea eax, [esp + 0x80]
push ebx
push eax
call fcn.1003ef73
add esp, 0xc
test esi, esi
je 0x1001552a
push str.__regdeploy
lea eax, [esp + 0x80]
push ebx
push eax
call fcn.1003ef73
add esp, 0xc
push 0x3c
pop esi
push esi
lea eax, [esp + 0x14]
push 0
push eax
call fcn.10020dd0
add esp, 0xc
mov dword [esp + 0x10], esi
lea eax, [esp + 0x7c]
mov dword [esp + 0x24], eax
test edi, edi
je 0x10015562
call fcn.1003ef73
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 0x100155b7
cmp dword [esp + 0x48], 0
je 0x100155b3
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 0x100155b9
xor eax, eax
mov ecx, dword [esp + 0x980]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1001df6b
add esp, 0x974
ret
Function at 0x1001576f
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x948
mov eax, dword [0x1006a1fc]
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.10020dd0
mov ebx, dword [esp + 0x1c]
add esp, 0xc
xor esi, esi
mov edi, 0x1006a1d8
test esi, esi
jne 0x10015895
push ebp
mov ebx, 0x400
mov byte [esp + 0x558], 0
lea eax, [esp + 0x558]
push ebx
push eax
call fcn.1003ef73
push 0x1004fa54
lea eax, [esp + 0x564]
push ebx
push eax
call fcn.1003ef73
push dword [edi]
lea eax, [esp + 0x570]
push ebx
push eax
call fcn.1003ef73
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 0x10015886
push ebp
lea eax, [esp + 0x158]
mov byte [esp + 0x158], 0
push 0x400
push eax
call fcn.1003ef73
push 0x1004fa58
lea eax, [esp + 0x164]
push 0x400
push eax
call fcn.1003ef73
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x170]
push 0x400
push eax
call fcn.1003ef73
lea eax, [esp + 0x178]
push eax
call fcn.1001ac2e
add esp, 0x28
test eax, eax
je 0x10015883
lea eax, [esp + 0x14]
push eax
push ebx
call dword [sym.imp.kernel32.dll_FindNextFileA]
test eax, eax
jne 0x10015814
jmp 0x10015886
xor esi, esi
inc esi
add edi, 4
cmp edi, 0x1006a1e4
jl 0x100157b0
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.1001df6b
add esp, 0x948
ret
Function at 0x10016a1a
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x7c0]
sub esp, 0x840
mov eax, dword [0x1006a1fc]
xor eax, ebp
mov dword [ebp + 0x7bc], eax
push ebx
push esi
push edi
call fcn.10016c2f
xor ebx, ebx
lea ecx, [ebp - 0x80]
mov esi, 0x20019
mov dword [ebp - 0x80], ebx
push esi
push 0x1004f984
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.1003ef73
test eax, eax
jne 0x10016bf9
push esi
push 0x1004f990
push dword [ebp - 0x80]
lea ecx, [ebp - 0x74]
call fcn.1003ef73
test eax, eax
jne 0x10016bf9
push esi
push 0x1004f99c
push dword [ebp - 0x74]
lea ecx, [ebp - 0x68]
call fcn.1003ef73
test eax, eax
jne 0x10016bf9
mov esi, 0x400
lea eax, [ebp + 0x3bc]
push esi
push ebx
push eax
mov edi, ebx
call fcn.10020dd0
push esi
lea eax, [ebp - 0x44]
push ebx
push eax
call fcn.10020dd0
add esp, 0x18
lea eax, [ebp + 0x3bc]
push esi
push eax
push ebx
jmp 0x10016be8
lea ecx, [ebp + 0x3bc]
mov edx, ebx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10016ae8
sub ecx, esi
lea eax, [ebp - 0x44]
mov bl, byte [ebp + edx + 0x3bc]
cmp bl, 0x2e
je 0x10016b03
mov byte [eax], bl
inc eax
inc edx
cmp edx, ecx
jbe 0x10016af4
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 0x10016b1e
sub ecx, edx
lea esi, [ecx + 1]
cmp esi, 0x3fffffff
jle 0x10016b36
mov eax, ebx
jmp 0x10016b4d
lea eax, [esi + esi]
call fcn.1001e180
mov eax, esp
lea ecx, [ebp - 0x44]
push 3
push esi
push ecx
push eax
call fcn.1003ef73
push 0x50
mov dword [ebp - 0x58], eax
pop eax
mov dword [ebp - 0x54], str.CLSID_STRING
call fcn.1001e180
mov eax, esp
push 3
push 0x27
push 0x10051480
push eax
call fcn.1003ef73
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
call fcn.1003ef73
test eax, eax
je 0x10016b94
lea eax, [ebp - 0x5c]
push eax
push 1
push 0x67
push 0x1006c060
call fcn.1000dc83
call fcn.1003ef73
test eax, eax
je 0x10016ba5
cmp dword [ebp + 0x7cc], ebx
je 0x10016bb7
lea eax, [ebp - 0x5c]
push eax
push 1
push 0x68
push 0x1006c060
call fcn.1000dc83
call dword [sym.imp.ole32.dll_CoUninitialize]
mov esi, 0x400
lea eax, [ebp + 0x3bc]
push esi
push ebx
push eax
call fcn.10020dd0
push esi
lea eax, [ebp - 0x44]
push ebx
push eax
call fcn.10020dd0
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 0x10016add
lea ecx, [ebp - 0x68]
call fcn.10003fa0
lea ecx, [ebp - 0x74]
call fcn.10003fa0
lea ecx, [ebp - 0x80]
call fcn.10003fa0
lea esp, [ebp - 0x8c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x7bc]
xor ecx, ebp
call fcn.1001df6b
add ebp, 0x7c0
leave
ret
Function at 0x10016c2f
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x41c
mov eax, dword [0x1006a1fc]
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.10020dd0
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 0x1004f964
push SysReAllocStringLen
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
call fcn.1003ef73
test eax, eax
jne 0x10016d05
push 0x2001f
push str.Classes
push dword [esp + 0x20]
lea ecx, [esp + 0x18]
call fcn.1003ef73
test eax, eax
jne 0x10016d05
push ebp
lea eax, [esp + 0x28]
push eax
push ebx
jmp 0x10016cf7
push 0xa
lea eax, [esp + 0x28]
push str.JavaPlugin
push eax
call fcn.100233a0
add esp, 0xc
test eax, eax
jne 0x10016ce0
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x10]
call fcn.1000cf1a
test eax, eax
je 0x10016ce1
inc esi
push ebp
lea eax, [esp + 0x28]
push ebx
push eax
call fcn.10020dd0
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 0x10016cb6
lea ecx, [esp + 0xc]
call fcn.10003fa0
lea ecx, [esp + 0x18]
call fcn.10003fa0
mov ecx, dword [esp + 0x424]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1001df6b
add esp, 0x41c
ret
Function at 0x10016d2f
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push 0x960
push 0x10066408
call fcn.1001e120
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.10020dd0
add esp, 0xc
and dword [ebp - 4], edi
xor ebx, ebx
mov dword [ebp - 0x96c], ebx
cmp ebx, 3
jge 0x10016ee4
mov byte [ebp - 0x81c], 0
push esi
mov esi, 0x400
push esi
lea eax, [ebp - 0x81c]
push eax
call fcn.1003ef73
push 0x1004fa5c
push esi
lea eax, [ebp - 0x81c]
push eax
call fcn.1003ef73
push dword [ebx*4 + 0x1006a1d8]
push esi
lea eax, [ebp - 0x81c]
push eax
call fcn.1003ef73
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 0x10016eb0
mov byte [ebp - 0x41c], 0
push dword [ebp - 0x964]
push 0x400
lea eax, [ebp - 0x41c]
push eax
call fcn.1003ef73
push 0x1004fa60
push 0x400
lea eax, [ebp - 0x41c]
push eax
call fcn.1003ef73
lea eax, [ebp - 0x930]
push eax
push 0x400
lea eax, [ebp - 0x41c]
push eax
call fcn.1003ef73
lea eax, [ebp - 0x41c]
push eax
call fcn.1001ac2e
add esp, 0x28
test eax, eax
jne 0x10016e9a
push 0x404
call fcn.1003ef73
pop ecx
mov dword [ebp - 0x968], eax
test eax, eax
jne 0x10016e6e
push 0xfffffffffffffffe
lea eax, [ebp - 0x10]
push eax
push 0x1006a1fc
call fcn.100212d0
add esp, 0xc
xor eax, eax
jmp 0x10016ef3
mov byte [eax], 0
lea ecx, [ebp - 0x41c]
push ecx
push 0x400
push eax
call fcn.1003ef73
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 0x10016de0
test edi, edi
je 0x10016ed8
push edi
call dword [sym.imp.kernel32.dll_DeleteFileA]
mov esi, dword [edi + 0x400]
push 0x404
push edi
call fcn.1003ef73
pop ecx
pop ecx
mov edi, esi
mov dword [ebp - 0x960], edi
jmp 0x10016eb0
inc ebx
mov esi, dword [ebp - 0x964]
jmp 0x10016d69
mov dword [ebp - 4], 0xfffffffe
call fcn.10016f09
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