joyce8/EMBER2024-capa huggingface dataset:
Function at 0x422140
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
cmp dword [esp + 0x24], 3
je 0x422160
add esp, 0x14
mov eax, 1
pop ebx
pop esi
ret 0xc
mov eax, dword [0x498e40]
test eax, eax
je 0x4222d0
mov eax, dword [eax]
cmp eax, 0xffffffff
je 0x42214c
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
test eax, eax
mov ebx, eax
je 0x42214c
test byte [eax + 0x20], 0x30
je 0x422220
mov eax, dword [eax + 0xb0]
test eax, eax
jne 0x4222c0
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x4221d0
mov dword [esp], eax
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
mov eax, dword [ebx + 0x18]
sub esp, 4
test eax, eax
je 0x4221c2
mov dword [esp], eax
call esi
sub esp, 4
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x14], 0
lea eax, [ebx + 0x1c]
mov dword [esp], eax
call sym._pthread_mutex_destroy
mov edx, dword [ebx + 0xac]
mov dword [ebx + 0x34], 0xffffffff
test edx, edx
je 0x422326
mov eax, dword [0x498e40]
test eax, eax
je 0x422300
mov dword [esp + 4], 0
mov eax, dword [eax]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
sub esp, 8
mov eax, 1
add esp, 0x14
pop ebx
pop esi
ret 0xc
mov eax, dword [eax + 0x64]
test eax, eax
mov eax, dword [ebx + 0x18]
jne 0x422280
test eax, eax
je 0x42223a
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
sub esp, 4
mov eax, dword [ebx + 0xb0]
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x64], 1
test eax, eax
jne 0x4222b0
test byte [ebx + 0x24], 4
je 0x422297
mov eax, dword [ebx + 0x14]
mov dword [ebx], 0xdeadbeef
test eax, eax
je 0x4221c9
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
sub esp, 4
jmp 0x4221c9
test eax, eax
je 0x422290
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
sub esp, 4
mov dword [ebx + 0x18], 0
lea eax, [ebx + 0x1c]
mov dword [esp], eax
call sym._pthread_mutex_destroy
mov dword [ebx + 0x34], 0xffffffff
jmp 0x42214c
call sym.__pthread_cleanup_dest.part.3
jmp 0x422252
call sym.__pthread_cleanup_dest.part.3
jmp 0x42219e
mov dword [esp + 8], sym.___shmem_winpthreads_init__pthread_tls_shmem
mov dword [esp + 4], 4
mov dword [esp], str._pthread_tls_shmem
call sym.___shmem_winpthreads_grab
mov dword [0x498e40], eax
jmp 0x42216d
mov dword [esp + 8], sym.___shmem_winpthreads_init__pthread_tls_shmem
mov dword [esp + 4], 4
mov dword [esp], str._pthread_tls_shmem
call sym.___shmem_winpthreads_grab
mov dword [0x498e40], eax
jmp 0x4221fd
mov eax, ebx
call sym._push_pthread_mem.part.0
jmp 0x4221f0
Function at 0x4234c0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov esi, dword [esp + 0x20]
call sym.___pthread_self_lite
mov ebx, eax
mov dword [eax + 4], esi
mov eax, dword [eax + 0xb0]
test eax, eax
jne 0x42353b
test byte [ebx + 0x20], 0x30
je 0x423542
mov eax, dword [0x498e40]
test eax, eax
je 0x4235cb
mov eax, dword [eax]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
test eax, eax
mov ebx, eax
je 0x423532
cmp dword [eax + 0x14], 0
je 0x423555
mov esi, dword [eax + 4]
mov dword [eax + 0x64], 1
mov eax, dword [eax + 0x18]
test eax, eax
je 0x423525
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
test byte [ebx + 0x24], 4
mov dword [ebx + 0x18], 0
jne 0x42359f
mov dword [esp], esi
call dword [sym.imp.msvcrt.dll__endthreadex]
call sym.__pthread_cleanup_dest.part.3
jmp 0x4234dd
add ebx, 0x6c
mov dword [esp + 4], 1
mov dword [esp], ebx
call sym._longjmp
mov dword [eax], 0xdeadbeef
mov eax, dword [eax + 0x18]
test eax, eax
je 0x42356c
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
cmp dword [ebx + 0xac], 0
mov dword [ebx + 0x18], 0
mov esi, dword [ebx + 4]
je 0x4235c2
mov eax, dword [0x498e40]
test eax, eax
je 0x4235f1
mov dword [esp + 4], 0
mov eax, dword [eax]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push edx
push edx
jmp 0x423532
mov eax, dword [ebx + 0x14]
mov dword [ebx], 0xdeadbeef
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
cmp dword [ebx + 0xac], 0
mov dword [ebx + 0x14], 0
jne 0x42357f
mov eax, ebx
call sym._push_pthread_mem.part.0
jmp 0x42357f
mov dword [esp + 8], sym.___shmem_winpthreads_init__pthread_tls_shmem
mov dword [esp + 4], 4
mov dword [esp], str._pthread_tls_shmem
call sym.___shmem_winpthreads_grab
mov dword [0x498e40], eax
jmp 0x4234f0
mov dword [esp + 8], sym.___shmem_winpthreads_init__pthread_tls_shmem
mov dword [esp + 4], 4
mov dword [esp], str._pthread_tls_shmem
call sym.___shmem_winpthreads_grab
mov dword [0x498e40], eax
jmp 0x423588
Function at 0x426ac0
Capabilities:
Check mutex on windows
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
mov edi, dword [ebp + 8]
mov dword [esp], edi
call sym._strlen
mov ebx, eax
lea eax, [eax + 0x40]
and eax, 0xfffffff0
call fcn.00414920
mov edx, 0x326d
sub esp, eax
lea eax, [esp + 0x1b]
mov dword [esp + 4], edi
mov dword [esp + 8], ebx
lea esi, [esp + 0xc]
mov word [esp + 0x18], dx
mov dword [esp + 0xc], 0x2d636367
mov dword [esp], eax
mov dword [esp + 0x10], 0x656d6873
mov dword [esp + 0x14], 0x64742d6d
mov byte [esp + 0x1a], 0x2d
call sym._memcpy
lea eax, [ebx + 0x10]
lea edi, [esi + eax]
mov dword [ebp - 0x24], eax
lea eax, [ebx + 0x30]
mov dword [edi], 0x61616161
mov dword [edi + 4], 0x61616161
mov dword [edi + 8], 0x61616161
mov dword [edi + 0xc], 0x61616161
mov dword [edi + 0x10], 0x61616161
mov dword [edi + 0x14], 0x61616161
mov dword [edi + 0x18], 0x61616161
mov dword [edi + 0x1c], 0x61616161
mov dword [ebp - 0x1c], eax
mov byte [esp + ebx + 0x3c], 0
mov byte [esp + ebx + 0x1b], 0
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
sub esp, 0xc
mov byte [esi + ebx + 0xf], 0x2d
mov dword [ebp - 0x20], eax
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
sub esp, 8
test eax, eax
je 0x426baf
int3
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_FindAtomA]
sub esp, 4
test ax, ax
jne 0x426c53
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call sym._malloc
mov edx, edi
mov ebx, eax
mov eax, 0x20
nop
lea esi, [esi]
bt ebx, eax
jae 0x426be8
mov byte [edx], 0x41
add edx, 1
sub eax, 1
jne 0x426be0
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_AddAtomA]
sub esp, 4
test ax, ax
je 0x426c50
mov ecx, dword [ebp - 0x24]
mov edx, esi
movzx eax, ax
mov dword [esp], ecx
mov ecx, dword [ebp - 0x1c]
call sym._get_ptr_from_atom_1
cmp eax, ebx
mov esi, eax
je 0x426c6a
mov dword [esp], ebx
call sym._free
mov edi, dword [ebp - 0x20]
mov dword [esp], edi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
sub esp, 4
mov dword [esp], edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
sub esp, 4
lea esp, [ebp - 0xc]
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
int3
mov ecx, dword [ebp - 0x24]
mov edx, esi
movzx eax, ax
mov dword [esp], ecx
mov ecx, dword [ebp - 0x1c]
call sym._get_ptr_from_atom_1
mov esi, eax
jmp 0x426c22
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], 0
mov dword [esp], ebx
mov dword [esp + 8], eax
call sym._memset
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x426c22
mov dword [esp], ebx
call dword [ebp + 0x10]
jmp 0x426c22
Function at 0x10001900
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x100336cb
mov eax, dword fs:[0]
push eax
sub esp, 0x450
mov eax, dword [0x10041060]
xor eax, esp
mov dword [esp + 0x44c], eax
push ebx
push ebp
push esi
mov eax, dword [0x10041060]
xor eax, esp
push eax
lea eax, [esp + 0x460]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x470]
xor eax, eax
cmp dword [edi + 0x14], 0xc8
mov dword [esp + 0x10], eax
jbe 0x1000196b
mov dword [ebp + 0x14], eax
xor ecx, ecx
mov dword [ebp + 0x18], 7
push eax
mov word [ebp + 4], cx
mov eax, 0x100388dc
jmp 0x10001ab9
push 0x40e
push eax
lea eax, [esp + 0x56]
xor edx, edx
push eax
mov word [esp + 0x58], dx
call fcn.1001f190
add esp, 0xc
push 0x208
lea ecx, [esp + 0x50]
push ecx
mov ebx, str.cachekvstore
call fcn.10009b87
push edi
lea ecx, [esp + 0x34]
call fcn.100012a0
mov esi, 8
add esp, 4
cmp dword [eax + 0x18], esi
jb 0x100019b5
mov eax, dword [eax + 4]
jmp 0x100019b8
add eax, 4
mov ebx, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push eax
lea edx, [esp + 0x50]
push edx
call ebx
cmp dword [esp + 0x48], esi
jb 0x100019d9
mov eax, dword [esp + 0x34]
push eax
call fcn.1001d3cd
add esp, 4
lea ecx, [esp + 0x4c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10001a8a
lea esi, [esp + 0x30]
call fcn.100018c0
mov dword [esp + 0x468], 0
cmp dword [esp + 0x44], 0
mov esi, 8
je 0x10001a6c
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x48], esi
jae 0x10001a1a
lea eax, [esp + 0x34]
push 0x208
push eax
lea edx, [esp + 0x54]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
push str.cachekvstore
lea eax, [esp + 0x50]
push eax
call ebx
push edi
lea ecx, [esp + 0x18]
call fcn.100012a0
add esp, 4
cmp dword [eax + 0x18], esi
jb 0x10001a4e
mov eax, dword [eax + 4]
jmp 0x10001a51
add eax, 4
push eax
lea ecx, [esp + 0x50]
push ecx
call ebx
cmp dword [esp + 0x2c], esi
jb 0x10001a6c
mov edx, dword [esp + 0x18]
push edx
call fcn.1001d3cd
add esp, 4
mov dword [esp + 0x468], 0xffffffff
cmp dword [esp + 0x48], esi
jb 0x10001a8a
mov eax, dword [esp + 0x34]
push eax
call fcn.1001d3cd
add esp, 4
xor ecx, ecx
lea eax, [esp + 0x4c]
mov dword [ebp + 0x18], 7
mov dword [ebp + 0x14], 0
mov word [ebp + 4], cx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10001aa5
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x50]
mov esi, ebp
call fcn.100039a0
mov eax, ebp
mov ecx, dword [esp + 0x460]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x44c]
xor ecx, esp
call fcn.1001cefd
add esp, 0x45c
ret
Function at 0x10001af0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x100339e8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x10041060]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
push esi
push edi
mov eax, dword [0x10041060]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov edi, edx
xor ebx, ebx
cmp dword [edi + 0x14], 0xc8
mov esi, ecx
mov dword [esp + 0x14], ebx
jbe 0x10001b4e
push ebx
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
push 0x100388db
mov byte [esi + 4], bl
call fcn.10003750
jmp 0x10001bca
lea eax, [esp + 0x18]
push eax
call fcn.10001900
add esp, 4
mov dword [esp + 0x40], ebx
mov eax, dword [esp + 0x1c]
mov edi, 8
cmp dword [esp + 0x30], edi
jae 0x10001b72
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10001ba4
push ebx
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
push 0x100388db
mov ecx, esi
mov byte [esi + 4], bl
call fcn.10003750
cmp dword [esp + 0x30], edi
jb 0x10001bca
mov ecx, dword [esp + 0x1c]
push ecx
jmp 0x10001bc2
mov ecx, dword [esp + 0x1c]
cmp dword [esp + 0x30], edi
jae 0x10001bb2
lea ecx, [esp + 0x1c]
call fcn.100018e0
cmp dword [esp + 0x30], edi
jb 0x10001bca
mov edx, dword [esp + 0x1c]
push edx
call fcn.1001d3cd
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.1001cefd
add esp, 0x34
ret

Function at 0x10001bf0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10034c15
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
push esi
push edi
mov eax, dword [0x10041060]
xor eax, esp
push eax
lea eax, [esp + 0xc4]
mov dword fs:[0], eax
mov esi, dword [esp + 0xd4]
xor eax, eax
mov dword [esp + 0x10], eax
mov byte [esi + 8], al
and dword [esi + 8], 0xfffffeff
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esp + 0xcc], eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], 1
call fcn.10001af0
mov edi, eax
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0xd0], 2
call fcn.1000f396
push esi
push edi
push eax
mov byte [esp + 0xd8], 3
call fcn.1000f405
lea edi, [esp + 0x30]
call fcn.10001cc0
cmp dword [esp + 0x2c], 0x10
jb 0x10001c97
mov ecx, dword [esp + 0x18]
push ecx
call fcn.1001d3cd
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0xc4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc4
ret
Function at 0x10004cf0
Capabilities:
Create thread
Create udp socket

Disassembly:
push ebx
push esi
push edi
push 0
push 1
push 0x100445fc
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
jne 0x10004d67
mov edi, dword [sym.imp.WS2_32.dll_socket]
push 0x11
push 2
push 2
call edi
mov esi, eax
test esi, esi
ja 0x10004d35
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x3e8
call ebx
push 0x11
push 2
push 2
call edi
mov esi, eax
test esi, esi
jbe 0x10004d20
mov edi, dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push esi
push 0x100046f0
push 0
push 0
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call ebx
push 0
push 0
push esi
push 0x100048a0
push 0
push 0
call edi
push eax
call ebx
mov eax, dword [0x10044844]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x10004d7f
xor eax, eax
pop edi
pop esi
pop ebx
ret
mov ecx, dword [0x10044604]
push ecx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov ecx, eax
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x10004d91
sub ecx, esi
push ecx
mov ecx, dword [esp + 0x14]
push eax
call fcn.10003750
mov edx, dword [esp + 0x14]
push edx
call fcn.10004a00
add esp, 4
pop edi
pop esi
mov eax, 1
pop ebx
ret

Function at 0x10004de0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
lea eax, [esp]
push eax
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0xc]
push edx
push eax
push str.Softwareprojonepodlp_smprule_
push reloc.WS2_32.dll_bind
mov dword [esp + 0x18], 4
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x10004e2a
cmp dword [esp + 4], 4
jne 0x10004e2a
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 0x10005b40
Capabilities:
Check if file exists
Get session user name

Disassembly:
push 0xffffffffffffffff
push 0x100333cb
mov eax, dword fs:[0]
push eax
sub esp, 0x32c
mov eax, dword [0x10041060]
xor eax, esp
mov dword [esp + 0x328], eax
push ebx
push esi
mov eax, dword [0x10041060]
xor eax, esp
push eax
lea eax, [esp + 0x338]
mov dword fs:[0], eax
xor eax, eax
push 0x206
mov esi, ecx
push eax
lea ecx, [esp + 0x136]
push ecx
mov word [esp + 0x138], ax
call fcn.1001f190
add esp, 0xc
push 0x104
lea edx, [esp + 0x130]
push edx
mov ebx, str.polocker.exe
call fcn.10009b87
lea eax, [esp + 0x12c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10005bce
mov eax, 3
jmp 0x10005cb9
push esi
push str._lock
lea ecx, [esp + 0x134]
push ecx
push str.__s___s__s
lea esi, [esp + 0x20]
call fcn.1000abd9
xor edx, edx
push 0xfe
push edx
lea eax, [esp + 0x46]
mov dword [esp + 0x358], 0
push eax
mov word [esp + 0x48], dx
call fcn.1001f190
add esp, 0x1c
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x30]
push edx
mov dword [esp + 0x14], 0x80
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
jne 0x10005c43
cmp dword [esp + 0x28], 8
jb 0x10005c3f
mov eax, dword [esp + 0x14]
push eax
call fcn.1001d3cd
add esp, 4
xor eax, eax
jmp 0x10005cb9
call fcn.10007f89
test eax, eax
mov eax, dword [esp + 0x14]
jne 0x10005c63
cmp dword [esp + 0x28], 8
jae 0x10005c5b
lea eax, [esp + 0x14]
push eax
call fcn.1000a258
jmp 0x10005c74
cmp dword [esp + 0x28], 8
jae 0x10005c6e
lea eax, [esp + 0x14]
push eax
call fcn.1000a3a5
test eax, eax
je 0x10005c84
cmp eax, 0xffffffff
je 0x10005c84
mov ecx, 1
jmp 0x10005c86
xor ecx, ecx
xor edx, edx
test cl, cl
setne dl
dec edx
and edx, 4
mov esi, edx
cmp eax, 0xffffffff
je 0x10005ca3
test eax, eax
je 0x10005ca3
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x28], 8
jb 0x10005cb7
mov eax, dword [esp + 0x14]
push eax
call fcn.1001d3cd
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x338]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x328]
xor ecx, esp
call fcn.1001cefd
add esp, 0x338
ret

Function at 0x100065f0
Capabilities:
Create thread

Disassembly:
mov eax, 0x1010
call fcn.10028990
mov eax, dword [0x10041060]
xor eax, esp
mov dword [esp + 0x1008], eax
push esi
push str._ExternalConnMgrThread
push 0x8f
push str..externalconn.cpp
push str._s._d:_s
lea eax, [esp + 0x18]
push 0x800
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x18
lea ecx, [esp + 4]
push ecx
push 0
push 0
push 0x10006480
push 0
push 0
mov dword [esp + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
test esi, esi
je 0x1000666d
mov eax, dword [esp + 4]
lea edx, [esp + 8]
push edx
push eax
push str.thread__d_created:__s
call fcn.100079e1
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x100c]
pop esi
xor ecx, esp
call fcn.1001cefd
add esp, 0x1010
ret
Function at 0x10006690
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10034e38
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x10041060]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
push 5
push str.alarm
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], 0
mov byte [esp + 0x10], 0
call fcn.10003750
lea eax, [esp + 4]
push 0
push eax
mov dword [esp + 0x30], 0
call fcn.10005840
add esp, 8
cmp dword [esp + 0x1c], 0x10
jb 0x10006703
mov ecx, dword [esp + 8]
push ecx
call fcn.1001d3cd
add esp, 4
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
add esp, 0x28
ret

Function at 0x10006b70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100349d8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x10041060]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
and dword [esp + 0x14], 0xfffffe00
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
lea eax, [esp + 0xc]
push eax
push ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x38], 1
call fcn.100068a0
add esp, 8
test al, al
je 0x10006c39
cmp byte [esp + 0x14], 7
jne 0x10006c39
push str.value_bool
lea edx, [esp + 0x10]
push edx
mov ecx, 0x10039242
call fcn.100137fa
mov ecx, eax
call fcn.10013bff
test al, al
je 0x10006c39
push str.value_bool
lea eax, [esp + 0x10]
push eax
mov ecx, 0x10039242
call fcn.100137fa
mov esi, eax
call fcn.10012e19
mov edx, dword [esp + 0x3c]
cmp eax, 1
sete cl
lea esi, [esp + 0xc]
mov byte [edx], cl
mov dword [esp + 0x30], 0xffffffff
call fcn.10012b34
mov al, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x2c
ret
lea esi, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call fcn.10012b34
xor al, al
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x2c
ret

Function at 0x10006c60
Capabilities:
Set registry value

Disassembly:
sub esp, 0x28
push ebx
lea eax, [esp + 0xb]
xor ebx, ebx
push eax
mov dword [esp + 0x10], ebx
push esi
mov byte [esp + 0x13], bl
call fcn.10006b70
add esp, 8
test edi, edi
je 0x10006c84
mov eax, edi
jmp 0x10006ca4
push esi
lea ecx, [esp + 0x14]
call fcn.100012a0
add esp, 4
cmp dword [eax + 0x18], 8
mov ebx, 1
jb 0x10006ca1
mov eax, dword [eax + 4]
jmp 0x10006ca4
add eax, 4
xor ecx, ecx
cmp byte [esp + 0xb], cl
push 4
lea edx, [esp + 0x10]
push edx
push 4
setne cl
push eax
push str.Softwareprojonepodlp_smprule_
push reloc.WS2_32.dll_bind
mov dword [esp + 0x24], ecx
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
test bl, 1
je 0x10006ce4
cmp dword [esp + 0x28], 8
jb 0x10006ce4
mov eax, dword [esp + 0x14]
push eax
call fcn.1001d3cd
add esp, 4
pop ebx
add esp, 0x28
ret
Function at 0x1000977a
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x10041060]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
push esi
cmp edi, ebx
je 0x10009874
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x104
jge 0x10009874
xor eax, eax
push 0x206
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push ebx
push eax
call fcn.1001f190
add esp, 0xc
lea esi, [ebp - 0x210]
mov ecx, edi
call fcn.10009e6f
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x100097f1
shr eax, 4
not eax
and eax, 1
jmp 0x10009876
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea esi, [ebp - 0x418]
call fcn.10009884
test eax, eax
je 0x10009874
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x10000000
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x420], eax
cmp eax, ebx
je 0x10009856
mov dword [ebp - 0x41c], 1
cmp eax, 0xffffffff
jne 0x1000985c
mov dword [ebp - 0x41c], ebx
lea ecx, [ebp - 0x420]
call fcn.10004dc0
xor eax, eax
cmp byte [ebp - 0x41c], bl
setne al
jmp 0x10009876
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.1001cefd
leave
ret
Function at 0x10009c3a
Capabilities:
Check if file exists
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor ebx, ebx
mov dword [ebp - 8], eax
cmp eax, ebx
jne 0x10009c66
call fcn.1000977a
test eax, eax
jne 0x10009c66
pop edi
pop esi
pop ebx
leave
ret 0xc
push ebx
push ebx
push 2
push ebx
push ebx
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0xc], esi
cmp esi, ebx
je 0x10009c86
cmp esi, 0xffffffff
jne 0x10009c9e
cmp dword [ebp - 8], ebx
jne 0x10009c92
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0xc]
call fcn.10004dc0
mov eax, ebx
jmp 0x10009c5f
mov edi, dword [ebp + 0x10]
push ebx
lea eax, [ebp - 4]
push eax
push edi
push dword [ebp + 0xc]
mov dword [ebp - 4], ebx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x10009cc2
cmp dword [ebp - 4], edi
jne 0x10009cc2
xor ebx, ebx
inc ebx
jmp 0x10009c92
cmp dword [ebp - 8], ebx
jne 0x10009c92
or dword [ebp - 0xc], 0xffffffff
cmp esi, 0xffffffff
je 0x10009cdb
cmp esi, ebx
je 0x10009cdb
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp + 8]
jmp 0x10009c8c

Function at 0x10009df5
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
lea ebp, [esp - 0x88]
sub esp, 0x108
mov eax, dword [0x10041060]
xor eax, ebp
mov dword [ebp + 0x84], eax
push 0x103
lea eax, [ebp - 0x7f]
push 0
push eax
mov byte [ebp - 0x80], 0
call fcn.1001f190
add esp, 0xc
push 0x104
lea eax, [ebp - 0x80]
push eax
call fcn.10009d5e
mov eax, 0x179b06cc
xor ecx, ecx
push esi
movzx edx, byte [ebp + ecx - 0x80]
movzx esi, al
xor edx, esi
shr eax, 8
xor eax, dword [edx*4 + 0x10042d28]
inc ecx
cmp ecx, 0x24
jl 0x10009e3d
mov ecx, dword [ebp + 0x84]
xor ecx, ebp
not eax
pop esi
call fcn.1001cefd
add ebp, 0x88
leave
ret