joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41f9b0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ff090
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5512c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov dword [ebp - 4], 1
mov eax, dword [edi + 0x34]
push eax
xor ebx, ebx
push ebx
lea ecx, [edi + 0x2c]
mov dword [edi + 0x2c], vtable.CBaseRecordVector.0
call dword [0x518870]
mov eax, dword [edi + 0x38]
push eax
call fcn.004e3e60
lea esi, [edi + 0x18]
mov dword [edi + 0x30], ebx
mov dword [edi + 0x34], ebx
mov dword [edi + 0x38], ebx
add esp, 4
mov dword [ebp - 0x10], esi
mov dword [esi], vtable.CObjectVector_class_CMyComPtr_struct_IInStream__.0
mov byte [ebp - 4], 2
mov ecx, dword [esi + 8]
push ecx
push ebx
mov ecx, esi
call dword [0x519448]
mov byte [ebp - 4], bl
mov edx, dword [esi + 8]
push edx
push ebx
mov ecx, esi
mov dword [esi], vtable.CBaseRecordVector.0
call dword [0x518870]
mov eax, dword [esi + 0xc]
push eax
call fcn.004e3e60
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov ecx, dword [edi + 0xc]
push ecx
call fcn.004e3e60
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x424620
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
cmp eax, 0x400000
jbe 0x424632
mov eax, 0x400000
mov edx, dword [ebp + 0xc]
push 0
lea ecx, [ebp + 0x10]
push ecx
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
push edx
push ecx
mov dword [ebp + 0x10], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp + 0x14]
test eax, eax
setne al
test ecx, ecx
je 0x424662
mov edx, dword [ebp + 0x10]
mov dword [ecx], edx
test al, al
je 0x42466c
xor eax, eax
pop ebp
ret 0x10
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x42467f
mov eax, 0x80004005
pop ebp
ret 0x10
jle 0x42468b
and eax, 0xffff
or eax, 0x80070000
pop ebp
ret 0x10

Function at 0x4247c0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
push esi
push edi
lea eax, [ebp + 8]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4247e9
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
test eax, eax
jne 0x424804
mov edx, dword [ebp + 8]
xor eax, eax
xor ecx, ecx
add ecx, esi
adc edx, eax
mov eax, dword [ebp + 0xc]
pop edi
mov dword [eax], ecx
mov dword [eax + 4], edx
xor eax, eax
pop esi
pop ebp
ret 8
call edi
test eax, eax
jne 0x424815
pop edi
mov eax, 0x80004005
pop esi
pop ebp
ret 8
jle 0x424821
and eax, 0xffff
or eax, 0x80070000
pop edi
pop esi
pop ebp
ret 8
Function at 0x424870
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
cmp eax, 0x400000
jbe 0x424882
mov eax, 0x400000
mov edx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push 0
lea ecx, [ebp + 0x10]
push ecx
push eax
mov eax, dword [esi + 8]
push edx
push eax
mov dword [ebp + 0x10], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp + 0x14]
test eax, eax
mov eax, dword [ebp + 0x10]
setne dl
add dword [esi + 0x10], eax
adc dword [esi + 0x14], 0
pop esi
test ecx, ecx
je 0x4248bb
mov dword [ecx], eax
test dl, dl
je 0x4248c5
xor eax, eax
pop ebp
ret 0x10
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x4248d8
mov eax, 0x80004005
pop ebp
ret 0x10
jle 0x4248e4
and eax, 0xffff
or eax, 0x80070000
pop ebp
ret 0x10

Function at 0x424a40
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x14]
test esi, esi
je 0x424a51
mov dword [esi], 0
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x424a8a
mov eax, 0x8000
cmp ecx, eax
jae 0x424a63
mov eax, ecx
mov edx, dword [ebp + 0xc]
push 0
lea ecx, [ebp + 0x14]
push ecx
push eax
push edx
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test esi, esi
je 0x424a86
mov ecx, dword [ebp + 0x14]
add dword [esi], ecx
test eax, eax
je 0x424a91
xor eax, eax
pop esi
pop ebp
ret 0x10
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x424aa5
mov eax, 0x80004005
pop esi
pop ebp
ret 0x10
jle 0x424ab1
and eax, 0xffff
or eax, 0x80070000
pop esi
pop ebp
ret 0x10
Function at 0x424e00
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x500d88
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x5512c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [esi + 4], vtable.ICompressSetInStream.0
mov dword [esi + 8], vtable.ISequentialInStream.0
mov dword [esi + 0xc], vtable.ICompressSetOutStream.0
mov dword [esi + 0x10], vtable.ISequentialOutStream.0
mov dword [esi + 0x14], vtable.IOutStreamFlush.0
mov dword [esi + 0x18], vtable.ICryptoSetPassword.0
mov dword [esi + 0x1c], vtable.ICompressSetCoderProperties.0
mov dword [esi + 0x20], vtable.ICompressWriteCoderProperties.0
mov dword [esi + 0x24], vtable.ICryptoResetInitVector.0
mov dword [esi + 0x28], vtable.ICompressSetDecoderProperties2.0
xor edi, edi
mov dword [esi + 0x2c], edi
mov dword [esi], vtable.CFilterCoder.0
mov dword [esi + 4], vtable.CFilterCoder.1.0
mov dword [esi + 8], vtable.CFilterCoder.2.0
mov dword [esi + 0xc], vtable.CFilterCoder.3.0
mov dword [esi + 0x10], vtable.CFilterCoder.4.0
mov dword [esi + 0x14], vtable.CFilterCoder.5.0
mov dword [esi + 0x18], vtable.CFilterCoder.6.0
mov dword [esi + 0x1c], vtable.CFilterCoder.7.0
mov dword [esi + 0x20], vtable.CFilterCoder.8.0
mov dword [esi + 0x24], vtable.CFilterCoder.9.0
mov dword [esi + 0x28], vtable.CFilterCoder.10.0
mov dword [esi + 0x34], edi
mov dword [ebp - 4], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x74], edi
push 4
push 0x1000
push 0x20000
push edi
mov byte [ebp - 4], 7
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [esi + 0x30], eax
cmp eax, edi
jne 0x424f0d
push 0x535b00
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x10], 1
call fcn.004e9bcf
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x424f30
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ff048
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x5512c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [esi], vtable.CFilterCoder.0
mov dword [esi + 4], vtable.CFilterCoder.1.0
mov dword [esi + 8], vtable.CFilterCoder.2.0
mov dword [esi + 0xc], vtable.CFilterCoder.3.0
mov dword [esi + 0x10], vtable.CFilterCoder.4.0
mov dword [esi + 0x14], vtable.CFilterCoder.5.0
mov dword [esi + 0x18], vtable.CFilterCoder.6.0
mov dword [esi + 0x1c], vtable.CFilterCoder.7.0
mov dword [esi + 0x20], vtable.CFilterCoder.8.0
mov dword [esi + 0x24], vtable.CFilterCoder.9.0
mov dword [esi + 0x28], vtable.CFilterCoder.10.0
mov dword [ebp - 4], 7
mov eax, dword [esi + 0x30]
test eax, eax
je 0x424fbe
push 0x8000
push 0
push eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov byte [ebp - 4], 6
mov eax, dword [esi + 0x74]
test eax, eax
je 0x424fd1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [ebp - 4], 5
mov eax, dword [esi + 0x70]
test eax, eax
je 0x424fe4
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [ebp - 4], 4
mov eax, dword [esi + 0x6c]
test eax, eax
je 0x424ff7
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [ebp - 4], 3
mov eax, dword [esi + 0x68]
test eax, eax
je 0x42500a
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [ebp - 4], 2
mov eax, dword [esi + 0x64]
test eax, eax
je 0x42501d
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [ebp - 4], 1
mov eax, dword [esi + 0x60]
test eax, eax
je 0x425030
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [ebp - 4], 0
mov eax, dword [esi + 0x38]
test eax, eax
je 0x425043
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp - 4], 0xffffffff
mov esi, dword [esi + 0x34]
test esi, esi
je 0x425059
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push esi
call ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x425a10
Capabilities:
Delete file
Set file attributes

Disassembly:
mov eax, dword [esi + 0x14]
push eax
call fcn.004e3e60
mov ecx, dword [esi + 0x1c]
push ecx
call fcn.004e3e60
mov eax, dword [esi + 0x10]
add esp, 8
cmp eax, 0xffffffff
je 0x425a3f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x425a3f
mov dword [esi + 0x10], 0xffffffff
cmp byte [esi], 0
je 0x425a7e
push edi
mov edi, dword [esi + 4]
push 0
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x425a6a
xor al, al
test al, al
mov eax, dword [esi + 4]
sete dl
pop edi
push eax
mov byte [esi], dl
call fcn.004e3e60
pop ecx
ret
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
setne al
test al, al
sete dl
mov byte [esi], dl
pop edi
mov eax, dword [esi + 4]
push eax
call fcn.004e3e60
pop ecx
ret
Function at 0x425c40
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5028d8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
mov eax, dword [0x5512c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [edi + 0x10]
or esi, 0xffffffff
cmp eax, esi
je 0x425c7f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x425cf7
mov dword [edi + 0x10], esi
mov eax, dword [edi + 0x18]
xor ecx, ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], esi
cmp eax, ecx
jbe 0x425cc4
mov ecx, dword [edi + 0x14]
mov ebx, dword [ebp + 8]
call fcn.00426cb0
test eax, eax
jne 0x425cfc
mov eax, dword [edi + 0x18]
mov edx, dword [edi + 0x14]
push 0x55bb00
push eax
mov ecx, esi
call dword [0x558ce8]
mov dword [ebp - 0x14], eax
mov eax, dword [edi + 0x18]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 0
cmp byte [edi + 0x28], 0
je 0x425da5
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
mov eax, dword [edi + 0x1c]
push eax
lea esi, [ebp - 0x10]
call fcn.00449fb0
test al, al
jne 0x425d0f
mov eax, dword [ebp - 0x10]
cmp eax, 0xffffffff
je 0x425cf7
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0x80004005
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [edi + 0x34]
ja 0x425d96
jb 0x425d21
mov edx, dword [ebp - 0x20]
cmp edx, dword [edi + 0x30]
jae 0x425d96
mov eax, dword [edi + 0x14]
mov edx, dword [ebp - 0x10]
push 0
lea ecx, [ebp - 0x18]
push ecx
push 0x100000
push eax
push edx
mov dword [ebp - 0x18], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x425dde
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x425d96
mov ecx, dword [edi + 0x14]
mov ebx, dword [ebp + 8]
mov eax, esi
call fcn.00426cb0
mov ebx, eax
test ebx, ebx
jne 0x425deb
mov edx, dword [edi + 0x14]
mov ecx, dword [ebp - 0x14]
push 0x55bb00
push esi
call dword [0x558ce8]
add dword [ebp - 0x20], esi
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x1c]
adc eax, ebx
mov dword [ebp - 0x1c], eax
cmp eax, dword [edi + 0x34]
jb 0x425d21
ja 0x425d96
mov eax, dword [ebp - 0x20]
cmp eax, dword [edi + 0x30]
jb 0x425d21
mov eax, dword [ebp - 0x10]
cmp eax, 0xffffffff
je 0x425da5
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x14]
cmp dword [edi + 0x38], ecx
jne 0x425cf7
mov edx, dword [ebp - 0x20]
cmp edx, dword [edi + 0x30]
jne 0x425cf7
mov eax, dword [ebp - 0x1c]
cmp eax, dword [edi + 0x34]
jne 0x425cf7
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea esi, [ebp - 0x10]
call fcn.00424600
jmp 0x425cf7
lea esi, [ebp - 0x10]
call fcn.00424600
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x426d10
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0
push ecx
push edx
push 0
push 0
call fcn.004e50d8
mov ecx, dword [ebp + 8]
add esp, 0x18
mov dword [ecx], eax
test eax, eax
je 0x426d39
xor eax, eax
mov esp, ebp
pop ebp
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x426d48
mov eax, 1
mov esp, ebp
pop ebp
ret 4
Function at 0x42b7d0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x500a6f
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x5512c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov esi, edi
call fcn.00406230
lea esi, [edi + 0xc]
mov dword [ebp - 4], 0
call fcn.00406230
lea esi, [edi + 0x18]
mov byte [ebp - 4], 1
call fcn.00406230
lea esi, [edi + 0x24]
mov byte [ebp - 4], 2
call fcn.00406230
lea esi, [edi + 0x30]
mov byte [ebp - 4], 3
call fcn.00406230
mov byte [ebp - 4], 4
lea esi, [edi + 0x40]
mov byte [edi + 0x3c], 0
call fcn.00406230
lea esi, [edi + 0x4c]
mov byte [ebp - 4], 5
call fcn.00406230
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x42d7b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x500bb0
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5512c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], ebx
lea edi, [esi + 0x3c]
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.CObjectVector_struct_CDirItem_.0
mov byte [ebp - 4], 3
mov eax, dword [edi + 8]
push eax
push ebx
mov ecx, edi
call dword [0x51a3dc]
mov byte [ebp - 4], 2
mov ecx, dword [edi + 8]
push ecx
push ebx
mov ecx, edi
mov dword [edi], vtable.CBaseRecordVector.0
call dword [0x518870]
mov eax, dword [edi + 0xc]
push eax
call fcn.004e3e60
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov byte [ebp - 4], 1
mov edx, dword [esi + 0x30]
add esp, 4
push edx
push ebx
lea ecx, [esi + 0x28]
mov dword [esi + 0x28], vtable.CBaseRecordVector.0
call dword [0x518870]
mov eax, dword [esi + 0x34]
push eax
call fcn.004e3e60
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov byte [ebp - 4], bl
mov eax, dword [esi + 0x1c]
add esp, 4
push eax
push ebx
lea ecx, [esi + 0x14]
mov dword [esi + 0x14], vtable.CBaseRecordVector.0
call dword [0x518870]
mov eax, dword [esi + 0x20]
push eax
call fcn.004e3e60
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
add esp, 4
mov dword [esi], vtable.CObjectVector_class_CStringBase_wchar_t__.0
mov dword [ebp - 4], 4
mov ecx, dword [esi + 8]
push ecx
push ebx
mov ecx, esi
call dword [0x5192d0]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [esi + 8]
push edx
push ebx
mov ecx, esi
mov dword [esi], vtable.CBaseRecordVector.0
call dword [0x518870]
mov eax, dword [esi + 0xc]
push eax
call fcn.004e3e60
add esp, 4
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x42e930
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x500a6f
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x5512c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
push edi
mov ecx, esi
call fcn.004070b0
lea eax, [edi + 0xc]
push eax
lea ecx, [esi + 0xc]
mov dword [ebp - 4], 0
call fcn.004070b0
lea ecx, [edi + 0x18]
push ecx
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 1
call fcn.004070b0
lea edx, [edi + 0x24]
push edx
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 2
call fcn.004070b0
lea eax, [edi + 0x30]
push eax
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 3
call fcn.004070b0
mov byte [ebp - 4], 4
mov cl, byte [edi + 0x3c]
lea edx, [edi + 0x40]
mov byte [esi + 0x3c], cl
push edx
lea ecx, [esi + 0x40]
call fcn.004070b0
add edi, 0x4c
push edi
lea ecx, [esi + 0x4c]
mov byte [ebp - 4], 5
call fcn.004070b0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x42f0f0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
lea edi, [eax + 0x24]
mov eax, ebx
call fcn.004062b0
mov eax, dword [ebp + 8]
xor esi, esi
cmp dword [eax + 8], esi
jle 0x42f142
lea esp, [esp]
test esi, esi
jle 0x42f11d
push 0x5c
mov eax, ebx
call fcn.0040b0d0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx + esi*4]
push eax
mov edi, ebx
call fcn.0040b1e0
mov ecx, dword [ebx]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov edx, dword [ebp + 8]
inc esi
cmp esi, dword [edx + 8]
jl 0x42f110
pop edi
pop esi
pop ebp
ret 4
Function at 0x4305a0
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5026e0
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5512c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp eax, ebx
jl 0x430765
cmp eax, 3
jg 0x430765
mov edi, dword [ebp + 8]
cmp dword [edi + 0xa0], ebx
je 0x43062f
mov eax, dword [edi + 0x9c]
mov ecx, dword [eax + 0x18]
not ecx
add dword [edi + 0xf0], ecx
mov ecx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
mov dword [edi + 0x88], ecx
mov dword [edi + 0x8c], eax
mov byte [edi + 0x90], 1
mov eax, dword [edi + 0xa0]
cmp eax, ebx
je 0x43062f
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [edi + 0xa0], ebx
cmp dword [edi + 0x98], ebx
je 0x4306d2
cmp byte [edi + 0x5c], bl
je 0x43064a
cmp byte [edi + 0x7e], bl
je 0x43064a
lea esi, [edi + 0x70]
jmp 0x430659
mov eax, dword [edi + 0x10]
cmp byte [eax + 0x2c], bl
je 0x430657
lea esi, [eax + 0x24]
jmp 0x430659
xor esi, esi
cmp byte [edi + 0x5b], bl
je 0x430668
cmp byte [edi + 0x7d], bl
je 0x430668
lea edx, [edi + 0x68]
jmp 0x43066a
xor edx, edx
cmp byte [edi + 0x5a], bl
je 0x430679
cmp byte [edi + 0x7c], bl
je 0x430679
lea ecx, [edi + 0x60]
jmp 0x43067b
xor ecx, ecx
mov eax, dword [edi + 0x94]
push esi
push edx
push ecx
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileTime]
mov esi, dword [edi + 0x94]
mov edx, dword [esi + 0x10]
mov dword [edi + 0x88], edx
mov eax, dword [esi + 0x14]
mov dword [edi + 0x8c], eax
mov byte [edi + 0x90], 1
call fcn.00424830
cmp eax, ebx
jne 0x430785
mov eax, dword [edi + 0x98]
cmp eax, ebx
je 0x4306d2
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [edi + 0x98], ebx
cmp byte [edi + 0x90], bl
jne 0x4306e9
mov esi, edi
call fcn.0042f360
cmp byte [edi + 0x90], bl
je 0x430701
mov eax, dword [edi + 0x88]
add dword [edi + 0xe8], eax
mov ecx, dword [edi + 0x8c]
adc dword [edi + 0xec], ecx
cmp byte [edi + 0x80], bl
je 0x430718
add dword [edi + 0xd8], 1
adc dword [edi + 0xdc], ebx
jmp 0x430725
add dword [edi + 0xe0], 1
adc dword [edi + 0xe4], ebx
cmp byte [edi + 0x59], bl
je 0x43073d
cmp byte [edi + 0x7f], bl
je 0x43073d
mov ecx, dword [edi + 0x78]
mov eax, dword [edi + 0x38]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
movzx ecx, byte [edi + 0x5d]
mov eax, dword [edi + 0x18]
mov edx, dword [eax]
mov edx, dword [edx + 0x20]
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
push eax
call edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x98]
cmp eax, ebx
je 0x430780
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esi + 0x98], ebx
mov eax, 0x80004005
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x432fc0
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov esi, eax
mov edi, edx
call fcn.00432f80
or eax, 0xffffffff
xor ecx, ecx
test esi, esi
je 0x432fef
movzx edx, byte [ecx + edi]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x55bb00]
inc ecx
cmp ecx, esi
jb 0x432fd4
pop edi
not eax
pop esi
ret

Function at 0x433000
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x500838
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x5512c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], vtable.CBenchBuffer.0
push 4
push 0x1000
xor esi, esi
push 0x500
mov dword [ebp - 4], esi
push esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ebx, eax
cmp ebx, esi
setne al
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x500
test al, al
jne 0x43308b
mov dword [ebp - 4], 0xffffffff
cmp ebx, esi
je 0x433077
push 0x8000
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
lea ecx, [ecx]
mov byte [eax + ebx], al
inc eax
cmp eax, 0x100
jb 0x433090
or eax, 0xffffffff
lea ecx, [ebx + 1]
mov edx, 0x40
jmp 0x4330b0
movzx edi, byte [ecx - 1]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x55bb00]
movzx edi, byte [ecx]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x55bb00]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x55bb00]
movzx edi, byte [ecx + 2]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x55bb00]
add ecx, 4
dec edx
jne 0x4330b0
not eax
cmp eax, 0x29058c73
jne 0x43305f
mov eax, 0x1f123bb5
xor ecx, ecx
movzx edx, ax
imul edx, edx, 0x4650
shr eax, 0x10
add eax, edx
mov byte [ebx + ecx + 0x100], al
inc ecx
cmp ecx, 0x400
jb 0x433121
mov dword [ebp - 0x10], esi
xor edi, edi
or esi, 0xffffffff
xor eax, eax
test edi, edi
je 0x43316b
lea ecx, [ecx]
movzx ecx, byte [ebx + eax]
xor ecx, esi
and ecx, 0xff
shr esi, 8
xor esi, dword [ecx*4 + 0x55bb00]
inc eax
cmp eax, edi
jb 0x433150
push 0x55bb00
push edi
mov edx, ebx
or ecx, 0xffffffff
call dword [0x558ce8]
not eax
not esi
cmp esi, eax
jne 0x4331c9
inc edi
cmp edi, 0x20
jb 0x433144
mov eax, dword [ebp - 0x10]
inc eax
inc ebx
mov dword [ebp - 0x10], eax
cmp eax, 0x4e0
jb 0x433142
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x4331b5
push 0x8000
push 0
push eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x4331e5
push 0x8000
push 0
push eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret