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

Disassembly:
push 0x49c
mov eax, 0x1003e043
call fcn.1002553a
xor eax, eax
mov esi, 0x206
push esi
mov word [ebp - 0x424], ax
xor edi, edi
lea eax, [ebp - 0x422]
mov ebx, ecx
push edi
push eax
mov dword [ebp - 0x49c], ebx
call fcn.10026b90
add esp, 0xc
xor eax, eax
push esi
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push edi
push eax
call fcn.10026b90
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
lea edx, [ebp - 0x424]
mov ecx, ebx
call fcn.10003e21
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x424]
push eax
push str.screen_record__avi:_ls__jpg:_ls
call fcn.1001d492
add esp, 0xc
push 7
pop eax
mov dword [ebp - 0x47c], eax
mov dword [ebp - 0x460], eax
xor eax, eax
push 0x2c
mov word [ebp - 0x474], ax
lea eax, [ebp - 0x45c]
xor ecx, ecx
push edi
push eax
mov dword [ebp - 0x480], edi
mov word [ebp - 0x490], cx
mov dword [ebp - 0x464], edi
call fcn.10026b90
add esp, 0xc
mov dword [ebp - 0x430], edi
lea eax, [ebp - 0x424]
mov dword [ebp - 4], edi
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
cmp dx, di
jne 0x10004070
sub eax, ecx
sar eax, 1
lea ecx, [ebp - 0x424]
lea esi, [ebp - 0x494]
call fcn.10001dca
lea eax, [ebp - 0x21c]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, di
jne 0x10004098
sub eax, edx
sar eax, 1
lea ecx, [ebp - 0x21c]
lea esi, [ebp - 0x478]
call fcn.10001dca
mov eax, dword [ebx + 0xc8]
mov dword [ebp - 0x42c], eax
lea eax, [ebp - 0x494]
push eax
lea esi, [ebx + 0xc]
call fcn.100074de
cmp dword [ebp - 0x430], edi
je 0x100041a1
lea edi, [ebp - 0x4a8]
call fcn.10004278
lea edi, [ebx + 0xa0]
mov dword [ebp - 0x498], 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.100249a8
pop ecx
test eax, eax
je 0x1000412f
mov esi, dword [ebp - 0x498]
sub esp, 0xc
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x424]
push ecx
mov ebx, eax
movsd dword es:[edi], dword [esi]
call fcn.10003196
mov ebx, dword [ebp - 0x49c]
mov esi, eax
jmp 0x10004131
xor esi, esi
push dword [ebx + 0xa8]
mov eax, dword [ebp - 0x498]
push dword [ebx + 0xa4]
push dword [eax]
push str.init_param__nInterval:_d__nQuality:_d__nDuration:_d
call fcn.1001d492
add esp, 0x10
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea ebx, [ebp - 0x45c]
call fcn.10003241
test al, al
je 0x10004177
mov eax, dword [ebp - 0x49c]
mov dword [eax + 0x84], esi
jmp 0x1000418d
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test esi, esi
je 0x1000418d
call fcn.100046ec
call dword [sym.imp.ole32.dll_CoUninitialize]
push dword [ebp - 0x430]
call fcn.10024a0d
pop ecx
xor edi, edi
push edi
push 1
lea esi, [ebp - 0x478]
call fcn.10001b91
push edi
push 1
lea esi, [ebp - 0x494]
call fcn.10001b91
call fcn.100255bd
ret
Function at 0x10005d42
Capabilities:
Check if file exists

Disassembly:
push 0x88
mov eax, 0x1003e3d0
call fcn.1002553a
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x78], ecx
cmp eax, ebx
je 0x10005d96
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10005d96
lea edi, [ebp - 0x30]
call fcn.1000f1ae
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x18], 0x10
mov edx, dword [ebp - 0x2c]
jae 0x10005d82
lea edx, [ebp - 0x2c]
call fcn.1000c37e
test eax, eax
jne 0x10005d9e
push ebx
push 1
lea ecx, [ebp - 0x30]
call fcn.10001a99
xor al, al
call fcn.100255bd
ret
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x10005daa
lea eax, [ebp - 0x2c]
push 0x32e3
push eax
push str.https:___s:_d_globalSmallFile
lea esi, [ebp - 0x4c]
call fcn.1000d305
add esp, 0xc
push ebx
push ebx
lea eax, [ebp - 0x94]
call fcn.100148fb
sub esp, 0x18
mov byte [ebp - 4], 4
mov esi, esp
mov dword [ebp - 0x70], esp
push str.scrnrcrd_thumb
call fcn.10013a0b
lea eax, [ebp - 0x94]
push eax
mov edx, str.type
mov byte [ebp - 4], 5
call fcn.10014b99
mov edi, eax
mov byte [ebp - 4], 4
call fcn.10013cdf
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x70], esp
push dword [ebp - 0x74]
call fcn.10013a0b
lea eax, [ebp - 0x94]
push eax
mov edx, str.name
mov byte [ebp - 4], 6
call fcn.10014b99
mov edi, eax
mov byte [ebp - 4], 4
call fcn.10013cdf
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x70], esp
push ebx
call fcn.100139c6
lea eax, [ebp - 0x94]
push eax
mov edx, str.clean
mov byte [ebp - 4], 7
call fcn.10014b99
mov edi, eax
mov byte [ebp - 4], 4
call fcn.10013cdf
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp - 0x68]
call fcn.10014ff3
mov byte [ebp - 4], 8
cmp dword [ebp - 0x50], 0x10
mov ecx, dword [ebp - 0x64]
jae 0x10005e80
lea ecx, [ebp - 0x64]
cmp dword [ebp - 0x34], 0x10
mov eax, dword [ebp - 0x48]
jae 0x10005e8c
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.1001cafc
push ebx
test eax, eax
push 1
lea ecx, [ebp - 0x68]
setne byte [ebp - 0x69]
call fcn.10001a99
lea esi, [ebp - 0x94]
mov byte [ebp - 4], 1
call fcn.10013c5c
push ebx
push 1
lea ecx, [ebp - 0x4c]
call fcn.10001a99
push ebx
push 1
lea ecx, [ebp - 0x30]
call fcn.10001a99
mov al, byte [ebp - 0x69]
jmp 0x10005d98
Function at 0x10005ee2
Capabilities:
Check if file exists

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x1004c300]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0x38
mov eax, 0x1003cacc
call fcn.100254d1
xor eax, eax
push 0x206
push eax
mov word [ebp], ax
lea eax, [ebp + 2]
push eax
call fcn.10026b90
add esp, 0xc
lea eax, [ebp]
push eax
mov ebx, str.ffmpeg.exe
call fcn.1000bfb4
lea eax, [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ebx, 0xbc1b88
test eax, eax
je 0x10005f58
lea eax, [ebp]
push eax
call fcn.1000bb22
cmp eax, ebx
jne 0x10005f58
test edx, edx
jne 0x10005f58
xor eax, eax
inc eax
jmp 0x10005ff4
lea edi, [ebp - 0x28]
call fcn.1000f1ae
and dword [ebp - 4], 0
cmp dword [eax + 0x18], 0x10
jb 0x10005f6f
mov eax, dword [eax + 4]
jmp 0x10005f72
add eax, 4
push 0x32e3
push eax
push str.https:___s:_d_tools_ffmpeg.exe
lea esi, [ebp - 0x44]
call fcn.1000d305
add esp, 0xc
mov byte [ebp - 4], 1
cmp dword [eax + 0x18], 0x10
jb 0x10005f97
mov edi, dword [eax + 4]
jmp 0x10005f9a
lea edi, [eax + 4]
mov eax, dword [0x10050640]
xor esi, esi
cmp eax, esi
jne 0x10005fbf
push str.E2FE52CB
call fcn.1001c38c
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10050640], eax
cmp eax, esi
je 0x10005fc7
push esi
lea ecx, [ebp]
push ecx
push edi
call eax
push esi
push 1
lea ecx, [ebp - 0x44]
call fcn.10001a99
push esi
push 1
lea ecx, [ebp - 0x28]
call fcn.10001a99
lea eax, [ebp]
push eax
call fcn.1000bb22
cmp eax, ebx
jne 0x10005ff2
cmp edx, esi
je 0x10005f50
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.10024522
add ebp, 0x20c
leave
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x1004c300]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push str._ClearVideo__s
call fcn.1001c7c0
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call fcn.10026b90
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.1000d17b
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10006092
lea eax, [ebp - 0x210]
push eax
call esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10024522
leave
ret
Function at 0x10006164
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 0x1000618f
cmp ecx, 0xffffffff
jne 0x1000619c
lea eax, [ebp - 8]
call fcn.10005ce9
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 0x100061db
cmp byte [ebp - 3], bl
jne 0x100061db
cmp byte [ebp - 2], bl
jne 0x100061db
cmp byte [ebp - 1], bl
jne 0x100061db
lea eax, [ebp - 8]
call fcn.10005ce9
mov eax, ebx
jmp 0x10006199
xor ebx, ebx
inc ebx
jmp 0x100061cf

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

