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

Disassembly:
push esi
push edi
push dword [esp + 0xc]
mov esi, 0x425f50
push esi
call fcn.0040653c
push esi
call fcn.00405ebc
mov edi, eax
test edi, edi
jne 0x405f3a
xor eax, eax
jmp 0x405f92
push edi
call fcn.004067eb
test byte [0x42a27c], 0x80
je 0x405f57
mov ax, word [edi]
test ax, ax
je 0x405f36
cmp ax, 0x5c
je 0x405f36
sub edi, esi
sar edi, 1
jmp 0x405f71
call fcn.0040689a
test eax, eax
je 0x405f6b
test byte [eax], 0x10
je 0x405f36
push esi
call fcn.00405e5d
push esi
call sub.KERNEL32.dll_lstrlenW
cmp eax, edi
push esi
jg 0x405f5d
call fcn.00405e11
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
pop edi
pop esi
ret 4

Function at 0x40600d
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push esi
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
cmp esi, 0xffffffff
je 0x40602c
and al, 0xfe
push eax
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov eax, esi
pop esi
ret 4

Function at 0x406032
Capabilities:
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, eax
push 0
inc ecx
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
push dword [esp + 0x14]
push 0
push 1
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
ret 0xc

Function at 0x406061
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x64
pop edi
mov eax, dword [0x40a5a8]
dec edi
mov dword [ebp - 8], eax
mov eax, dword [0x40a5ac]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x1a
xor edx, edx
pop ecx
div ecx
push esi
lea eax, [ebp - 8]
push 0
push eax
push dword [ebp + 0xc]
add word [ebp - 4], dx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x4060b1
test edi, edi
jne 0x40606e
and word [esi], di
pop edi
pop esi
leave
ret 8
mov eax, esi
jmp 0x4060ab
Function at 0x406188
Capabilities:
Get file size

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
push ebp
push esi
mov esi, dword [esp + 0x14]
push edi
test esi, esi
mov dword [0x426de8], 0x55004e
mov dword [0x426dec], 0x4c
mov edi, 0x400
mov ebp, 0x426de8
je 0x4061de
push 1
push 0
push esi
call fcn.00406032
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push ebp
push esi
call ebx
test eax, eax
je 0x4062fd
cmp eax, edi
jg 0x4062fd
mov esi, 0x4275e8
push edi
push esi
push dword [esp + 0x1c]
call ebx
test eax, eax
je 0x4062fd
cmp eax, edi
jg 0x4062fd
push esi
push ebp
push str._ls_ls_r_n
push 0x4269e8
call dword [sym.imp.USER32.dll_wsprintfA]
mov ebx, eax
mov eax, dword [0x42a274]
add esp, 0x10
push dword [eax + 0x128]
push esi
call fcn.00406579
push 4
push 0xc0000000
push esi
call fcn.00406032
mov ebp, eax
cmp ebp, 0xffffffff
mov dword [esp + 0x18], ebp
je 0x4062fd
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
lea eax, [edi + ebx + 0xa]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x4062f6
push edi
push esi
push ebp
call fcn.004060b5
test eax, eax
je 0x4062f6
push str._Rename__r_n
push esi
call fcn.00405f97
test eax, eax
jne 0x406294
lea eax, [esi + edi]
push str._Rename__r_n
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
add edi, 0xa
jmp 0x4062c9
add eax, 0xa
push 0x40a5b0
push eax
call fcn.00405f97
mov ebp, eax
test ebp, ebp
je 0x4062c5
lea ecx, [esi + edi]
lea eax, [ecx + ebx]
jmp 0x4062b6
mov dl, byte [ecx]
mov byte [eax], dl
dec eax
dec ecx
cmp ecx, ebp
ja 0x4062b0
sub ebp, esi
inc ebp
mov eax, ebp
mov ebp, dword [esp + 0x18]
jmp 0x4062cb
mov ebp, dword [esp + 0x18]
mov eax, edi
push ebx
add eax, esi
push 0x4269e8
push eax
call fcn.00405fed
xor eax, eax
push eax
push eax
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
add edi, ebx
push edi
push esi
push ebp
call fcn.004060e4
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x406302
Capabilities:
Move file

Disassembly:
push 5
push dword [esp + 0xc]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x406325
push dword [esp + 8]
push dword [esp + 8]
call fcn.00406188
pop ecx
pop ecx
inc dword [0x42a310]
ret 8
Function at 0x40640a
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp + 0x18]
push esi
push eax
mov eax, dword [ebp + 0x18]
neg eax
sbb eax, eax
mov dword [ebp - 4], 0x800
and eax, 0x100
or eax, 0x20019
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004063a9
mov esi, dword [ebp + 0x14]
test eax, eax
jne 0x40647a
lea eax, [ebp - 4]
push edi
push eax
lea eax, [ebp + 0xc]
push esi
push eax
push 0
push dword [ebp + 0x10]
push dword [ebp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp + 0x18]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
and word [esi + 0x7fe], 0
test edi, edi
pop edi
jne 0x40647a
cmp dword [ebp + 0xc], 1
je 0x40647e
cmp dword [ebp + 0xc], 2
je 0x40647e
and word [esi], 0
pop esi
leave
ret 0x14
Function at 0x4068c1
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x4068e5
xor eax, eax
test eax, eax
je 0x4068f8
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x4068f8
xor ecx, ecx
jmp 0x4068fb
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

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

Disassembly:
cmp dword [0x427dec], 0
push esi
jne 0x406a55
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406a2f
mov dword [ecx*4 + 0x427de8], eax
inc ecx
cmp ecx, 0x100
jl 0x406a2a
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406a86
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x427de8]
xor eax, esi
inc ecx
dec edx
jne 0x406a68
pop edi
not eax
pop esi
ret 0xc

Function at 0x710c75
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x7109ec
sub esp, 4
mov dword [esp], 0x2f2ee4c4
pop ebx
mov edi, edi
sub ebx, ebx
call fcn.00710cbb
sub edi, edi
sub ebx, 0x1092b0be
xor dword [eax], edx
sub edi, edi
mov ebx, 0x1785a71a
or ebx, edi
add eax, 1
sub edi, 0x6225dbdf
sub ebx, ebx
cmp eax, ecx
jne fcn.00710c75
mov edi, 0x1cca035d
ret
Function at 0x45a130
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x3a000]
push edi
or ebp, 0xffffffff
jmp 0x45a152
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x45a159
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x45a148
mov eax, 1
add ebx, ebx
jne 0x45a16b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x45a160
jne 0x45a17c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x45a160
xor ecx, ecx
sub eax, 3
jb 0x45a190
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x45a202
mov ebp, eax
add ebx, ebx
jne 0x45a19b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x45a1a8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x45a1cc
inc ecx
add ebx, ebx
jne 0x45a1b8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x45a1ad
jne 0x45a1c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x45a1ad
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x45a1ec
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x45a1dd
jmp 0x45a14e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x45a1ec
add edi, ecx
jmp 0x45a14e
pop esi
mov edi, esi
mov ecx, 6
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x45a20a
cmp byte [edi], 0x30
jne 0x45a20a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x45a20f
lea edi, [esi + 0x58000]
mov eax, dword [edi]
or eax, eax
je 0x45a287
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x5b978]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x5b9b4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x45a23c
mov ecx, edi
jns 0x45a26b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x5b9bc]
or eax, eax
je 0x45a281
mov dword [ebx], eax
add ebx, 4
jmp 0x45a259
call dword [esi + 0x5b9b8]
mov ebp, dword [esi + 0x5b9c0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1cf]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x45a2bb
sub esp, 0xffffff80
jmp 0x401090
Function at 0x10010d70
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 0xc]
mov edx, ecx
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x18], edx
cmp ebx, eax
je 0x10010f14
mov eax, dword [edx + 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx + 4]
mov dword [ebp - 8], eax
movzx eax, byte [ebx + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [ebx + 9]
push esi
push edi
mov edi, dword [edx + 0xc]
mov esi, ebx
xor ecx, eax
mov dword [ebp - 0x20], edi
movzx eax, byte [ebx + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [ebx + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
mov eax, dword [edx + 0x18]
imul ecx, ecx, 0x1000193
and eax, ecx
mov ecx, dword [edi + eax*8]
mov dword [ebp - 4], ecx
lea eax, [edi + eax*8]
mov dword [ebp - 0xc], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
nop word [eax + eax]
mov ebx, esi
mov dword [ebp - 0x14], esi
mov esi, dword [esi]
lea ecx, [ebx + 0x24]
call fcn.10010f40
lea ecx, [ebx + 0x18]
call fcn.10010fa0
lea ecx, [ebx + 0xc]
call fcn.10010fa0
push 0x3c
push ebx
call fcn.1008db9a
mov edx, dword [ebp - 0x18]
add esp, 8
mov eax, dword [ebp - 0x10]
dec dword [edx + 8]
cmp ebx, eax
je 0x10010e50
mov eax, dword [ebp + 0xc]
cmp esi, eax
jne 0x10010df0
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jne 0x10010f0a
mov edi, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov dword [edi], esi
mov dword [ecx], esi
pop edi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
mov edi, dword [ebp - 0xc]
cmp ecx, dword [ebp + 8]
jne 0x10010e64
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dword [edi], eax
jmp 0x10010e67
mov ecx, dword [ebp - 8]
mov eax, dword [ebp + 0xc]
mov dword [edi + 4], ecx
cmp esi, eax
je 0x10010f0a
nop word [eax + eax]
movzx eax, byte [esi + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [esi + 9]
xor ecx, eax
movzx eax, byte [esi + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
mov eax, dword [edx + 0x18]
imul ecx, ecx, 0x1000193
and eax, ecx
mov ecx, dword [ebp - 0x20]
lea eax, [ecx + eax*8]
mov dword [ebp - 4], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
mov ebx, esi
mov dword [ebp - 0x10], esi
mov esi, dword [esi]
lea ecx, [ebx + 0x24]
call fcn.10010f40
lea ecx, [ebx + 0x18]
call fcn.10010fa0
lea ecx, [ebx + 0xc]
call fcn.10010fa0
push 0x3c
push ebx
call fcn.1008db9a
mov edx, dword [ebp - 0x18]
add esp, 8
mov eax, dword [ebp - 0x14]
dec dword [edx + 8]
cmp ebx, eax
mov eax, dword [ebp + 0xc]
je 0x10010f1b
cmp esi, eax
jne 0x10010ec7
mov ecx, dword [ebp - 4]
mov dword [ecx], esi
mov ecx, dword [ebp - 8]
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
mov ebx, dword [ebp - 0x1c]
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
cmp esi, eax
jne 0x10010e80
mov ecx, dword [ebp - 8]
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x1002fe90
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008fd58
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x100ac040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x18], edi
xorps xmm0, xmm0
mov dword [ebp - 0x1c], edi
movq qword [edi], xmm0
push 0x14
mov dword [ebp - 4], 0
call fcn.1008d736
mov esi, eax
add esp, 4
mov dword [esi], 1
mov dword [esi + 4], 2
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [edi + 8], esi
test esi, esi
je 0x1002ff0e
mov eax, 1
lock xadd dword [esi], eax
mov dword [ebp - 0x18], esi
push 8
mov byte [ebp - 4], 2
call fcn.1008d736
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], eax
mov dword [eax], esi
mov dword [eax + 4], 0x1008cc50
lea esi, [edi + 4]
mov byte [ebp - 4], 3
push esi
push 0
push eax
push 0x10030dc0
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x1c
mov dword [edi], eax
test eax, eax
je 0x1002ff71
mov eax, edi
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.1008d728
mov esp, ebp
pop ebp
ret 4
push 6
mov dword [esi], 0
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x1003c490
Capabilities:
Hash data with crc32

Disassembly:
push ebx
mov ebx, ecx
or eax, 0xffffffff
push esi
push edi
mov edi, 4
lea esi, [ebx + 4]
jmp dword [edi*4 + 0x1003d6d8]
Function at 0x10056580
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov edx, dword [ebp + 0xc]
mov eax, dword [ecx + 4]
push ebx
mov dword [ebp - 8], ecx
lea ebx, [edx + 0x30a0]
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
cmp ebx, eax
je 0x100566df
push esi
push edi
lea esi, [edx + 0x1c]
lea edi, [ebx + 0x1c]
nop dword [eax]
mov eax, dword [ebx]
lea ecx, [esi - 0x1c]
mov dword [ecx], eax
mov edx, ebx
mov eax, dword [edi - 0x18]
sub edx, ecx
mov dword [esi - 0x18], eax
mov ecx, pe_nt_image_headers32
mov eax, dword [edi - 0x14]
mov dword [esi - 0x14], eax
mov eax, dword [edi - 0x10]
mov dword [esi - 0x10], eax
mov eax, dword [edi - 0xc]
mov dword [esi - 0xc], eax
mov eax, dword [edi - 8]
mov dword [esi - 8], eax
mov eax, dword [edi - 4]
mov dword [esi - 4], eax
mov eax, dword [edi]
mov dword [esi], eax
movzx eax, byte [edi + 4]
mov byte [esi + 4], al
movzx eax, byte [edi + 5]
mov byte [esi + 5], al
movzx eax, byte [edi + 6]
mov byte [esi + 6], al
movzx eax, byte [edi + 7]
mov byte [esi + 7], al
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [edi + 0x14]
mov dword [esi + 0x14], eax
mov eax, dword [edi + 0x18]
mov dword [esi + 0x18], eax
mov eax, dword [edi + 0x1c]
mov dword [esi + 0x1c], eax
mov eax, dword [edi + 0x20]
mov dword [esi + 0x20], eax
mov eax, dword [edi + 0x24]
mov dword [esi + 0x24], eax
mov eax, dword [edi + 0x28]
mov dword [esi + 0x28], eax
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x2c], eax
mov ax, word [edi + 0x30]
mov word [esi + 0x30], ax
movups xmm0, xmmword [edi + 0x34]
movups xmmword [esi + 0x34], xmm0
movq xmm0, qword [edi + 0x44]
movq qword [esi + 0x44], xmm0
mov eax, dword [edi + 0x4c]
mov dword [esi + 0x4c], eax
lea eax, [esi + 0x50]
lea eax, [eax + 0x30]
movups xmm0, xmmword [edx + eax - 0x30]
movups xmmword [eax - 0x30], xmm0
movups xmm0, xmmword [edx + eax - 0x20]
movups xmmword [eax - 0x20], xmm0
movups xmm0, xmmword [edx + eax - 0x10]
movups xmmword [eax - 0x10], xmm0
sub ecx, 1
jne 0x10056663
mov eax, dword [edi + 0x3050]
add ebx, 0x30a0
mov dword [esi + 0x3050], eax
movups xmm0, xmmword [edi + 0x3054]
movups xmmword [esi + 0x3054], xmm0
movups xmm0, xmmword [edi + 0x3064]
movups xmmword [esi + 0x3064], xmm0
movups xmm0, xmmword [edi + 0x3074]
add edi, 0x30a0
movups xmmword [esi + 0x3074], xmm0
add esi, 0x30a0
cmp ebx, dword [ebp - 4]
jne 0x100565b0
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, dword [ebp + 8]
add dword [ecx + 4], 0xffffcf60
pop ebx
mov dword [eax], edx
mov esp, ebp
pop ebp
ret 8

Function at 0x1006bd70
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 1
jne 0x1006bdac
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
push 0
push 0
push dword [ebp + 8]
push 0x1006b5e0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x1006bda3
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
pop ebp
ret 0xc
xor eax, eax
pop ebp
ret 0xc
Function at 0x10071b00
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10091db6
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x100ac040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x20], esi
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
xor eax, eax
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 0x10095560
mov dword [ebp - 0x1c], 1
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
js 0x10071bc0
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
call fcn.100781e0
mov byte [ebp - 0x18], 0
lea ecx, [ebp - 0x38]
push dword [ebp - 0x18]
call fcn.1007e160
add esp, 4
lea eax, [ebp - 0x38]
mov dword [ebp - 4], 1
push eax
mov ecx, esi
call fcn.1000a590
lea ecx, [ebp - 0x38]
call fcn.10011160
push dword [ebp - 0x14]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
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.1008d728
mov esp, ebp
pop ebp
ret
Function at 0x10072010
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x38], 0
je 0x1007203c
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const___long_long___int64__]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x20]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x20], esi
mov ecx, dword [eax]
lea eax, [ebx + 0x30]
mov dword [esp + 0x24], edi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
test ecx, ecx
je 0x10072064
mov eax, dword [eax]
mov ecx, dword [eax]
jmp 0x1007206a
xor ecx, ecx
mov dword [esp + 0x18], eax
mov eax, ecx
cdq
mov dword [esp + 0x10], eax
mov ecx, edx
mov dword [esp + 0x14], ecx
test edi, edi
jl 0x100720d2
jg 0x10072081
test esi, esi
je 0x100720d2
test ecx, ecx
jl 0x100720cd
jg 0x1007208b
test eax, eax
je 0x100720cd
cmp edi, ecx
jg 0x1007209f
jl 0x10072095
cmp esi, eax
jae 0x1007209f
mov eax, esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edi
push eax
push dword [ebp + 8]
push dword [esp + 0x24]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x24]
add esp, 0xc
mov edx, dword [esp + 0x10]
mov ecx, dword [ebp + 8]
add ecx, edx
sub esi, edx
mov eax, dword [eax]
sbb edi, dword [esp + 0x14]
sub dword [eax], edx
mov eax, dword [ebx + 0x20]
add dword [eax], edx
jmp 0x100720d5
mov ecx, dword [ebp + 8]
jmp 0x100720df
mov ecx, dword [ebp + 8]
test edi, edi
jl 0x100720f9
jg 0x100720df
test esi, esi
je 0x100720f9
mov eax, dword [ebx + 0x4c]
test eax, eax
je 0x100720f9
push eax
push esi
push 1
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10072110
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 4], esi
test eax, eax
jg 0x1007213c
jl 0x10072130
test ecx, ecx
jne 0x1007213c
pop esi
xor eax, eax
xor edx, edx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebx + 0x38], 0
je 0x10072155
push eax
push ecx
push esi
mov ecx, ebx
call dword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char___long_long___int64__]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x1c]
push edi
mov edi, ecx
mov eax, dword [eax]
mov dword [ebp - 8], eax
test eax, eax
je 0x1007219d
mov eax, dword [ebx + 0x2c]
lea edx, [ebx + 0x2c]
mov dword [ebp - 0xc], edx
mov eax, dword [eax]
test eax, eax
je 0x100721a3
cmp eax, ecx
mov esi, ecx
cmovb esi, eax
push esi
push dword [ebp - 8]
push dword [ebp - 4]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebx + 0x2c]
sub edi, esi
add dword [ebp - 4], esi
add esp, 0xc
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
mov esi, dword [ebp - 4]
jmp 0x100721a3
lea eax, [ebx + 0x2c]
mov dword [ebp - 0xc], eax
cmp dword [ebx + 0x4c], 0
je 0x10072216
mov ecx, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [ecx], eax
jne 0x100721cc
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x50]
sub edx, ecx
mov dword [eax], ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov dword [eax], edx
mov eax, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
cmp edi, 0xfff
jbe 0x10072204
nop dword [eax]
push dword [ebx + 0x4c]
push 0xfff
push 1
push esi
call eax
add esp, 0x10
add esi, eax
sub edi, eax
cmp eax, 0xfff
jne 0x10072216
cmp edi, eax
mov eax, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
ja 0x100721e0
test edi, edi
je 0x10072216
push dword [ebx + 0x4c]
push edi
push 1
push esi
call eax
add esp, 0x10
sub edi, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
sub eax, edi
pop edi
pop esi
sbb edx, 0
pop ebx
mov esp, ebp
pop ebp
ret 0xc