joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10004f50
Capabilities:
Set registry value

Disassembly:
sub esp, 0x234
mov eax, dword [0x10047330]
xor eax, esp
mov dword [esp + 0x22c], eax
push ebx
push ebp
push esi
push edi
xor eax, eax
push 0x206
mov ebx, ecx
push eax
lea ecx, [esp + 0x3a]
push ecx
mov edi, edx
mov word [esp + 0x3c], ax
call fcn.100258c0
add esp, 0xc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [esp + 0x1a]
movzx ecx, word [esp + 0x16]
movzx edx, word [esp + 0x14]
push eax
push ecx
push edx
push str._04d__02d__02d
lea eax, [esp + 0x40]
push 0x104
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
lea ecx, [esp + 0x48]
push ecx
push str.Softwareprojonepodlp_rptcache_rptstore_s
lea esi, [esp + 0x34]
call fcn.1001f2f3
mov ebp, 8
add esp, 0x20
cmp dword [edi + 0x18], ebp
jb 0x10004fdd
mov edi, dword [edi + 4]
jmp 0x10004fe0
add edi, 4
cmp dword [ebx + 0x18], ebp
jb 0x10004fea
mov ebx, dword [ebx + 4]
jmp 0x10004fed
add ebx, 4
cmp dword [eax + 0x18], ebp
jb 0x10004ff7
mov esi, dword [eax + 4]
jmp 0x10004ffa
lea esi, [eax + 4]
test edi, edi
je 0x10005007
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
jmp 0x10005009
xor eax, eax
lea edx, [eax + eax + 2]
push edx
push edi
push 1
push ebx
push esi
push reloc.WS2_32.dll_bind
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
cmp dword [esp + 0x2c], ebp
jb 0x10005031
mov eax, dword [esp + 0x18]
push eax
call fcn.100236cc
add esp, 4
mov ecx, dword [esp + 0x23c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1002333a
add esp, 0x234
ret
Function at 0x10005200
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push 0xffffffffffffffff
push 0x10039638
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10047330]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov eax, dword [esp + 0x44]
cmp dword [eax + 0x18], 8
mov edx, dword [eax + 0x14]
jb 0x10005239
mov esi, dword [eax + 4]
jmp 0x1000523c
lea esi, [eax + 4]
xor edi, edi
add edx, edx
xor ecx, ecx
cmp edx, edi
mov eax, 0x5933a6f0
jle 0x10005268
jmp 0x10005250
movzx ebx, byte [esi + ecx]
movzx ebp, al
xor ebx, ebp
shr eax, 8
xor eax, dword [ebx*4 + 0x100492d0]
inc ecx
cmp ecx, edx
jl 0x10005250
push str.GetTickCount64
not eax
push str.kernel32.dll
mov dword [esp + 0x4c], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, edi
je 0x10005291
call eax
mov dword [esp + 0x20], edx
jmp 0x1000529b
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x20], edi
push 0x1004a580
mov ebp, eax
mov dword [esp + 0x1c], 0x1004a580
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [esp + 0x28]
push eax
lea ebx, [esp + 0x48]
mov dword [esp + 0x40], edi
call fcn.10007a30
mov edi, dword [esp + 0x28]
mov ebx, dword [0x1004aa3c]
test edi, edi
je 0x100052d8
cmp edi, dword [0x1004aa24]
je 0x100052dd
call fcn.10023692
mov esi, dword [esp + 0x2c]
cmp esi, ebx
je 0x1000533a
test edi, edi
jne 0x10005336
call fcn.10023692
cmp esi, dword [edi + 0x18]
jne 0x100052f8
call fcn.10023692
mov eax, dword [esp + 0x20]
mov ecx, ebp
sub ecx, dword [esi + 0x18]
sbb eax, dword [esi + 0x1c]
test eax, eax
ja 0x1000533a
jb 0x10005312
cmp ecx, 0x927c0
jae 0x1000533a
push 0x1004a580
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 1
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
mov edi, dword [edi]
jmp 0x100052ee
lea ecx, [esp + 0x44]
push ecx
call fcn.10007990
mov edx, dword [esp + 0x20]
mov dword [eax], ebp
push 0x1004a580
mov dword [eax + 4], edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
Function at 0x10005800
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x1003b382
mov eax, dword fs:[0]
push eax
sub esp, 0xfc
mov eax, dword [0x10047330]
xor eax, esp
mov dword [esp + 0xf4], eax
push ebx
push esi
push edi
mov eax, dword [0x10047330]
xor eax, esp
push eax
lea eax, [esp + 0x10c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x11c]
xor ebx, ebx
mov dword [esp + 0x18], ebx
and dword [esp + 0x24], 0xfffffe00
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
push eax
lea eax, [esp + 0x3c]
push eax
mov dword [esp + 0x11c], 1
call fcn.100031f0
add esp, 8
mov esi, eax
lea ecx, [esp + 0x54]
mov byte [esp + 0x114], 2
push ecx
mov dword [esp + 0x1c], 1
call fcn.10011359
lea edx, [esp + 0x1c]
push edx
mov ecx, 3
push esi
mov dword [esp + 0x11c], ecx
push eax
mov dword [esp + 0x24], ecx
call fcn.100113c8
test al, al
je 0x100058bb
cmp byte [esp + 0x24], 7
mov byte [esp + 0x17], bl
je 0x100058c0
mov byte [esp + 0x17], 1
lea edi, [esp + 0x54]
call fcn.10005770
mov esi, 0x10
mov dword [esp + 0x114], 1
cmp dword [esp + 0x50], esi
jb 0x100058ec
mov eax, dword [esp + 0x3c]
push eax
call fcn.100236cc
add esp, 4
cmp byte [esp + 0x17], bl
jne 0x100059f2
push str.attachment
lea ecx, [esp + 0x20]
push ecx
mov ecx, 0x1003eb5a
call fcn.100157a9
cmp byte [eax + 8], 4
jne 0x100059f2
push str.attachment
lea edx, [esp + 0x20]
push edx
mov ecx, 0x1003eb5a
call fcn.100157a9
push eax
lea ecx, [esp + 0x3c]
call fcn.10014cd1
push eax
lea ecx, [esp + 0xec]
mov byte [esp + 0x118], 4
call fcn.10003170
add esp, 4
mov byte [esp + 0x114], 6
cmp dword [esp + 0x50], esi
jb 0x10005965
mov eax, dword [esp + 0x3c]
push eax
call fcn.100236cc
add esp, 4
mov eax, dword [esp + 0xec]
mov esi, 8
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
cmp dword [esp + 0x100], esi
jae 0x10005991
lea eax, [esp + 0xec]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esp + 0xec]
cmp dword [esp + 0x100], esi
jae 0x100059af
lea eax, [esp + 0xec]
push eax
push 0x1003eb78
call fcn.10020f1f
add esp, 8
cmp dword [esp + 0x100], esi
jb 0x100059d6
mov ecx, dword [esp + 0xec]
push ecx
call fcn.100236cc
add esp, 4
xor edx, edx
mov dword [esp + 0x100], 7
mov dword [esp + 0xfc], ebx
mov word [esp + 0xec], dx
lea esi, [esp + 0x1c]
mov dword [esp + 0x114], 0xffffffff
call fcn.10014ae3
mov ecx, dword [esp + 0x10c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xf4]
xor ecx, esp
call fcn.1002333a
add esp, 0x108
ret
Function at 0x10006e80
Capabilities:
Create thread
Delete registry value
Set registry value

Disassembly:
mov eax, 0x1010
call fcn.10034bc0
mov eax, dword [0x10047330]
xor eax, esp
mov dword [esp + 0x1008], eax
push ebx
push esi
push edi
push 0x1004a580
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 4
lea eax, [esp + 0x10]
push eax
push 4
push 0x1003ed88
push str.Softwareprojonepodlp_rptcachependings_
push reloc.WS2_32.dll_bind
mov dword [esp + 0x24], 1
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push 0x1003ed88
push str.Softwareprojonepodlp_rptcachependings_
push reloc.WS2_32.dll_bind
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
call fcn.1001f120
cmp dword [0x10048d68], 0
je 0x10006fcf
mov edi, dword [sym.imp.SHLWAPI.dll_wnsprintfW]
push str._PendingFetchThread
push 0x17b
push str.._rptcache.cpp
push str._s._d:_s
lea ecx, [esp + 0x20]
push 0x800
push ecx
mov dword [0x10048d68], 0
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_CreateThread]
add esp, 0x18
lea edx, [esp + 0xc]
push edx
push 0
push 0
push 0x10005b90
push 0
push 0
mov dword [esp + 0x24], 0
call ebx
mov esi, eax
test esi, esi
je 0x10006f65
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
push ecx
push str.thread__d_created:__s
call fcn.10020dc1
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str._StockReportThread
push 0x17c
push str.._rptcache.cpp
push str._s._d:_s
lea edx, [esp + 0x20]
push 0x800
push edx
call edi
add esp, 0x18
lea eax, [esp + 0xc]
push eax
push 0
push 0
push 0x10006c70
push 0
push 0
mov dword [esp + 0x24], 0
call ebx
mov esi, eax
test esi, esi
je 0x10006fc8
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push ecx
push edx
push str.thread__d_created:__s
call fcn.10020dc1
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x1014]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1002333a
add esp, 0x1010
ret

Function at 0x10006ff0
Capabilities:
Check if file exists
Delete directory
Delete registry key

Disassembly:
sub esp, 0x214
mov eax, dword [0x10047330]
xor eax, esp
mov dword [esp + 0x20c], eax
push str.Softwareprojonepodlp_rptcache_
push reloc.WS2_32.dll_bind
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0xa]
push ecx
mov word [esp + 0xc], ax
call fcn.100258c0
add esp, 0xc
lea ecx, [esp]
call fcn.10021ab6
test eax, eax
je 0x10007076
lea edx, [esp]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x10007076
push 0
push 0x1001ea48
push 0
push 0x1001ea37
push 1
lea eax, [esp + 0x14]
push eax
call fcn.1001e42d
lea ecx, [esp]
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea edx, [esp]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.1002333a
add esp, 0x214
ret
Function at 0x10007090
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x1003b982
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push esi
mov eax, dword [0x10047330]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x20]
push edx
push str.online
push str.Softwareprojonepodlp_
xor ebx, ebx
mov dword [esp + 0x28], ebx
push reloc.WS2_32.dll_bind
mov dword [esp + 0x2c], 4
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x100070fa
cmp dword [esp + 0x18], 4
jne 0x100070fa
cmp dword [esp + 0x1c], ebx
jne 0x1000710e
xor al, al
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x58
ret
mov byte [esp + 0x13], bl
test esi, esi
je 0x1000718b
mov eax, esi
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
lea edx, [eax + 1]
jmp 0x10007130
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10007130
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x28]
call fcn.10001b00
lea eax, [esp + 0x20]
mov dword [esp + 0x60], 0
mov esi, 1
push eax
lea ecx, [esp + 0x40]
mov dword [esp + 0x18], esi
call fcn.10003170
add esp, 4
lea ecx, [esp + 0x13]
push ecx
mov dword [esp + 0x64], esi
mov ebx, 3
mov ecx, eax
mov dword [esp + 0x18], ebx
call fcn.10005370
add esp, 4
test eax, eax
setne byte [esp + 0x13]
jmp 0x1000718f
mov byte [esp + 0x13], bl
test bl, 2
je 0x100071c2
and ebx, 0xfffffffd
cmp dword [esp + 0x54], 8
jb 0x100071ab
mov edx, dword [esp + 0x40]
push edx
call fcn.100236cc
add esp, 4
xor eax, eax
mov dword [esp + 0x54], 7
mov dword [esp + 0x50], 0
mov word [esp + 0x40], ax
test bl, 1
je 0x100071db
cmp dword [esp + 0x38], 0x10
jb 0x100071db
mov ecx, dword [esp + 0x24]
push ecx
call fcn.100236cc
add esp, 4
mov al, byte [esp + 0x13]
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x58
ret
Function at 0x1000fdb0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x1003b25b
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x10047330]
xor eax, esp
mov dword [esp + 0xcc], eax
push ebx
push esi
push edi
mov eax, dword [0x10047330]
xor eax, esp
push eax
lea eax, [esp + 0xe0]
mov dword fs:[0], eax
push 0x7e
mov esi, ecx
xor ebx, ebx
lea ecx, [esp + 0x62]
xor eax, eax
push ebx
push ecx
mov word [esp + 0x68], ax
call fcn.100258c0
add esp, 0xc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov eax, dword [0x1004aac8]
mov edi, eax
inc eax
mov dword [0x1004aac8], eax
call fcn.1001ebab
movzx ecx, word [esp + 0x1e]
movzx edx, word [esp + 0x1c]
push eax
movzx eax, word [esp + 0x24]
push edi
push eax
movzx eax, word [esp + 0x26]
push ecx
movzx ecx, word [esp + 0x26]
push edx
movzx edx, word [esp + 0x28]
push eax
push ecx
push edx
push str._04d__02d__02d__02d:_02d:_02d__d__08x
lea eax, [esp + 0x80]
push 0x40
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x2c
push esi
lea ecx, [esp + 0x44]
call fcn.10015fc5
push eax
lea ecx, [esp + 0x28]
mov dword [esp + 0xec], ebx
call fcn.10003170
mov edi, 8
add esp, 4
cmp dword [eax + 0x18], edi
jb 0x1000fe8d
mov esi, dword [eax + 4]
jmp 0x1000fe90
lea esi, [eax + 4]
cmp esi, ebx
je 0x1000fe9d
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
jmp 0x1000fe9f
xor eax, eax
lea ecx, [eax + eax + 2]
push ecx
push esi
push 1
lea edx, [esp + 0x68]
push edx
push str.Softwareprojonepodlp_rptcachependings_
push reloc.WS2_32.dll_bind
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov esi, eax
neg esi
sbb esi, esi
inc esi
cmp dword [esp + 0x3c], edi
jb 0x1000fed6
mov eax, dword [esp + 0x28]
push eax
call fcn.100236cc
add esp, 4
xor ecx, ecx
mov dword [esp + 0xe8], 0xffffffff
cmp dword [esp + 0x58], 0x10
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], ebx
mov word [esp + 0x28], cx
jb 0x1000ff08
mov edx, dword [esp + 0x44]
push edx
call fcn.100236cc
add esp, 4
mov dword [esp + 0x58], 0xf
mov dword [esp + 0x54], ebx
mov byte [esp + 0x44], bl
cmp esi, ebx
je 0x1000ff23
call fcn.1000fc90
jmp 0x1000ff41
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0x60]
push eax
push str.Softwareprojonepodlp_rptcachependings_
push str.CachedReport_write_register_failed:__s._s__d
call fcn.1002107d
add esp, 0x10
mov ecx, dword [esp + 0xe0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xcc]
xor ecx, esp
call fcn.1002333a
add esp, 0xdc
ret
Function at 0x10010b00
Capabilities:
Create thread

