joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10047009
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push dword [0x1014f478]
lea ecx, [ebp - 4]
call fcn.10046fb3
xor esi, esi
push esi
push esi
push 0x2001f
push esi
push esi
push str.SoftwareAppDataLowSoftwareFreecauseToolbars
push SysReAllocString
lea ecx, [ebp - 0xc]
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
call fcn.1000379b
push str.ActiveToolbar
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
lea ecx, [ebp - 0xc]
call fcn.10003780
cmp dword [ebp - 4], esi
pop esi
je 0x1004706c
cmp dword [ebp - 4], 0xffffffff
je 0x1004706c
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
leave
ret

Function at 0x10047565
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
lea eax, [ebp - 0x48]
push eax
push 0
push dword [ebp + 0xc]
mov bl, 1
call esi
test eax, eax
je 0x100475b5
lea eax, [ebp - 0x24]
push eax
push 0
push dword [ebp + 8]
call esi
test eax, eax
je 0x100475b5
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
mov esi, dword [ebp - 0x34]
mov edx, dword [ebp - 0x30]
mov ebx, ecx
or ebx, eax
je 0x100475b3
cmp eax, edx
ja 0x100475b3
jb 0x100475af
cmp ecx, esi
ja 0x100475b3
xor bl, bl
jmp 0x100475c3
mov bl, 1
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.10003f60
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.10003f60
pop esi
mov al, bl
pop ebx
leave
ret

Function at 0x100475df
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x100f03ea
call fcn.100c908c
sub esp, 0x810
push ebx
push esi
xor esi, esi
push edi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
push 0x2001f
push str.SoftwareMicrosoftInternet_ExplorerToolbarWebBrowser
push SysReAllocString
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], esi
call fcn.100037f5
xor eax, eax
mov ebx, 0x7fe
push ebx
mov word [ebp - 0x81c], ax
lea eax, [ebp - 0x81a]
push esi
push eax
mov dword [ebp - 0x10], esi
call fcn.100c7c60
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
add esp, 0xc
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x81c]
push eax
push esi
jmp 0x100476af
lea eax, [ebp - 0x81c]
push eax
mov ecx, 0x1014f498
call fcn.10004959
test eax, eax
je 0x10047680
cmp word [ebp - 0x81c], 0x7b
jne 0x10047680
push esi
lea eax, [ebp - 0x81c]
push eax
push dword [ebp + 8]
call fcn.1003800b
add esp, 0xc
inc dword [ebp - 0x10]
xor eax, eax
push ebx
mov word [ebp - 0x81c], ax
lea eax, [ebp - 0x81a]
push esi
push eax
call fcn.100c7c60
add esp, 0xc
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x81c]
push eax
push dword [ebp - 0x10]
push dword [ebp - 0x1c]
mov dword [ebp - 0x14], 0x400
call edi
test eax, eax
je 0x1004764e
lea ecx, [ebp - 0x1c]
call fcn.10003780
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x10048d8c
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x100e6308
call fcn.100c908c
sub esp, 0x2c
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
je 0x10048e86
push dword [ebp + 0xc]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10048e86
call fcn.100b8167
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x10]
push ecx
push dword [ebp + 0xc]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov edx, dword [eax]
mov ecx, eax
call dword [edx]
test eax, eax
je 0x10048e86
cmp byte [ebp + 0x10], bl
je 0x10048dfd
push dword [ebp - 0x14]
push dword [ebp - 0x10]
call fcn.100965af
pop ecx
pop ecx
test al, al
je 0x10048dfd
push dword [ebp - 0x14]
push dword [ebp - 0x10]
call fcn.1009657e
pop ecx
pop ecx
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x18], esp
push str.utf_8
call fcn.1000138b
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x1c], esp
push dword [ebp - 0x10]
mov dword [ebp - 4], ebx
call fcn.1000138b
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.1006598e
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x38]
push ecx
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.10065d4b
cmp dword [eax + 0x18], 8
mov byte [ebp - 4], 4
jb 0x10048e50
mov eax, dword [eax + 4]
jmp 0x10048e53
add eax, 4
mov ecx, dword [ebp + 8]
push eax
call fcn.10006a3d
push ebx
push 1
lea ecx, [ebp - 0x38]
call fcn.100022b8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.10065997
call fcn.100b9af0
push dword [ebp - 0x10]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 4]
mov al, 1
jmp 0x10048e88
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x1004910f
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x100e63cf
call fcn.100c908c
sub esp, 0x30
and dword [ebp - 4], 0
push ebx
push esi
push edi
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], esp
push eax
call fcn.10060b08
pop ecx
push str.Helper.dll
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 1
call fcn.10006fb9
add esp, 0xc
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.1000688b
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
mov byte [ebp - 4], 1
call fcn.10003f60
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100491ce
mov edi, dword [ebp - 0x14]
test edi, edi
je 0x10049188
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x1004918c
xor eax, eax
jmp 0x100491a5
lea esi, [eax + eax]
mov eax, esi
call fcn.100c91f0
mov dword [ebp - 0x10], esp
mov eax, esp
push 3
push esi
push edi
push eax
call fcn.10003212
push eax
lea eax, [ebp - 0x24]
push str.Helper_not_found__path_s
push eax
call fcn.10001168
add esp, 0xc
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.10001340
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call fcn.100c7fb4
push dword [ebp - 0x14]
call fcn.1001f65e
mov esi, eax
push str.IsUnicode
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
jne 0x10049218
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x24]
push str.Helper_entry_point_not_found
push eax
call fcn.10001168
pop ecx
pop ecx
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.10001340
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call fcn.100c7fb4
call edi
test al, al
jne 0x1004924c
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x24]
push str.Helper_dll_encoding_does_not_match_core
push eax
call fcn.10001168
pop ecx
pop ecx
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.10001340
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call fcn.100c7fb4
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.10003f60
mov eax, esi
jmp 0x100492f1
lea esp, [ebp - 0x48]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10049303
Capabilities:
Create directory

