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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d1778
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x511070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 4], 0
lea ecx, [edi + 0x3c]
push dword [edi + 0x44]
mov dword [edi + 0x3c], vtable.CBaseRecordVector.0
push 0
call fcn.00427ea0
push dword [edi + 0x48]
call fcn.004a5d88
add esp, 4
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
mov dword [ebp - 4], 1
lea ecx, [edi + 0x28]
push dword [edi + 0x30]
mov dword [edi + 0x28], vtable.CBaseRecordVector.0
push 0
call fcn.00427ea0
push dword [edi + 0x34]
call fcn.004a5d88
add esp, 4
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [ebp - 4], 2
lea ecx, [edi + 0x14]
push dword [edi + 0x1c]
mov dword [edi + 0x14], vtable.CBaseRecordVector.0
push 0
call fcn.00427ea0
push dword [edi + 0x20]
call fcn.004a5d88
add esp, 4
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [ebp - 4], 3
mov ecx, edi
push dword [edi + 8]
mov dword [edi], vtable.CBaseRecordVector.0
push 0
call fcn.00427ea0
push dword [edi + 0xc]
call fcn.004a5d88
add esp, 4
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x403ad0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d1a63
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x511070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 4
mov dword [esi], vtable.CObjectVector_struct_NArchive::N7z::CMethodFull_.0
mov dword [ebp - 4], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0x10
mov dword [esi + 0x14], vtable.CRecordVector_struct_NArchive::N7z::CBind_.0
mov byte [ebp - 4], 1
lea ecx, [esi + 0x30]
mov dword [esi + 0x28], 1
mov byte [esi + 0x2c], 0
push 3
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
call fcn.004037f0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x405140
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d1d22
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x511070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push dword [edi + 0x30]
call fcn.004a5d88
add esp, 4
mov dword [ebp - 4], 0
lea ecx, [edi + 0x14]
push dword [edi + 0x1c]
mov dword [edi + 0x14], vtable.CBaseRecordVector.0
push 0
call fcn.00427ea0
push dword [edi + 0x20]
call fcn.004a5d88
add esp, 4
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [ebp - 4], 1
mov ecx, edi
push dword [edi + 8]
mov dword [edi], vtable.CObjectVector_struct_NArchive::N7z::CMethodFull_.0
push 0
call fcn.00406150
mov byte [ebp - 4], 2
mov ecx, edi
push dword [edi + 8]
mov dword [edi], vtable.CBaseRecordVector.0
push 0
call fcn.00427ea0
push dword [edi + 0xc]
call fcn.004a5d88
add esp, 4
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4091a0
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d2306
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x511070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea esi, [edi + 0x118]
mov dword [ebp - 4], 0
mov ecx, esi
push dword [esi + 8]
mov dword [esi], vtable.CBaseRecordVector.0
push 0
call fcn.00427ea0
push dword [esi + 0xc]
call fcn.004a5d88
add esp, 4
mov dword [esi + 4], 0
lea ecx, [edi + 0xf0]
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
call fcn.004093d0
lea ecx, [edi + 0xc8]
call fcn.004093d0
lea ecx, [edi + 0xa0]
call fcn.004093d0
lea ecx, [edi + 0x78]
call fcn.004093d0
mov dword [ebp - 4], 1
lea ecx, [edi + 0x64]
push dword [edi + 0x6c]
mov dword [edi + 0x64], vtable.CObjectVector_struct_NArchive::N7z::CFileItem_.0
push 0
call fcn.0040acb0
mov byte [ebp - 4], 2
lea ecx, [edi + 0x64]
push dword [edi + 0x6c]
mov dword [edi + 0x64], vtable.CBaseRecordVector.0
push 0
call fcn.00427ea0
push dword [edi + 0x70]
call fcn.004a5d88
add esp, 4
mov dword [edi + 0x68], 0
mov dword [edi + 0x6c], 0
mov dword [edi + 0x70], 0
mov dword [ebp - 4], 3
lea ecx, [edi + 0x50]
push dword [edi + 0x58]
mov dword [edi + 0x50], vtable.CBaseRecordVector.0
push 0
call fcn.00427ea0
push dword [edi + 0x5c]
call fcn.004a5d88
add esp, 4
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0
mov dword [ebp - 4], 4
lea ecx, [edi + 0x3c]
push dword [edi + 0x44]
mov dword [edi + 0x3c], vtable.CObjectVector_struct_NArchive::N7z::CFolder_.0
push 0
call fcn.0040ad60
mov byte [ebp - 4], 5
lea ecx, [edi + 0x3c]
push dword [edi + 0x44]
mov dword [edi + 0x3c], vtable.CBaseRecordVector.0
push 0
call fcn.00427ea0
push dword [edi + 0x48]
call fcn.004a5d88
add esp, 4
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
mov dword [ebp - 4], 6
lea ecx, [edi + 0x28]
push dword [edi + 0x30]
mov dword [edi + 0x28], vtable.CBaseRecordVector.0
push 0
call fcn.00427ea0
push dword [edi + 0x34]
call fcn.004a5d88
add esp, 4
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [ebp - 4], 7
lea ecx, [edi + 0x14]
push dword [edi + 0x1c]
mov dword [edi + 0x14], vtable.CBaseRecordVector.0
push 0
call fcn.00427ea0
push dword [edi + 0x20]
call fcn.004a5d88
add esp, 4
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [ebp - 4], 8
mov ecx, edi
push dword [edi + 8]
mov dword [edi], vtable.CBaseRecordVector.0
push 0
call fcn.00427ea0
push dword [edi + 0xc]
call fcn.004a5d88
add esp, 4
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40b400
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d255e
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x511070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 4], 0
lea ecx, [edi + 0x3c]
push dword [edi + 0x44]
mov dword [edi + 0x3c], vtable.CBaseRecordVector.0
push 0
call fcn.00427ea0
push dword [edi + 0x48]
call fcn.004a5d88
add esp, 4
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
mov dword [ebp - 4], 1
lea ecx, [edi + 0x28]
push dword [edi + 0x30]
mov dword [edi + 0x28], vtable.CBaseRecordVector.0
push 0
call fcn.00427ea0
push dword [edi + 0x34]
call fcn.004a5d88
add esp, 4
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [ebp - 4], 2
lea ecx, [edi + 0x14]
push dword [edi + 0x1c]
mov dword [edi + 0x14], vtable.CBaseRecordVector.0
push 0
call fcn.00427ea0
push dword [edi + 0x20]
call fcn.004a5d88
add esp, 4
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [ebp - 4], 3
mov ecx, edi
push dword [edi + 8]
mov dword [edi], vtable.CObjectVector_struct_NArchive::N7z::CCoderInfo_.0
push 0
call fcn.00405f60
mov byte [ebp - 4], 4
mov ecx, edi
push dword [edi + 8]
mov dword [edi], vtable.CBaseRecordVector.0
push 0
call fcn.00427ea0
push dword [edi + 0xc]
call fcn.004a5d88
add esp, 4
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x41c7c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x41c7d9
pop edi
pop ebx
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x41c816
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 8]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x41c812
nop word [eax + eax]
cmp esi, edx
jae 0x41c816
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x41c800
cmp esi, edx
jb 0x41c81d
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x41d490
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d3be6
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x511070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi + 4], vtable.I7zExtractCallBack.0
mov dword [edi], vtable.C7zExtractImpl.1.0
mov dword [edi + 4], vtable.C7zExtractImpl.0
call fcn.0041bed0
mov ecx, eax
test ecx, ecx
jne 0x41d4e5
push 0x80004005
call fcn.0041cdf0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi + 0x18], eax
mov dword [ebp - 4], 0
call fcn.0041bed0
mov ecx, eax
test ecx, ecx
jne 0x41d50c
push 0x80004005
call fcn.0041cdf0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi + 0x1c], eax
lea esi, [edi + 0x24]
mov byte [ebp - 4], 1
push 0
push 0
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00421000
mov dword [esi], eax
mov eax, edi
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x2c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x41e9a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d3df8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x511070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
call fcn.0041bed0
mov ecx, eax
test ecx, ecx
jne 0x41e9df
push 0x80004005
call fcn.0041cdf0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x10]
mov ecx, edi
push eax
push str.crc.dat
call fcn.0041f350
test eax, eax
jne 0x41ea0d
xor edi, edi
jmp 0x41ea5f
mov ebx, dword [ebp - 0x14]
lea eax, [ebp - 0x18]
push 0
push eax
push 0x20
push str.qqpcmgr_pkg_crc_file
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov esi, dword [edi + 0x24]
mov esi, dword [esi]
cmp esi, dword [edi + 0x24]
je 0x41ea53
nop
mov eax, dword [esi + 8]
push 0
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push eax
push 4
lea eax, [ebp - 0x14]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov esi, dword [esi]
cmp esi, dword [edi + 0x24]
jne 0x41ea30
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, 1
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov esi, dword [ebp - 0x10]
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x41ea81
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41f070
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d3eb8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x511070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
call fcn.0041bed0
mov ecx, eax
test ecx, ecx
jne 0x41f0ad
push 0x80004005
call fcn.0041cdf0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
xor edi, edi
push edi
push dword [ebx]
lea eax, [ebp - 0x10]
push str._s.bad_u
push eax
call fcn.00421db0
mov esi, dword [ebp - 0x10]
push esi
push dword [ebx]
call fcn.004af8ea
add esp, 0x18
test eax, eax
je 0x41f0fb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x41f0f7
inc edi
cmp edi, 0xa
jl 0x41f0c1
xor edi, edi
jmp 0x41f10b
lea eax, [ebp - 0x10]
mov ecx, ebx
push eax
call fcn.0041c6d0
mov edi, 1
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x41f12a
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4220b0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
xor edi, edi
mov esi, ecx
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocString
push dword [esi + 0xc]
mov dword [esi + 0x1c], 0
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x422134
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x422123
cmp eax, 0x20
je 0x422123
cmp eax, 2
je 0x422112
cmp eax, 3
je 0x422112
mov dword [esi + 0x1c], 0x6c
mov eax, dword [esi + 0x1c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esi + 0x1c], 0x6b
mov eax, dword [esi + 0x1c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esi + 0x1c], 0x67
mov eax, dword [esi + 0x1c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x14]
push 0
push ebx
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x422153
mov dword [esi + 0x1c], 0x64
jmp 0x4221a3
push ecx
call fcn.004a5d8d
add esp, 4
mov edi, eax
lea eax, [ebp - 4]
push 0
push eax
push dword [esi + 0x14]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x42219c
mov eax, dword [ebp - 4]
cmp eax, dword [esi + 0x14]
jne 0x42219c
push 0x515de0
push eax
mov edx, edi
or ecx, 0xffffffff
call dword [0x5154dc]
not eax
cmp eax, dword [esi + 0x10]
je 0x4221a3
mov dword [esi + 0x1c], 0x65
jmp 0x4221a3
mov dword [esi + 0x1c], 0x6a
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x4221b7
push edi
call fcn.004a5d88
add esp, 4
mov eax, dword [esi + 0x1c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x422e30
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d42a8
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x511070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
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
mov dword [esi + 0x2c], 0
mov dword [esi], vtable.CFilterCoder.10.0
mov dword [esi + 4], vtable.CFilterCoder.9.0
mov dword [esi + 8], vtable.CFilterCoder.8.0
mov dword [esi + 0xc], vtable.CFilterCoder.7.0
mov dword [esi + 0x10], vtable.CFilterCoder.6.0
mov dword [esi + 0x14], vtable.CFilterCoder.5.0
mov dword [esi + 0x18], vtable.CFilterCoder.4.0
mov dword [esi + 0x1c], vtable.CFilterCoder.3.0
mov dword [esi + 0x20], vtable.CFilterCoder.2.0
mov dword [esi + 0x24], vtable.CFilterCoder.1.0
mov dword [esi + 0x28], vtable.CFilterCoder.0
mov dword [esi + 0x34], 0
mov dword [ebp - 4], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov dword [esi + 0x68], 0
mov dword [esi + 0x6c], 0
mov dword [esi + 0x70], 0
mov dword [esi + 0x74], 0
push 4
push 0x1000
push 0x20000
push 0
mov byte [ebp - 4], 7
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [esi + 0x30], eax
test eax, eax
jne 0x422f67
push 0x50e6b8
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 1
push eax
call fcn.004a8aba
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x422f80
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d4300
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x511070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x30]
mov dword [esi], vtable.CFilterCoder.10.0
mov dword [esi + 4], vtable.CFilterCoder.9.0
mov dword [esi + 8], vtable.CFilterCoder.8.0
mov dword [esi + 0xc], vtable.CFilterCoder.7.0
mov dword [esi + 0x10], vtable.CFilterCoder.6.0
mov dword [esi + 0x14], vtable.CFilterCoder.5.0
mov dword [esi + 0x18], vtable.CFilterCoder.4.0
mov dword [esi + 0x1c], vtable.CFilterCoder.3.0
mov dword [esi + 0x20], vtable.CFilterCoder.2.0
mov dword [esi + 0x24], vtable.CFilterCoder.1.0
mov dword [esi + 0x28], vtable.CFilterCoder.0
test eax, eax
je 0x423006
push 0x8000
push 0
push eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov dword [ebp - 4], 0
mov ecx, dword [esi + 0x74]
test ecx, ecx
je 0x42301a
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 4], 1
mov ecx, dword [esi + 0x70]
test ecx, ecx
je 0x42302e
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 4], 2
mov ecx, dword [esi + 0x6c]
test ecx, ecx
je 0x423042
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 4], 3
mov ecx, dword [esi + 0x68]
test ecx, ecx
je 0x423056
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 4], 4
mov ecx, dword [esi + 0x64]
test ecx, ecx
je 0x42306a
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 4], 5
mov ecx, dword [esi + 0x60]
test ecx, ecx
je 0x42307e
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 4], 6
mov ecx, dword [esi + 0x38]
test ecx, ecx
je 0x423092
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 4], 7
mov ecx, dword [esi + 0x34]
test ecx, ecx
je 0x4230a6
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4239f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
mov esi, ecx
push eax
push 0
push dword [ebp + 0xc]
push 0x424dd0
push 0
push 0
call fcn.004afd9b
add esp, 0x18
mov dword [esi], eax
pop esi
test eax, eax
je 0x423a20
xor eax, eax
mov esp, ebp
pop ebp
ret 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
mov ecx, 1
cmovne ecx, eax
mov eax, ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x423a70
Capabilities:
Delete file

Disassembly:
push esi
mov esi, ecx
push dword [esi + 0x14]
call fcn.004a5d88
push dword [esi + 0x1c]
call fcn.004a5d88
mov eax, dword [esi + 0x10]
add esp, 8
cmp eax, 0xffffffff
je 0x423aa0
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x423aa0
mov dword [esi + 0x10], 0xffffffff
cmp byte [esi], 0
je 0x423adb
push edi
mov edi, dword [esi + 4]
push 0
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x423aca
xor al, al
pop edi
push dword [esi + 4]
xor al, 1
mov byte [esi], al
call fcn.004a5d88
add esp, 4
pop esi
ret
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
pop edi
setne al
xor al, 1
mov byte [esi], al
push dword [esi + 4]
call fcn.004a5d88
add esp, 4
pop esi
ret
Function at 0x423ca0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d4388
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x511070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 0x10]
cmp eax, 0xffffffff
je 0x423ce8
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x423e6d
mov dword [edi + 0x10], 0xffffffff
mov eax, dword [edi + 0x18]
xorps xmm0, xmm0
movlpd qword [ebp - 0x24], xmm0
mov dword [ebp - 0x18], 0xffffffff
test eax, eax
je 0x423d38
mov edx, dword [edi + 0x14]
mov ecx, dword [ebp + 8]
push eax
call fcn.00424d80
add esp, 4
test eax, eax
jne 0x423e72
mov edx, dword [edi + 0x14]
or ecx, 0xffffffff
push 0x515de0
push dword [edi + 0x18]
call dword [0x5154dc]
mov ebx, dword [edi + 0x18]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0
jmp 0x423d41
mov eax, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x24]
mov dword [ebp - 0x14], eax
cmp byte [edi + 0x28], 0
mov dword [ebp - 0x10], ebx
je 0x423e15
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
mov dword [ebp - 4], 0
push dword [edi + 0x1c]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
mov dword [ebp - 0x20], esi
setne al
test al, al
je 0x423e45
mov eax, dword [ebp - 0x14]
cmp eax, dword [edi + 0x34]
ja 0x423e08
jb 0x423d92
cmp ebx, dword [edi + 0x30]
jae 0x423e08
push 0
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
push eax
push 0x100000
push dword [edi + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x423e45
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x423e05
mov edx, dword [edi + 0x14]
mov ecx, dword [ebp + 8]
push ebx
call fcn.00424d80
add esp, 4
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x423e40
mov edx, dword [edi + 0x14]
mov ecx, dword [ebp - 0x18]
push 0x515de0
push ebx
call dword [0x5154dc]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
add eax, ebx
mov dword [ebp - 0x10], eax
adc ecx, 0
mov dword [ebp - 0x14], ecx
cmp ecx, dword [edi + 0x34]
jb 0x423d92
ja 0x423e05
cmp eax, dword [edi + 0x30]
jb 0x423d92
mov ebx, dword [ebp - 0x10]
cmp esi, 0xffffffff
je 0x423e15
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call eax
mov eax, dword [ebp - 0x18]
cmp dword [edi + 0x38], eax
jne 0x423e6d
cmp ebx, dword [edi + 0x30]
jne 0x423e6d
mov eax, dword [ebp - 0x14]
cmp eax, dword [edi + 0x34]
jne 0x423e6d
xor eax, eax
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
mov edi, dword [ebp - 0x1c]
jmp 0x423e4a
mov edi, 0x80004005
cmp esi, 0xffffffff
je 0x423e57
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call eax
mov eax, edi
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
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 4