joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10026187
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x148
mov eax, dword [0x1006d144]
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.1003c230
add esp, 0xc
cmp dword [ebp + 0x14], 0x40
ja 0x100261ec
push dword [ebp + 0x14]
lea eax, [ebp - 0xa8]
push esi
push eax
call fcn.1003b990
add esp, 0xc
jmp 0x10026225
lea eax, [ebp - 0x138]
call fcn.1002ad6d
mov eax, dword [ebp + 0x14]
push esi
lea ecx, [ebp - 0x138]
call fcn.1002adad
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x138]
call fcn.1002ae39
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 0x10026227
lea eax, [ebp - 0xd0]
call fcn.1002ad6d
lea eax, [ebp - 0x48]
push eax
push 0x40
pop eax
lea ecx, [ebp - 0xd0]
call fcn.1002adad
push dword [ebp - 0x13c]
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0xd0]
call fcn.1002adad
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0xd0]
call fcn.1002ae39
lea eax, [ebp - 0xd0]
call fcn.1002ad6d
lea eax, [ebp - 0x110]
push eax
push 0x40
pop eax
lea ecx, [ebp - 0xd0]
call fcn.1002adad
lea eax, [ebp - 0x28]
push eax
push 0x20
pop eax
lea ecx, [ebp - 0xd0]
call fcn.1002adad
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0xd0]
call fcn.1002ae39
mov esi, dword [ebp - 0x140]
add esp, 0x18
push 0x20
lea eax, [ebp - 0x68]
push eax
call fcn.10004a5f
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.1003b874
leave
ret

Function at 0x10026fa0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
xor esi, esi
push esi
push esi
push 3
push esi
push 3
push SysReAllocString
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0xc], eax
cmp eax, esi
je 0x10026ff6
cmp eax, 0xffffffff
je 0x10026ff6
push esi
lea ecx, [ebp - 4]
push ecx
push 4
lea ecx, [ebp - 8]
push ecx
push eax
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10026ff6
cmp dword [ebp - 4], 4
jne 0x10026ff6
cmp dword [ebp - 8], 0x21726152
jne 0x10026ff6
inc esi
lea ecx, [ebp - 0xc]
call fcn.10001336
mov eax, esi
pop esi
leave
ret
Function at 0x1002734a
Capabilities:
Check if file exists

Disassembly:
push 0x74
mov eax, 0x10053633
call fcn.1003b8ec
mov edi, ecx
lea ecx, [ebp - 0x64]
mov esi, edx
call fcn.10004d0f
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [edi + 0x14]
push edi
push dword [eax]
lea ecx, [ebp - 0x38]
call fcn.10008d80
push edi
push dword [edi + 0x14]
lea ecx, [ebp - 0x40]
call fcn.10008d80
jmp 0x100273bd
lea ecx, [ebp - 0x38]
call fcn.10004e69
cmp dword [eax + 0x18], 8
jb 0x10027396
mov eax, dword [eax + 4]
jmp 0x10027399
add eax, 4
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100273b5
lea ecx, [ebp - 0x38]
call fcn.10004e69
push eax
lea ecx, [ebp - 0x64]
call fcn.10004de9
lea ecx, [ebp - 0x38]
call fcn.10004e98
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x38]
call fcn.10009cf5
test al, al
je 0x10027383
cmp dword [ebp - 0x4c], ebx
jne 0x100273f0
mov edi, 0x44e
lea ecx, [ebp - 0x64]
call fcn.10005bbf
push dword [ebp - 0x64]
call fcn.1003b0b3
pop ecx
mov eax, edi
call fcn.1003b96f
ret
push ebx
push ebx
push esi
call fcn.10001a7e
call fcn.10002228
push esi
push 0x1005f8c0
lea eax, [ebp - 0x30]
push 0x1005f8c4
push eax
call fcn.100041b8
add esp, 0x10
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x50]
mov eax, dword [eax]
lea ecx, [ebp - 0x64]
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.10008d80
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x64]
push eax
push dword [ebp - 0x50]
lea ecx, [ebp - 0x48]
call fcn.10008d80
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x3c], eax
jmp 0x100274a2
lea ecx, [ebp - 0x38]
call fcn.10004e69
cmp dword [eax + 0x18], 8
jb 0x10027466
mov eax, dword [eax + 4]
jmp 0x10027469
add eax, 4
push eax
lea eax, [ebp - 0x80]
push str.___s_
push eax
call fcn.100041b8
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.100066de
push ebx
push 1
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 1
call fcn.10005a6e
lea ecx, [ebp - 0x38]
call fcn.10004e98
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x38]
call fcn.10009cf5
test al, al
je 0x10027453
mov edi, dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
push esi
call edi
test eax, eax
je 0x100274df
push 0x1005f460
push esi
call edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x100274df
push str.__md1M
lea ecx, [ebp - 0x30]
call fcn.100058d1
push ebx
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x68], 0xf
call fcn.10006629
mov byte [ebp - 4], 4
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x100274ff
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x80]
push ecx
push eax
call fcn.10026f32
pop ecx
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x80]
mov edi, eax
call fcn.1000585c
cmp edi, ebx
je 0x10027521
call fcn.10002228
push ebx
push 1
lea ecx, [ebp - 0x30]
call fcn.10005a6e
jmp 0x100273d7
Function at 0x10027531
Capabilities:
Check if file exists

Disassembly:
push 0xac
mov eax, 0x10053fe2
call fcn.1003b8ec
mov esi, ecx
mov edi, edx
push esi
mov dword [ebp - 0x68], edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1002755c
mov eax, 0x44f
jmp 0x100276dd
push esi
call fcn.10026fa0
pop ecx
test eax, eax
je 0x10027575
mov edx, edi
mov ecx, esi
call fcn.10027134
jmp 0x100276dd
push esi
push 0x1005f8c0
lea eax, [ebp - 0x4c]
push str.__s__l___s_
push eax
call fcn.100041b8
add esp, 0x10
xor edi, edi
mov dword [ebp - 4], edi
push edi
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x18], 0xf
call fcn.10006629
mov byte [ebp - 4], 3
cmp dword [ebp - 0x34], 8
mov eax, dword [ebp - 0x48]
jae 0x100275b1
lea eax, [ebp - 0x48]
lea ecx, [ebp - 0x30]
push ecx
push eax
call fcn.10026f32
pop ecx
pop ecx
mov dword [ebp - 0x64], eax
cmp eax, edi
jne 0x100276c4
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x100275d4
lea eax, [ebp - 0x2c]
push 0x1005f910
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.10003fd4
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
mov byte [ebp - 4], 4
push dword [ebp - 0x74]
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x50], edi
call fcn.10005d1f
jmp 0x10027690
lea ecx, [ebp - 0x58]
call fcn.1001489b
push eax
call fcn.1001d193
test eax, eax
jne 0x10027618
inc dword [ebp - 0x50]
jmp 0x10027688
cmp dword [ebp - 0x50], 1
jne 0x10027682
lea ecx, [ebp - 0x58]
call fcn.1001489b
cmp dword [eax + 0x14], 0x35
jbe 0x10027688
lea ecx, [ebp - 0x58]
call fcn.1001489b
push 0xffffffffffffffff
push 0x35
push eax
lea esi, [ebp - 0xb8]
call fcn.1000afd5
push eax
lea eax, [ebp - 0x9c]
push eax
mov byte [ebp - 4], 5
call fcn.100013a2
pop ecx
pop ecx
mov ecx, dword [ebp - 0x68]
push eax
mov byte [ebp - 4], 6
call fcn.10004f6a
push edi
push 1
lea ecx, [ebp - 0x9c]
call fcn.10005a6e
push edi
push 1
mov ecx, esi
mov byte [ebp - 4], 4
call fcn.1000585c
jmp 0x10027688
cmp dword [ebp - 0x50], 2
je 0x100276b3
lea ecx, [ebp - 0x58]
call fcn.100148c7
lea eax, [ebp - 0x80]
push eax
push dword [ebp - 0x70]
lea ecx, [ebp - 0x60]
call fcn.10005d1f
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x58]
call fcn.10009cf5
test al, al
je 0x10027601
lea ecx, [ebp - 0x80]
call fcn.10005b23
push dword [ebp - 0x80]
call fcn.1003b0b3
pop ecx
push edi
push 1
lea ecx, [ebp - 0x30]
call fcn.1000585c
push edi
push 1
lea ecx, [ebp - 0x4c]
call fcn.10005a6e
mov eax, dword [ebp - 0x64]
call fcn.1003b96f
ret
Function at 0x100276e3
Capabilities:
Check if file exists
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebx + 0x18]
mov eax, dword [eax]
mov dword [ebp - 8], eax
mov eax, dword [ebx]
push esi
push edi
mov dword [ebp - 4], 1
mov dword [ebp - 0xc], eax
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x10], eax
mov eax, dword [ebx]
lea edi, [ebp - 0x14]
lea esi, [ebp - 0xc]
mov dword [ebp - 0x14], eax
call fcn.10006549
test al, al
jne 0x10027788
call fcn.10020969
add eax, 0x1c
cmp dword [eax + 0x18], 8
jb 0x1002772c
mov eax, dword [eax + 4]
jmp 0x1002772f
add eax, 4
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10027777
lea esi, [ebp - 0xc]
call fcn.10020969
cmp dword [eax + 0x18], 8
jb 0x1002774d
mov edi, dword [eax + 4]
jmp 0x10027750
lea edi, [eax + 4]
lea esi, [ebp - 0xc]
call fcn.10020969
add eax, 0x1c
cmp dword [eax + 0x18], 8
jb 0x10027766
mov eax, dword [eax + 4]
jmp 0x10027769
add eax, 4
push 1
push edi
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x1002777b
and dword [ebp - 4], 0
lea esi, [ebp - 0xc]
call fcn.10007a98
jmp 0x100276ff
mov eax, dword [ebp - 4]
pop edi
pop esi
leave
ret

Function at 0x1002778f
Capabilities:
Check if file exists

Disassembly:
push 0x5c
mov eax, 0x10054770
call fcn.1003b8ec
mov esi, ecx
push esi
mov ebx, edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100277b4
mov eax, 0x44f
jmp 0x10027869
push ebx
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x100277c9
mov eax, 0x450
jmp 0x10027869
push esi
call fcn.10026fa0
pop ecx
test eax, eax
je 0x100277e2
push ebx
mov ecx, esi
call fcn.1002726d
pop ecx
jmp 0x10027869
lea eax, [ebp - 0x68]
push eax
call fcn.100055be
and dword [ebp - 4], 0
push ebx
push esi
push 0x1005f8c0
lea eax, [ebp - 0x2c]
push str.__s__x___s___r__o__s___y
push eax
call fcn.100041b8
add esp, 0x14
push 0
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x30], 0xf
call fcn.10006629
mov byte [ebp - 4], 7
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x10027828
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x48]
push ecx
push eax
call fcn.10026f32
pop ecx
pop ecx
push 0
push 1
lea ecx, [ebp - 0x48]
mov esi, eax
call fcn.1000585c
test esi, esi
je 0x1002784e
lea ebx, [ebp - 0x68]
call fcn.100276e3
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.10005a6e
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x68]
push eax
call fcn.100055f7
mov eax, esi
call fcn.1003b96f
ret

Function at 0x10027a6f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 4
shl eax, 4
pop edx
mov esi, ecx
lea edi, [eax + ecx + 0x3c]
mov dword [ebp - 4], edx
xor eax, eax
mov ecx, edi
mov bl, byte [ecx]
xor byte [esi + eax], bl
inc eax
add ecx, edx
cmp eax, edx
jl 0x10027a89
inc edi
add esi, edx
dec dword [ebp - 4]
jne 0x10027a85
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10027ba4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x1006d144]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 4
lea esi, [ebp - 8]
lea ecx, [eax + 4]
pop edi
mov al, byte [esi - 0xc]
mov dl, byte [esi - 8]
call fcn.10027d6a
mov bl, al
mov al, dl
call fcn.10027d6a
xor bl, al
xor bl, byte [esi - 4]
mov al, dl
xor bl, byte [esi]
xor bl, dl
mov byte [ecx - 4], bl
call fcn.10027d6a
mov bl, al
mov al, byte [esi - 4]
call fcn.10027d6a
xor bl, al
xor bl, byte [esi - 0xc]
mov al, byte [esi - 4]
xor bl, byte [esi]
xor bl, al
mov byte [ecx], bl
call fcn.10027d6a
mov bl, al
mov al, byte [esi]
call fcn.10027d6a
xor bl, al
mov al, byte [esi]
xor bl, dl
xor bl, byte [esi - 0xc]
xor bl, al
mov byte [ecx + 4], bl
call fcn.10027d6a
mov bl, al
mov al, byte [esi - 0xc]
call fcn.10027d6a
xor bl, al
xor bl, dl
xor bl, byte [esi - 4]
xor bl, byte [esi - 0xc]
inc ecx
mov byte [ecx + 7], bl
inc esi
dec edi
jne 0x10027bcc
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1003b874
leave
ret 4

Function at 0x10027c59
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x1006d144]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea edi, [ebp - 0x10]
lea esi, [eax + 4]
mov dword [ebp - 0x1c], 4
mov al, byte [edi - 4]
mov bl, byte [edi + 4]
call fcn.10027de6
push ebx
mov dl, al
call fcn.10027dbf
xor dl, al
movzx eax, byte [edi + 8]
push eax
call fcn.10027d7a
xor dl, al
movzx eax, byte [edi]
push eax
call fcn.10027d98
xor dl, al
movzx eax, byte [edi - 4]
push eax
mov byte [esi - 4], dl
call fcn.10027d7a
push ebx
mov byte [ebp - 0x15], al
call fcn.10027d98
mov cl, byte [ebp - 0x15]
xor cl, al
movzx eax, byte [edi + 8]
push eax
mov byte [ebp - 0x15], cl
call fcn.10027dbf
mov cl, byte [ebp - 0x15]
xor cl, al
mov al, byte [edi]
mov byte [ebp - 0x15], cl
call fcn.10027de6
mov cl, byte [ebp - 0x15]
xor cl, al
movzx eax, byte [edi - 4]
push eax
mov byte [esi], cl
call fcn.10027dbf
mov bl, al
mov al, byte [edi + 4]
call fcn.10027de6
movzx edx, byte [edi + 8]
push edx
xor bl, al
call fcn.10027d98
xor bl, al
movzx eax, byte [edi]
push eax
call fcn.10027d7a
xor bl, al
movzx eax, byte [edi - 4]
push eax
mov byte [esi + 4], bl
call fcn.10027d98
mov bl, al
movzx eax, byte [edi + 4]
push eax
call fcn.10027d7a
xor bl, al
mov al, dl
call fcn.10027de6
xor bl, al
movzx eax, byte [edi]
push eax
call fcn.10027dbf
xor bl, al
mov byte [esi + 8], bl
inc esi
inc edi
dec dword [ebp - 0x1c]
jne 0x10027c85
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1003b874
leave
ret 4
Function at 0x10028458
Capabilities:
Decode data using base64 via dword translation table

Disassembly:
push 0x2c
mov eax, 0x1005248e
call fcn.1003b8ec
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x38], eax
xor esi, esi
mov eax, edi
mov dword [ebp - 0x30], esi
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10028477
sub eax, ecx
push esi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x14], 0xf
call fcn.10006629
xor ebx, ebx
inc ebx
cmp dword [ebp - 0x30], 0
mov dword [ebp - 4], esi
jbe 0x1002857c
jmp 0x100284a8
mov edi, dword [ebp + 0xc]
movsx eax, byte [esi + edi]
mov al, byte [eax + 0x1005dce8]
inc esi
cmp esi, dword [ebp - 0x30]
jae 0x100284bc
cmp al, 0xff
je 0x100284a8
cmp al, 0xff
je 0x1002857c
movsx ecx, byte [esi + edi]
mov cl, byte [ecx + 0x1005dce8]
inc esi
mov byte [ebp - 0x32], cl
cmp esi, dword [ebp - 0x30]
jae 0x100284dc
cmp cl, 0xff
je 0x100284c4
cmp cl, 0xff
je 0x1002857c
sar cl, 4
shl al, 2
and cl, 3
or cl, al
movzx eax, cl
push eax
lea edi, [ebp - 0x2c]
call fcn.100056f1
mov eax, dword [ebp + 0xc]
mov al, byte [esi + eax]
inc esi
cmp al, 0x3d
je 0x1002857c
movsx eax, al
mov al, byte [eax + 0x1005dce8]
mov byte [ebp - 0x31], al
cmp esi, dword [ebp - 0x30]
jae 0x1002851c
cmp al, 0xff
je 0x100284fc
cmp al, 0xff
je 0x1002857c
mov cl, al
mov al, byte [ebp - 0x32]
sar cl, 2
shl al, 4
and cl, 0xf
or cl, al
movzx eax, cl
push eax
lea edi, [ebp - 0x2c]
call fcn.100056f1
mov eax, dword [ebp + 0xc]
mov al, byte [esi + eax]
inc esi
cmp al, 0x3d
je 0x1002857c
movsx eax, al
mov cl, byte [eax + 0x1005dce8]
cmp esi, dword [ebp - 0x30]
jae 0x1002855a
cmp cl, 0xff
je 0x1002853c
cmp cl, 0xff
je 0x1002857c
mov al, byte [ebp - 0x31]
shl al, 6
or al, cl
movzx eax, al
push eax
lea edi, [ebp - 0x2c]
call fcn.100056f1
cmp esi, dword [ebp - 0x30]
jb 0x100284a5
mov ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x2c]
push eax
call fcn.10004aa5
push 0
push ebx
lea ecx, [ebp - 0x2c]
call fcn.1000585c
mov eax, dword [ebp - 0x38]
call fcn.1003b96f
ret
Function at 0x10028662
Capabilities:
Encode data using xor

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x98
movzx ecx, byte [eax]
movzx edx, byte [eax + 1]
shl ecx, 8
or ecx, edx
movzx edx, byte [eax + 2]
shl ecx, 8
or ecx, edx
movzx edx, byte [eax + 3]
shl ecx, 8
or ecx, edx
movzx edx, byte [eax + 4]
push ebx
push esi
movzx esi, byte [eax + 5]
shl edx, 8
or edx, esi
movzx esi, byte [eax + 6]
movzx ebx, byte [eax + 0xd]
shl edx, 8
or edx, esi
movzx esi, byte [eax + 7]
push edi
movzx edi, byte [eax + 9]
shl edx, 8
or edx, esi
movzx esi, byte [eax + 8]
shl esi, 8
or esi, edi
movzx edi, byte [eax + 0xa]
shl esi, 8
or esi, edi
movzx edi, byte [eax + 0xb]
shl esi, 8
or esi, edi
movzx edi, byte [eax + 0xc]
shl edi, 8
or edi, ebx
movzx ebx, byte [eax + 0xe]
movzx eax, byte [eax + 0xf]
shl edi, 8
or edi, ebx
shl edi, 8
or edi, eax
xor ecx, 0xa3b1bac6
xor edx, 0x56aa3350
xor esi, 0x677d9197
xor edi, 0xb27022dc
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], edi
xor ecx, ecx
mov eax, dword [ecx + 0x1005dc20]
xor eax, dword [ebp + ecx - 0x20]
xor eax, dword [ebp + ecx - 0x18]
xor eax, dword [ebp + ecx - 0x1c]
mov edx, eax
shr edx, 0x18
mov ebx, eax
movzx edx, dl
mov dl, byte [edx + 0x1005db10]
shr ebx, 0x10
mov byte [ebp + 0x70], dl
mov byte [ebp + 0x6d], bl
movzx edx, byte [ebp + 0x6d]
mov dl, byte [edx + 0x1005db10]
mov ebx, eax
movzx eax, al
mov al, byte [eax + 0x1005db10]
mov byte [ebp + 0x73], al
movzx eax, byte [ebp + 0x70]
shr ebx, 8
movzx edx, dl
shl eax, 8
or eax, edx
movzx esi, bl
mov bl, byte [esi + 0x1005db10]
shl eax, 8
movzx edx, bl
or eax, edx
movzx edx, byte [ebp + 0x73]
shl eax, 8
or eax, edx
mov edx, eax
rol edx, 0xd
mov esi, eax
ror esi, 9
xor edx, esi
xor edx, dword [ebp + ecx - 0x24]
xor edx, eax
mov eax, dword [ebp + 0x7c]
mov dword [ebp + ecx - 0x14], edx
mov dword [ecx + eax], edx
add ecx, 4
cmp ecx, 0x80
jb 0x10028711
pop edi
pop esi
pop ebx
add ebp, 0x74
leave
ret

Function at 0x10028cf9
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
lea ecx, [ebp - 0x30]
call fcn.10001862
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x18]
push dword [eax]
lea ecx, [ebp - 8]
call fcn.10008d80
jmp 0x10028d3f
lea ecx, [ebp - 8]
call fcn.1001d6ec
cmp dword [eax + 0x18], 8
jb 0x10028d2d
mov eax, dword [eax + 4]
jmp 0x10028d30
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 8]
call fcn.10008f86
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x18]
lea ecx, [ebp - 0x10]
call fcn.10008d80
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
call fcn.10009cf5
test al, al
je 0x10028d1a
lea ecx, [ebp - 0x30]
call fcn.10005034
leave
ret
Function at 0x10029094
Capabilities:
Check if file exists
Copy file
Get common file path
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x1006d144]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov ebx, ecx
call fcn.10002a2c
mov dword [ebp - 0x230], eax
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call fcn.1003c230
add esp, 0xc
push 0x104
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str.drivers
lea eax, [ebp - 0x210]
push eax
call esi
lea edx, [ebp - 0x210]
call fcn.10028cf9
push ebx
lea eax, [ebp - 0x210]
push eax
call esi
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10029140
push eax
lea eax, [ebp - 0x210]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov esi, eax
neg esi
sbb esi, esi
and esi, 0xfffffff8
add esi, 8
jmp 0x100291d1
push edi
lea ecx, [ebp - 0x210]
call fcn.10002033
test eax, eax
jne 0x100291cf
mov esi, dword [sym.imp.KERNEL32.dll_CopyFileW]
xor ebx, ebx
push ebx
lea eax, [ebp - 0x210]
push eax
push edi
call esi
test eax, eax
jne 0x100291cf
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x22c]
push eax
call fcn.10028cd3
cmp dword [ebp - 0x214], 8
mov eax, dword [ebp - 0x228]
pop ecx
pop ecx
jae 0x10029191
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x100291bc
push ebx
lea eax, [ebp - 0x210]
push eax
push edi
call esi
mov esi, eax
neg esi
sbb esi, esi
and esi, 0xfffffff8
add esi, 8
jmp 0x100291bf
push 9
pop esi
push ebx
push 1
lea ecx, [ebp - 0x22c]
call fcn.10005a6e
jmp 0x100291d1
xor esi, esi
push dword [ebp - 0x230]
call fcn.10002a6c
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.1003b874
leave
ret

Function at 0x100299e1
Capabilities:
Hash data with md5

Disassembly:
and dword [eax + 0x14], 0
and dword [eax + 0x10], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret

Function at 0x1002abe9
Capabilities:
Hash data using sha1

Disassembly:
and dword [eax + 0x18], 0
and dword [eax + 0x14], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
ret
Function at 0x1002bc53
Capabilities:
Delete file

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ebx
call edi
push 0xf
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
push dword [esp + 0x10]
call fcn.1000a9cf
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x1002bc8c
push 0x32
push ebx
push esi
call fcn.1000aa7b
mov eax, dword [esi]
add esp, 0xc
push 1
mov ecx, esi
call dword [eax]
push ebx
call fcn.10001bd2
test edx, edx
ja 0x1002bc9d
cmp eax, 0x400
jbe 0x1002bca1
mov al, 1
jmp 0x1002bca6
push ebx
call edi
xor al, al
pop edi
pop esi
ret

Function at 0x1002bca9
Capabilities:
Terminate thread

Disassembly:
mov eax, dword [0x10070048]
test eax, eax
je 0x1002bcce
push 1
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [0x10070048]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [0x10070048], 0
ret

Function at 0x1002c5ec
Capabilities:
Read clipboard data

Disassembly:
push 0x24
mov eax, 0x10050d90
call fcn.1003b883
and dword [ebp - 0x14], 0
mov dword [ebp - 0x10], ecx
call fcn.10004acb
push dword [ebp + 8]
and dword [ebp - 4], 0
xor edi, edi
inc edi
mov dword [ebp - 0x14], edi
call dword [sym.imp.USER32.dll_GetClipboardData]
mov ebx, eax
test ebx, ebx
je 0x1002c65c
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
shr esi, 1
dec esi
push esi
push eax
lea ecx, [ebp - 0x30]
call fcn.10004ae0
mov ecx, dword [ebp - 0x10]
push 0xffffffffffffffff
push 0
push eax
mov dword [ebp - 4], edi
call fcn.10005943
push 0
push edi
lea ecx, [ebp - 0x30]
call fcn.10005a6e
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp - 0x10]
call fcn.1003b95b
ret