Disassembly:
mov eax, 0x100e63e9
call fcn.100c908c
sub esp, 0x10
push ebx
push esi
push edi
xor esi, esi
inc esi
push esi
push 0x7f02
xor edi, edi
push esi
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], edi
call fcn.10047467
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov byte [ebp - 4], 1
cmp eax, edi
jne 0x1004935c
lea ecx, [ebp - 0x1c]
call fcn.10046f95
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.10003f60
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
dec eax
push eax
lea ecx, [ebp + 8]
call fcn.1000debc
cmp ax, 0x5c
je 0x10049379
push 0x100f6c64
lea ecx, [ebp + 8]
call fcn.1001195c
mov eax, dword [ebp + 8]
xor esi, esi
cmp dword [eax - 0xc], edi
jle 0x100493cb
push esi
lea ecx, [ebp + 8]
call fcn.1000debc
cmp ax, 0x5c
jne 0x100493c2
lea eax, [esi + 1]
push eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp + 8]
call fcn.10028e9a
mov eax, dword [eax]
push edi
push eax
call fcn.100cc3c7
pop ecx
pop ecx
mov ecx, dword [ebp - 0x10]
cmp eax, 0xffffffff
setne bl
add ecx, 0xfffffff0
call fcn.10003f60
test bl, bl
je 0x100493db
mov eax, dword [ebp + 8]
inc esi
cmp esi, dword [eax - 0xc]
jl 0x10049383
mov eax, dword [ebp + 8]
cmp esi, dword [eax - 0xc]
jl 0x100493ec
xor esi, esi
inc esi
jmp 0x10049338
call fcn.100cc2f5
cmp dword [eax], 2
je 0x100493cb
xor esi, esi
jmp 0x10049338
push 0xc
pop ebx
push ebx
call fcn.100c839d
mov edi, eax
and dword [edi + 4], 0
pop ecx
mov dword [edi], ebx
mov dword [edi + 8], 1
push esi
lea ecx, [ebp + 8]
call fcn.1000debc
cmp ax, 0x5c
jne 0x10049445
lea eax, [esi + 1]
push eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp + 8]
call fcn.10028e9a
mov eax, dword [eax]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 0x10]
mov ebx, eax
neg ebx
sbb bl, bl
add ecx, 0xfffffff0
inc bl
call fcn.10003f60
test bl, bl
jne 0x1004945a
mov eax, dword [ebp + 8]
inc esi
cmp esi, dword [eax - 0xc]
jl 0x10049405
push edi
call fcn.100c77f9
pop ecx
jmp 0x100493d3
push edi
call fcn.100c77f9
pop ecx
jmp 0x100493e5
Function at 0x1004b1b3
Capabilities:
Delete directory
Delete file

Disassembly:
mov eax, 0x100e6a2e
call fcn.100c908c
sub esp, 0x470
push esi
push edi
xor edi, edi
push 0x5c
pop eax
mov dword [ebp - 4], edi
mov word [ebp - 0x24], ax
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
push str..
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.10004905
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
call fcn.100479f9
mov eax, dword [eax]
cmp eax, edi
je 0x1004b206
mov eax, dword [eax]
jmp 0x1004b208
xor eax, eax
push eax
lea ecx, [ebp - 0x47c]
call fcn.100473b0
mov ecx, dword [ebp - 0x10]
mov esi, eax
cmp ecx, edi
je 0x1004b225
call fcn.100050b9
mov dword [ebp - 0x10], edi
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 1
cmp ecx, edi
je 0x1004b235
call fcn.100050b9
cmp esi, edi
je 0x1004b2d9
lea ecx, [ebp - 0x47c]
call fcn.10047373
test eax, eax
jne 0x1004b2c6
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x47c]
call fcn.1004b114
push dword [eax]
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.10004905
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov byte [ebp - 4], 5
call fcn.10003f60
push 0x10
lea ecx, [ebp - 0x47c]
call fcn.10046f0d
mov esi, dword [ebp - 0x10]
test eax, eax
je 0x1004b2a3
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.100182ef
call fcn.1004b1b3
pop ecx
jmp 0x1004b2b4
cmp esi, edi
je 0x1004b2ab
mov eax, dword [esi]
jmp 0x1004b2ad
xor eax, eax
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 1
cmp esi, edi
je 0x1004b2c6
mov ecx, esi
call fcn.100050b9
mov dword [ebp - 0x10], edi
lea ecx, [ebp - 0x47c]
call fcn.10046f29
test eax, eax
jne 0x1004b23d
lea ecx, [ebp - 0x47c]
call fcn.10046f50
mov eax, dword [ebp + 8]
cmp eax, edi
je 0x1004b2ef
mov eax, dword [eax]
jmp 0x1004b2f1
xor eax, eax
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea ecx, [ebp - 0x47c]
call fcn.10046f50
mov ecx, dword [ebp + 8]
cmp ecx, edi
je 0x1004b30f
call fcn.100050b9
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
leave
ret

Function at 0x1004c452
Capabilities:
Set registry value

Disassembly:
mov eax, dword [esp + 4]
mov eax, dword [eax]
mov edx, dword [eax - 0xc]
add edx, edx
push edx
push eax
push 1
push 0
push eax
push dword [ecx + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
neg eax
sbb eax, eax
inc eax
ret 4
Function at 0x1004c968
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x100e6c20
call fcn.100c908c
push ebx
push esi
push edi
mov esi, ecx
lea eax, [ebp + 8]
lea edi, [esi + 4]
xor ebx, ebx
push eax
mov ecx, edi
mov dword [ebp - 4], ebx
call fcn.1000688b
mov al, byte [ebp + 0xc]
mov byte [esi + 0x1c], al
mov eax, dword [edi]
cmp dword [eax - 0xc], ebx
je 0x1004ca3a
mov eax, dword [esi]
mov eax, dword [eax + 0x84]
cmp eax, ebx
je 0x1004c9ad
lea ebx, [eax + 0xb8]
push 0
push 1
push ecx
mov dword [ebp + 0xc], esp
mov ecx, esp
push edi
call fcn.1000548f
lea eax, [ebp + 0xc]
push ebx
push eax
call fcn.1004ad5e
add esp, 0x14
lea edi, [esi + 8]
push dword [edi]
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.10004959
test eax, eax
je 0x1004ca1c
lea eax, [ebp + 0xc]
push eax
mov ecx, edi
call fcn.1000688b
mov ecx, esi
call fcn.1004c8aa
mov bl, 1
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.10003f60
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.10003f60
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov al, bl
mov dword fs:[0], ecx
pop ebx
leave
ret 8
cmp dword [esi + 0x10], 0
jne 0x1004ca36
mov esi, dword [esi + 0xc]
cmp dword [esi - 0xc], 0
je 0x1004ca36
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1004c9f1
xor bl, bl
jmp 0x1004c9f3
xor bl, bl
jmp 0x1004c9fe

Function at 0x1004e68f
Capabilities:
Capture webcam image

Disassembly:
mov eax, 0x100e6e40
call fcn.100c908c
sub esp, 0x24
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
xor ebx, ebx
mov esi, ecx
mov ecx, dword [esi + 0x84]
push ebx
push esi
mov dword [ebp - 4], ebx
call fcn.1007943b
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0xc]
push ebx
push eax
push 0x419
push dword [ebp - 0x14]
call edi
dec eax
js 0x1004e71a
lea ecx, [ebp - 0x24]
push ecx
push eax
push 0x41d
push dword [ebp - 0x14]
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
call edi
mov edi, dword [sym.imp.USER32.dll_ScreenToClient]
lea eax, [ebp - 0x24]
push eax
push dword [esi + 0xe0]
call edi
lea eax, [ebp - 0x1c]
push eax
push dword [esi + 0xe0]
call edi
lea eax, [ebp - 0x24]
push eax
push dword [esi + 0xe0]
call dword [sym.imp.USER32.dll_ValidateRect]
mov eax, dword [ebp + 0x14]
mov dword [eax], ebx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
leave
ret 0x10
Function at 0x100516d5
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, 0x100e7286
call fcn.100c908c
sub esp, 0x20
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x10], esp
push edi
push dword [ebp + 8]
xor ebx, ebx
mov esi, ecx
mov dword [ebp - 0x14], 1
mov dword [ebp - 4], ebx
call fcn.1002b117
cmp dword [edi + 4], 0x100
mov dword [ebp - 0x14], eax
jne 0x100517b6
mov edi, dword [edi + 8]
cmp edi, 0xd
je 0x1005175b
cmp edi, 0x20
jbe 0x100517b6
cmp edi, 0x22
jbe 0x10051757
cmp edi, 0x26
je 0x10051757
cmp edi, 0x28
je 0x10051757
cmp edi, 0x41
jne 0x100517b6
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x100517b6
push 0xffffffffffffffff
push ebx
lea ecx, [esi + 0xe0]
call fcn.1004c28a
xor eax, eax
jmp 0x100517b9
cmp byte [esi + 0xd9], bl
je 0x10051749
cmp dword [esi + 0x208], ebx
je 0x10051749
push dword [ebp + 8]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x68]
jmp 0x10051749
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8

Function at 0x100518e8
Capabilities:
Get graphical window text
Log keystrokes via polling

Disassembly:
mov eax, 0x100e72ba
call fcn.100c908c
sub esp, 0x22c
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x10], esp
push edi
push dword [ebp + 8]
xor ebx, ebx
mov esi, ecx
mov dword [ebp - 4], ebx
call fcn.1002924a
cmp dword [edi + 4], 0x100
mov dword [ebp - 0x14], eax
jne 0x100519ce
cmp dword [edi + 8], 0xd
je 0x10051942
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
lea edx, [ebp + 0xc]
push edx
push str.UpdateAutoWords
mov dword [ebp + 0xc], 1
call dword [eax + 0xb8]
mov edi, dword [edi + 8]
cmp edi, 0xd
je 0x10051977
cmp edi, 0x41
jne 0x100519ce
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x100519ce
push ebx
push 0xffffffffffffffff
push ebx
lea ecx, [esi + 0xe0]
call fcn.1002d148
xor eax, eax
jmp 0x10051a17
push 0x104
lea eax, [ebp - 0x238]
push eax
lea edi, [esi + 0xe0]
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [esi + 0x98]
cmp dword [eax - 0xc], ebx
je 0x100519c3
lea eax, [ebp - 0x238]
push eax
call fcn.100c8143
pop ecx
test eax, eax
jne 0x100519c3
push 0x30
push str.Warning
push dword [esi + 0x98]
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x100519ce
push ebx
push 0xffffffffffffffff
push ebx
mov ecx, edi
call fcn.1002d148
mov eax, dword [ebp - 0x14]
jmp 0x10051a17
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8
Function at 0x10055588
Capabilities:
Hash data with md5

Disassembly:
push esi
mov esi, ecx
push 0x40
lea eax, [esi + 4]
push 0
push eax
mov dword [esi], vtable.CMD5Hash.0
call fcn.100c7c60
and dword [esi + 0x48], 0
and dword [esi + 0x44], 0
add esp, 0xc
mov dword [esi + 0x4c], 0x67452301
mov dword [esi + 0x50], 0xefcdab89
mov dword [esi + 0x54], 0x98badcfe
mov dword [esi + 0x58], 0x10325476
mov eax, esi
pop esi
ret

Function at 0x1005f498
Capabilities:
Link many functions at runtime

Disassembly:
mov eax, 0x100e84f8
call fcn.100c908c
sub esp, 0xc
push esi
push edi
lea eax, [ebp - 0x10]
xor esi, esi
push eax
mov dword [ebp - 4], esi
call fcn.10060b08
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 1
call fcn.10006f5b
add esp, 0x10
push dword [eax]
call fcn.1001f65e
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov edi, eax
call fcn.10003f60
cmp edi, esi
je 0x1005f5e6
push 0x248
call fcn.100c839d
pop ecx
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 2
cmp eax, esi
je 0x1005f508
mov ecx, eax
call fcn.1005f45e
mov esi, eax
push ebx
push str.IsUnicode
mov dword [esi], edi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov byte [ebp - 4], 1
call edi
push str.PlugInit
push dword [esi]
mov dword [ebp - 0x14], eax
call edi
push str.PlugCreate
push dword [esi]
mov dword [ebp - 0x18], eax
call edi
push str.PlugInvoke
push dword [esi]
mov dword [esi + 0x214], eax
call edi
push str.PlugTerm
push dword [esi]
mov dword [esi + 0x210], eax
call edi
push str.determineCommands
push dword [esi]
mov dword [esi + 0x20c], eax
call edi
push 0x100ff4fc
push dword [esi]
mov ebx, eax
call edi
xor ecx, ecx
cmp ebx, ecx
pop ebx
jne 0x1005f5d0
cmp eax, ecx
jne 0x1005f5d0
cmp dword [ebp - 0x14], ecx
je 0x1005f5d0
mov edi, dword [ebp - 0x18]
cmp edi, ecx
je 0x1005f5d0
cmp dword [esi + 0x214], ecx
je 0x1005f5d0
cmp dword [esi + 0x210], ecx
je 0x1005f5d0
cmp dword [esi + 0x20c], ecx
je 0x1005f5d0
call dword [ebp - 0x14]
cmp al, 1
jne 0x1005f5d0
push dword [ebp + 8]
lea eax, [esi + 4]
push eax
call fcn.100cb20b
mov eax, dword [ebp + 0xc]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov dword [eax], edi
call fcn.10003f60
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.10003f60
mov eax, esi
jmp 0x1005f5fe
push dword [esi]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, esi
call fcn.1005f0a9
push esi
call fcn.100c77f9
pop ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.10003f60
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.10003f60
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 8
Function at 0x100604c6
Capabilities:
Delete directory
Move file

Disassembly:
mov eax, 0x100e4875
call fcn.100c908c
push ecx
push ecx
push esi
push edi
and dword [ebp - 4], 0
push ecx
lea eax, [ebp + 8]
mov dword [ebp - 0x10], esp
mov ecx, esp
push eax
call fcn.1000548f
call fcn.10049303
pop ecx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push dword [ebp + 8]
mov esi, dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
call esi
test eax, eax
jne 0x10060561
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x10]
call fcn.1000548f
push str.FCTB
push str.FCTB0000
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.10006657
mov edi, dword [ebp - 0x10]
push edi
call esi
test eax, eax
je 0x10060544
push dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
push dword [ebp + 8]
call esi
test eax, eax
jne 0x10060559
push ecx
lea eax, [ebp + 8]
mov dword [ebp - 0x14], esp
mov ecx, esp
push eax
call fcn.1000548f
call fcn.10049303
pop ecx
lea ecx, [edi - 0x10]
call fcn.10003f60
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.10003f60
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
leave
ret

Function at 0x10060e35
Capabilities:
Copy file
Get session user name

Disassembly:
mov eax, 0x100f0492
call fcn.100c908c
sub esp, 0x22c
push ebx
mov ebx, dword [ebp + 8]
push esi
push ebx
lea ecx, [ebp - 0x10]
call fcn.10009e15
and dword [ebp - 4], 0
xor eax, eax
push 0x200
push eax
mov word [ebp - 0x238], ax
lea eax, [ebp - 0x236]
push eax
call fcn.100c7c60
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x238]
push eax
mov dword [ebp - 0x14], 0x100
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
push 0x100ff89c
push ebx
call fcn.100cb1dd
lea eax, [ebp - 0x238]
push eax
push ebx
call fcn.100cb1dd
mov esi, dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
add esp, 0x10
push dword [ebp - 0x10]
call esi
test eax, eax
je 0x10060f1a
push ebx
call esi
test eax, eax
jne 0x10060f1a
mov eax, dword [ebp - 0x10]
mov esi, dword [eax - 0xc]
push edi
lea eax, [esi + 2]
push eax
lea ecx, [ebp - 0x10]
call fcn.100054ad
mov edx, eax
xor ecx, ecx
lea eax, [edx + esi*2]
mov word [eax], cx
mov word [eax + 2], cx
push 6
xor eax, eax
pop ecx
lea edi, [ebp - 0x30]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
and dword [ebp - 0x34], 0
mov eax, 0xc14
mov word [ebp - 0x24], ax
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x30], 2
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], ebx
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.1000dbfd
pop edi
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.10003f60
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x100616bb
Capabilities:
Delete registry value

Disassembly:
mov eax, 0x100e8756
call fcn.100c908c
sub esp, 0x28
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
xor edi, edi
mov dword [ebp - 4], edi
mov esi, 0x1014f558
push esi
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push ecx
lea eax, [ebp + 0xc]
mov dword [ebp - 0x18], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 3
call fcn.1000548f
lea eax, [ebp - 0x14]
push eax
call fcn.100608bc
pop ecx
pop ecx
push 0x101519f8
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], edi
call fcn.1007170f
push 0x2001f
push dword [ebp - 0x14]
lea ecx, [ebp - 0x24]
push SysReAllocString
call fcn.100037f5
test eax, eax
jne 0x10061738
push dword [ebp + 8]
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.10003f60
lea ecx, [ebp - 0x24]
call fcn.10003780
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.10003f60
jmp 0x100617ee
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.10003f60
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.10003f60
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret