joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4453c0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4787f5
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x18
push esi
push edi
mov eax, dword [0x4bb050]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov edx, dword [ebx + 0xc]
mov dword [ebp - 0x18], edx
cmp dword [edx + 0x14], 0x10
jb 0x445411
mov eax, dword [edx]
mov dword [ebp - 0x18], eax
xor ecx, ecx
mov esi, 0x811c9dc5
cmp dword [edx + 0x10], ecx
jbe 0x445435
mov edi, dword [ebp - 0x18]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, dword [edx + 0x10]
jb 0x445420
mov edi, dword [ebp - 0x14]
push esi
push edx
lea eax, [ebp - 0x20]
mov ecx, edi
push eax
call fcn.0043c7c0
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x445457
mov eax, dword [ebx + 8]
mov dword [eax], ecx
mov byte [eax + 4], 0
jmp 0x445562
cmp dword [edi + 8], 0x4924924
je 0x445578
lea eax, [edi + 4]
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 0
push 0x38
mov dword [ebp - 0x24], 0
call fcn.00459e2c
add esp, 4
mov edi, eax
mov dword [ebp - 0x24], edi
push dword [ebx + 0xc]
lea ecx, [edi + 8]
call fcn.00445310
xorps xmm0, xmm0
movups xmmword [edi + 0x20], xmm0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0xf
mov byte [edi + 0x20], 0
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 4], 1
mov eax, dword [ecx + 8]
inc eax
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4a8e30]
mov eax, dword [ecx + 0x1c]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4a8e30]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, dword [ecx]
jbe 0x445512
call fcn.004457c0
mov ecx, dword [ebp - 0x14]
lea eax, [edi + 8]
push esi
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0043c7c0
mov ecx, dword [ebp - 0x14]
mov edx, dword [eax]
jmp 0x445515
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 4]
inc dword [ecx + 8]
mov dword [edi + 4], eax
mov dword [edi], edx
mov dword [eax], edi
mov dword [edx + 4], edi
mov dword [ebp - 0x14], eax
mov eax, dword [ecx + 0x18]
and eax, esi
mov dword [ebp - 0x18], edx
mov edx, dword [ecx + 0xc]
mov esi, dword [ebp - 0x28]
mov ecx, dword [edx + eax*8]
cmp ecx, dword [esi]
jne 0x445542
mov dword [edx + eax*8], edi
jmp 0x445555
cmp ecx, dword [ebp - 0x18]
jne 0x44554c
mov dword [edx + eax*8], edi
jmp 0x445559
mov ecx, dword [ebp - 0x14]
cmp dword [edx + eax*8 + 4], ecx
jne 0x445559
mov dword [edx + eax*8 + 4], edi
mov eax, dword [ebx + 8]
mov dword [eax], edi
mov byte [eax + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
push str.unordered_map_set_too_long
call fcn.00459ac6
int3
Function at 0x445590
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4787f5
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x18
push esi
push edi
mov eax, dword [0x4bb050]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov edx, dword [ebx + 0xc]
mov dword [ebp - 0x18], edx
cmp dword [edx + 0x14], 0x10
jb 0x4455e1
mov eax, dword [edx]
mov dword [ebp - 0x18], eax
xor ecx, ecx
mov esi, 0x811c9dc5
cmp dword [edx + 0x10], ecx
jbe 0x445605
mov edi, dword [ebp - 0x18]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, dword [edx + 0x10]
jb 0x4455f0
mov edi, dword [ebp - 0x14]
push esi
push edx
lea eax, [ebp - 0x20]
mov ecx, edi
push eax
call fcn.0043c7c0
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x445627
mov eax, dword [ebx + 8]
mov dword [eax], ecx
mov byte [eax + 4], 0
jmp 0x445761
cmp dword [edi + 8], 0x4924924
je 0x445777
lea eax, [edi + 4]
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 0
push 0x38
mov dword [ebp - 0x24], 0
call fcn.00459e2c
mov edi, eax
xorps xmm0, xmm0
mov eax, dword [ebx + 0xc]
add esp, 4
mov dword [ebp - 0x24], edi
movups xmmword [edi + 8], xmm0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
movups xmm0, xmmword [eax]
movups xmmword [edi + 8], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [edi + 0x18], xmm0
xorps xmm0, xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
movups xmmword [edi + 0x20], xmm0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0xf
mov byte [edi + 0x20], 0
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 4], 1
mov eax, dword [ecx + 8]
inc eax
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4a8e30]
mov eax, dword [ecx + 0x1c]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4a8e30]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, dword [ecx]
jbe 0x445711
call fcn.004457c0
mov ecx, dword [ebp - 0x14]
lea eax, [edi + 8]
push esi
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0043c7c0
mov ecx, dword [ebp - 0x14]
mov edx, dword [eax]
jmp 0x445714
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 4]
inc dword [ecx + 8]
mov dword [edi + 4], eax
mov dword [edi], edx
mov dword [eax], edi
mov dword [edx + 4], edi
mov dword [ebp - 0x14], eax
mov eax, dword [ecx + 0x18]
and eax, esi
mov dword [ebp - 0x18], edx
mov edx, dword [ecx + 0xc]
mov esi, dword [ebp - 0x28]
mov ecx, dword [edx + eax*8]
cmp ecx, dword [esi]
jne 0x445741
mov dword [edx + eax*8], edi
jmp 0x445754
cmp ecx, dword [ebp - 0x18]
jne 0x44574b
mov dword [edx + eax*8], edi
jmp 0x445758
mov ecx, dword [ebp - 0x14]
cmp dword [edx + eax*8 + 4], ecx
jne 0x445758
mov dword [edx + eax*8 + 4], edi
mov eax, dword [ebx + 8]
mov dword [eax], edi
mov byte [eax + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
push str.unordered_map_set_too_long
call fcn.00459ac6
int3
Function at 0x445870
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov edx, dword [ebp + 8]
mov eax, 0x1fffffff
push ebx
mov ebx, ecx
bsr ecx, eax
push esi
mov esi, 1
mov dword [ebp - 0x10], ebx
mov eax, esi
shl eax, cl
push edi
cmp edx, eax
ja 0x4459d9
lea eax, [edx - 1]
or eax, esi
bsr ecx, eax
mov eax, dword [ebx + 4]
push eax
mov dword [ebp + 8], eax
lea ecx, [ecx + 1]
shl esi, cl
lea ecx, [ebx + 0xc]
lea eax, [esi + esi]
push eax
call fcn.0043c130
lea eax, [esi - 1]
mov dword [ebx + 0x1c], esi
mov esi, dword [ebx + 4]
mov dword [ebx + 0x18], eax
mov eax, dword [ebp + 8]
mov esi, dword [esi]
mov edi, esi
cmp esi, eax
je 0x4459b4
cmp dword [esi + 0x1c], 0x10
lea ecx, [esi + 8]
mov edi, dword [edi]
mov dword [ebp - 0xc], edi
mov dword [ebp - 4], ecx
jb 0x4458eb
mov edx, dword [ecx]
mov dword [ebp - 4], edx
mov ecx, dword [ecx + 0x10]
xor edx, edx
mov dword [ebp - 8], ecx
mov ebx, 0x811c9dc5
test ecx, ecx
je 0x445918
mov eax, dword [ebp - 4]
mov edi, ecx
movzx ecx, byte [edx + eax]
inc edx
xor ecx, ebx
imul ebx, ecx, 0x1000193
cmp edx, edi
jb 0x445901
mov edi, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
and ebx, dword [ecx + 0x18]
mov ecx, dword [ecx + 0xc]
lea ecx, [ecx + ebx*8]
mov dword [ebp - 4], ecx
cmp dword [ecx], eax
jne 0x445932
mov dword [ecx], esi
mov dword [ecx + 4], esi
jmp 0x4459aa
mov ebx, dword [ecx + 4]
lea ecx, [esi + 8]
lea edx, [ebx + 8]
call fcn.0043c840
test al, al
je 0x44596a
mov ebx, dword [ebx]
cmp ebx, esi
je 0x445962
mov edx, dword [esi + 4]
mov dword [edx], edi
mov ecx, dword [edi + 4]
mov dword [ecx], ebx
mov eax, dword [ebx + 4]
mov dword [eax], esi
mov dword [ebx + 4], ecx
mov dword [edi + 4], edx
mov dword [esi + 4], eax
mov eax, dword [ebp - 4]
mov dword [eax + 4], esi
jmp 0x4459a7
mov eax, dword [ebp - 4]
cmp dword [eax], ebx
je 0x44598a
mov ebx, dword [ebx + 4]
lea ecx, [esi + 8]
lea edx, [ebx + 8]
call fcn.0043c840
test al, al
jne 0x4459bd
mov eax, dword [ebp - 4]
cmp dword [eax], ebx
jne 0x445971
mov edx, dword [esi + 4]
mov dword [edx], edi
mov ecx, dword [edi + 4]
mov dword [ecx], ebx
mov eax, dword [ebx + 4]
mov dword [eax], esi
mov dword [ebx + 4], ecx
mov dword [edi + 4], edx
mov dword [esi + 4], eax
mov eax, dword [ebp - 4]
mov dword [eax], esi
mov eax, dword [ebp + 8]
mov esi, edi
cmp edi, eax
jne 0x4458d5
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edx, dword [esi + 4]
mov ebx, dword [ebx]
mov dword [edx], edi
mov ecx, dword [edi + 4]
mov dword [ecx], ebx
mov eax, dword [ebx + 4]
mov dword [eax], esi
mov dword [ebx + 4], ecx
mov dword [edi + 4], edx
mov dword [esi + 4], eax
jmp 0x4459a7
push str.invalid_hash_bucket_count
call fcn.00459ac6
int3

Function at 0x445cb0
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, ecx
cmp byte [esi + 0x11c], 0
lea eax, [esi + 0xc]
jne 0x445cc9
mov eax, dword [esi + 8]
push 0x80
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 1
push esi
push dword [ebp + 8]
mov ecx, edi
call fcn.004379c0
test al, al
pop edi
setne al
pop esi
pop ebp
ret 0xc
Function at 0x445cf0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
push 0
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edi, dword [ebp + 0x10]
lea eax, [ebp - 4]
push 0
push eax
push edi
push dword [ebp + 0xc]
mov dword [ebp - 4], 0
push dword [esi - 0x350]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x445d6e
lea edi, [esi - 0x33c]
cmp byte [esi - 0x22c], al
jne 0x445d38
mov edi, dword [esi - 0x340]
mov ecx, dword [ebp + 8]
call fcn.0042c660
push 0x49da70
mov esi, eax
push 0x49c2fc
push esi
call fcn.00434d80
lea ecx, [edi + 4]
push ecx
push 0x49c2fc
push esi
call fcn.00434d80
add esp, 0x18
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebp - 4], edi
je 0x445e07
cmp byte [esi - 0x22c], 0
lea eax, [esi - 0x33c]
jne 0x445d8c
mov eax, dword [esi - 0x340]
mov ecx, dword [ebp + 8]
push 0x49e50c
mov dword [ebp + 0x10], eax
call fcn.0042c400
push 0x49e51c
mov esi, eax
push 0x49c2fc
push esi
call fcn.00434d80
push edi
push 0x49c174
push esi
call fcn.00434d80
push 0x49e528
push 0x49c2fc
push esi
call fcn.00434d80
push dword [ebp - 4]
push 0x49c174
push esi
call fcn.00434d80
push 0x49e538
push 0x49c2fc
push esi
call fcn.00434d80
mov eax, dword [ebp + 0x10]
add eax, 4
push eax
push 0x49c2fc
push esi
call fcn.00434d80
add esp, 0x48
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
pop edi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x448180
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x4bbad4], 0
push ebx
mov dword [ebp - 4], 0
je 0x4482b7
push dword [0x4bbadc]
mov ebx, dword [sym.imp.KERNEL32.dll_TlsGetValue]
call ebx
test eax, eax
je 0x4481e7
cmp dword [eax], 0xd
jbe 0x4481e7
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x34]
test eax, eax
je 0x4481e7
push 0
push 0x4c2420
push 0x4c2458
push 0
push eax
call fcn.00476c82
add esp, 0x14
test eax, eax
je 0x4481e7
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 8]
mov dword [ebp - 4], eax
test eax, eax
jne 0x4482fa
cmp dword [0x4bbad4], 0
je 0x4482b7
push esi
push edi
push 0x4cc778
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea edx, [ebp - 4]
call fcn.00448340
mov esi, dword [ebp - 4]
test esi, esi
jne 0x4482a3
push 0x2014
call fcn.00459e2c
add esp, 4
mov dword [ebp - 4], eax
mov ecx, eax
call fcn.00447c10
cmp dword [0x4bbad4], 0
mov esi, eax
je 0x4482a3
push dword [0x4bbadc]
call ebx
test eax, eax
je 0x4482a3
cmp dword [eax], 0xd
jbe 0x4482a3
mov eax, dword [eax + 8]
mov ecx, dword [eax + 0x34]
test ecx, ecx
jne 0x44829d
push 8
call fcn.00459e2c
mov edi, eax
add esp, 4
mov dword [ebp - 4], edi
mov dword [edi], vtable.t_visualDataItemPtr_class_t_perfManager_.0
mov dword [edi + 4], esi
cmp dword [0x4bbad4], 0
je 0x4482a3
push dword [0x4bbadc]
call ebx
test eax, eax
je 0x4482a3
cmp dword [eax], 0xd
jbe 0x4482a3
mov eax, dword [eax + 8]
push 0x4cc778
mov dword [eax + 0x34], edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ecx]
push esi
call dword [edx + 0xc]
push 0x4cc778
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x4cc81c]
test eax, eax
jne 0x4482fa
push 0x4cc778
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x4ccaa8]
cmp eax, dword [ecx + 4]
jg 0x4482ff
push 0x4cc778
mov dword [0x4cc81c], 0x4ccab0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [0x4cc81c]
pop ebx
mov esp, ebp
pop ebp
ret
push 0x4ccaa8
call fcn.0045a6d3
add esp, 4
cmp dword [0x4ccaa8], 0xffffffff
jne 0x4482e0
mov ecx, 0x4ccab0
call fcn.00447c10
push 0x484f20
call fcn.0045a0b9
push 0x4ccaa8
call fcn.0045a689
add esp, 8
jmp 0x4482e0

Function at 0x448340
Capabilities:
Get thread local storage value

Disassembly:
cmp dword [0x4bbad4], 0
push esi
mov esi, edx
je 0x448393
push dword [0x4bbadc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x448393
cmp dword [eax], 0xd
jbe 0x448393
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x34]
test eax, eax
je 0x448393
push 0
push 0x4c2420
push 0x4c2458
push 0
push eax
call fcn.00476c82
mov ecx, eax
add esp, 0x14
test ecx, ecx
je 0x448393
mov eax, dword [ecx]
call dword [eax + 8]
mov dword [esi], eax
mov al, 1
pop esi
ret
xor al, al
pop esi
ret
Function at 0x448710
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x4bbad4], 0
push ebx
mov dword [ebp - 4], 0
je 0x448847
push dword [0x4bbadc]
mov ebx, dword [sym.imp.KERNEL32.dll_TlsGetValue]
call ebx
test eax, eax
je 0x448777
cmp dword [eax], 0x17
jbe 0x448777
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x5c]
test eax, eax
je 0x448777
push 0
push 0x4c2478
push 0x4c2458
push 0
push eax
call fcn.00476c82
add esp, 0x14
test eax, eax
je 0x448777
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 8]
mov dword [ebp - 4], eax
test eax, eax
jne 0x44888a
cmp dword [0x4bbad4], 0
je 0x448847
push esi
push edi
push 0x4cc778
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea edx, [ebp - 4]
call fcn.004488d0
mov esi, dword [ebp - 4]
test esi, esi
jne 0x448833
push 0x202c
call fcn.00459e2c
add esp, 4
mov dword [ebp - 4], eax
mov ecx, eax
call fcn.00448440
cmp dword [0x4bbad4], 0
mov esi, eax
je 0x448833
push dword [0x4bbadc]
call ebx
test eax, eax
je 0x448833
cmp dword [eax], 0x17
jbe 0x448833
mov eax, dword [eax + 8]
mov ecx, dword [eax + 0x5c]
test ecx, ecx
jne 0x44882d
push 8
call fcn.00459e2c
mov edi, eax
add esp, 4
mov dword [ebp - 4], edi
mov dword [edi], vtable.t_visualDataItemPtr_class_t_perfCationManager_.0
mov dword [edi + 4], esi
cmp dword [0x4bbad4], 0
je 0x448833
push dword [0x4bbadc]
call ebx
test eax, eax
je 0x448833
cmp dword [eax], 0x17
jbe 0x448833
mov eax, dword [eax + 8]
push 0x4cc778
mov dword [eax + 0x5c], edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ecx]
push esi
call dword [edx + 0xc]
push 0x4cc778
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x4cc820]
test eax, eax
jne 0x44888a
push 0x4cc778
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x4d0af4]
cmp eax, dword [ecx + 4]
jg 0x44888f
push 0x4cc778
mov dword [0x4cc820], 0x4ceac8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [0x4cc820]
pop ebx
mov esp, ebp
pop ebp
ret
push 0x4d0af4
call fcn.0045a6d3
add esp, 4
cmp dword [0x4d0af4], 0xffffffff
jne 0x448870
mov ecx, 0x4ceac8
call fcn.00448440
push 0x484f50
call fcn.0045a0b9
push 0x4d0af4
call fcn.0045a689
add esp, 8
jmp 0x448870

Function at 0x4488d0
Capabilities:
Get thread local storage value

Disassembly:
cmp dword [0x4bbad4], 0
push esi
mov esi, edx
je 0x448923
push dword [0x4bbadc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x448923
cmp dword [eax], 0x17
jbe 0x448923
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x5c]
test eax, eax
je 0x448923
push 0
push 0x4c2478
push 0x4c2458
push 0
push eax
call fcn.00476c82
mov ecx, eax
add esp, 0x14
test ecx, ecx
je 0x448923
mov eax, dword [ecx]
call dword [eax + 8]
mov dword [esi], eax
mov al, 1
pop esi
ret
xor al, al
pop esi
ret
Function at 0x448a30
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4789a0
mov eax, dword fs:[0]
push eax
sub esp, 0x35c
mov eax, dword [0x4bb050]
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 esi, ecx
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x368]
call fcn.00437820
mov dword [ebp - method.t_fileWrite.virtual_0], vtable.t_fileWrite.0
mov dword [ebp - 0x14], vtable.t_fileWrite.1.0
mov dword [ebp - 4], 0
lea eax, [edi + 0xc]
cmp byte [edi + 0x11c], 0
jne 0x448a99
mov eax, dword [edi + 8]
push 0x80
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 1
push edi
push ebx
lea ecx, [ebp - 0x368]
call fcn.004379c0
test al, al
je 0x448b11
push 2
push 0x49e128
push ebx
lea ecx, [ebp - 0x14]
call fcn.00445cf0
test al, al
je 0x448b11
push dword [esi + 0xc]
lea ecx, [ebp - 0x14]
push dword [esi + 4]
push ebx
call fcn.00445cf0
test al, al
je 0x448b11
lea ecx, [ebp - 0x368]
call fcn.00437bf0
push dword [esi + 4]
call fcn.0045dc2d
add esp, 4
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov bl, 1
mov dword [esi + 0xc], 0
jmp 0x448b13
xor bl, bl
lea ecx, [ebp - 0x368]
mov dword [ebp - method.t_fileWrite.virtual_0], vtable.t_fileWrite.0
mov dword [ebp - 0x14], vtable.t_byteStreamWrite.0
call fcn.00437900
mov al, bl
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.0045a329
mov esp, ebp
pop ebp
ret 0xc
Function at 0x448d50
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4789e0
mov eax, dword fs:[0]
push eax
sub esp, 0x36c
mov eax, dword [0x4bb050]
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 edi, ecx
mov eax, dword [edi]
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
test eax, eax
je 0x448da9
push eax
call fcn.0045dc2d
add esp, 4
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
push ecx
lea ecx, [ebp - 0x370]
call fcn.00437820
mov dword [ebp - method.t_fileRead.virtual_0], vtable.t_fileRead.0
mov dword [ebp - 0x1c], 0x49e720
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push 0
push esi
push ebx
lea ecx, [ebp - 0x370]
mov dword [ebp - 4], 0
call fcn.004379c0
test al, al
je 0x448f3f
lea eax, [ebp - 0x378]
mov dword [ebp - 0x378], 0
push eax
push dword [ebp - 0x36c]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x374], eax
cmp eax, 0xffffffff
jne 0x448e2e
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x448e28
xor eax, eax
jmp 0x448e2e
mov eax, dword [ebp - 0x374]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x378]
push eax
push dword [ebp - 0x36c]
mov dword [ebp - 0x378], 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x374], eax
cmp eax, 0xffffffff
jne 0x448e73
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x448e6d
xor eax, eax
mov dword [ebp - 0x374], eax
jmp 0x448e73
mov eax, dword [ebp - 0x374]
add eax, 4
push eax
call fcn.0045dc48
add esp, 4
mov dword [ebp - 0x378], eax
test eax, eax
jne 0x448eac
mov dword [edi + 0x24], 2
cmp byte [esi + 0x11c], al
je 0x448ea2
add esi, 0xc
push 0x49e5d4
jmp 0x448eec
mov esi, dword [esi + 8]
push 0x49e5d4
jmp 0x448eec
push dword [ebp - 0x374]
lea ecx, [ebp - 0x1c]
push eax
push ebx
call fcn.00449360
test al, al
jne 0x448f07
mov ecx, dword [ebp - 0x378]
push ecx
mov dword [edi + 0x24], 3
call fcn.0045dc2d
add esp, 4
cmp byte [esi + 0x11c], 0
je 0x448ee4
add esi, 0xc
jmp 0x448ee7
mov esi, dword [esi + 8]
push 0x49da10
mov ecx, ebx
call fcn.0042c400
lea ecx, [esi + 4]
push ecx
push 0x49c2fc
push eax
call fcn.00434d80
add esp, 0xc
jmp 0x448f46
lea ecx, [ebp - 0x370]
call fcn.00437bf0
mov ecx, dword [ebp - 0x378]
xor edx, edx
mov eax, dword [ebp - 0x374]
push ecx
push eax
push ecx
mov dword [ecx + eax], edx
mov ecx, edi
push ebx
call fcn.00449060
test al, al
jne 0x448f3b
mov dword [edi + 0x24], 4
jmp 0x448ed6
mov bl, 1
jmp 0x448f48
mov dword [edi + 0x24], 1
xor bl, bl
lea ecx, [ebp - 0x370]
mov dword [ebp - method.t_fileRead.virtual_0], vtable.t_fileRead.0
mov dword [ebp - 0x1c], vtable.t_byteStreamRead.0
call fcn.00437900
mov al, bl
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.0045a329
mov esp, ebp
pop ebp
ret 0x10
Function at 0x449360
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
push 0
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x449450
push 0
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push edi
push dword [ebp + 0xc]
push dword [esi - 0x350]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4493d1
cmp byte [esi - 0x22c], al
je 0x4493ac
add esi, 0xfffffcc4
jmp 0x4493b2
mov esi, dword [esi - 0x340]
mov ecx, dword [ebp + 8]
call fcn.0042c660
push 0x49da40
mov edi, eax
push 0x49c2fc
push edi
call fcn.00434d80
add esp, 0xc
jmp 0x4493fd
mov ecx, dword [ebp - 4]
test ecx, ecx
jne 0x449419
cmp byte [esi - 0x22c], cl
je 0x4493e8
add esi, 0xfffffcc4
jmp 0x4493ee
mov esi, dword [esi - 0x340]
mov ecx, dword [ebp + 8]
push 0x49da50
call fcn.0042c400
mov edi, eax
lea eax, [esi + 4]
push eax
push 0x49c2fc
push edi
call fcn.00434d80
add esp, 0xc
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
cmp ecx, edi
je 0x449450
cmp byte [esi - 0x22c], 0
lea eax, [esi - 0x33c]
jne 0x449432
mov eax, dword [esi - 0x340]
add eax, 4
push eax
push ecx
push edi
push str.penc_rN
push dword [ebp + 8]
call fcn.0042c530
add esp, 0x14
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
add dword [esi + 8], edi
mov al, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc