joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407510
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 9
call esi
test al, al
jns 0x40757e
push 0x11
call esi
test al, al
js 0x40757e
push 0x10
call esi
test al, al
js 0x40757e
push 0x12
call esi
test al, al
js 0x40757e
mov esi, dword [sym.imp.USER32.dll_GetFocus]
push 5
lea eax, [ebp - 8]
push eax
call esi
push eax
call dword [sym.imp.USER32.dll_GetClassNameA]
push 4
lea eax, [ebp - 8]
push 0x40a484
push eax
call sub.MSVCRT.dll_strncmp
add esp, 0xc
test eax, eax
jne 0x40757e
push eax
push eax
push 0x44e
call esi
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
test ax, 0x800
je 0x4075a2
push 0x40a448
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetPropA]
test eax, eax
je 0x4075a2
dec eax
push eax
push dword [0x57cb28]
call fcn.00407e52
mov eax, dword [eax + 8]
jmp 0x4075a4
xor eax, eax
pop esi
leave
ret 4

Function at 0x4076fa
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
cmp dword [ebp + 8], 0
je 0x40776d
push 0x104
push dword [ebp + 8]
lea eax, [ebp - 0x108]
push eax
call sub.MSVCRT.dll_strncpy
lea eax, [ebp - 0x108]
push eax
mov byte [ebp - 4], 0
call sub.MSVCRT.dll_strlen
add esp, 0x10
lea eax, [ebp + eax - 0x108]
jmp 0x40774f
lea ecx, [eax - 1]
mov dl, byte [ecx]
cmp dl, 0x20
je 0x40774d
cmp dl, 0x5c
je 0x40774d
cmp dl, 0x2f
jne 0x407759
mov eax, ecx
lea ecx, [ebp - 0x108]
cmp eax, ecx
ja 0x407739
mov byte [eax], 0
push 0
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
jmp 0x40776f
xor eax, eax
leave
ret 4

Function at 0x407773
Capabilities:
Copy file

Disassembly:
xor eax, eax
cmp dword [esp + 4], eax
je 0x407792
cmp dword [esp + 8], eax
je 0x407792
push eax
push dword [esp + 0xc]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_CopyFileA]
jmp 0x407794
xor eax, eax
ret 8

Function at 0x407870
Capabilities:
Write file on windows

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
xor eax, eax
cmp dword [esi + 0x14], eax
mov dword [esp + 4], eax
jne 0x4078a5
mov ecx, dword [esi + 8]
sub ecx, dword [esi + 0xc]
mov edx, dword [esi + 4]
push eax
lea eax, [esp + 8]
push eax
mov eax, dword [esi]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [esi + 8]
mov eax, dword [esp + 4]
mov dword [esi + 0xc], ecx
pop esi
pop ecx
ret 4

Function at 0x407b10
Capabilities:
Write file on windows

Disassembly:
push ecx
push edi
mov edi, dword [esp + 0x10]
xor eax, eax
test edi, edi
mov dword [esp + 4], eax
je 0x407b69
push esi
mov esi, dword [esp + 0x18]
test esi, esi
je 0x407b68
mov eax, dword [esp + 0x10]
mov ecx, dword [0x57cb3c]
push eax
push ecx
call fcn.00407e52
test eax, eax
je 0x407b64
cmp dword [eax + 4], 0
je 0x407b52
push esi
push edi
push eax
call fcn.00407b70
pop esi
pop edi
pop ecx
ret 0xc
mov eax, dword [eax]
push 0
lea edx, [esp + 0xc]
push edx
push esi
push edi
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp + 8]
pop esi
pop edi
pop ecx
ret 0xc
Function at 0x407b70
Capabilities:
Write file on windows

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
cmp dword [esi + 0x14], 1
push edi
mov dword [esp + 8], 0
jne 0x407ba5
mov eax, dword [esi + 0xc]
mov ecx, dword [esi]
push 1
push 0
neg eax
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov edx, dword [esi + 8]
mov dword [esi + 0x14], 0
mov dword [esi + 0xc], edx
mov ecx, dword [esi + 0xc]
mov edi, dword [esp + 0x18]
cmp ecx, edi
jle 0x407c1e
mov eax, dword [esi + 8]
add eax, dword [esi + 4]
sub eax, ecx
mov ecx, edi
sub ecx, 1
je 0x407c0b
sub ecx, 1
je 0x407bf6
sub ecx, 2
je 0x407be3
mov ecx, dword [esp + 0x14]
push edi
push ecx
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
sub dword [esi + 0xc], edi
mov eax, edi
pop edi
pop esi
pop ecx
ret 0xc
mov edx, dword [esp + 0x14]
mov ecx, dword [edx]
mov dword [eax], ecx
sub dword [esi + 0xc], edi
mov eax, edi
pop edi
pop esi
pop ecx
ret 0xc
mov edx, dword [esp + 0x14]
mov cx, word [edx]
mov word [eax], cx
sub dword [esi + 0xc], edi
mov eax, edi
pop edi
pop esi
pop ecx
ret 0xc
mov edx, dword [esp + 0x14]
mov cl, byte [edx]
mov byte [eax], cl
sub dword [esi + 0xc], edi
mov eax, edi
pop edi
pop esi
pop ecx
ret 0xc
push esi
call fcn.00407870
mov eax, dword [esi + 8]
cmp edi, eax
jl 0x407c4b
mov eax, dword [esp + 0x14]
mov ecx, dword [esi]
push 0
lea edx, [esp + 0xc]
push edx
push edi
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp + 8]
pop edi
pop esi
pop ecx
ret 0xc
mov ecx, dword [esi + 4]
sub ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x14]
push edi
push edx
add ecx, eax
push ecx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
sub dword [esi + 0xc], edi
mov eax, edi
pop edi
pop esi
pop ecx
ret 0xc

Function at 0x407ca8
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push edi
push dword [0x53c560]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
test edi, edi
jne 0x407d09
push esi
push dword [0x53c568]
push 8
push dword [0x53c118]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
push edi
push dword [0x53c560]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov esi, dword [0x53c564]
jmp 0x407cf9
mov eax, dword [esi + 0xc]
test eax, eax
je 0x407cf7
mov ecx, dword [esi + 8]
add ecx, edi
push ecx
call eax
pop ecx
mov esi, dword [esi]
test esi, esi
jne 0x407ce7
push edi
push 0x407c6d
call fcn.00408cb3
pop esi
mov eax, dword [esp + 8]
add eax, edi
pop edi
ret 4
Function at 0x407d13
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x53c568], 0
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_TlsSetValue]
push edi
jne 0x407d4d
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
push dword [ebp + 8]
mov dword [0x53c560], eax
push 8
push dword [0x53c118]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push eax
push dword [0x53c560]
call esi
mov eax, dword [0x53c568]
mov edi, eax
add eax, dword [ebp + 8]
push eax
push dword [0x53c560]
mov dword [0x53c568], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push eax
push 8
push dword [0x53c118]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov ebx, eax
push ebx
push dword [0x53c560]
call esi
mov esi, dword [ebp + 0xc]
test esi, esi
jne 0x407d8f
cmp dword [ebp + 0x10], esi
je 0x407db2
push 0x14
push 0x53c564
call fcn.00408031
test esi, esi
pop ecx
pop ecx
mov ecx, dword [ebp + 0x10]
mov dword [eax], edi
mov dword [eax + 4], esi
mov dword [eax + 8], ecx
je 0x407db2
add ebx, edi
push ebx
call esi
pop ecx
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 0xc

Function at 0x4084a0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x53b148]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 8]
add edx, 1
mov eax, dword [ebp - 4]
mov dword [eax + 8], edx
mov esp, ebp
pop ebp
ret

Function at 0x408560
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push edx
mov eax, dword [0x53b148]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 8]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov edx, dword [ebp - 8]
add ecx, dword [edx + 8]
mov dword [ebp - 4], ecx
pop edx
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 4

Function at 0x408670
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x53b148]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov eax, dword [ecx]
mov edx, dword [ebp - 4]
add eax, dword [edx + 8]
mov esp, ebp
pop ebp
ret
Function at 0x4087a0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x53b148]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 8]
sub edx, dword [ebp + 0xc]
mov dword [ebp - 4], edx
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jne 0x4087e6
mov ecx, dword [ebp - 4]
add ecx, 5
push ecx
push 0
mov edx, dword [0x57cb44]
push edx
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
jmp 0x408807
mov edx, dword [ebp - 4]
add edx, 5
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
push 0
mov edx, dword [0x57cb44]
push edx
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
add ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call fcn.00408980
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 0xc]
mov dword [ecx + 8], edx
mov esp, ebp
pop ebp
ret 8

Function at 0x408830
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x53b148]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 0xc], eax
cmp dword [ebp + 0xc], 0xffffffff
jne 0x408854
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 8]
mov dword [ebp + 0xc], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 8]
add ecx, dword [ebp + 8]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 4]
sub eax, 4
cmp dword [ebp - 8], eax
jl 0x4088a1
mov ecx, dword [ebp - 8]
add ecx, 0x4000
mov edx, dword [ebp - 0xc]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 4]
add ecx, 5
push ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx]
push eax
push 0
mov ecx, dword [0x57cb44]
push ecx
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edx, dword [ebp - 0xc]
mov dword [edx], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
add ecx, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 0xc]
add edx, dword [ebp + 8]
mov eax, dword [ebp - 0xc]
mov dword [eax + 8], edx
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8

Function at 0x408900
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x53b148]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
cmp edx, dword [ecx]
jb 0x40893e
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ebp - 4]
add ecx, dword [edx + 8]
cmp dword [ebp + 8], ecx
ja 0x40893e
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
sub ecx, dword [eax]
add ecx, 1
mov eax, ecx
jmp 0x408940
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x408cb3
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
xor ebx, ebx
push edi
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x53c588], ebx
mov esi, eax
mov dword [ebp - 0xc], esi
jne 0x408ce9
push 0x53c56c
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x53c588], 1
push 0x53c56c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x53c584]
cmp eax, ebx
mov edi, eax
je 0x408d4d
cmp dword [ebp - 4], ebx
jne 0x408e86
xor eax, eax
inc eax
lea ecx, [edi + 0x114]
cmp esi, dword [ecx]
je 0x408d20
inc eax
add ecx, 4
cmp eax, 0x40
jl 0x408d11
jmp 0x408d3e
push dword [ebp + 0xc]
lea esi, [edi + eax*4 + 0x210]
push dword [ebp + 8]
call fcn.00408b05
mov esi, dword [ebp - 0xc]
pop ecx
pop ecx
mov dword [ebp - 4], 1
mov edi, dword [edi]
cmp edi, ebx
jne 0x408cff
cmp dword [ebp - 4], ebx
jne 0x408e86
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push ebx
push ebx
push 0x100000
lea eax, [ebp - 8]
push eax
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call edi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x408e86
mov edi, dword [0x53c584]
jmp 0x408d8d
cmp dword [edi + 0xc], 0x3f
jl 0x408e20
mov edi, dword [edi]
cmp edi, ebx
jne 0x408d81
push 0x310
push 8
push dword [0x53c118]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
cmp edi, ebx
je 0x408e7d
push ebx
push 1
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
cmp eax, ebx
mov dword [edi + 8], eax
je 0x408e6f
push ebx
push ebx
push edi
push 0x408b56
mov dword [edi + 0x10], eax
mov eax, dword [ebp - 8]
mov dword [edi + 0x114], esi
push 0x1000
lea esi, [edi + 0x214]
push ebx
mov dword [edi + 0x14], eax
mov dword [esi], ebx
mov dword [edi + 0xc], 2
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x408e66
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00408b05
mov eax, dword [0x53c584]
cmp eax, ebx
pop ecx
pop ecx
mov dword [edi + 4], ebx
mov dword [edi], eax
je 0x408e18
mov dword [eax + 4], edi
mov dword [0x53c584], edi
jmp 0x408e86
mov eax, dword [edi + 0xc]
mov ecx, dword [ebp - 8]
push dword [ebp + 0xc]
mov dword [edi + eax*4 + 0x10], ecx
mov eax, dword [edi + 0xc]
push dword [ebp + 8]
mov dword [edi + eax*4 + 0x110], esi
mov eax, dword [edi + 0xc]
mov dword [edi + eax*4 + 0x210], ebx
mov eax, dword [edi + 0xc]
lea esi, [edi + eax*4 + 0x210]
call fcn.00408b05
inc dword [edi + 0xc]
pop ecx
pop ecx
push ebx
push 1
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
jmp 0x408e86
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push ebx
push dword [0x53c118]
call dword [sym.imp.KERNEL32.dll_HeapFree]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x53c56c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x10008cb0
Capabilities:
Allocate or change rwx memory
Create process on windows
Encode data using base64
Encrypt data using speck
Execute anti-debugging instructions
Execute shellcode via indirect call
Hash data using murmur3
Hide graphical window
Parse credit card information
Parse pe header
Resume thread

Disassembly:
jmp 0x1000f902
push ebp
movsx ebp, ax
ror bp, 0x8e
mov ebp, esp
push ebx
test ebx, 0xb40d971a
push edi
rol al, cl
push esi
and al, 0xb8
sub esp, 0x11c
mov eax, dword [0x10076200]
test cl, 6
cmp edx, 0xf9062eb8
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x124], 0xd6f8d43f
setge al
rcl eax, cl
mov eax, dword [ebp - 0x124]
cmp ebp, ecx
mov dword [ebp - 0x128], eax
test dl, bh
sub eax, 0x8011dbd1
jmp 0x10016288
mov dword [ebp - 0x124], 0x5b010fc4
jmp loc.1007bc69
je 0x1001415b
jmp loc.1007cfe9

Function at 0x1001a8a3
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x1001a8e2
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1001a8e2
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1001a8e2
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x1001a8e2
cmp dword [ecx + 0x74], 0xe
jbe 0x1001a8e2
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x1001d55f
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1001d5fc
push ebx
push esi
call fcn.1001d528
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.1001d4bc
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1001d5a9
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1001d5fb
push edi
push eax
call fcn.1001e51a
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1001d5c9
call fcn.1001c004
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1001d5fa
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1001d4bc
add esp, 0x20
test eax, eax
jne 0x1001d5e8
push edi
call fcn.1001c004
jmp 0x1001d5f0
push ebx
call fcn.1001c004
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x1001d869
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10025cc8
push 0x10025cc0
push str.FlsAlloc
push 0x1f
call fcn.1001d785
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1001d89d
push dword [ebp + 8]
mov ecx, esi
call dword [0x10024150]
call esi
jmp 0x1001d8a3
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1001d8e7
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10025cd8
push 0x10025cd0
push str.FlsGetValue
push 0x21
call fcn.1001d785
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1001d91e
push dword [ebp + 8]
mov ecx, esi
call dword [0x10024150]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x1001d926
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10025ce0
push 0x10025cd8
push str.FlsSetValue
push 0x22
call fcn.1001d785
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1001d960
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x10024150]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x10022fe0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1002300d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1002300d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x100015c0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
lea eax, [esp]
push eax
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0xc]
push edx
push 0x1003caec
push str.Softwareprojonepodlp_smprule_
push 0x80000002
mov dword [esp + 0x18], 4
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x1000160a
cmp dword [esp + 4], 4
jne 0x1000160a
mov eax, dword [esp + 8]
xor ecx, ecx
test eax, eax
setne cl
mov al, cl
add esp, 0xc
ret
xor eax, eax
xor ecx, ecx
test eax, eax
setne cl
mov al, cl
add esp, 0xc
ret

Function at 0x10001620
Capabilities:
Set registry value

Disassembly:
sub esp, 0xc
lea eax, [esp + 7]
push eax
push ecx
mov dword [esp + 0x10], 0
push edx
mov byte [esp + 0x13], 0
call fcn.10001530
add esp, 0xc
xor eax, eax
cmp byte [esp + 7], al
push 4
lea ecx, [esp + 0xc]
push ecx
push 4
setne al
push 0x1003caec
push str.Softwareprojonepodlp_smprule_
push 0x80000002
mov dword [esp + 0x20], eax
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
add esp, 0xc
ret

Function at 0x10001a40
Capabilities:
Check if file exists
Encode data using xor
Hash data with crc32
Move file

Disassembly:
sub esp, 0x518
mov eax, dword [0x10045278]
xor eax, esp
mov dword [esp + 0x514], eax
push ebx
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x112]
push ecx
mov word [esp + 0x114], ax
call fcn.10028000
add esp, 0xc
lea ecx, [esp + 0x108]
mov ebx, str.helios32.dll
call fcn.10012d86
lea edx, [esp + 0x108]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
pop ebx
test eax, eax
je 0x10001bad
push esi
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x31a]
push ecx
mov word [esp + 0x31c], ax
call fcn.10028000
push 0x103
lea edx, [esp + 0x15]
push 0
push edx
mov byte [esp + 0x1c], 0
call fcn.10028000
add esp, 0x18
push 0x104
lea esi, [esp + 8]
call fcn.10012e52
mov eax, 0x179b06cc
xor ecx, ecx
lea esp, [esp]
movzx edx, byte [esp + ecx + 4]
movzx esi, al
xor edx, esi
shr eax, 8
xor eax, dword [edx*4 + 0x10046f68]
movzx edx, byte [esp + ecx + 5]
movzx esi, al
xor edx, esi
shr eax, 8
xor eax, dword [edx*4 + 0x10046f68]
movzx edx, byte [esp + ecx + 6]
movzx esi, al
xor edx, esi
shr eax, 8
xor eax, dword [edx*4 + 0x10046f68]
movzx edx, byte [esp + ecx + 7]
movzx esi, al
xor edx, esi
shr eax, 8
xor eax, dword [edx*4 + 0x10046f68]
movzx edx, byte [esp + ecx + 8]
movzx esi, al
xor edx, esi
shr eax, 8
xor eax, dword [edx*4 + 0x10046f68]
movzx edx, byte [esp + ecx + 9]
movzx esi, al
xor edx, esi
shr eax, 8
xor eax, dword [edx*4 + 0x10046f68]
add ecx, 6
cmp ecx, 0x24
jl 0x10001af0
not eax
push eax
lea eax, [esp + 0x10c]
push eax
push str._s._08x.dirty
lea ecx, [esp + 0x31c]
push 0x104
push ecx
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x14
lea edx, [esp + 0x310]
push edx
lea eax, [esp + 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
pop esi
mov ecx, dword [esp + 0x514]
xor ecx, esp
call fcn.10021592
add esp, 0x518
ret
Function at 0x10001d10
Capabilities:
Create thread

Disassembly:
sub esp, 0x40
push ebx
push ebp
push esi
push edi
xor ebx, ebx
push 0x10048488
mov dword [esp + 0x18], ebx
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov edi, eax
lea ebp, [ebx + 8]
test edi, edi
je 0x10001d7a
lea esi, [esp + 0x34]
lea ebx, [ebp - 7]
call fcn.10001690
cmp dword [eax + 0x18], ebp
jb 0x10001d47
mov eax, dword [eax + 4]
jmp 0x10001d4a
add eax, 4
test eax, eax
je 0x10001d7a
lea esi, [esp + 0x18]
mov ebx, 3
call fcn.10001690
cmp dword [eax + 0x18], ebp
jb 0x10001d66
mov eax, dword [eax + 4]
jmp 0x10001d69
add eax, 4
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov byte [esp + 0x13], 1
test eax, eax
je 0x10001d7f
mov byte [esp + 0x13], 0
test bl, 2
je 0x10001db1
and ebx, 0xfffffffd
cmp dword [esp + 0x30], ebp
jb 0x10001d9a
mov eax, dword [esp + 0x1c]
push eax
call fcn.10021a62
add esp, 4
xor ecx, ecx
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], 0
mov word [esp + 0x1c], cx
test bl, 1
je 0x10001dc9
cmp dword [esp + 0x4c], ebp
jb 0x10001dc9
mov edx, dword [esp + 0x38]
push edx
call fcn.10021a62
add esp, 4
cmp byte [esp + 0x13], 0
pop edi
pop esi
pop ebp
pop ebx
je 0x10001dfd
cmp dword [0x100486b8], 0
jne 0x10001df9
push 0
push 0
push 0
push 0x10008290
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 0x40
ret
cmp dword [0x100486b8], 0
je 0x10001df9
call dword [sym.imp.magichk32.dll_Ordinal_30]
add esp, 0x40
jmp dword [sym.imp.magichk32.dll_Ordinal_33]