joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10017df6
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x1004e060]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
push esi
push edi
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x21c], eax
cmp ecx, ebx
je 0x10017eb8
cmp eax, ebx
je 0x10017eb8
cmp dword [ebp + 0xc], ebx
je 0x10017eb8
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov dword [ebp - 0x220], eax
xor eax, eax
inc eax
mov ecx, ebx
shl eax, cl
mov ecx, dword [ebp - 0x220]
test ecx, eax
je 0x10017eb2
push 0x3a
lea eax, [ebx + 0x61]
mov word [ebp - 0xc], ax
pop eax
mov word [ebp - 0xa], ax
xor eax, eax
push 0x206
lea edi, [ebp - 8]
push eax
stosd dword es:[edi], eax
mov word [ebp - 0x214], ax
lea eax, [ebp - 0x212]
push eax
call fcn.1002aad0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
jbe 0x10017eb2
push dword [ebp - 0x218]
lea esi, [ebp - 0x214]
call fcn.10018a9f
test eax, eax
jne 0x10017ecb
inc ebx
cmp ebx, 0x1a
jl 0x10017e42
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100283ef
leave
ret 8
push dword [ebp - 0x21c]
mov ecx, dword [ebp - 0x218]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x214]
push eax
mov eax, dword [ebp + 0xc]
call fcn.100189a1
xor eax, eax
inc eax
jmp 0x10017eba

Function at 0x10017ffb
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x434
mov eax, dword [0x1004e060]
xor eax, esp
mov dword [esp + 0x430], eax
mov eax, fcn.100186a2
push esi
test eax, eax
je 0x10018088
push 0x424
lea eax, [esp + 0x10]
push 0
push eax
call fcn.1002aad0
add esp, 0xc
push dword [ebp + 8]
mov dword [esp + 0xc], 0x428
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [esp + 4], esi
test esi, esi
je 0x1001807f
cmp esi, 0xffffffff
je 0x1001807f
lea eax, [esp + 8]
push eax
push esi
call sub.KERNEL32.dll_Module32FirstW
jmp 0x1001807b
push edi
lea eax, [esp + 0xc]
push eax
call fcn.100186a2
test eax, eax
je 0x1001807f
lea eax, [esp + 8]
push eax
push esi
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x10018061
lea ecx, [esp + 4]
call fcn.100089e0
mov ecx, dword [esp + 0x434]
pop esi
xor ecx, esp
call fcn.100283ef
mov esp, ebp
pop ebp
ret 4
Function at 0x1001809d
Capabilities:
Enumerate processes

Disassembly:
push ebp
sub esp, 0x22c
lea ebp, [esp - 4]
mov eax, dword [0x1004e060]
xor eax, ebp
mov dword [ebp + 0x22c], eax
push 8
mov eax, 0x1003d21f
call fcn.10029761
mov eax, dword [ebp + 0x238]
mov dword [ebp - 0x14], eax
test edi, edi
je 0x10018132
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [ebp - 0x10], esi
and dword [ebp - 4], 0
test esi, esi
je 0x1001812a
cmp esi, 0xffffffff
je 0x1001812a
push 0x228
lea eax, [ebp + 4]
push 0
push eax
mov dword [ebp], 0x22c
call fcn.1002aad0
add esp, 0xc
lea eax, [ebp]
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
jmp 0x10018126
push dword [ebp - 0x14]
lea eax, [ebp]
push eax
call edi
test eax, eax
je 0x1001812a
lea eax, [ebp]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x1001810f
lea ecx, [ebp - 0x10]
call fcn.100089e0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x22c]
xor ecx, ebp
call fcn.100283ef
add ebp, 0x230
leave
ret 4

Function at 0x10018157
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push esi
xor esi, esi
push edi
cmp dword [ebp + 8], esi
jne 0x1001816a
xor eax, eax
jmp 0x100181c3
push 0x40
lea eax, [ebp - 0x58]
push esi
push eax
mov dword [ebp - 0x5c], 0x44
call fcn.1002aad0
mov dword [ebp - 0x14], esi
xor eax, eax
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, dword [ebp + 8]
add esp, 0xc
call fcn.1001793f
mov edi, eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x5c]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push edi
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x100181bb
push dword [ebp - 0x10]
mov esi, dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.1001796c
mov eax, esi
pop edi
pop esi
leave
ret 4
Function at 0x1001829e
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
push ebx
push esi
xor esi, esi
push edi
cmp dword [ebp + 8], esi
jne 0x100182b7
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
call fcn.100181c9
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
mov edi, 0x100183b3
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
call fcn.1001809d
cmp dword [ebp - 0x14], esi
je 0x100182ae
push dword [ebp - 0x18]
push esi
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x10], eax
cmp eax, esi
je 0x100182f3
cmp eax, 0xffffffff
jne 0x100182ff
lea ecx, [ebp - 0x10]
call fcn.100089e0
mov eax, esi
jmp 0x100182b0
lea ecx, [ebp - 8]
push ecx
push 0xf01ff
push eax
mov dword [ebp - 8], esi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x100182f3
push esi
push dword [ebp - 8]
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0xc], esi
call dword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x100183a9
mov edi, dword [ebp + 8]
call fcn.1001793f
push 0x40
mov dword [ebp + 8], eax
lea eax, [ebp - 0x70]
push esi
push eax
mov dword [ebp - 0x74], 0x44
call fcn.1002aad0
add esp, 0xc
push 5
pop eax
mov word [ebp - 0x44], ax
xor eax, eax
mov dword [ebp - 0x2c], esi
lea edi, [ebp - 0x28]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x74]
push eax
push esi
push dword [ebp - 0xc]
mov dword [ebp - 0x48], 1
push 0x420
push esi
push esi
push esi
push dword [ebp + 8]
push esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
je 0x10018398
push dword [ebp - 0x28]
mov esi, dword [ebp - 0x2c]
call ebx
push dword [ebp + 8]
call fcn.1001796c
push dword [ebp - 0xc]
call dword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
push dword [ebp - 8]
call ebx
jmp 0x100182f3

Function at 0x10018405
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x1004e060]
xor eax, ebp
mov dword [ebp - 4], eax
test edi, edi
jne 0x1001842c
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100283ef
leave
ret 8
push esi
push dword [ebp + 8]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov dword [ebp - 0x210], esi
test esi, esi
je 0x1001844e
cmp esi, 0xffffffff
jne 0x10018460
xor esi, esi
lea ecx, [ebp - 0x210]
call fcn.100089e0
mov eax, esi
pop esi
jmp 0x1001841e
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.1002aad0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x20c]
push eax
push esi
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
jbe 0x1001844e
push dword [ebp + 0xc]
lea ecx, [ebp - 0x20c]
push edi
call fcn.10017df6
xor esi, esi
inc esi
jmp 0x10018450
Function at 0x100184a8
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp + 8], eax
jne 0x100184bb
xor eax, eax
inc eax
jmp 0x100184ed
push esi
push dword [ebp + 8]
xor esi, esi
push esi
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp + 8], eax
cmp eax, esi
je 0x100184e2
cmp eax, 0xffffffff
je 0x100184e2
push dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov esi, eax
lea ecx, [ebp + 8]
call fcn.100089e0
mov eax, esi
pop esi
pop ebp
ret 8

Function at 0x1001878b
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
je 0x10018830
cmp dword [ebp + 0xc], ebx
je 0x10018830
push esi
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
cmp esi, ebx
je 0x1001882f
lea eax, [esi + esi]
push edi
push eax
call fcn.10028ca7
mov edi, eax
pop ecx
cmp edi, ebx
je 0x1001882e
push esi
push ebx
push edi
call fcn.1002aad0
add esp, 0xc
push edi
push esi
push ebx
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x10018827
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push 0x10045520
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x10018827
mov eax, dword [ebp - 4]
movzx ecx, word [eax + 0xc]
push ecx
movzx ecx, word [eax + 0xe]
push ecx
movzx ecx, word [eax + 8]
movzx eax, word [eax + 0xa]
push ecx
push eax
push str._d._d._d._d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x1c
inc ebx
push edi
call fcn.10028bca
pop ecx
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 0xc
Function at 0x10018ca1
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003eb2e
mov eax, dword fs:[0]
push eax
mov eax, 0x2048
call fcn.10034030
mov eax, dword [0x1004e060]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 4], edi
push eax
mov dword [ebp - 0x2028], eax
mov dword [ebp - 0x202c], edi
call fcn.10006580
lea eax, [ebp - 0x201c]
push eax
push 8
push edi
xor esi, esi
push str.Softwareprojonepodlpprocmgr_
inc esi
push 0x80000002
mov dword [ebp - 0x202c], esi
mov dword [ebp - method.RegHandleHolder.virtual_0], vtable.RegHandleHolder.0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 4], esi
cmp dword [ebp - 0x201c], edi
je 0x10018db4
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x2024]
push eax
lea eax, [ebp - 0x2014]
push eax
mov dword [ebp - 0x2018], edi
push edi
jmp 0x10018d9a
inc dword [ebp - 0x2018]
lea eax, [ebp - 0x2014]
lea ecx, [ebp - 0x2048]
call fcn.10001aa0
lea eax, [ebp - 0x2054]
push eax
mov byte [ebp - 4], 2
push dword [ebp - 0x2028]
lea ebx, [ebp - 0x2048]
call fcn.100061f0
mov esi, ebx
mov byte [ebp - 4], 1
call fcn.10001b10
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x2024]
push eax
lea eax, [ebp - 0x2014]
push eax
push dword [ebp - 0x2018]
push dword [ebp - 0x201c]
mov dword [ebp - 0x2024], 0x1000
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x10018d44
mov dword [ebp - method.RegHandleHolder.virtual_0], vtable.RegHandleHolder.0
cmp dword [ebp - 0x201c], edi
je 0x10018dd2
push dword [ebp - 0x201c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x2028]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100283ef
leave
ret
Function at 0x10018df2
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x30
mov eax, 0x1003e215
call fcn.10029761
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x1c], esi
push dword [ebp + 8]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
call fcn.10019279
lea eax, [ebp - 0x10]
push eax
push esi
lea eax, [ebp - 0x14]
push eax
push str._allowedInstaller
mov dword [ebp - 4], esi
mov ebx, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push str.Softwareprojonepodlp_smpcache_
push 0x80000002
mov dword [ebp - 0x1c], 1
call ebx
cmp dword [ebp - 0x14], 7
jne 0x10018eee
cmp dword [ebp - 0x10], esi
jbe 0x10018eee
add dword [ebp - 0x10], 0x100
push dword [ebp - 0x10]
call fcn.10028ca7
mov edi, eax
pop ecx
mov dword [ebp - 0x18], edi
cmp edi, esi
je 0x10018eee
push dword [ebp - 0x10]
push esi
push edi
call fcn.1002aad0
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
push edi
push esi
push str._allowedInstaller
push str.Softwareprojonepodlp_smpcache_
push 0x80000002
call ebx
mov ebx, edi
cmp word [edi], si
je 0x10018ee7
mov eax, dword [ebp - 0x10]
lea eax, [edi + eax*2]
cmp ebx, eax
jae 0x10018ee7
mov eax, ebx
lea ecx, [ebp - 0x38]
call fcn.10001aa0
mov dword [ebp - 4], 1
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x14]
mov ecx, dword [edi]
push eax
push ecx
lea eax, [ebp - 0x38]
push eax
call fcn.100193f7
lea esi, [ebp - 0x38]
mov byte [ebp - 4], 0
call fcn.10001b10
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, dword [ebp - 0x18]
lea ebx, [ebx + eax*2 + 2]
cmp word [ebx], 0
jne 0x10018e99
push edi
call fcn.10028bca
pop ecx
mov eax, dword [ebp + 8]
call fcn.10029839
ret
Function at 0x10018ef7
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
push 0x800
mov dword [ebp - 0xc], 0x400
xor ebx, ebx
call fcn.10028ca7
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
pop ecx
mov ecx, dword [eax + 0x14]
mov ecx, dword [ecx]
mov dword [ebp - 0x14], ecx
mov ecx, dword [eax]
mov dword [ebp - 0x18], ecx
mov ecx, dword [eax + 0x14]
mov eax, dword [eax]
lea esi, [ebp - 0x20]
lea edi, [ebp - 0x18]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], eax
call fcn.1000f6c0
test al, al
je 0x10018fd6
mov esi, edi
call fcn.100061c0
mov dword [ebp - 0x10], eax
mov eax, dword [eax + 0x14]
lea ecx, [eax + ebx + 2]
mov eax, dword [ebp - 0xc]
cmp ecx, eax
jbe 0x10018f88
lea edi, [eax + eax]
mov esi, edi
lea edi, [esi + esi]
push edi
push dword [ebp - 8]
mov dword [ebp - 0xc], esi
call fcn.10028e2d
pop ecx
pop ecx
mov dword [ebp - 8], eax
test eax, eax
je 0x10018fd2
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x14]
lea eax, [eax + ebx + 2]
cmp eax, esi
ja 0x10018f60
lea esi, [ebp - 0x18]
call fcn.100061c0
mov edi, dword [eax + 0x14]
call fcn.100061c0
cmp dword [eax + 0x18], 8
jb 0x10018fa3
mov eax, dword [eax + 4]
jmp 0x10018fa6
add eax, 4
inc edi
push edi
push eax
mov eax, dword [ebp - 8]
lea eax, [eax + ebx*2]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
lea esi, [ebp - 0x18]
call fcn.100061c0
mov eax, dword [eax + 0x14]
lea ebx, [ebx + eax + 1]
call fcn.1000f8d0
mov eax, dword [ebp + 8]
jmp 0x10018f27
xor al, al
jmp 0x1001900d
mov esi, dword [ebp - 8]
add ebx, ebx
xor eax, eax
mov word [ebx + esi], ax
add ebx, 2
push ebx
push esi
push 7
push str._allowedInstaller
push str.Softwareprojonepodlp_smpcache_
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push esi
mov edi, eax
call fcn.10028bca
xor eax, eax
test edi, edi
pop ecx
sete al
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1001a534
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2028
call fcn.10034030
mov eax, dword [0x1004e060]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
call fcn.1001a613
test al, al
je 0x1001a606
xor eax, eax
mov word [ebp - 0x80c], ax
mov word [ebp - 0x100c], ax
push 0x10045854
lea eax, [ebp - 0x80c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x10045868
lea eax, [ebp - 0x80c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCatW]
lea eax, [ebp - 0x2028]
push eax
call fcn.1001a460
cmp dword [eax + 0x18], 8
pop ecx
jb 0x1001a5a5
mov eax, dword [eax + 4]
jmp 0x1001a5a8
add eax, 4
push dword [ebp + 8]
push eax
lea eax, [ebp - 0x80c]
push eax
lea eax, [ebp - 0x100c]
push 0x400
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x14
lea esi, [ebp - 0x2028]
call fcn.10001b10
xor eax, eax
mov word [ebp - 0x200c], ax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x100c]
push eax
push 0x800
lea eax, [ebp - 0x200c]
push eax
call dword [sym.imp.SHLWAPI.dll_wvnsprintfW]
lea eax, [ebp - 0x200c]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 8]
xor ecx, ebp
pop esi
call fcn.100283ef
leave
ret
Function at 0x10024130
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x224
lea ebp, [esp - 4]
mov eax, dword [0x1004e060]
xor eax, ebp
mov dword [ebp + 0x224], eax
push 4
mov eax, 0x1003dfa6
call fcn.10029761
mov edi, dword [ebp + 0x230]
mov esi, dword [ebp + 0x238]
xor eax, eax
xor ebx, ebx
push 0x206
mov word [ebp + 0x1c], ax
lea eax, [ebp + 0x1e]
push ebx
push eax
mov dword [ebp - 0x10], ebx
call fcn.1002aad0
add esp, 0xc
push 0x104
lea eax, [ebp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
cmp dword [ebp + 0x234], 1
jne 0x1002419c
push str.projonepodlp
jmp 0x100241aa
cmp dword [ebp + 0x234], 2
jne 0x100241c8
push str.projonepotcm
lea eax, [ebp + 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
cmp esi, ebx
je 0x100241c3
push esi
lea eax, [ebp + 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp + 0x1c]
jmp 0x10024218
cmp dword [ebp + 0x234], ebx
jne 0x10024213
push ebx
lea eax, [ebp]
push 2
push eax
call fcn.10024130
add esp, 0xc
mov dword [ebp - 4], ebx
cmp dword [ebp + 0x18], 8
mov eax, dword [ebp + 4]
jae 0x100241ee
lea eax, [ebp + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
push esi
test eax, eax
je 0x1002420f
push 2
push edi
call fcn.10024130
add esp, 0xc
lea esi, [ebp]
call fcn.10001b10
jmp 0x1002421f
push 1
jmp 0x100241fc
mov eax, 0x10043a90
mov ecx, edi
call fcn.10001aa0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x224]
xor ecx, ebp
call fcn.100283ef
add ebp, 0x228
leave
ret
Function at 0x1002707a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 4
shl eax, 4
pop edx
mov esi, ecx
lea edi, [eax + ecx + 0x3c]
mov dword [ebp - 4], edx
xor eax, eax
mov ecx, edi
mov bl, byte [ecx]
xor byte [esi + eax], bl
inc eax
add ecx, edx
cmp eax, edx
jl 0x10027094
inc edi
add esi, edx
dec dword [ebp - 4]
jne 0x10027090
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1002712e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x1004e060]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 4
lea esi, [ebp - 8]
lea ecx, [eax + 4]
pop edi
mov al, byte [esi - 0xc]
mov dl, byte [esi - 8]
call fcn.100271e3
mov bl, al
mov al, dl
call fcn.100271e3
xor bl, al
xor bl, byte [esi - 4]
mov al, dl
xor bl, byte [esi]
xor bl, dl
mov byte [ecx - 4], bl
call fcn.100271e3
mov bl, al
mov al, byte [esi - 4]
call fcn.100271e3
xor bl, al
xor bl, byte [esi - 0xc]
mov al, byte [esi - 4]
xor bl, byte [esi]
xor bl, al
mov byte [ecx], bl
call fcn.100271e3
mov bl, al
mov al, byte [esi]
call fcn.100271e3
xor bl, al
mov al, byte [esi]
xor bl, dl
xor bl, byte [esi - 0xc]
xor bl, al
mov byte [ecx + 4], bl
call fcn.100271e3
mov bl, al
mov al, byte [esi - 0xc]
call fcn.100271e3
xor bl, al
xor bl, dl
xor bl, byte [esi - 4]
xor bl, byte [esi - 0xc]
inc ecx
mov byte [ecx + 7], bl
inc esi
dec edi
jne 0x10027156
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100283ef
leave
ret 4

Function at 0x100281d6
Capabilities:
Hash data with md5

Disassembly:
and dword [eax + 0x14], 0
and dword [eax + 0x10], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret

Function at 0x100283ef
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1004e060]
jne 0x100283f9
repz ret
jmp fcn.1002986b
Function at 0x1002ff39
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.10029e4a
and dword [ebp - 4], 0
cmp dword [0x10051534], 0
mov ebx, eax
jne 0x1002ffea
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x1003009b
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x1003009b
push eax
call fcn.10029dd8
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x10051534], eax
call esi
push eax
call fcn.10029dd8
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x10051538], eax
call esi
push eax
call fcn.10029dd8
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x1005153c], eax
call esi
push eax
call fcn.10029dd8
pop ecx
mov dword [0x10051544], eax
test eax, eax
je 0x1002ffea
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.10029dd8
pop ecx
mov dword [0x10051540], eax
mov eax, dword [0x10051540]
cmp eax, ebx
je 0x10030042
cmp dword [0x10051544], ebx
je 0x10030042
push eax
call fcn.10029e53
push dword [0x10051544]
mov esi, eax
call fcn.10029e53
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x10030042
test edi, edi
je 0x10030042
call esi
test eax, eax
je 0x10030039
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x10030039
test byte [ebp - 0xc], 1
jne 0x10030042
or dword [ebp + 0x10], 0x200000
jmp 0x1003007b
mov eax, dword [0x10051538]
cmp eax, ebx
je 0x1003007b
push eax
call fcn.10029e53
pop ecx
test eax, eax
je 0x1003007b
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x1003007b
mov eax, dword [0x1005153c]
cmp eax, ebx
je 0x1003007b
push eax
call fcn.10029e53
pop ecx
test eax, eax
je 0x1003007b
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x10051534]
call fcn.10029e53
pop ecx
test eax, eax
je 0x1003009b
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1003009d
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x402ca5
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x402cb4
pop dword [ebp - 0x24]
mov eax, 0x402cb4
sub dword [ebp - 0x24], eax
mov dword [ebp - 0x34], 0x763f0ea0
add dword [ebp - 0x34], 0xd81336ab
mov dword [ebp - 0x30], 0x8aaea49c
sub dword [ebp - 0x30], 0x587b5857
mov dword [ebp - 0x2c], 0x1a2e535c
add dword [ebp - 0x2c], 0x321df0d2
mov dword [ebp - 0x28], 0x7df8876f
add dword [ebp - 0x28], 0x82077891
lea eax, [ebp - 0x34]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x24]
call dword [eax]
mov dword [ebp - 0x34], 0x4ddb9c03
add dword [ebp - 0x34], 0x2696cd53
mov dword [ebp - 0x30], 0x32dcef25
sub dword [ebp - 0x30], 0xf1708db0
mov dword [ebp - 0x2c], 0x982a0ed4
add dword [ebp - 0x2c], 0xcb455d98
mov dword [ebp - 0x28], 0x33eb5133
add dword [ebp - 0x28], 0xcc14aecd
lea ebx, [ebp - 0x34]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x24]
call dword [eax]
push 0x40
push 0x1000
push 0x3ee4f
push 0
call eax
mov ecx, 0x67b0
mov edx, eax
mov edi, 0xbfdd23cc
sub edi, 0xbf99c3cc
add edi, dword [ebp - 0x24]
mov esi, 0xe1194b35
add esi, 0x6cd38bff
sub dword [ebp - 4], 0x822185e5
mov ebx, dword [edi]
sub ebx, esi
sub dword [ebp - 0x20], 0x490bb089
mov dword [edx], ebx
xor dword [ebp - 0x14], 0x45b20a80
add edx, 0x728b3d54
sub edx, 0x728b3d50
add edi, 0xe422b02a
add edi, 0x1bdd4fda
loop 0x402dc1
add eax, 0x1d5d5a5b
sub eax, 0x1d5bc8c8
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x43052ac7
sub ecx, 0x42c52ac7
add ecx, dword [ebp - 0x24]
call ebx
leave
ret