joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47bb20
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5705ed
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x5bfd00]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [ebp + 0xc], 0
mov esi, dword [ebp + 8]
je 0x47bb69
cmp dword [esi + 0x14], 0xf
mov eax, esi
jbe 0x47bb5d
mov eax, dword [esi]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
cmp dword [esi + 0x14], 0xf
jbe 0x47bb71
mov esi, dword [esi]
test esi, esi
mov dword [ebp - 0x18], 0
mov edx, 0x59de09
mov dword [ebp - 0x14], 0
cmovne edx, esi
xorps xmm0, xmm0
mov ecx, edx
movups xmmword [ebp - 0x28], xmm0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x47bb95
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.0040d5d0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0047d210
add esp, 8
cmp dword [eax + 0x14], 7
jbe 0x47bbc7
mov eax, dword [eax]
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wremove]
mov ecx, dword [ebp - 0x2c]
add esp, 4
mov esi, eax
cmp ecx, 7
jbe 0x47bc09
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x47bbff
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47bc43
push ecx
push edx
call fcn.00563352
add esp, 8
mov ecx, dword [ebp - 0x14]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
cmp ecx, 0xf
jbe 0x47bc53
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x47bc49
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x47bc49
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00563352
add esp, 8
test esi, esi
sete al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00563360
mov esp, ebp
pop ebp
ret

Function at 0x47bc80
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0xf
jbe 0x47bc8e
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x47bc9e
xor al, al
pop ebp
ret
shr eax, 4
not al
and al, 1
pop ebp
ret
Function at 0x47bef0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov eax, dword [ebx]
cmp eax, dword [ebx + 4]
je 0x47bf03
mov dword [ebx + 4], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0xf
jbe 0x47bf0e
mov eax, dword [eax]
push 0x59eec8
push eax
call fcn.0047cff0
mov esi, eax
add esp, 8
mov dword [ebp + 8], esi
test esi, esi
jne 0x47bf2c
xor al, al
pop edi
pop esi
pop ebx
pop ebp
ret
mov edi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
push 2
push 0
push esi
call edi
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, dword [ebp + 0x14]
cmp eax, esi
push 0
cmovl esi, eax
mov dword [ebp + 0xc], eax
push esi
push dword [ebp + 8]
call edi
mov edi, dword [ebp + 0xc]
add esp, 0x1c
sub edi, esi
xor esi, esi
test edi, edi
jle 0x47c075
movsd xmm0, qword [0x5a5630]
movd xmm1, edi
cvtdq2pd xmm1, xmm1
comisd xmm0, xmm1
jbe 0x47c075
cmp dword [ebp + 0x10], edi
mov edx, dword [ebx + 8]
cmovl edi, dword [ebp + 0x10]
mov ecx, dword [ebx]
sub edx, ecx
mov dword [ebp + 0xc], edi
cmp edi, edx
jbe 0x47c021
cmp edi, 0x7fffffff
ja 0x47c08b
mov esi, edx
mov eax, bind
shr esi, 1
sub eax, esi
cmp edx, eax
jbe 0x47bfba
mov esi, bind
jmp 0x47bfc1
add esi, edx
cmp esi, edi
cmovb esi, edi
test ecx, ecx
je 0x47c001
cmp edx, 0x1000
jb 0x47bfe3
mov eax, dword [ecx - 4]
add edx, 0x23
sub ecx, eax
mov dword [ebp + 0xc], eax
lea eax, [ecx - 4]
cmp eax, 0x1f
ja 0x47c01b
mov ecx, dword [ebp + 0xc]
push edx
push ecx
call fcn.00563352
mov dword [ebx], 0
add esp, 8
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
push esi
mov ecx, ebx
call fcn.0042f880
mov esi, dword [ebx]
push edi
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
add esi, edi
jmp 0x47c05a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov esi, dword [ebx + 4]
sub esi, ecx
cmp edi, esi
jbe 0x47c04b
push esi
push 0
push ecx
call sub.VCRUNTIME140.dll_memset
sub edi, esi
mov esi, dword [ebx + 4]
push edi
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0x18
add esi, edi
mov edi, dword [ebp + 0xc]
jmp 0x47c05a
push edi
push 0
push ecx
lea esi, [edi + ecx]
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebx + 4], esi
mov eax, dword [ebx]
sub esi, eax
je 0x47c090
push dword [ebp + 8]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
mov esi, eax
push dword [ebp + 8]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
cmp esi, edi
sete al
pop edi
pop esi
pop ebx
pop ebp
ret
call fcn.0042f870
call fcn.004908e0
int3
Function at 0x47c460
Capabilities:
Check if file exists
Get file attributes
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5706ad
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x5bfd00]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x40]
push edi
push eax
call fcn.0047d210
add esp, 8
mov esi, eax
cmp dword [esi + 0x14], 7
mov dword [ebp - 4], 0
jbe 0x47c4b5
mov esi, dword [esi]
lea eax, [ebp - 0x28]
push ebx
push eax
call fcn.0047d210
add esp, 8
cmp dword [eax + 0x14], 7
jbe 0x47c4ca
mov eax, dword [eax]
push 2
push esi
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ecx, dword [ebp - 0x14]
mov esi, eax
cmp ecx, 7
jbe 0x47c50c
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x47c502
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47c553
push ecx
push edx
call fcn.00563352
add esp, 8
mov ecx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 0xffffffff
cmp ecx, 7
jbe 0x47c563
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x47c559
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x47c559
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00563352
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
test esi, esi
jne 0x47c5c2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, 5
jne 0x47c5e0
cmp dword [edi + 0x14], 0xf
mov eax, edi
jbe 0x47c592
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x47c5a7
shr eax, 4
not al
test al, 1
jne 0x47c5e0
push 1
push edi
push ebx
call fcn.0047ba10
add esp, 0xc
test al, al
je 0x47c5e0
push 1
push ebx
call fcn.0047bb20
add esp, 8
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00563360
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x47c5e9
mov dword [eax], esi
xor al, al
jmp 0x47c5c4
Function at 0x47c630
Capabilities:
Set file attributes
Write file on windows

Disassembly:
push ebp
mov ebp, esp
cmp byte [ebp + 0x14], 0
push esi
mov esi, dword [ebp + 8]
push edi
je 0x47c65d
cmp dword [esi + 0x14], 0xf
mov eax, esi
jbe 0x47c648
mov eax, dword [esi]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push esi
call fcn.00484090
add esp, 4
cmp dword [esi + 0x14], 0xf
jbe 0x47c665
mov esi, dword [esi]
push 0x59f884
push esi
call fcn.0047cff0
mov esi, eax
add esp, 8
test esi, esi
jne 0x47c67f
pop edi
xor al, al
pop esi
pop ebp
ret
mov edi, dword [ebp + 0x10]
push ebx
mov bl, 1
test edi, edi
je 0x47c69e
push esi
push edi
push 1
push dword [ebp + 0xc]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp eax, edi
sete bl
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
mov al, bl
pop ebx
pop edi
pop esi
pop ebp
ret
Function at 0x47ce90
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x5bfd00]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x140]
push edi
push 0x124
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x144], pe_nt_image_headers32
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
jne 0x47ceea
pop edi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00563360
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x144]
push eax
push edi
call sub.KERNEL32.dll_Process32First
push esi
nop dword [eax + eax]
xorps xmm0, xmm0
mov dword [ebp - 0xc], 0
lea eax, [ebp - 0x120]
mov dword [ebp - 8], 0
movups xmmword [ebp - 0x1c], xmm0
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x47cf20
sub eax, edx
lea ecx, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x120]
push eax
call fcn.0040d5d0
cmp dword [ebp - 8], 0xf
lea ecx, [ebp - 0x1c]
mov eax, ebx
cmova ecx, dword [ebp - 0x1c]
cmp dword [ebx + 0x14], 0xf
jbe 0x47cf4e
mov eax, dword [ebx]
push ecx
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
mov ecx, dword [ebp - 8]
add esp, 8
mov esi, eax
cmp ecx, 0xf
jbe 0x47cf8b
mov edx, dword [ebp - 0x1c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x47cf81
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47cfbe
push ecx
push edx
call fcn.00563352
add esp, 8
test esi, esi
je 0x47cfc4
lea eax, [ebp - 0x144]
push eax
push edi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x47cf00
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop edi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00563360
mov esp, ebp
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x13c]
xor ecx, ebp
pop esi
pop edi
pop ebx
call fcn.00563360
mov esp, ebp
pop ebp
ret
Function at 0x47d2f0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
mov eax, dword [0x5bfd00]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0xa4], ebx
je 0x47d336
xorps xmm0, xmm0
movups xmmword [ebx], xmm0
push 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
push 0x59de09
jmp 0x47d3ee
push esi
push edi
push dword [ebp + 0x14]
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x90], 0
push eax
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0xa0], 0x67452301
mov dword [ebp - 0x9c], 0xefcdab89
mov dword [ebp - 0x98], 0x98badcfe
mov dword [ebp - 0x94], 0x10325476
call fcn.0048e6a0
lea ecx, [ebp - 0xa0]
call fcn.0047c710
movups xmm0, xmmword [ebp - 0x48]
xor esi, esi
lea edi, [ebp - 0x28]
movups xmmword [ebp - 0x38], xmm0
nop dword [eax + eax]
movzx eax, byte [ebp + esi - 0x38]
push eax
push str._02X
push edi
call fcn.004920e0
inc esi
add esp, 0xc
add edi, 2
cmp esi, 0x10
jl 0x47d3a0
xorps xmm0, xmm0
mov byte [ebp - 8], 0
pop edi
movups xmmword [ebx], xmm0
lea ecx, [ebp - 0x28]
mov dword [ebx + 0x10], 0
pop esi
mov dword [ebx + 0x14], 0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x47d3e0
sub ecx, edx
lea eax, [ebp - 0x28]
push ecx
push eax
mov ecx, ebx
call fcn.0040d5d0
mov ecx, dword [ebp - 4]
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.00563360
mov esp, ebp
pop ebp
ret
Function at 0x47d4c0
Capabilities:
Hash data with md5
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x8078
call fcn.00563f70
mov eax, dword [0x5bfd00]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
push 0
push dword [ebp + 0x18]
mov dword [ebp - 0x8070], edi
push ebx
mov dword [ebp - 0x8074], edi
mov dword [ebp - 0x8070], ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
cmp dword [ebp + 0xc], 0
je 0x47d53a
xorps xmm0, xmm0
mov ecx, edi
push 0
movups xmmword [edi], xmm0
push 0x59de09
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
call fcn.0040d5d0
mov eax, edi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00563360
mov esp, ebp
pop ebp
ret
push esi
mov esi, dword [ebp + 0x14]
mov eax, 0x8000
cmp esi, eax
mov dword [ebp - 0x805c], 0
push ebx
cmovb eax, esi
mov dword [ebp - 0x8058], 0
push eax
lea eax, [ebp - 0x8004]
mov dword [ebp - 0x806c], 0x67452301
push 1
push eax
mov dword [ebp - 0x8068], 0xefcdab89
mov dword [ebp - 0x8064], 0x98badcfe
mov dword [ebp - 0x8060], 0x10325476
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov ebx, eax
add esp, 0x10
test ebx, ebx
je 0x47d5e3
mov edi, dword [ebp - 0x8070]
push ebx
lea eax, [ebp - 0x8004]
push eax
lea ecx, [ebp - 0x806c]
call fcn.0048e6a0
sub esi, ebx
mov eax, 0x8000
cmp esi, eax
push edi
cmovb eax, esi
push eax
lea eax, [ebp - 0x8004]
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov ebx, eax
add esp, 0x10
test ebx, ebx
jne 0x47d5a4
mov edi, dword [ebp - 0x8074]
lea ecx, [ebp - 0x806c]
call fcn.0047c710
push 0x10
lea eax, [ebp - 0x8014]
push eax
push edi
call fcn.00479930
mov ecx, dword [ebp - 4]
add esp, 0xc
mov eax, edi
xor ecx, ebp
pop esi
pop edi
pop ebx
call fcn.00563360
mov esp, ebp
pop ebp
ret

Function at 0x47f790
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x5bfd00]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0
push 2
mov edi, eax
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
push 0x228
mov esi, eax
mov dword [ebp - 0x230], 0x22c
lea eax, [ebp - 0x22c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x230]
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x47f809
nop dword [eax]
cmp dword [ebp - 0x228], edi
je 0x47f822
lea eax, [ebp - 0x230]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x47f7f0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00563360
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x218]
xor ecx, ebp
pop edi
pop esi
call fcn.00563360
mov esp, ebp
pop ebp
ret
Function at 0x47f990
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x570d7d
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x5bfd00]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0047f840
add esp, 8
cmp dword [ebp - 0x18], 0
mov dword [ebp - 4], 0
je 0x47fa50
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0047d210
add esp, 8
cmp dword [eax + 0x14], 7
jbe 0x47f9ee
mov eax, dword [eax]
push 0
push 0
lea ecx, [ebp - 0x48]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov ecx, dword [ebp - 0x2c]
mov esi, eax
cmp ecx, 7
jbe 0x47fa3b
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x47fa31
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x47fa31
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00563352
add esp, 8
test esi, esi
je 0x47fa50
mov esi, dword [ebp - 0x48]
mov eax, dword [ebp - 0x44]
shrd esi, eax, 0x14
shr eax, 0x14
test eax, eax
je 0x47fa53
or esi, 0xffffffff
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x47fa89
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x47fa7f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x47fa7f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00563352
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00563360
mov esp, ebp
pop ebp
ret
Function at 0x480da0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x570fa6
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x5bfd00]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
mov dword [ebp - 0x24c], esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0
push 0
push 0x23
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea eax, [ebp - 0x218]
push 0x7e
push eax
call sub.VCRUNTIME140.dll_wcschr
lea ecx, [ebp - 0x218]
add esp, 8
mov edx, eax
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x480e25
sub ecx, edi
mov dword [ebp - 0x220], 0
sar ecx, 1
lea eax, [ebp - 0x218]
mov dword [ebp - 0x21c], 0
xorps xmm0, xmm0
push ecx
lea ecx, [ebp - 0x230]
movups xmmword [ebp - 0x230], xmm0
push eax
test edx, edx
je 0x480f1e
call fcn.0041d2f0
lea eax, [ebp - 0x230]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.0048cee0
push eax
push esi
mov byte [ebp - 4], 1
call fcn.004818f0
mov ecx, dword [ebp - 0x234]
add esp, 0x10
cmp ecx, 0xf
jbe 0x480ecb
mov edx, dword [ebp - 0x248]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x480ec1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x480f18
push ecx
push edx
call fcn.00563352
add esp, 8
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
mov ecx, dword [ebp - 0x21c]
cmp ecx, 7
jbe 0x480f46
mov edx, dword [ebp - 0x230]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x480f3c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x480f3c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
call fcn.0041d2f0
lea eax, [ebp - 0x230]
mov dword [ebp - 4], 2
push eax
push esi
call fcn.0048cee0
add esp, 8
jmp 0x480ee6
push ecx
push edx
call fcn.00563352
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00563360
mov esp, ebp
pop ebp
ret
Function at 0x481720
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5710f6
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x5bfd00]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
mov dword [ebp - 0x24c], esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0
push 0
push 0x1c
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea eax, [ebp - 0x218]
push 0x7e
push eax
call sub.VCRUNTIME140.dll_wcschr
lea ecx, [ebp - 0x218]
add esp, 8
mov edx, eax
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4817a5
sub ecx, edi
mov dword [ebp - 0x220], 0
sar ecx, 1
lea eax, [ebp - 0x218]
mov dword [ebp - 0x21c], 0
xorps xmm0, xmm0
push ecx
lea ecx, [ebp - 0x230]
movups xmmword [ebp - 0x230], xmm0
push eax
test edx, edx
je 0x48189e
call fcn.0041d2f0
lea eax, [ebp - 0x230]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.0048cee0
push eax
push esi
mov byte [ebp - 4], 1
call fcn.004818f0
mov ecx, dword [ebp - 0x234]
add esp, 0x10
cmp ecx, 0xf
jbe 0x48184b
mov edx, dword [ebp - 0x248]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x481841
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x481898
push ecx
push edx
call fcn.00563352
add esp, 8
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
mov ecx, dword [ebp - 0x21c]
cmp ecx, 7
jbe 0x4818c6
mov edx, dword [ebp - 0x230]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4818bc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4818bc
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
call fcn.0041d2f0
lea eax, [ebp - 0x230]
mov dword [ebp - 4], 2
push eax
push esi
call fcn.0048cee0
add esp, 8
jmp 0x481866
push ecx
push edx
call fcn.00563352
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00563360
mov esp, ebp
pop ebp
ret
Function at 0x481ff0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x571266
mov eax, dword fs:[0]
push eax
mov eax, 0x1fb8
call fcn.00563f70
mov eax, dword [0x5bfd00]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
push 0x1f7a
push eax
mov word [ebp - 0x1f8c], ax
lea eax, [ebp - 0x1f8a]
push eax
mov dword [ebp - 0x1fc0], esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x1f8c]
push eax
push 0xfa0
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x1f8c]
push 0x7e
push eax
call sub.VCRUNTIME140.dll_wcschr
lea ecx, [ebp - 0x1f8c]
add esp, 8
mov edx, eax
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x482076
sub ecx, edi
mov dword [ebp - 0x1f94], 0
sar ecx, 1
lea eax, [ebp - 0x1f8c]
mov dword [ebp - 0x1f90], 0
xorps xmm0, xmm0
push ecx
lea ecx, [ebp - 0x1fa4]
movups xmmword [ebp - 0x1fa4], xmm0
push eax
test edx, edx
je 0x48216f
call fcn.0041d2f0
lea eax, [ebp - 0x1fa4]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x1fbc]
push eax
call fcn.0048cee0
push eax
push esi
mov byte [ebp - 4], 1
call fcn.004818f0
mov ecx, dword [ebp - 0x1fa8]
add esp, 0x10
cmp ecx, 0xf
jbe 0x48211c
mov edx, dword [ebp - 0x1fbc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x482112
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x482169
push ecx
push edx
call fcn.00563352
add esp, 8
mov dword [ebp - 0x1fac], 0
mov dword [ebp - 0x1fa8], 0xf
mov byte [ebp - 0x1fbc], 0
mov ecx, dword [ebp - 0x1f90]
cmp ecx, 7
jbe 0x482197
mov edx, dword [ebp - 0x1fa4]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x48218d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x48218d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
call fcn.0041d2f0
lea eax, [ebp - 0x1fa4]
mov dword [ebp - 4], 2
push eax
push esi
call fcn.0048cee0
add esp, 8
jmp 0x482137
push ecx
push edx
call fcn.00563352
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00563360
mov esp, ebp
pop ebp
ret