Disassembly:
mov eax, 0x1010
call fcn.10034bc0
mov eax, dword [0x10047330]
xor eax, esp
mov dword [esp + 0x1008], eax
push esi
push str._UdpRptHandleRoutine
push 0x6e
push str..udprpt.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 0x100108b0
push 0
push 0
mov dword [esp + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
test esi, esi
je 0x10010b7a
mov eax, dword [esp + 4]
lea edx, [esp + 8]
push edx
push eax
push str.thread__d_created:__s
call fcn.10020dc1
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x100c]
pop esi
xor ecx, esp
call fcn.1002333a
add esp, 0x1010
ret
Function at 0x1001e42d
Capabilities:
Check if file exists
Enumerate files on windows
Enumerate files recursively
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa94
mov eax, dword [0x10047330]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x1c]
push ebx
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0xa88], ecx
mov ecx, dword [ebp + 0x18]
push edi
mov dword [ebp - 0xa84], eax
mov dword [ebp - 0xa80], ecx
mov dword [ebp - 0xa8c], edx
test esi, esi
je 0x1001e652
test eax, eax
jne 0x1001e47e
test ecx, ecx
je 0x1001e652
movzx eax, word [esi + 2]
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
cmp ax, 0x3a
je 0x1001e4d4
cmp ax, 0x5c
je 0x1001e4d4
xor eax, eax
push 0x40e
push eax
mov word [ebp - 0x828], ax
lea eax, [ebp - 0x826]
push eax
call fcn.100258c0
add esp, 0xc
lea eax, [ebp - 0x828]
push eax
push 0x208
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push esi
lea eax, [ebp - 0x828]
push eax
call edi
lea esi, [ebp - 0x828]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1001e652
test al, 0x10
je 0x1001e652
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyW]
push esi
lea eax, [ebp - 0x418]
push eax
call ebx
push 0x100402cc
lea eax, [ebp - 0x418]
push eax
call edi
lea eax, [ebp - 0xa78]
push eax
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0xa90], eax
cmp eax, 0xffffffff
je 0x1001e652
mov dword [ebp - 0xa7c], 1
push 0x100402d0
lea eax, [ebp - 0xa4c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x1001e617
push 0x100402d4
lea eax, [ebp - 0xa4c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x1001e617
cmp dword [ebp - 0xa78], 0xffffffff
je 0x1001e617
push esi
lea eax, [ebp - 0x210]
push eax
call ebx
lea eax, [ebp - 0xa4c]
push eax
lea eax, [ebp - 0x210]
push eax
call edi
test byte [ebp - 0xa78], 0x10
je 0x1001e5f7
cmp dword [ebp - 0xa80], 0
je 0x1001e5bb
push dword [ebp - 0xa8c]
lea eax, [ebp - 0x210]
push eax
call dword [ebp - 0xa80]
test eax, eax
je 0x1001e634
cmp dword [ebp + 0xc], 0
je 0x1001e617
push dword [ebp - 0xa8c]
lea eax, [ebp - 0x210]
push dword [ebp - 0xa80]
push dword [ebp - 0xa88]
push dword [ebp - 0xa84]
push dword [ebp + 0xc]
push eax
call fcn.1001e42d
push 2
pop ecx
cmp eax, ecx
jne 0x1001e617
mov dword [ebp - 0xa7c], ecx
jmp 0x1001e63e
cmp dword [ebp - 0xa84], 0
je 0x1001e617
push dword [ebp - 0xa88]
lea eax, [ebp - 0x210]
push eax
call dword [ebp - 0xa84]
test eax, eax
je 0x1001e634
lea eax, [ebp - 0xa78]
push eax
push dword [ebp - 0xa90]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1001e537
jmp 0x1001e63e
mov dword [ebp - 0xa7c], 2
push dword [ebp - 0xa90]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0xa7c]
jmp 0x1001e654
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1002333a
leave
ret 0x18
Function at 0x1001e9ca
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1001e9e1
push 2
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
ret
test al, 1
je 0x1001e9f0
and eax, 0xfffffffe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
ret

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

Disassembly:
xor ecx, ecx
cmp dword [esp + 8], ecx
jle 0x1001eaa5
push esi
mov edx, dword [esp + 8]
movzx edx, byte [ecx + edx]
movzx esi, al
xor edx, esi
shr eax, 8
xor eax, dword [edx*4 + 0x100492d0]
inc ecx
cmp ecx, dword [esp + 0xc]
jl 0x1001ea86
pop esi
not eax
ret 8

Function at 0x1001ee5e
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x434
mov eax, dword [0x10047330]
xor eax, esp
mov dword [esp + 0x430], eax
mov eax, fcn.1001ef00
push esi
test eax, eax
je 0x1001eeeb
push 0x424
lea eax, [esp + 0x10]
push 0
push eax
call fcn.100258c0
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 0x1001eee2
cmp esi, 0xffffffff
je 0x1001eee2
lea eax, [esp + 8]
push eax
push esi
call sub.KERNEL32.dll_Module32FirstW
jmp 0x1001eede
push edi
lea eax, [esp + 0xc]
push eax
call fcn.1001ef00
test eax, eax
je 0x1001eee2
lea eax, [esp + 8]
push eax
push esi
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x1001eec4
lea eax, [esp + 4]
call fcn.1001e1bc
mov ecx, dword [esp + 0x434]
pop esi
xor ecx, esp
call fcn.1002333a
mov esp, ebp
pop ebp
ret 4
Function at 0x1001f3fa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x800
lea ebp, [esp - 4]
mov eax, dword [0x10047330]
xor eax, ebp
mov dword [ebp + 0x800], eax
push 0x20
mov eax, 0x1003973b
call fcn.10024131
mov eax, dword [ebp + 0x80c]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x810]
mov esi, edx
mov dword [ebp - 0x14], ecx
xor edi, edi
mov dword [ebp - 0x2c], edi
xor ecx, ecx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], esi
mov dword [eax + 0x18], 7
call fcn.10008a00
xor ebx, ebx
inc ebx
mov dword [ebp - 4], edi
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], edi
cmp esi, edi
je 0x1001f510
xor eax, eax
push 0x7fe
mov word [ebp], ax
lea eax, [ebp + 2]
push edi
push eax
call fcn.100258c0
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
push edi
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x14]
mov dword [ebp - 0x10], edi
push esi
push dword [ebp - 0x18]
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov dword [ebp - 0x1c], edi
call esi
cmp dword [ebp - 0x1c], ebx
je 0x1001f4a0
cmp dword [ebp - 0x1c], 2
jne 0x1001f510
mov eax, dword [ebp - 0x10]
cmp eax, edi
je 0x1001f510
cmp eax, 0x800
jbe 0x1001f4dd
add eax, 2
push eax
call fcn.10024655
mov ebx, eax
mov eax, dword [ebp - 0x10]
add eax, 2
push eax
push edi
push ebx
call fcn.100258c0
add esp, 0x10
lea eax, [ebp - 0x10]
push eax
push ebx
push edi
push dword [ebp - 0x14]
push dword [ebp - 0x20]
push dword [ebp - 0x18]
call esi
jmp 0x1001f4f4
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp]
push eax
push edi
push dword [ebp - 0x14]
push dword [ebp - 0x20]
push dword [ebp - 0x18]
call esi
mov ebx, dword [ebp - 0x28]
mov eax, ebx
cmp ebx, edi
jne 0x1001f4fd
lea eax, [ebp]
push dword [ebp - 0x24]
call fcn.10007d40
cmp ebx, edi
je 0x1001f510
push ebx
call fcn.10024578
pop ecx
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x800]
xor ecx, ebp
call fcn.1002333a
add ebp, 0x804
leave
ret
Function at 0x1001f536
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10039ea1
mov eax, dword fs:[0]
push eax
mov eax, 0x2040
call fcn.10034bc0
mov eax, dword [0x10047330]
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 esi, edx
mov dword [ebp - 0x2018], ecx
mov dword [ebp - 0x202c], edi
call fcn.1001812f
lea eax, [ebp - 0x201c]
push eax
xor ebx, ebx
inc ebx
push ebx
push edi
push dword [ebp - 0x2018]
mov dword [ebp - 0x202c], ebx
push esi
mov dword [ebp - method.RegHandleHolder.virtual_0], vtable.RegHandleHolder.0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x201c], edi
je 0x1001f668
xor eax, eax
push 0x1ffe
mov word [ebp - 0x2014], ax
lea eax, [ebp - 0x2012]
push edi
push eax
mov dword [ebp - 0x2018], edi
call fcn.100258c0
add esp, 0xc
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x2024]
push eax
lea eax, [ebp - 0x2014]
push eax
push edi
jmp 0x1001f64e
inc dword [ebp - 0x2018]
lea eax, [ebp - 0x2014]
lea ecx, [ebp - 0x2048]
call fcn.10007530
lea eax, [ebp - 0x2048]
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x2028]
push eax
call fcn.1001f86e
lea esi, [ebp - 0x2048]
mov byte [ebp - 4], bl
call fcn.1000b0c0
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_RegEnumValueW]
test eax, eax
je 0x1001f5fb
mov dword [ebp - method.RegHandleHolder.virtual_0], vtable.RegHandleHolder.0
cmp dword [ebp - 0x201c], edi
je 0x1001f686
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.1002333a
leave
ret