joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10003cc4
Capabilities:
Delete file

Disassembly:
push 0x490
mov eax, 0x1003c56b
call fcn.10023bba
mov eax, dword [ebp + 8]
mov dword [ebp - 0x48c], eax
xor eax, eax
mov esi, 0x206
push esi
mov word [ebp - 0x420], ax
xor edi, edi
lea eax, [ebp - 0x41e]
push edi
push eax
call fcn.10025220
add esp, 0xc
xor eax, eax
push esi
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push edi
push eax
call fcn.10025220
add esp, 0xc
lea ebx, [ebp - 0x218]
lea ecx, [ebp - 0x420]
call fcn.10003bdb
mov eax, ebx
push eax
lea eax, [ebp - 0x420]
push eax
push str.screen_record__avi:_ls__jpg:_ls
call fcn.1001bfbe
add esp, 0xc
push 7
pop eax
mov dword [ebp - 0x470], eax
mov dword [ebp - 0x454], eax
xor eax, eax
push 0x2c
mov word [ebp - 0x468], ax
lea eax, [ebp - 0x450]
xor ecx, ecx
push edi
push eax
mov dword [ebp - 0x474], edi
mov word [ebp - 0x484], cx
mov dword [ebp - 0x458], edi
call fcn.10025220
add esp, 0xc
mov dword [ebp - 0x424], edi
lea eax, [ebp - 0x420]
mov dword [ebp - 4], edi
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
cmp dx, di
jne 0x10003d90
sub eax, ecx
sar eax, 1
lea ecx, [ebp - 0x420]
lea esi, [ebp - 0x488]
call fcn.10001d92
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, di
jne 0x10003db8
sub eax, edx
sar eax, 1
lea ecx, [ebp - 0x218]
lea esi, [ebp - 0x46c]
call fcn.10001d92
mov eax, dword [ebp - 0x48c]
add eax, 0xc
push eax
lea ecx, [ebp - 0x488]
call fcn.1001b929
cmp dword [ebp - 0x424], edi
je 0x10003ebe
lea edi, [ebp - 0x49c]
call fcn.10003f7b
mov ebx, dword [ebp - 0x48c]
lea edi, [ebx + 0x88]
mov dword [ebp - 0x490], edi
mov esi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0x22c
movsd dword es:[edi], dword [esi]
call fcn.10023025
pop ecx
test eax, eax
je 0x10003e4f
mov esi, dword [ebp - 0x490]
sub esp, 0xc
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x420]
push ecx
mov ebx, eax
movsd dword es:[edi], dword [esi]
call fcn.10003045
mov ebx, dword [ebp - 0x48c]
mov esi, eax
jmp 0x10003e51
xor esi, esi
push dword [ebx + 0x90]
mov eax, dword [ebp - 0x490]
push dword [ebx + 0x8c]
push dword [eax]
push str.init_param__nInterval:_d__nQuality:_d__nDuration:_d
call fcn.1001bfbe
add esp, 0x10
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea ebx, [ebp - 0x450]
call fcn.100030f0
test al, al
je 0x10003e94
mov eax, dword [ebp - 0x48c]
mov dword [eax + 0x6c], esi
jmp 0x10003eaa
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test esi, esi
je 0x10003eaa
call fcn.100043eb
call dword [sym.imp.ole32.dll_CoUninitialize]
push dword [ebp - 0x424]
call fcn.1002308a
pop ecx
xor edi, edi
push edi
push 1
lea esi, [ebp - 0x46c]
call fcn.10001b39
push edi
push 1
lea esi, [ebp - 0x488]
call fcn.10001b39
call fcn.10023c3d
ret 4
Function at 0x10004bfe
Capabilities:
Check if file exists

