joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000ba00
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x1004c300]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
push esi
cmp edi, ebx
je 0x1000bafa
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x104
jge 0x1000bafa
xor eax, eax
push 0x206
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push ebx
push eax
call fcn.10026b90
add esp, 0xc
lea esi, [ebp - 0x210]
mov ecx, edi
call fcn.1000c214
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1000ba77
shr eax, 4
not eax
and eax, 1
jmp 0x1000bafc
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.1000bb0a
test eax, eax
je 0x1000bafa
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 0x1000badc
mov dword [ebp - 0x41c], 1
cmp eax, 0xffffffff
jne 0x1000bae2
mov dword [ebp - 0x41c], ebx
lea eax, [ebp - 0x420]
call fcn.10005ce9
xor eax, eax
cmp byte [ebp - 0x41c], bl
setne al
jmp 0x1000bafc
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.10024522
leave
ret
Function at 0x1000be94
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x1004c300]
xor eax, ebp
mov dword [ebp - 4], eax
test esi, esi
je 0x1000befa
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call fcn.10026b90
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x1000befa
push esi
push 0
push 0
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jbe 0x1000befa
xor eax, eax
inc eax
jmp 0x1000befc
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10024522
leave
ret

Function at 0x1000c059
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 0x1000c085
call fcn.1000ba00
test eax, eax
jne 0x1000c085
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 0x1000c0a5
cmp esi, 0xffffffff
jne 0x1000c0bd
cmp dword [ebp - 8], ebx
jne 0x1000c0b1
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0xc]
call fcn.10005ce9
mov eax, ebx
jmp 0x1000c07e
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 0x1000c0e1
cmp dword [ebp - 4], edi
jne 0x1000c0e1
xor ebx, ebx
inc ebx
jmp 0x1000c0b1
cmp dword [ebp - 8], ebx
jne 0x1000c0b1
or dword [ebp - 0xc], 0xffffffff
cmp esi, 0xffffffff
je 0x1000c0fa
cmp esi, ebx
je 0x1000c0fa
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp + 8]
jmp 0x1000c0ab

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

Disassembly:
mov eax, 0x179b06cc
xor ecx, ecx
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 + 0x1004df90]
inc ecx
cmp ecx, 0x24
jl 0x1000c107
not eax
pop esi
ret 4
Function at 0x1000c277
Capabilities:
Get disk information

Disassembly:
push ebp
lea ebp, [esp - 0x1a0]
sub esp, 0x220
mov eax, dword [0x1004c300]
xor eax, ebp
mov dword [ebp + 0x19c], eax
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x7c], ebx
test edi, edi
je 0x1000c34e
test ebx, ebx
je 0x1000c34e
mov esi, str.deviceMup_
push esi
push edi
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
cmp eax, edi
jne 0x1000c2d3
push ebx
push 0x10042c0c
push esi
mov eax, edi
call fcn.1000d17b
xor eax, eax
inc eax
jmp 0x1000c350
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov dword [ebp - 0x80], eax
xor ebx, ebx
xor eax, eax
inc eax
mov ecx, ebx
shl eax, cl
mov ecx, dword [ebp - 0x80]
test ecx, eax
je 0x1000c348
push 0x3a
lea eax, [ebx + 0x61]
mov word [ebp + 0x194], ax
pop eax
mov word [ebp + 0x196], ax
xor eax, eax
push 0x206
lea edi, [ebp + 0x198]
push eax
stosd dword es:[edi], eax
mov word [ebp - 0x74], ax
lea eax, [ebp - 0x72]
push eax
call fcn.10026b90
add esp, 0xc
push 0x104
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp + 0x194]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
jbe 0x1000c348
push dword [ebp - 0x78]
lea esi, [ebp - 0x74]
call fcn.1000d277
test eax, eax
jne 0x1000c368
inc ebx
cmp ebx, 0x1a
jl 0x1000c2de
xor eax, eax
mov ecx, dword [ebp + 0x19c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10024522
add ebp, 0x1a0
leave
ret
push dword [ebp - 0x7c]
lea eax, [ebp + 0x194]
push eax
lea eax, [ebp - 0x74]
push eax
mov eax, dword [ebp - 0x78]
jmp 0x1000c2c9

Function at 0x1000c8f9
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x434
mov eax, dword [0x1004c300]
xor eax, esp
mov dword [esp + 0x430], eax
mov eax, fcn.1000cdc6
push esi
test eax, eax
je 0x1000c986
push 0x424
lea eax, [esp + 0x10]
push 0
push eax
call fcn.10026b90
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 0x1000c97d
cmp esi, 0xffffffff
je 0x1000c97d
lea eax, [esp + 8]
push eax
push esi
call sub.KERNEL32.dll_Module32FirstW
jmp 0x1000c979
push edi
lea eax, [esp + 0xc]
push eax
call fcn.1000cdc6
test eax, eax
je 0x1000c97d
lea eax, [esp + 8]
push eax
push esi
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x1000c95f
lea eax, [esp + 4]
call fcn.10005ce9
mov ecx, dword [esp + 0x434]
pop esi
xor ecx, esp
call fcn.10024522
mov esp, ebp
pop ebp
ret 4
Function at 0x1000c99b
Capabilities:
Enumerate processes

Disassembly:
push ebp
sub esp, 0x22c
lea ebp, [esp - 4]
mov eax, dword [0x1004c300]
xor eax, ebp
mov dword [ebp + 0x22c], eax
push 4
mov eax, 0x1003ad1a
call fcn.100254d1
mov eax, fcn.1000cc13
test eax, eax
je 0x1000ca2d
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [ebp - 0x10], esi
and dword [ebp - 4], 0
test esi, esi
je 0x1000ca25
cmp esi, 0xffffffff
je 0x1000ca25
push 0x228
lea eax, [ebp + 4]
push 0
push eax
mov dword [ebp], 0x22c
call fcn.10026b90
add esp, 0xc
lea eax, [ebp]
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
jmp 0x1000ca21
push ebx
lea eax, [ebp]
push eax
call fcn.1000cc13
test eax, eax
je 0x1000ca25
lea eax, [ebp]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x1000ca09
lea eax, [ebp - 0x10]
call fcn.10005ce9
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x22c]
xor ecx, ebp
call fcn.10024522
add ebp, 0x230
leave
ret

Function at 0x1000ca50
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x1000ca62
xor eax, eax
jmp 0x1000cacc
push edi
push 0x40
lea eax, [ebp - 0x50]
push esi
push eax
mov dword [ebp - 0x54], 0x44
call fcn.10026b90
xor eax, eax
mov dword [ebp - 0x10], esi
mov word [ebp - 0x24], ax
lea edi, [ebp - 0xc]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, dword [ebp + 8]
add esp, 0xc
mov dword [ebp - 0x28], 1
call fcn.1000b481
mov edi, eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x54]
push eax
push esi
push esi
push 0x8000000
push esi
push esi
push esi
push edi
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x1000cac3
push dword [ebp - 0xc]
mov esi, dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.1000b4ae
mov eax, esi
pop edi
pop esi
leave
ret 4

Function at 0x1000ccaa
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x1004c300]
xor eax, ebp
mov dword [ebp - 4], eax
test edi, edi
jne 0x1000ccd1
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10024522
leave
ret 4
push esi
push dword [ebp + 8]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov dword [ebp - 0x210], esi
test esi, esi
je 0x1000ccf3
cmp esi, 0xffffffff
jne 0x1000cd05
xor esi, esi
lea eax, [ebp - 0x210]
call fcn.10005ce9
mov eax, esi
pop esi
jmp 0x1000ccc3
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.10026b90
add esp, 0xc
push 0x104
lea eax, [ebp - 0x20c]
push eax
push esi
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
jbe 0x1000ccf3
mov edx, edi
lea ecx, [ebp - 0x20c]
call fcn.1000c277
xor esi, esi
inc esi
jmp 0x1000ccf5
Function at 0x1000f213
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x190]
sub esp, 0x210
mov eax, dword [0x1004c300]
xor eax, ebp
mov dword [ebp + 0x18c], eax
and dword [ebp - 0x80], 0
push esi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x7c], ax
lea eax, [ebp - 0x7a]
push eax
mov esi, ecx
call fcn.10026b90
add esp, 0xc
push 0x104
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push str.Logs_accelerator
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x7c]
push eax
call fcn.10001829
mov ecx, dword [ebp + 0x18c]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.10024522
add ebp, 0x190
leave
ret

Function at 0x1000f28c
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x190]
sub esp, 0x210
mov eax, dword [0x1004c300]
xor eax, ebp
mov dword [ebp + 0x18c], eax
and dword [ebp - 0x80], 0
push esi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x7c], ax
lea eax, [ebp - 0x7a]
push eax
mov esi, ecx
call fcn.10026b90
add esp, 0xc
push 0x104
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push str.Logsignored
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x7c]
push eax
call fcn.10001829
mov ecx, dword [ebp + 0x18c]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.10024522
add ebp, 0x190
leave
ret

Function at 0x1001ca96
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
xor esi, esi
lea eax, [ebp - 4]
push eax
push esi
push esi
push dword [ebp + 8]
mov dword [ebp - 4], esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
cmp edi, esi
je 0x1001cacc
push dword [ebp + 0xc]
push dword [ebp - 4]
push str.thread__d_created:__s
call fcn.1001c655
add esp, 0xc
mov eax, edi
pop edi
pop esi
leave
ret 8
Function at 0x1001d280
Capabilities:
Print debug messages
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x17ac]
mov eax, 0x182c
call fcn.100371b0
mov eax, dword [0x1004c300]
xor eax, ebp
mov dword [ebp + 0x17a8], eax
push esi
push edi
push 4
pop esi
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x60]
push eax
mov edi, ecx
push edi
push str.Softwareprojonepodlp_smpcache_
push 0x80000002
mov dword [ebp - 0x64], esi
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x1001d2d4
cmp dword [ebp - 0x60], esi
jne 0x1001d2d4
mov eax, dword [ebp - 0x5c]
jmp 0x1001d2d6
xor eax, eax
test eax, eax
je 0x1001d3a0
push ebx
push 0x7fe
lea eax, [ebp + 0xfaa]
push 0
push eax
call fcn.10026b90
mov ebx, dword [sym.imp.SHLWAPI.dll_StrNCatW]
add esp, 0xc
push 0x5b
pop eax
push 0x400
mov word [ebp + 0xfa8], ax
push edi
lea eax, [ebp + 0xfa8]
push eax
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x1004408c
lea eax, [ebp + 0xfa8]
push eax
call edi
lea eax, [ebp - 0x80]
push eax
call fcn.1000c5d1
cmp dword [eax + 0x18], 8
pop ecx
jb 0x1001d33d
mov eax, dword [eax + 4]
jmp 0x1001d340
add eax, 4
push eax
lea eax, [ebp + 0xfa8]
push eax
call edi
push 0
push 1
lea esi, [ebp - 0x80]
call fcn.10001b91
push 0x10044094
lea eax, [ebp + 0xfa8]
push eax
call edi
push 0x400
push dword [ebp + 0x17b4]
lea eax, [ebp + 0xfa8]
push eax
call ebx
lea eax, [ebp + 0x17b8]
push eax
lea eax, [ebp + 0xfa8]
push eax
push 0x800
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.SHLWAPI.dll_wvnsprintfW]
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
pop ebx
mov ecx, dword [ebp + 0x17a8]
pop edi
xor ecx, ebp
pop esi
call fcn.10024522
add ebp, 0x17ac
leave
ret

Function at 0x1001d492
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2028
call fcn.100371b0
mov eax, dword [0x1004c300]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
call fcn.1001d575
test al, al
je 0x1001d568
xor eax, eax
mov word [ebp - 0x80c], ax
mov word [ebp - 0x100c], ax
push str.__ls__ls
lea eax, [ebp - 0x80c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x100440c0
lea eax, [ebp - 0x80c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCatW]
lea eax, [ebp - 0x2028]
push eax
call fcn.1001d3b7
cmp dword [eax + 0x18], 8
pop ecx
jb 0x1001d503
mov eax, dword [eax + 4]
jmp 0x1001d506
add eax, 4
push dword [ebp + 8]
push eax
lea eax, [ebp - 0x80c]
push eax
lea eax, [ebp - 0x100c]
push 0x400
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x14
push 0
push 1
lea esi, [ebp - 0x2028]
call fcn.10001b91
xor eax, eax
mov word [ebp - 0x200c], ax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x100c]
push eax
push 0x800
lea eax, [ebp - 0x200c]
push eax
call dword [sym.imp.SHLWAPI.dll_wvnsprintfW]
lea eax, [ebp - 0x200c]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 8]
xor ecx, ebp
pop esi
call fcn.10024522
leave
ret
Function at 0x1001dd7e
Capabilities:
Read file on windows

Disassembly:
push 0x2c
mov eax, 0x1003ad4a
call fcn.1002553a
mov eax, dword [ebp + 8]
or dword [ebp - 0x20], 0xffffffff
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 1
mov dword [ebp - 0x34], 5
mov dword [ebp - 0x30], 3
mov dword [ebp - 0x2c], 7
xor ebx, ebx
mov dword [ebp - 4], ebx
xor edi, edi
push ebx
push 0x8000000
push 3
push ebx
push dword [ebp + edi*4 - 0x38]
push 0x80000000
push dword [ebp - 0x28]
call dword [0x1004fca8]
push eax
lea esi, [ebp - 0x20]
call fcn.1001dd42
mov ecx, dword [ebp - 0x20]
cmp ecx, ebx
je 0x1001dde7
cmp ecx, 0xffffffff
jne 0x1001dded
inc edi
cmp edi, 4
jb 0x1001ddb7
cmp ecx, ebx
je 0x1001ddf8
or eax, 0xffffffff
cmp ecx, eax
jne 0x1001de08
lea eax, [ebp - 0x20]
call fcn.10005ce9
xor eax, eax
call fcn.100255bd
ret
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push ebx
stosd dword es:[edi], eax
lea eax, [ebp - 0x24]
push eax
push 0xc
lea eax, [ebp - 0x1c]
push eax
push ecx
mov dword [ebp - 0x24], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp - 0x1c], 0x70bfbbef
jne 0x1001de35
cmp dword [ebp - 0x18], 0x706c646f
je 0x1001de41
lea eax, [ebp - 0x20]
call fcn.10005ce9
mov eax, ebx
jmp 0x1001de02
mov eax, dword [ebp - 0x14]
dec eax
dec eax
je 0x1001de50
dec eax
jne 0x1001de35
push 3
pop ebx
jmp 0x1001de35
push 2
jmp 0x1001de4d

Function at 0x1001de99
Capabilities:
Encode data using xor

Disassembly:
mov ecx, 0x190
mov eax, dword [esp + 8]
imul eax, eax, 0x343fd
add eax, 0x269ec3
mov dword [esp + 8], eax
mov eax, dword [esp + 4]
mov edx, dword [esp + 8]
add eax, ecx
shr edx, 0x10
xor byte [eax], dl
inc ecx
cmp ecx, 0x1000
jl 0x1001de9e
ret
Function at 0x1001df4a
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
xor eax, eax
xor ebx, ebx
mov dword [ebp - 0x10], ebx
lea edi, [ebp - 0xc]
stosd dword es:[edi], eax
lea eax, [ebp - 0xc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x10], eax
mov edi, 0x1000
cmp dword [ebp - 0xc], ebx
ja 0x1001df87
jb 0x1001e086
cmp eax, edi
jb 0x1001e086
push 1
lea eax, [ebp - 0x14]
push eax
push ebx
mov dword [ebp - 0x20], esi
push esi
mov esi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x14], ebx
call esi
push ebx
push ebx
push ebx
push dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
call esi
push ebx
lea eax, [ebp - 4]
push eax
push edi
mov edi, dword [ebp + 8]
push edi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1001e06d
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp dword [edi], 0x70bfbbef
jne 0x1001e06d
cmp dword [edi + 4], 0x706c646f
jne 0x1001e06d
mov eax, dword [edi + 8]
cmp eax, 2
je 0x1001dff6
cmp eax, 3
jne 0x1001e06d
push dword [edi + 0x18c]
push edi
call fcn.1001de99
pop ecx
pop ecx
cmp byte [edi + 0x4a3], bl
jne 0x1001e04e
cmp dword [edi + 0x1a0], 0x40
ja 0x1001e04e
mov eax, 0x270f
cmp word [edi + 0x190], ax
ja 0x1001e04e
movzx eax, word [edi + 0x192]
cmp ax, 1
jb 0x1001e04e
cmp ax, 0xc
ja 0x1001e04e
movzx eax, word [edi + 0x196]
cmp ax, 1
jb 0x1001e04e
cmp ax, 0x1f
ja 0x1001e04e
xor edi, edi
inc edi
jmp 0x1001e050
xor edi, edi
cmp dword [ebp - 0x1c], ebx
jne 0x1001e069
push ebx
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x18]
mov dword [ebp - 0x1c], 1
push dword [ebp - 0x20]
call esi
mov eax, edi
jmp 0x1001e088
cmp dword [ebp - 0x1c], ebx
jne 0x1001e086
push ebx
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x18]
mov dword [ebp - 0x1c], 1
push dword [ebp - 0x20]
call esi
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10020775
Capabilities:
Create thread

