joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10004f80
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.10025820
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.1001f368
mov ebp, 8
add esp, 0x20
cmp dword [edi + 0x18], ebp
jb 0x1000500d
mov edi, dword [edi + 4]
jmp 0x10005010
add edi, 4
cmp dword [ebx + 0x18], ebp
jb 0x1000501a
mov ebx, dword [ebx + 4]
jmp 0x1000501d
add ebx, 4
cmp dword [eax + 0x18], ebp
jb 0x10005027
mov esi, dword [eax + 4]
jmp 0x1000502a
lea esi, [eax + 4]
test edi, edi
je 0x10005037
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
jmp 0x10005039
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 0x10005061
mov eax, dword [esp + 0x18]
push eax
call fcn.1002362f
add esp, 4
mov ecx, dword [esp + 0x23c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100232be
add esp, 0x234
ret
Function at 0x10005230
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push 0xffffffffffffffff
push 0x10039588
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 0x10005269
mov esi, dword [eax + 4]
jmp 0x1000526c
lea esi, [eax + 4]
xor edi, edi
add edx, edx
xor ecx, ecx
cmp edx, edi
mov eax, 0x5933a6f0
jle 0x10005298
jmp 0x10005280
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 0x10005280
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 0x100052c1
call eax
mov dword [esp + 0x20], edx
jmp 0x100052cb
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x20], edi
push 0x1004a598
mov ebp, eax
mov dword [esp + 0x1c], 0x1004a598
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [esp + 0x28]
push eax
lea ebx, [esp + 0x48]
mov dword [esp + 0x40], edi
call fcn.10007ae0
mov edi, dword [esp + 0x28]
mov ebx, dword [0x1004aa54]
test edi, edi
je 0x10005308
cmp edi, dword [0x1004aa3c]
je 0x1000530d
call fcn.100235f5
mov esi, dword [esp + 0x2c]
cmp esi, ebx
je 0x1000536a
test edi, edi
jne 0x10005366
call fcn.100235f5
cmp esi, dword [edi + 0x18]
jne 0x10005328
call fcn.100235f5
mov eax, dword [esp + 0x20]
mov ecx, ebp
sub ecx, dword [esi + 0x18]
sbb eax, dword [esi + 0x1c]
test eax, eax
ja 0x1000536a
jb 0x10005342
cmp ecx, 0x927c0
jae 0x1000536a
push 0x1004a598
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 0x1000531e
lea ecx, [esp + 0x44]
push ecx
call fcn.10007a40
mov edx, dword [esp + 0x20]
mov dword [eax], ebp
push 0x1004a598
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 0x10005830
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x1003b2e2
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.10003220
add esp, 8
mov esi, eax
lea ecx, [esp + 0x54]
mov byte [esp + 0x114], 2
push ecx
mov dword [esp + 0x1c], 1
call fcn.10011318
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.10011387
test al, al
je 0x100058eb
cmp byte [esp + 0x24], 7
mov byte [esp + 0x17], bl
je 0x100058f0
mov byte [esp + 0x17], 1
lea edi, [esp + 0x54]
call fcn.100057a0
mov esi, 0x10
mov dword [esp + 0x114], 1
cmp dword [esp + 0x50], esi
jb 0x1000591c
mov eax, dword [esp + 0x3c]
push eax
call fcn.1002362f
add esp, 4
cmp byte [esp + 0x17], bl
jne 0x10005a22
push str.attachment
lea ecx, [esp + 0x20]
push ecx
mov ecx, 0x1003eb2a
call fcn.10015775
cmp byte [eax + 8], 4
jne 0x10005a22
push str.attachment
lea edx, [esp + 0x20]
push edx
mov ecx, 0x1003eb2a
call fcn.10015775
push eax
lea ecx, [esp + 0x3c]
call fcn.10014c9d
push eax
lea ecx, [esp + 0xec]
mov byte [esp + 0x118], 4
call fcn.100031a0
add esp, 4
mov byte [esp + 0x114], 6
cmp dword [esp + 0x50], esi
jb 0x10005995
mov eax, dword [esp + 0x3c]
push eax
call fcn.1002362f
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 0x100059c1
lea eax, [esp + 0xec]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esp + 0xec]
cmp dword [esp + 0x100], esi
jae 0x100059df
lea eax, [esp + 0xec]
push eax
push 0x1003eb48
call fcn.10020fc4
add esp, 8
cmp dword [esp + 0x100], esi
jb 0x10005a06
mov ecx, dword [esp + 0xec]
push ecx
call fcn.1002362f
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.10014aaf
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.100232be
add esp, 0x108
ret
Function at 0x10006eb0
Capabilities:
Create thread
Delete registry value
Set registry value

Disassembly:
mov eax, 0x1010
call fcn.10034b20
mov eax, dword [0x10047330]
xor eax, esp
mov dword [esp + 0x1008], eax
push ebx
push esi
push edi
push 0x1004a598
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 4
lea eax, [esp + 0x10]
push eax
push 4
push 0x1003ed18
push str.Softwareprojonepodlp_rptcachependings_
push reloc.WS2_32.dll_bind
mov dword [esp + 0x24], 1
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push 0x1003ed18
push str.Softwareprojonepodlp_rptcachependings_
push reloc.WS2_32.dll_bind
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
call fcn.1001f195
cmp dword [0x10048d68], 0
je 0x10006fff
mov edi, dword [sym.imp.SHLWAPI.dll_wnsprintfW]
push str._PendingFetchThread
push 0x172
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 0x10005bc0
push 0
push 0
mov dword [esp + 0x24], 0
call ebx
mov esi, eax
test esi, esi
je 0x10006f95
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
push ecx
push str.thread__d_created:__s
call fcn.10020e66
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str._StockReportThread
push 0x173
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 0x10006ca0
push 0
push 0
mov dword [esp + 0x24], 0
call ebx
mov esi, eax
test esi, esi
je 0x10006ff8
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push ecx
push edx
push str.thread__d_created:__s
call fcn.10020e66
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.100232be
add esp, 0x1010
ret

Function at 0x10007020
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.10025820
add esp, 0xc
lea ecx, [esp]
call fcn.10021b5b
test eax, eax
je 0x100070a6
lea edx, [esp]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x100070a6
push 0
push 0x1001eac0
push 0
push 0x1001eaaf
push 1
lea eax, [esp + 0x14]
push eax
call fcn.1001e4a5
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.100232be
add esp, 0x214
ret
Function at 0x100070c0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x1003b8e2
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 0x1000712a
cmp dword [esp + 0x18], 4
jne 0x1000712a
cmp dword [esp + 0x1c], ebx
jne 0x1000713e
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 0x100071bb
mov eax, esi
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
lea edx, [eax + 1]
jmp 0x10007160
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10007160
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x28]
call fcn.10001ab0
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.100031a0
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.100053a0
add esp, 4
test eax, eax
setne byte [esp + 0x13]
jmp 0x100071bf
mov byte [esp + 0x13], bl
test bl, 2
je 0x100071f2
and ebx, 0xfffffffd
cmp dword [esp + 0x54], 8
jb 0x100071db
mov edx, dword [esp + 0x40]
push edx
call fcn.1002362f
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 0x1000720b
cmp dword [esp + 0x38], 0x10
jb 0x1000720b
mov ecx, dword [esp + 0x24]
push ecx
call fcn.1002362f
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 0x1000fda0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x1003b1bb
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.10025820
add esp, 0xc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov eax, dword [0x1004a580]
mov edi, eax
inc eax
mov dword [0x1004a580], eax
call fcn.1001ec23
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.10015f8e
push eax
lea ecx, [esp + 0x28]
mov dword [esp + 0xec], ebx
call fcn.100031a0
mov edi, 8
add esp, 4
cmp dword [eax + 0x18], edi
jb 0x1000fe7d
mov esi, dword [eax + 4]
jmp 0x1000fe80
lea esi, [eax + 4]
cmp esi, ebx
je 0x1000fe8d
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
jmp 0x1000fe8f
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 0x1000fec6
mov eax, dword [esp + 0x28]
push eax
call fcn.1002362f
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 0x1000fef8
mov edx, dword [esp + 0x44]
push edx
call fcn.1002362f
add esp, 4
mov dword [esp + 0x58], 0xf
mov dword [esp + 0x54], ebx
mov byte [esp + 0x44], bl
cmp esi, ebx
je 0x1000ff13
call fcn.1000fc80
jmp 0x1000ff31
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.10021122
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.100232be
add esp, 0xdc
ret
Function at 0x10010af0
Capabilities:
Create thread

Disassembly:
mov eax, 0x1010
call fcn.10034b20
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 0x100108a0
push 0
push 0
mov dword [esp + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
test esi, esi
je 0x10010b6a
mov eax, dword [esp + 4]
lea edx, [esp + 8]
push edx
push eax
push str.thread__d_created:__s
call fcn.10020e66
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x100c]
pop esi
xor ecx, esp
call fcn.100232be
add esp, 0x1010
ret
Function at 0x1001e4a5
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 0x1001e6ca
test eax, eax
jne 0x1001e4f6
test ecx, ecx
je 0x1001e6ca
movzx eax, word [esi + 2]
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
cmp ax, 0x3a
je 0x1001e54c
cmp ax, 0x5c
je 0x1001e54c
xor eax, eax
push 0x40e
push eax
mov word [ebp - 0x828], ax
lea eax, [ebp - 0x826]
push eax
call fcn.10025820
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 0x1001e6ca
test al, 0x10
je 0x1001e6ca
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyW]
push esi
lea eax, [ebp - 0x418]
push eax
call ebx
push 0x1004025c
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 0x1001e6ca
mov dword [ebp - 0xa7c], 1
push 0x10040260
lea eax, [ebp - 0xa4c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x1001e68f
push 0x10040264
lea eax, [ebp - 0xa4c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x1001e68f
cmp dword [ebp - 0xa78], 0xffffffff
je 0x1001e68f
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 0x1001e66f
cmp dword [ebp - 0xa80], 0
je 0x1001e633
push dword [ebp - 0xa8c]
lea eax, [ebp - 0x210]
push eax
call dword [ebp - 0xa80]
test eax, eax
je 0x1001e6ac
cmp dword [ebp + 0xc], 0
je 0x1001e68f
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.1001e4a5
push 2
pop ecx
cmp eax, ecx
jne 0x1001e68f
mov dword [ebp - 0xa7c], ecx
jmp 0x1001e6b6
cmp dword [ebp - 0xa84], 0
je 0x1001e68f
push dword [ebp - 0xa88]
lea eax, [ebp - 0x210]
push eax
call dword [ebp - 0xa84]
test eax, eax
je 0x1001e6ac
lea eax, [ebp - 0xa78]
push eax
push dword [ebp - 0xa90]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1001e5af
jmp 0x1001e6b6
mov dword [ebp - 0xa7c], 2
push dword [ebp - 0xa90]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0xa7c]
jmp 0x1001e6cc
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100232be
leave
ret 0x18
Function at 0x1001ea42
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 0x1001ea59
push 2
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
ret
test al, 1
je 0x1001ea68
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 0x1001eaf5
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor ecx, ecx
cmp dword [esp + 8], ecx
jle 0x1001eb1d
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 0x1001eafe
pop esi
not eax
ret 8

Function at 0x1001eed6
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.1001ef78
push esi
test eax, eax
je 0x1001ef63
push 0x424
lea eax, [esp + 0x10]
push 0
push eax
call fcn.10025820
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 0x1001ef5a
cmp esi, 0xffffffff
je 0x1001ef5a
lea eax, [esp + 8]
push eax
push esi
call sub.KERNEL32.dll_Module32FirstW
jmp 0x1001ef56
push edi
lea eax, [esp + 0xc]
push eax
call fcn.1001ef78
test eax, eax
je 0x1001ef5a
lea eax, [esp + 8]
push eax
push esi
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x1001ef3c
lea eax, [esp + 4]
call fcn.1001e234
mov ecx, dword [esp + 0x434]
pop esi
xor ecx, esp
call fcn.100232be
mov esp, ebp
pop ebp
ret 4
Function at 0x1001f45d
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, 0x1003968b
call fcn.10024091
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.10008a80
xor ebx, ebx
inc ebx
mov dword [ebp - 4], edi
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], edi
cmp esi, edi
je 0x1001f573
xor eax, eax
push 0x7fe
mov word [ebp], ax
lea eax, [ebp + 2]
push edi
push eax
call fcn.10025820
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 0x1001f503
cmp dword [ebp - 0x1c], 2
jne 0x1001f573
mov eax, dword [ebp - 0x10]
cmp eax, edi
je 0x1001f573
cmp eax, 0x800
jbe 0x1001f540
add eax, 2
push eax
call fcn.100245b5
mov ebx, eax
mov eax, dword [ebp - 0x10]
add eax, 2
push eax
push edi
push ebx
call fcn.10025820
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 0x1001f557
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 0x1001f560
lea eax, [ebp]
push dword [ebp - 0x24]
call fcn.10007de0
cmp ebx, edi
je 0x1001f573
push ebx
call fcn.100244d8
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.100232be
add ebp, 0x804
leave
ret
Function at 0x1001f599
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10039dd1
mov eax, dword fs:[0]
push eax
mov eax, 0x2040
call fcn.10034b20
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.10018134
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 0x1001f6cb
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.10025820
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 0x1001f6b1
inc dword [ebp - 0x2018]
lea eax, [ebp - 0x2014]
lea ecx, [ebp - 0x2048]
call fcn.10007590
lea eax, [ebp - 0x2048]
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x2028]
push eax
call fcn.1001f952
lea esi, [ebp - 0x2048]
mov byte [ebp - 4], bl
call fcn.10007600
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 0x1001f65e
mov dword [ebp - method.RegHandleHolder.virtual_0], vtable.RegHandleHolder.0
cmp dword [ebp - 0x201c], edi
je 0x1001f6e9
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.100232be
leave
ret