Disassembly:
push 0x88
mov eax, 0x1003c896
call fcn.10023bba
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x78], ecx
cmp eax, ebx
je 0x10004c52
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10004c52
lea edi, [ebp - 0x30]
call fcn.1001b13c
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x18], 0x10
mov edx, dword [ebp - 0x2c]
jae 0x10004c3e
lea edx, [ebp - 0x2c]
call fcn.1000a8db
test eax, eax
jne 0x10004c5a
push ebx
push 1
lea ecx, [ebp - 0x30]
call fcn.10001a41
xor al, al
call fcn.10023c3d
ret
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x10004c66
lea eax, [ebp - 0x2c]
push 0x32e3
push eax
push str.https:___s:_d_globalSmallFile
lea esi, [ebp - 0x4c]
call fcn.1000b7ec
add esp, 0xc
push ebx
push ebx
lea eax, [ebp - 0x94]
call fcn.10011c51
sub esp, 0x18
mov byte [ebp - 4], 4
mov esi, esp
mov dword [ebp - 0x70], esp
push str.scrnrcrd_thumb
call fcn.10010d63
lea eax, [ebp - 0x94]
push eax
mov edx, str.type
mov byte [ebp - 4], 5
call fcn.10011eef
mov edi, eax
mov byte [ebp - 4], 4
call fcn.10011037
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x70], esp
push dword [ebp - 0x74]
call fcn.10010d63
lea eax, [ebp - 0x94]
push eax
mov edx, str.name
mov byte [ebp - 4], 6
call fcn.10011eef
mov edi, eax
mov byte [ebp - 4], 4
call fcn.10011037
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x70], esp
push ebx
call fcn.10010d1e
lea eax, [ebp - 0x94]
push eax
mov edx, str.clean
mov byte [ebp - 4], 7
call fcn.10011eef
mov edi, eax
mov byte [ebp - 4], 4
call fcn.10011037
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp - 0x68]
call fcn.10012349
mov byte [ebp - 4], 8
cmp dword [ebp - 0x50], 0x10
mov ecx, dword [ebp - 0x64]
jae 0x10004d3c
lea ecx, [ebp - 0x64]
cmp dword [ebp - 0x34], 0x10
mov eax, dword [ebp - 0x48]
jae 0x10004d48
lea eax, [ebp - 0x48]
push ebx
push ebx
push ebx
push ebx
push ecx
push str.desc
push dword [ebp - 0x78]
push str.file
push eax
call fcn.10019fe5
push ebx
test eax, eax
push 1
lea ecx, [ebp - 0x68]
setne byte [ebp - 0x69]
call fcn.10001a41
lea esi, [ebp - 0x94]
mov byte [ebp - 4], 1
call fcn.10010fb4
push ebx
push 1
lea ecx, [ebp - 0x4c]
call fcn.10001a41
push ebx
push 1
lea ecx, [ebp - 0x30]
call fcn.10001a41
mov al, byte [ebp - 0x69]
jmp 0x10004c54
Function at 0x10004d9e
Capabilities:
Check if file exists

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x1004a300]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0x38
mov eax, 0x1003b0de
call fcn.10023b51
xor eax, eax
push 0x206
push eax
mov word [ebp], ax
lea eax, [ebp + 2]
push eax
call fcn.10025220
add esp, 0xc
lea eax, [ebp]
push eax
mov ebx, str.ffmpeg.exe
call fcn.1000a521
lea eax, [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ebx, 0xbc1b88
test eax, eax
je 0x10004e14
lea eax, [ebp]
push eax
call fcn.1000a08f
cmp eax, ebx
jne 0x10004e14
test edx, edx
jne 0x10004e14
xor eax, eax
inc eax
jmp 0x10004eb0
lea edi, [ebp - 0x28]
call fcn.1001b13c
and dword [ebp - 4], 0
cmp dword [eax + 0x18], 0x10
jb 0x10004e2b
mov eax, dword [eax + 4]
jmp 0x10004e2e
add eax, 4
push 0x32e3
push eax
push str.https:___s:_d_tools_ffmpeg.exe
lea esi, [ebp - 0x44]
call fcn.1000b7ec
add esp, 0xc
mov byte [ebp - 4], 1
cmp dword [eax + 0x18], 0x10
jb 0x10004e53
mov edi, dword [eax + 4]
jmp 0x10004e56
lea edi, [eax + 4]
mov eax, dword [0x1004e4b0]
xor esi, esi
cmp eax, esi
jne 0x10004e7b
push str.E2FE52CB
call fcn.100198c5
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1004e4b0], eax
cmp eax, esi
je 0x10004e83
push esi
lea ecx, [ebp]
push ecx
push edi
call eax
push esi
push 1
lea ecx, [ebp - 0x44]
call fcn.10001a41
push esi
push 1
lea ecx, [ebp - 0x28]
call fcn.10001a41
lea eax, [ebp]
push eax
call fcn.1000a08f
cmp eax, ebx
jne 0x10004eae
cmp edx, esi
je 0x10004e0c
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.10022b9f
add ebp, 0x20c
leave
ret

Function at 0x10004ed3
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x1004a300]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push str._ClearVideo__s
call fcn.10019ca9
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call fcn.10025220
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
add esp, 0x14
push edi
call esi
lea eax, [ebp - 0x210]
push eax
push str..jpg
push edi
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
push eax
mov eax, edi
call fcn.1000b662
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10004f4e
lea eax, [ebp - 0x210]
push eax
call esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10022b9f
leave
ret
Function at 0x10005020
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
xor ebx, ebx
push ebx
push ebx
push 3
push ebx
push ebx
push 0x80000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, eax
mov dword [ebp - 8], ecx
cmp ecx, ebx
je 0x1000504b
cmp ecx, 0xffffffff
jne 0x10005058
lea eax, [ebp - 8]
call fcn.10004ba5
xor eax, eax
pop ebx
leave
ret
push edi
xor eax, eax
mov byte [ebp - 4], bl
lea edi, [ebp - 3]
stosw word es:[edi], ax
push ebx
stosb byte es:[edi], al
lea eax, [ebp - 0xc]
push eax
push 4
lea eax, [ebp - 4]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
pop edi
cmp byte [ebp - 4], bl
jne 0x10005097
cmp byte [ebp - 3], bl
jne 0x10005097
cmp byte [ebp - 2], bl
jne 0x10005097
cmp byte [ebp - 1], bl
jne 0x10005097
lea eax, [ebp - 8]
call fcn.10004ba5
mov eax, ebx
jmp 0x10005055
xor ebx, ebx
inc ebx
jmp 0x1000508b

Function at 0x10005229
Capabilities:
Check if file exists
Delete file

Disassembly:
push 0x24
mov eax, 0x1003c8c6
call fcn.10023bba
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10005288
lea eax, [ebp - 0x2c]
push esi
push eax
call fcn.100051ce
and dword [ebp - 4], 0
push esi
push 0x10040110
call fcn.10019b3e
mov eax, dword [ebp - 0x28]
add esp, 0x10
cmp dword [ebp - 0x14], 0x10
jae 0x10005268
lea eax, [ebp - 0x28]
push eax
mov ecx, esi
call fcn.10004bfe
pop ecx
test al, al
je 0x1000527c
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.10001a41
call fcn.10023c3d
ret
Function at 0x10005980
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x444
mov eax, dword [0x1004a300]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
call fcn.10005f1d
mov ebx, str..tmp
push eax
mov ecx, ebx
lea esi, [ebp - 0x440]
call fcn.10009d02
mov esi, dword [ebp - 0x434]
pop ecx
cmp esi, dword [ebp - 0x430]
jbe 0x100059c2
call fcn.10022ef7
mov eax, dword [ebp - 0x440]
mov dword [ebp - 0x41c], esi
mov esi, dword [ebp - 0x430]
mov dword [ebp - 0x420], eax
cmp dword [ebp - 0x434], esi
jbe 0x100059e7
call fcn.10022ef7
mov eax, dword [ebp - 0x440]
mov dword [ebp - 0x428], eax
mov dword [ebp - 0x424], esi
jmp 0x10005acc
xor eax, eax
mov esi, 0x206
push esi
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call fcn.10025220
add esp, 0xc
xor eax, eax
push esi
push eax
mov word [ebp - 0x418], ax
lea eax, [ebp - 0x416]
push eax
call fcn.10025220
add esp, 0xc
lea esi, [ebp - 0x420]
call fcn.10007d52
cmp dword [eax + 0x18], 8
jb 0x10005a4d
mov eax, dword [eax + 4]
jmp 0x10005a50
add eax, 4
lea ecx, [ebp - 0x210]
push ecx
push str..avi
push ebx
call fcn.1000b662
lea esi, [ebp - 0x420]
call fcn.10007d52
cmp dword [eax + 0x18], 8
jb 0x10005a78
mov eax, dword [eax + 4]
jmp 0x10005a7b
add eax, 4
lea ecx, [ebp - 0x418]
push ecx
push str..flv
push ebx
call fcn.1000b662
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea esi, [ebp - 0x420]
call fcn.10007d52
cmp dword [eax + 0x18], 8
jb 0x10005ab0
mov eax, dword [eax + 4]
jmp 0x10005ab3
add eax, 4
lea ecx, [ebp - 0x210]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
lea esi, [ebp - 0x420]
call fcn.10005fb3
lea edi, [ebp - 0x428]
lea esi, [ebp - 0x420]
call fcn.10005f56
test al, al
jne 0x100059fe
lea esi, [ebp - 0x440]
call fcn.10005f8e
push dword [ebp - 0x440]
call fcn.10022f31
pop ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10022b9f
leave
ret
Function at 0x10006659
Capabilities:
Get common file path
Get disk size

Disassembly:
push 0x264
mov eax, 0x1003b42e
call fcn.10023bba
mov ebx, ecx
xor esi, esi
mov dword [ebp - 4], esi
mov edi, str.Softwareprojonepodlp_smpcache_
push ebx
mov edx, str.A07C6659
mov ecx, edi
mov dword [ebp - 0x23c], ebx
mov dword [ebp - 0x248], esi
call fcn.1000b8bc
pop ecx
mov dword [ebp - 4], esi
mov dword [ebp - 0x248], 1
cmp dword [ebx + 0x14], esi
jne 0x10006708
xor eax, eax
push 0x206
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push esi
push eax
call fcn.10025220
add esp, 0xc
push 1
push 0x1c
lea eax, [ebp - 0x21c]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.projoneA0CC00F1
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea esi, [ebp - 0x21c]
mov ebx, str.A07C6659
call fcn.1000b87c
mov eax, esi
push eax
push dword [ebp - 0x23c]
call fcn.10001b12
mov ebx, dword [ebp - 0x23c]
xor esi, esi
cmp dword [0x1004be40], esi
je 0x1000682c
cmp dword [ebx + 0x18], 8
mov dword [0x1004be40], esi
jb 0x10006725
mov eax, dword [ebx + 4]
jmp 0x10006728
lea eax, [ebx + 4]
movzx eax, word [eax]
push eax
push str._c:_
lea ecx, [ebp - 0x238]
call fcn.1000b78e
pop ecx
pop ecx
mov dword [ebp - 4], 1
xor eax, eax
cmp dword [ebp - 0x220], 8
lea edi, [ebp - 0x250]
mov dword [ebp - 0x254], esi
stosd dword es:[edi], eax
lea edi, [ebp - 0x240]
mov dword [ebp - 0x244], esi
stosd dword es:[edi], eax
mov eax, dword [ebp - 0x234]
jae 0x10006776
lea eax, [ebp - 0x234]
lea ecx, [ebp - 0x244]
push ecx
lea ecx, [ebp - 0x254]
push ecx
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x1000681e
push esi
push 6
push dword [ebp - 0x240]
push dword [ebp - 0x244]
call fcn.1002f1e0
push esi
push 0xa
push edx
push eax
call fcn.1002df30
cmp edx, dword [0x1004bcac]
ja 0x100067cf
jb 0x100067c4
cmp eax, dword [0x1004bca8]
jae 0x100067cf
mov dword [0x1004bca8], eax
mov dword [0x1004bcac], edx
push dword [0x1004bcac]
lea ebx, [ebp - 0x270]
push dword [0x1004bca8]
call fcn.1000a943
pop ecx
pop ecx
mov byte [ebp - 4], 2
cmp dword [eax + 0x18], 0x10
jb 0x100067f7
mov eax, dword [eax + 4]
jmp 0x100067fa
add eax, 4
push eax
push str.scrn_history_max_use_space:__hs
call fcn.10019ca9
pop ecx
pop ecx
push 0
push 1
lea ecx, [ebp - 0x270]
call fcn.10001a41
mov ebx, dword [ebp - 0x23c]
xor esi, esi
push esi
push 1
lea esi, [ebp - 0x238]
call fcn.10001b39
mov eax, ebx
call fcn.10023c3d
ret
Function at 0x1000751c
Capabilities:
Check if file exists
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x644
mov eax, dword [0x1004a300]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
lea ecx, [ebp - 0x62c]
mov dword [ebp - 0x634], eax
call fcn.10006659
cmp dword [eax + 0x18], 8
jb 0x10007551
mov eax, dword [eax + 4]
jmp 0x10007554
add eax, 4
movzx ecx, word [ebp + 0x16]
push ecx
movzx ecx, word [ebp + 0x12]
push ecx
movzx ecx, word [ebp + 0x10]
push ecx
push eax
push str._s_04d_02d_02d
lea eax, [ebp - 0x610]
push 0x104
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x1c
xor ebx, ebx
push ebx
push 1
lea esi, [ebp - 0x62c]
call fcn.10001b39
movzx eax, word [ebp + 0x18]
movzx ecx, word [ebp + 0x1a]
imul eax, eax, 0x3c
add eax, ecx
movzx ecx, word [ebp + 0x1c]
imul eax, eax, 0x3c
add eax, ecx
cdq
push 5
pop ecx
idiv ecx
mov ecx, dword [ebp + 0xc]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov dword [ebp - 0x630], ebx
add eax, ecx
mov dword [ebp - 0x63c], eax
mov ecx, dword [ebp - 0x630]
mov eax, dword [ebp - 0x63c]
add eax, ecx
push eax
lea eax, [ebp - 0x610]
push eax
push str._s_06d
lea ecx, [ebp - 0x62c]
call fcn.1000b78e
mov eax, dword [ebp - 0x628]
add esp, 0xc
push 8
pop esi
cmp dword [ebp - 0x614], esi
jae 0x10007601
lea eax, [ebp - 0x628]
push eax
call edi
test eax, eax
je 0x100076b6
mov eax, dword [ebp - 0x628]
cmp dword [ebp - 0x614], esi
jae 0x10007620
lea eax, [ebp - 0x628]
push eax
call fcn.1000a08f
cmp eax, 0x400
mov eax, dword [ebp - 0x628]
jge 0x10007719
cmp dword [ebp - 0x614], esi
jae 0x10007645
lea eax, [ebp - 0x628]
push ebx
push ebx
push 3
push ebx
push ebx
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x638], esi
cmp esi, ebx
je 0x100076ab
cmp esi, 0xffffffff
je 0x100076ab
push 0x3ff
lea eax, [ebp - 0x407]
push ebx
push eax
mov byte [ebp - 0x408], bl
call fcn.10025220
add esp, 0xc
push ebx
lea eax, [ebp - 0x640]
push eax
push 0x400
lea eax, [ebp - 0x408]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [ebp - 0x408]
push eax
call edi
test eax, eax
jne 0x100076e8
lea eax, [ebp - 0x638]
call fcn.10004ba5
push ebx
push 1
lea esi, [ebp - 0x62c]
call fcn.10001b39
inc dword [ebp - 0x630]
cmp dword [ebp - 0x630], 5
jl 0x100075c1
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10022b9f
leave
ret
lea eax, [ebp - 0x408]
push eax
push dword [ebp - 0x634]
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x638]
call fcn.10004ba5
push ebx
push 1
lea esi, [ebp - 0x62c]
call fcn.10001b39
xor eax, eax
inc eax
jmp 0x100076d9
cmp dword [ebp - 0x614], esi
jae 0x10007727
lea eax, [ebp - 0x628]
push eax
push dword [ebp - 0x634]
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x10007706
Function at 0x10009a28
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 [0x1004a300]
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 0x10009c4d
test eax, eax
jne 0x10009a79
test ecx, ecx
je 0x10009c4d
movzx eax, word [esi + 2]
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
cmp ax, 0x3a
je 0x10009acf
cmp ax, 0x5c
je 0x10009acf
xor eax, eax
push 0x40e
push eax
mov word [ebp - 0x828], ax
lea eax, [ebp - 0x826]
push eax
call fcn.10025220
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 0x10009c4d
test al, 0x10
je 0x10009c4d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyW]
push esi
lea eax, [ebp - 0x418]
push eax
call ebx
push 0x100408dc
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 0x10009c4d
mov dword [ebp - 0xa7c], 1
push 0x100408e0
lea eax, [ebp - 0xa4c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x10009c12
push 0x100408e4
lea eax, [ebp - 0xa4c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x10009c12
cmp dword [ebp - 0xa78], 0xffffffff
je 0x10009c12
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 0x10009bf2
cmp dword [ebp - 0xa80], 0
je 0x10009bb6
push dword [ebp - 0xa8c]
lea eax, [ebp - 0x210]
push eax
call dword [ebp - 0xa80]
test eax, eax
je 0x10009c2f
cmp dword [ebp + 0xc], 0
je 0x10009c12
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.10009a28
push 2
pop ecx
cmp eax, ecx
jne 0x10009c12
mov dword [ebp - 0xa7c], ecx
jmp 0x10009c39
cmp dword [ebp - 0xa84], 0
je 0x10009c12
push dword [ebp - 0xa88]
lea eax, [ebp - 0x210]
push eax
call dword [ebp - 0xa84]
test eax, eax
je 0x10009c2f
lea eax, [ebp - 0xa78]
push eax
push dword [ebp - 0xa90]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x10009b32
jmp 0x10009c39
mov dword [ebp - 0xa7c], 2
push dword [ebp - 0xa90]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0xa7c]
jmp 0x10009c4f
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10022b9f
leave
ret 0x18
Function at 0x10009f6d
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x1004a300]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
push esi
cmp edi, ebx
je 0x1000a067
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x104
jge 0x1000a067
xor eax, eax
push 0x206
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push ebx
push eax
call fcn.10025220
add esp, 0xc
lea esi, [ebp - 0x210]
mov ecx, edi
call fcn.1000a771
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x10009fe4
shr eax, 4
not eax
and eax, 1
jmp 0x1000a069
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.1000a077
test eax, eax
je 0x1000a067
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 0x1000a049
mov dword [ebp - 0x41c], 1
cmp eax, 0xffffffff
jne 0x1000a04f
mov dword [ebp - 0x41c], ebx
lea eax, [ebp - 0x420]
call fcn.10004ba5
xor eax, eax
cmp byte [ebp - 0x41c], bl
setne al
jmp 0x1000a069
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.10022b9f
leave
ret
Function at 0x1000a401
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x1004a300]
xor eax, ebp
mov dword [ebp - 4], eax
test esi, esi
je 0x1000a467
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call fcn.10025220
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x1000a467
push esi
push 0
push 0
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jbe 0x1000a467
xor eax, eax
inc eax
jmp 0x1000a469
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10022b9f
leave
ret