Disassembly:
push 0x24
mov eax, 0x1003e400
call fcn.1002553a
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100063cc
lea eax, [ebp - 0x2c]
push esi
push eax
call fcn.10006312
and dword [ebp - 4], 0
push esi
push 0x10042188
call fcn.1001c655
mov eax, dword [ebp - 0x28]
add esp, 0x10
cmp dword [ebp - 0x14], 0x10
jae 0x100063ac
lea eax, [ebp - 0x28]
push eax
mov ecx, esi
call fcn.10005d42
pop ecx
test al, al
je 0x100063c0
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.10001a99
call fcn.100255bd
ret
Function at 0x10006ac4
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x444
mov eax, dword [0x1004c300]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
call fcn.10007061
mov ebx, str..tmp
push eax
mov ecx, ebx
lea esi, [ebp - 0x440]
call fcn.1000b795
mov esi, dword [ebp - 0x434]
pop ecx
cmp esi, dword [ebp - 0x430]
jbe 0x10006b06
call fcn.1002487a
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 0x10006b2b
call fcn.1002487a
mov eax, dword [ebp - 0x440]
mov dword [ebp - 0x428], eax
mov dword [ebp - 0x424], esi
jmp 0x10006c10
xor eax, eax
mov esi, 0x206
push esi
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call fcn.10026b90
add esp, 0xc
xor eax, eax
push esi
push eax
mov word [ebp - 0x418], ax
lea eax, [ebp - 0x416]
push eax
call fcn.10026b90
add esp, 0xc
lea esi, [ebp - 0x420]
call fcn.10004f69
cmp dword [eax + 0x18], 8
jb 0x10006b91
mov eax, dword [eax + 4]
jmp 0x10006b94
add eax, 4
lea ecx, [ebp - 0x210]
push ecx
push str..avi
push ebx
call fcn.1000d17b
lea esi, [ebp - 0x420]
call fcn.10004f69
cmp dword [eax + 0x18], 8
jb 0x10006bbc
mov eax, dword [eax + 4]
jmp 0x10006bbf
add eax, 4
lea ecx, [ebp - 0x418]
push ecx
push str..flv
push ebx
call fcn.1000d17b
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea esi, [ebp - 0x420]
call fcn.10004f69
cmp dword [eax + 0x18], 8
jb 0x10006bf4
mov eax, dword [eax + 4]
jmp 0x10006bf7
add eax, 4
lea ecx, [ebp - 0x210]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
lea esi, [ebp - 0x420]
call fcn.100070f7
lea edi, [ebp - 0x428]
lea esi, [ebp - 0x420]
call fcn.1000709a
test al, al
jne 0x10006b42
lea esi, [ebp - 0x440]
call fcn.100070d2
push dword [ebp - 0x440]
call fcn.100248b4
pop ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10024522
leave
ret
Function at 0x100073b7
Capabilities:
Create thread

Disassembly:
push 0x28
mov eax, 0x1003ce50
call fcn.100254d1
mov edi, ecx
mov esi, edx
mov dword [ebp - 0x18], esi
push edi
xor ebx, ebx
push str.SetMonitorCapture_Inrerval:_d
mov dword [ebp - 4], ebx
call fcn.1001d492
pop ecx
pop ecx
mov dword [esi + 0x1c], edi
mov dword [esi + 8], ebx
cmp dword [esi + 4], ebx
jne 0x100074b3
push 0xffffffffffffffff
lea eax, [esi + 0x24]
push eax
lea eax, [ebp + 0x10]
mov dword [esi + 4], 1
call fcn.10001ae4
xor edx, edx
cmp dword [esi + 0x38], edx
jne 0x1000741c
push edx
push 1
lea esi, [ebp + 0x10]
call fcn.10001b91
xor eax, eax
call fcn.100255a9
ret 0x34
mov edi, dword [ebp + 0x34]
mov eax, dword [ebp + 0x2c]
mov ecx, dword [ebp + 0x30]
mov dword [esi + 0x14], edi
mov edi, dword [ebp + 0x38]
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], ecx
mov dword [esi + 0x18], edi
cmp eax, edx
je 0x1000743c
cmp ecx, edx
jne 0x10007458
lea ebx, [ebp - 0x10]
lea edi, [ebp - 0x14]
mov ecx, esi
mov dword [ebp - 0x10], edx
call fcn.1000779a
mov eax, dword [ebp - 0x14]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x10], eax
call fcn.1000778a
push eax
lea ecx, [ebp - 0x34]
mov dword [esi + 0x5c], eax
call fcn.10020902
push 0xffffffffffffffff
add esi, 0x40
push esi
xor ebx, ebx
mov byte [ebp - 4], 1
call fcn.10001ae4
push ebx
push 1
lea esi, [ebp - 0x34]
mov byte [ebp - 4], bl
call fcn.10001b91
mov esi, dword [ebp - 0x18]
cmp dword [esi + 0x5c], ebx
je 0x100074b8
cmp dword [esi + 0x54], ebx
je 0x100074b8
call fcn.10007624
mov eax, dword [ebp + 8]
push ebx
push ebx
push esi
push 0x100079f6
push ebx
push ebx
mov dword [esi + 0x74], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x20], eax
xor ebx, ebx
inc ebx
jmp 0x100074cb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.get_input_desktop_err:_d
call fcn.1001d492
pop ecx
pop ecx
push 0
push 1
lea esi, [ebp + 0x10]
call fcn.10001b91
mov eax, ebx
jmp 0x10007414

Function at 0x100078b3
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 0x100078e2
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 0x1000794c
cmp dword [ebp - 0x18], edi
je 0x1000794c
mov eax, dword [esi + 0x5c]
cmp eax, edi
je 0x10007908
push eax
call dword [sym.imp.USER32.dll_CloseDesktop]
push 0xffffffffffffffff
lea eax, [esi + 0x40]
mov dword [esi + 0x5c], ebx
push eax
xor ebx, ebx
lea eax, [ebp - 0x2c]
call fcn.10001ae4
mov eax, dword [esi + 0x20]
cmp eax, edi
je 0x10007929
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push edi
push esi
push 0x100079f6
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 0x10007959
push edi
push 1
lea esi, [ebp - 0x2c]
call fcn.10001b91
xor eax, eax
call fcn.100255bd
ret
Function at 0x1000795f
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
and dword [ebp - 8], 0
and dword [ebp - 4], 0
push ebx
push esi
mov esi, eax
push edi
lea ebx, [ebp - 8]
lea edi, [ebp - 0x10]
mov ecx, esi
call fcn.1000779a
lea eax, [ebp - 4]
push eax
lea ebx, [ebp - 0xc]
mov ecx, esi
call fcn.10007820
push dword [ebp - 4]
mov ebx, dword [ebp - 8]
push dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
push ebx
push edi
push str.cur_monitor__d___d_:___d___d_
call fcn.1001d237
add esp, 0x14
test edi, edi
je 0x100079ef
test ebx, ebx
je 0x100079ef
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x14], eax
mov eax, dword [ebp - 4]
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], ebx
mov dword [esi + 0x18], eax
call fcn.10007624
mov eax, dword [esi + 0x20]
xor edi, edi
cmp eax, edi
je 0x100079d7
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push edi
push esi
push 0x100079f6
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x20], eax
xor eax, eax
inc eax
jmp 0x100079f1
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1000807c
Capabilities:
Get common file path
Get disk size

Disassembly:
push 0x264
mov eax, 0x1003cdc5
call fcn.1002553a
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.1000d3d5
pop ecx
mov dword [ebp - 4], esi
mov dword [ebp - 0x248], 1
cmp dword [ebx + 0x14], esi
jne 0x1000812b
xor eax, eax
push 0x206
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push esi
push eax
call fcn.10026b90
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.1000d395
mov eax, esi
push eax
push dword [ebp - 0x23c]
call fcn.10001b6a
mov ebx, dword [ebp - 0x23c]
xor esi, esi
cmp dword [0x1004df88], esi
je 0x1000824f
cmp dword [ebx + 0x18], 8
mov dword [0x1004df88], esi
jb 0x10008148
mov eax, dword [ebx + 4]
jmp 0x1000814b
lea eax, [ebx + 4]
movzx eax, word [eax]
push eax
push str._c:_
lea ecx, [ebp - 0x238]
call fcn.1000d2a7
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 0x10008199
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 0x10008241
push esi
push 6
push dword [ebp - 0x240]
push dword [ebp - 0x244]
call fcn.10030cf0
push esi
push 0xa
push edx
push eax
call fcn.1002f8a0
cmp edx, dword [0x1004ddb4]
ja 0x100081f2
jb 0x100081e7
cmp eax, dword [0x1004ddb0]
jae 0x100081f2
mov dword [0x1004ddb0], eax
mov dword [0x1004ddb4], edx
push dword [0x1004ddb4]
lea ebx, [ebp - 0x270]
push dword [0x1004ddb0]
call fcn.1000c3f8
pop ecx
pop ecx
mov byte [ebp - 4], 2
cmp dword [eax + 0x18], 0x10
jb 0x1000821a
mov eax, dword [eax + 4]
jmp 0x1000821d
add eax, 4
push eax
push str.scrn_history_max_use_space:__hs
call fcn.1001c7c0
pop ecx
pop ecx
push 0
push 1
lea ecx, [ebp - 0x270]
call fcn.10001a99
mov ebx, dword [ebp - 0x23c]
xor esi, esi
push esi
push 1
lea esi, [ebp - 0x238]
call fcn.10001b91
mov eax, ebx
call fcn.100255bd
ret
Function at 0x10008fbe
Capabilities:
Check if file exists
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x644
mov eax, dword [0x1004c300]
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.1000807c
cmp dword [eax + 0x18], 8
jb 0x10008ff3
mov eax, dword [eax + 4]
jmp 0x10008ff6
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.10001b91
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.1000d2a7
mov eax, dword [ebp - 0x628]
add esp, 0xc
push 8
pop esi
cmp dword [ebp - 0x614], esi
jae 0x100090a3
lea eax, [ebp - 0x628]
push eax
call edi
test eax, eax
je 0x10009158
mov eax, dword [ebp - 0x628]
cmp dword [ebp - 0x614], esi
jae 0x100090c2
lea eax, [ebp - 0x628]
push eax
call fcn.1000bb22
cmp eax, 0x400
mov eax, dword [ebp - 0x628]
jge 0x100091bb
cmp dword [ebp - 0x614], esi
jae 0x100090e7
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 0x1000914d
cmp esi, 0xffffffff
je 0x1000914d
push 0x3ff
lea eax, [ebp - 0x407]
push ebx
push eax
mov byte [ebp - 0x408], bl
call fcn.10026b90
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 0x1000918a
lea eax, [ebp - 0x638]
call fcn.10005ce9
push ebx
push 1
lea esi, [ebp - 0x62c]
call fcn.10001b91
inc dword [ebp - 0x630]
cmp dword [ebp - 0x630], 5
jl 0x10009063
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10024522
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.10005ce9
push ebx
push 1
lea esi, [ebp - 0x62c]
call fcn.10001b91
xor eax, eax
inc eax
jmp 0x1000917b
cmp dword [ebp - 0x614], esi
jae 0x100091c9
lea eax, [ebp - 0x628]
push eax
push dword [ebp - 0x634]
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x100091a8
Function at 0x1000b4bb
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 [0x1004c300]
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 0x1000b6e0
test eax, eax
jne 0x1000b50c
test ecx, ecx
je 0x1000b6e0
movzx eax, word [esi + 2]
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
cmp ax, 0x3a
je 0x1000b562
cmp ax, 0x5c
je 0x1000b562
xor eax, eax
push 0x40e
push eax
mov word [ebp - 0x828], ax
lea eax, [ebp - 0x826]
push eax
call fcn.10026b90
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 0x1000b6e0
test al, 0x10
je 0x1000b6e0
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyW]
push esi
lea eax, [ebp - 0x418]
push eax
call ebx
push 0x10042b9c
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 0x1000b6e0
mov dword [ebp - 0xa7c], 1
push 0x10042ba0
lea eax, [ebp - 0xa4c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x1000b6a5
push 0x10042ba4
lea eax, [ebp - 0xa4c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x1000b6a5
cmp dword [ebp - 0xa78], 0xffffffff
je 0x1000b6a5
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 0x1000b685
cmp dword [ebp - 0xa80], 0
je 0x1000b649
push dword [ebp - 0xa8c]
lea eax, [ebp - 0x210]
push eax
call dword [ebp - 0xa80]
test eax, eax
je 0x1000b6c2
cmp dword [ebp + 0xc], 0
je 0x1000b6a5
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.1000b4bb
push 2
pop ecx
cmp eax, ecx
jne 0x1000b6a5
mov dword [ebp - 0xa7c], ecx
jmp 0x1000b6cc
cmp dword [ebp - 0xa84], 0
je 0x1000b6a5
push dword [ebp - 0xa88]
lea eax, [ebp - 0x210]
push eax
call dword [ebp - 0xa84]
test eax, eax
je 0x1000b6c2
lea eax, [ebp - 0xa78]
push eax
push dword [ebp - 0xa90]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1000b5c5
jmp 0x1000b6cc
mov dword [ebp - 0xa7c], 2
push dword [ebp - 0xa90]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0xa7c]
jmp 0x1000b6e2
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10024522
leave
ret 0x18