Disassembly:
push 0x2c
mov eax, 0x1003cf79
call fcn.100254d1
mov ebx, ecx
mov eax, dword [0x1004f704]
mov esi, dword [0x1004f700]
xor edi, edi
push ebx
push str.SetInterval:_d
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x18], esi
call fcn.1001d492
pop ecx
pop ecx
mov dword [esi + 0x18], ebx
mov dword [esi + 8], edi
cmp dword [esi + 4], edi
jne 0x10020846
push edi
push edi
push edi
push edi
mov dword [esi + 4], 1
call dword [sym.imp.KERNEL32.dll_CreateEventW]
lea ebx, [ebp - 0x14]
lea edi, [ebp - 0x10]
mov dword [esi + 0x1c], eax
call fcn.1002096c
mov eax, dword [ebp - 0x10]
xor edi, edi
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x14]
inc edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], eax
call fcn.1000778a
push eax
lea ecx, [ebp - 0x38]
mov dword [esi + 0x40], eax
call fcn.10020902
and dword [ebp - 4], 0
push 0xffffffffffffffff
add esi, 0x24
push esi
xor ebx, ebx
call fcn.10001ae4
or dword [ebp - 4], 0xffffffff
push ebx
push edi
lea esi, [ebp - 0x38]
call fcn.10001b91
mov esi, dword [ebp - 0x18]
xor edi, edi
cmp dword [esi + 0x40], edi
je 0x1002084f
cmp dword [esi + 0x38], edi
je 0x1002084f
call fcn.10020866
mov eax, dword [ebp - 0x1c]
push edi
push edi
push esi
push 0x10020b80
push edi
push edi
mov dword [esi + 0x5c], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x20], eax
xor eax, eax
inc eax
call fcn.100255a9
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.get_input_desktop_err:_d
call fcn.1001d492
pop ecx
pop ecx
xor eax, eax
jmp 0x10020849

Function at 0x100209f5
Capabilities:
Create thread

Disassembly:
push 0x24
mov eax, 0x1003cb8b
call fcn.1002553a
mov esi, ecx
call fcn.1000778a
mov ebx, eax
push ebx
lea ecx, [ebp - 0x2c]
call fcn.10020902
xor edi, edi
mov dword [ebp - 4], edi
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x10020a24
lea eax, [ebp - 0x28]
push ebx
push eax
push str.cur_desktop:_ls__handle:_p
call fcn.1001d492
add esp, 0xc
cmp ebx, edi
je 0x10020a8e
cmp dword [ebp - 0x18], edi
je 0x10020a8e
mov eax, dword [esi + 0x40]
cmp eax, edi
je 0x10020a4a
push eax
call dword [sym.imp.USER32.dll_CloseDesktop]
push 0xffffffffffffffff
lea eax, [esi + 0x24]
mov dword [esi + 0x40], ebx
push eax
xor ebx, ebx
lea eax, [ebp - 0x2c]
call fcn.10001ae4
mov eax, dword [esi + 0x20]
cmp eax, edi
je 0x10020a6b
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push edi
push esi
push 0x10020b80
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
push edi
mov dword [esi + 0x20], eax
push 1
lea esi, [ebp - 0x2c]
call fcn.10001b91
xor eax, eax
inc eax
jmp 0x10020a9b
push edi
push 1
lea esi, [ebp - 0x2c]
call fcn.10001b91
xor eax, eax
call fcn.100255bd
ret

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

Disassembly:
or eax, 0xffffffff
test edx, edx
je 0x10020d25
push esi
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x1004d5c8]
dec edx
inc ecx
test edx, edx
jne 0x10020d09
pop esi
not eax
ret
Function at 0x10020e05
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
lea ebp, [esp - 0x6c]
sub esp, 0x130
mov eax, dword [0x1004c300]
xor eax, ebp
mov dword [ebp + 0x68], eax
mov eax, dword [ebp + 0x74]
and dword [ebp - 0xc4], 0
push esi
push edi
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp + 0x78]
push 0x3f
mov dword [ebp - 0xc0], eax
lea eax, [ebp - 0x3f]
push 0
push eax
mov byte [ebp - 0x40], 0
call fcn.10026b90
mov esi, 0x10042ce8
lea edi, [ebp - 0x40]
movsd dword es:[edi], dword [esi]
add esp, 0xc
movsb byte es:[edi], byte [esi]
xor ecx, ecx
mov al, byte [ebp + ecx - 0x40]
mov dl, al
xor dl, 0x36
xor al, 0x5c
mov byte [ebp + ecx - 0x9c], dl
mov byte [ebp + ecx], al
inc ecx
cmp ecx, 0x40
jb 0x10020e55
lea eax, [ebp - 0x5c]
call fcn.10023edb
lea eax, [ebp - 0x9c]
push eax
push 0x40
pop eax
lea esi, [ebp - 0x5c]
call fcn.10023f06
push dword [ebp - 0xc0]
mov eax, dword [ebp + 0x7c]
call fcn.10023f06
lea eax, [ebp + 0x54]
push eax
mov ecx, esi
call fcn.10023f9e
lea eax, [ebp - 0xb8]
call fcn.10023edb
lea eax, [ebp]
push eax
push 0x40
pop eax
lea esi, [ebp - 0xb8]
call fcn.10023f06
lea eax, [ebp + 0x54]
push eax
push 0x14
pop eax
call fcn.10023f06
lea eax, [ebp + 0x40]
push eax
mov ecx, esi
call fcn.10023f9e
mov esi, dword [ebp - 0xbc]
add esp, 0x18
push 0x14
lea eax, [ebp + 0x40]
push eax
call fcn.1000d537
mov ecx, dword [ebp + 0x68]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.10024522
add ebp, 0x6c
leave
ret
Function at 0x10020eff
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x148
mov eax, dword [0x1004c300]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
and dword [ebp - 0x144], 0
push esi
push edi
mov dword [ebp - 0x140], eax
mov eax, dword [ebp + 0xc]
push 0x3f
mov dword [ebp - 0x13c], eax
lea eax, [ebp - 0xa7]
push 0
push eax
mov esi, ecx
mov byte [ebp - 0xa8], 0
call fcn.10026b90
add esp, 0xc
cmp dword [ebp + 0x14], 0x40
ja 0x10020f64
push dword [ebp + 0x14]
lea eax, [ebp - 0xa8]
push esi
push eax
call fcn.10027590
add esp, 0xc
jmp 0x10020f9d
lea eax, [ebp - 0x138]
call fcn.1002405f
mov eax, dword [ebp + 0x14]
push esi
lea ecx, [ebp - 0x138]
call fcn.1002409f
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x138]
call fcn.1002412b
pop ecx
pop ecx
push 0x10
pop ecx
lea esi, [ebp - 0x28]
lea edi, [ebp - 0xa8]
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
mov al, byte [ebp + ecx - 0xa8]
mov dl, al
xor dl, 0x36
xor al, 0x5c
mov byte [ebp + ecx - 0x48], dl
mov byte [ebp + ecx - 0x110], al
inc ecx
cmp ecx, 0x40
jb 0x10020f9f
lea eax, [ebp - 0xd0]
call fcn.1002405f
lea eax, [ebp - 0x48]
push eax
push 0x40
pop eax
lea ecx, [ebp - 0xd0]
call fcn.1002409f
push dword [ebp - 0x13c]
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0xd0]
call fcn.1002409f
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0xd0]
call fcn.1002412b
lea eax, [ebp - 0xd0]
call fcn.1002405f
lea eax, [ebp - 0x110]
push eax
push 0x40
pop eax
lea ecx, [ebp - 0xd0]
call fcn.1002409f
lea eax, [ebp - 0x28]
push eax
push 0x20
pop eax
lea ecx, [ebp - 0xd0]
call fcn.1002409f
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0xd0]
call fcn.1002412b
mov esi, dword [ebp - 0x140]
add esp, 0x18
push 0x20
lea eax, [ebp - 0x68]
push eax
call fcn.1000d537
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.10024522
leave
ret