Function at 0x1000a5c6
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 0x1000a5f2
call fcn.10009f6d
test eax, eax
jne 0x1000a5f2
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 0x1000a612
cmp esi, 0xffffffff
jne 0x1000a62a
cmp dword [ebp - 8], ebx
jne 0x1000a61e
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0xc]
call fcn.10004ba5
mov eax, ebx
jmp 0x1000a5eb
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 0x1000a64e
cmp dword [ebp - 4], edi
jne 0x1000a64e
xor ebx, ebx
inc ebx
jmp 0x1000a61e
cmp dword [ebp - 8], ebx
jne 0x1000a61e
or dword [ebp - 0xc], 0xffffffff
cmp esi, 0xffffffff
je 0x1000a667
cmp esi, ebx
je 0x1000a667
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp + 8]
jmp 0x1000a618

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

Disassembly:
push ebp
lea ebp, [esp - 0x88]
sub esp, 0x108
mov eax, dword [0x1004a300]
xor eax, ebp
mov dword [ebp + 0x84], eax
push esi
push 0x103
lea eax, [ebp - 0x7f]
push 0
push eax
mov byte [ebp - 0x80], 0
call fcn.10025220
add esp, 0xc
push 0x104
lea esi, [ebp - 0x80]
call fcn.1000a66c
mov eax, 0x179b06cc
xor ecx, ecx
movzx edx, byte [ebp + ecx - 0x80]
movzx esi, al
xor edx, esi
shr eax, 8
xor eax, dword [edx*4 + 0x1004be48]
inc ecx
cmp ecx, 0x24
jl 0x1000a73f
mov ecx, dword [ebp + 0x84]
xor ecx, ebp
not eax
pop esi
call fcn.10022b9f
add ebp, 0x88
leave
ret