joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409640
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x429280]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
push eax
push 0x20019
push 0
push str.SOFTWARE_fastsee
push 0x80000002
call ebx
test eax, eax
jne 0x4096f0
push dword [ebp - 0x10]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call edi
lea eax, [ebp - 0x10]
mov byte [ebp - 0x11], 0
push eax
push 0x20019
push 0
push str.SOFTWARE_fastsee
push 0x80000002
mov dword [ebp - 8], 0x104
call ebx
test eax, eax
jne 0x4096db
lea eax, [ebp - 8]
push eax
push esi
lea eax, [ebp - 0xc]
push eax
push 0
push str.TName
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
movzx ebx, byte [ebp - 0x11]
test eax, eax
push dword [ebp - 0x10]
mov ecx, 1
cmove ebx, ecx
call edi
test bl, bl
jne 0x409716
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041092e
mov esp, ebp
pop ebp
ret 0xc
test edi, edi
je 0x4096db
push edi
push 0x104
push esi
push 0x4258d0
push str.TName
push str.config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [esi], 0
je 0x4096db
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041092e
mov esp, ebp
pop ebp
ret 0xc
Function at 0x40a170
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x429280]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor eax, eax
mov esi, ecx
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.00417190
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push esi
push 0
push 0x4266fc
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push 0x4268ac
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0041092e
mov esp, ebp
pop ebp
ret

Function at 0x40a510
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
push 0xffffffffffffffeb
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
je 0x40a558
mov ecx, dword [eax + 0x1b4]
mov edi, dword [eax + 0x1b8]
test ecx, ecx
je 0x40a53f
push 0
push ecx
call ebx
test edi, edi
je 0x40a558
push 1
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
push 0x4265ec
push edi
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [esi]
test eax, eax
jne 0x40a5c1
mov ecx, esi
call fcn.0040a2c0
push 0
push dword [0x42d66c]
lea eax, [esi + 8]
push 0
push dword [esi + 4]
push 0x13a
push 0x1f1
push 0
push 0
push 0x40000000
push 0x4258d0
push eax
push 0x10000
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [esi], eax
test eax, eax
jne 0x40a5a3
pop edi
pop esi
pop ebx
ret
mov ecx, esi
call fcn.0040a340
push 5
push dword [esi]
call ebx
push dword [esi]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, 1
pop edi
pop esi
pop ebx
ret
push 5
push eax
call ebx
pop edi
pop esi
mov eax, 1
pop ebx
ret
Function at 0x40a5d0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x429280]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x30
lea eax, [ebp - 0x34]
mov edi, ecx
push 0
push eax
call fcn.00417190
mov eax, dword [0x42d66c]
lea esi, [edi + 8]
add esp, 0xc
mov dword [ebp - 0x34], 0x30
mov dword [ebp - 0x30], 3
mov dword [ebp - 0x2c], 0x40a410
mov dword [ebp - 0x20], eax
push 0x7f00
push 0
mov dword [ebp - 0xc], esi
call dword [sym.imp.USER32.dll_LoadCursorW]
push 5
mov dword [ebp - 0x18], eax
call dword [sym.imp.USER32.dll_GetSysColorBrush]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
push 0
push dword [0x42d66c]
push 0
push dword [edi + 4]
push 0x13a
push 0x1f1
push 0
push 0
push 0x40000000
push 0x4258d0
push esi
push 0x10000
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [edi], eax
test eax, eax
jne 0x40a683
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041092e
mov esp, ebp
pop ebp
ret
mov ecx, edi
call fcn.0040a340
push 0
push dword [edi]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
xor ecx, ebp
pop esi
call fcn.0041092e
mov esp, ebp
pop ebp
ret
Function at 0x40acf0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, edx
mov dword [ebp - 4], ecx
mov esi, dword [edi]
test esi, esi
je 0x40ad4f
mov dword [edi], 0
mov edx, 0x400000
push 0
lea eax, [ebp + 8]
mov dword [ebp + 8], 0
push eax
cmp esi, 0x400000
mov eax, esi
cmova eax, edx
push eax
push ebx
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp + 8]
add ebx, ecx
add dword [edi], ecx
sub esi, ecx
test eax, eax
je 0x40ad58
test ecx, ecx
je 0x40ad4f
mov ecx, dword [ebp - 4]
mov edx, 0x400000
test esi, esi
jne 0x40ad10
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40ad70
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, edx
mov dword [ebp - 4], ecx
mov esi, dword [edi]
test esi, esi
je 0x40adcf
mov dword [edi], 0
mov edx, 0x400000
push 0
lea eax, [ebp + 8]
mov dword [ebp + 8], 0
push eax
cmp esi, 0x400000
mov eax, esi
cmova eax, edx
push eax
push ebx
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp + 8]
add ebx, ecx
add dword [edi], ecx
sub esi, ecx
test eax, eax
je 0x40add8
test ecx, ecx
je 0x40adcf
mov ecx, dword [ebp - 4]
mov edx, 0x400000
test esi, esi
jne 0x40ad90
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ecx
xor eax, eax
mov edx, eax
mov ecx, eax
and edx, 1
shr ecx, 1
dec edx
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
dec edx
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
dec edx
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
dec edx
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, edx
mov dword [eax*4 + 0x42e760], ecx
inc eax
cmp eax, 0x100
jb 0x40da13
cmp eax, 0x800
jae 0x40dae3
nop
mov edx, dword [eax*4 + 0x42e360]
movzx ecx, dl
shr edx, 8
xor edx, dword [ecx*4 + 0x42e760]
mov dword [eax*4 + 0x42e760], edx
inc eax
cmp eax, 0x800
jb 0x40dac0
mov dword [0x42d688], 0x40e6a0
call fcn.0040e830
mov ecx, dword [0x42d688]
test eax, eax
mov edx, 0x40e740
cmove ecx, edx
mov dword [0x42d688], ecx
pop ecx
ret
Function at 0x40ed40
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0xc]
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov eax, dword [eax]
and eax, 7
cmp edx, 5
jae 0x40ed60
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
push ebx
add edx, 0xfffffffc
or ebx, 0xffffffff
add edx, ecx
push esi
mov dword [ebp - 8], edx
lea ecx, [ecx]
lea esi, [edi + ecx]
cmp esi, edx
jae 0x40ed89
mov cl, byte [esi]
and cl, 0xfe
cmp cl, 0xe8
je 0x40ed86
inc esi
cmp esi, edx
jb 0x40ed77
mov ecx, dword [ebp - 4]
mov edi, esi
sub edi, ecx
mov ecx, edi
sub ecx, ebx
cmp esi, edx
jae 0x40ee91
cmp ecx, 3
jbe 0x40eda2
xor eax, eax
jmp 0x40ede0
dec ecx
shl eax, cl
and eax, 7
je 0x40ede0
movzx ecx, byte [eax + 0x4269cc]
mov edx, esi
sub edx, ecx
cmp byte [eax + 0x4269c4], 0
mov cl, byte [edx + 4]
je 0x40edca
test cl, cl
je 0x40edca
cmp cl, 0xff
jne 0x40eddd
mov edx, dword [ebp - 8]
and eax, 3
mov ecx, dword [ebp - 4]
add eax, eax
mov ebx, edi
or eax, 1
inc edi
jmp 0x40ed70
mov edx, dword [ebp - 8]
mov cl, byte [esi + 4]
mov ebx, edi
mov dword [ebp - 0x10], ebx
test cl, cl
je 0x40ee02
cmp cl, 0xff
je 0x40ee02
mov ecx, dword [ebp - 4]
and eax, 3
add eax, eax
or eax, 1
inc edi
jmp 0x40ed70
movzx edx, cl
movzx ecx, byte [esi + 3]
shl edx, 8
or edx, ecx
movzx ecx, byte [esi + 2]
shl edx, 8
or edx, ecx
movzx ecx, byte [esi + 1]
shl edx, 8
or edx, ecx
sub edx, edi
lea ebx, [edx - 5]
test eax, eax
je 0x40ee5e
movzx edx, byte [eax + 0x4269cc]
mov ecx, 0x18
shl edx, 3
sub ecx, edx
mov dword [ebp - 0xc], edx
mov edx, ebx
shr edx, cl
test dl, dl
je 0x40ee4a
cmp dl, 0xff
jne 0x40ee5e
mov ecx, 0x20
mov edx, 1
sub ecx, dword [ebp - 0xc]
shl edx, cl
dec edx
xor edx, ebx
jmp 0x40ee20
mov edx, dword [ebp - 8]
mov ecx, ebx
shr ecx, 0x18
and cl, 1
mov byte [esi + 1], bl
dec cl
not cl
mov byte [esi + 4], cl
mov ecx, ebx
shr ecx, 0x10
mov byte [esi + 3], cl
mov ecx, ebx
mov ebx, dword [ebp - 0x10]
shr ecx, 8
add edi, 5
mov byte [esi + 2], cl
mov ecx, dword [ebp - 4]
jmp 0x40ed70
pop esi
pop ebx
cmp ecx, 3
jbe 0x40eea6
mov ecx, dword [ebp + 0xc]
xor eax, eax
mov dword [ecx], eax
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret
dec ecx
shl eax, cl
mov ecx, dword [ebp + 0xc]
and eax, 7
mov dword [ecx], eax
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x4193fc
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x429280]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00414558
mov dword [ebp - 0x14], eax
cmp dword [0x42d5f8], esi
jne 0x4194ef
push 0x800
push esi
push 0x42270c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x41947c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x4195cf
push esi
push esi
push 0x42270c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x4195cf
push 0x422724
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4195cf
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x42d5f8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x42d5fc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x42d600], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x42d608], eax
test eax, eax
je 0x4194ec
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x42d604], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x419514
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x419507
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x419529
push 4
pop eax
jmp 0x4195d1
cmp dword [ebp - 0x14], esi
je 0x419529
push dword [0x42d5f8]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x41950e
mov eax, dword [0x42d604]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x419587
cmp dword [0x42d608], edi
je 0x419587
push eax
call ebx
push dword [0x42d608]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x419587
test eax, eax
je 0x419587
call ecx
test eax, eax
je 0x41957c
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x41957c
test byte [ebp - 8], 1
jne 0x419587
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x4195b7
mov eax, dword [0x42d5fc]
cmp eax, edi
je 0x4195b4
push eax
call ebx
test eax, eax
je 0x4195b4
call eax
mov esi, eax
test esi, esi
je 0x4195b4
mov eax, dword [0x42d600]
cmp eax, edi
je 0x4195b4
push eax
call ebx
test eax, eax
je 0x4195b4
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x42d5f8]
call ebx
test eax, eax
je 0x4195cf
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x4195d1
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041092e
mov esp, ebp
pop ebp
ret
Function at 0x401210
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ffe6e
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x5522c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 4], 2
mov eax, dword [esi + 0x44]
push eax
xor ebx, ebx
push ebx
lea ecx, [esi + 0x3c]
mov dword [esi + 0x3c], vtable.CBaseRecordVector.0
call dword [0x519870]
mov eax, dword [esi + 0x48]
push eax
call fcn.004e48a0
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov byte [ebp - 4], 1
mov ecx, dword [esi + 0x30]
add esp, 4
push ecx
push ebx
lea ecx, [esi + 0x28]
mov dword [esi + 0x28], vtable.CBaseRecordVector.0
call dword [0x519870]
mov eax, dword [esi + 0x34]
push eax
call fcn.004e48a0
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov byte [ebp - 4], bl
mov edx, dword [esi + 0x1c]
add esp, 4
push edx
push ebx
lea ecx, [esi + 0x14]
mov dword [esi + 0x14], vtable.CBaseRecordVector.0
call dword [0x519870]
mov eax, dword [esi + 0x20]
push eax
call fcn.004e48a0
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [esi + 8]
add esp, 4
push eax
push ebx
mov ecx, esi
mov dword [esi], vtable.CBaseRecordVector.0
call dword [0x519870]
mov ecx, dword [esi + 0xc]
push ecx
call fcn.004e48a0
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 0x403f30
Capabilities:
Delete file
Set file attributes

Disassembly:
cmp byte [edi], 0
je 0x403f6f
push esi
mov esi, dword [edi + 4]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x403f5b
mov ecx, dword [edi + 4]
xor al, al
test al, al
sete al
pop esi
push ecx
mov byte [edi], al
call fcn.004e48a0
pop ecx
ret
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
setne al
test al, al
sete al
mov byte [edi], al
pop esi
mov ecx, dword [edi + 4]
push ecx
call fcn.004e48a0
pop ecx
ret

Function at 0x404020
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x502145
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x5522c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor eax, eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], 4
mov dword [edi], vtable.CObjectVector_struct_NArchive::N7z::CMethodFull_.0
mov dword [ebp - 4], eax
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], eax
mov dword [edi + 0x20], eax
mov dword [edi + 0x24], 0x10
mov dword [edi + 0x14], vtable.CRecordVector_struct_NArchive::N7z::CBind_.0
mov ecx, 1
mov byte [ebp - 4], cl
lea esi, [edi + 0x30]
mov dword [edi + 0x28], ecx
mov byte [edi + 0x2c], al
call fcn.00406220
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 0x405840
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ffde2
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x5522c0]
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
mov eax, dword [esi + 0x30]
push eax
call fcn.004e48a0
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 [0x519870]
mov eax, dword [esi + 0x20]
push eax
call fcn.004e48a0
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
add esp, 4
mov dword [esi], vtable.CObjectVector_struct_NArchive::N7z::CMethodFull_.0
mov dword [ebp - 4], 1
mov ecx, dword [esi + 8]
push ecx
push ebx
mov ecx, esi
call dword [0x5199e8]
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 [0x519870]
mov eax, dword [esi + 0xc]
push eax
call fcn.004e48a0
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 0x40bb40
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x501db8
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x5522c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 4], 2
mov eax, dword [esi + 0x44]
push eax
xor ebx, ebx
push ebx
lea ecx, [esi + 0x3c]
mov dword [esi + 0x3c], vtable.CBaseRecordVector.0
call dword [0x519870]
mov eax, dword [esi + 0x48]
push eax
call fcn.004e48a0
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov byte [ebp - 4], 1
mov ecx, dword [esi + 0x30]
add esp, 4
push ecx
push ebx
lea ecx, [esi + 0x28]
mov dword [esi + 0x28], vtable.CBaseRecordVector.0
call dword [0x519870]
mov eax, dword [esi + 0x34]
push eax
call fcn.004e48a0
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov byte [ebp - 4], bl
mov edx, dword [esi + 0x1c]
add esp, 4
push edx
push ebx
lea ecx, [esi + 0x14]
mov dword [esi + 0x14], vtable.CBaseRecordVector.0
call dword [0x519870]
mov eax, dword [esi + 0x20]
push eax
call fcn.004e48a0
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
add esp, 4
mov dword [esi], vtable.CObjectVector_struct_NArchive::N7z::CCoderInfo_.0
mov dword [ebp - 4], 3
mov eax, dword [esi + 8]
push eax
push ebx
mov ecx, esi
call dword [0x519a0c]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [esi + 8]
push ecx
push ebx
mov ecx, esi
mov dword [esi], vtable.CBaseRecordVector.0
call dword [0x519870]
mov edx, dword [esi + 0xc]
push edx
call fcn.004e48a0
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 0x41ac90
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x501bbf
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x5522c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
xor eax, eax
mov dword [ebx], eax
mov dword [ebp - 4], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], ecx
lea esi, [ebx + 0x10]
mov dword [ebx + 0xc], edx
mov ecx, 8
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], ecx
mov dword [esi], vtable.CRecordVector_unsigned_long_long_unsigned___int64__.0
mov dword [ebx + 0x28], eax
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x30], eax
mov dword [ebx + 0x34], ecx
mov dword [ebx + 0x24], vtable.CRecordVector_unsigned_long_long_unsigned___int64__.0
mov ecx, 4
mov dword [ebx + 0x3c], eax
mov dword [ebx + 0x40], eax
mov dword [ebx + 0x44], eax
mov dword [ebx + 0x48], ecx
mov dword [ebx + 0x38], vtable.CRecordVector_unsigned_long_long_unsigned___int64__const__.0
mov dword [ebx + 0x50], eax
mov dword [ebx + 0x54], eax
mov dword [ebx + 0x58], eax
mov dword [ebx + 0x5c], ecx
mov dword [ebx + 0x4c], vtable.CRecordVector_unsigned_long_long_unsigned___int64__const__.0
mov byte [ebp - 4], 5
mov edi, dword [ebx + 8]
call fcn.00447020
mov edi, dword [ebx + 8]
lea esi, [ebx + 0x38]
call fcn.00447020
mov edi, dword [ebx + 0xc]
lea esi, [ebx + 0x24]
call fcn.00447020
mov edi, dword [ebx + 0xc]
lea esi, [ebx + 0x4c]
call fcn.00447020
mov eax, 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 0x41fa40
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ffad0
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5522c0]
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 [0x519870]
mov eax, dword [edi + 0x38]
push eax
call fcn.004e48a0
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 [0x51a448]
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 [0x519870]
mov eax, dword [esi + 0xc]
push eax
call fcn.004e48a0
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov ecx, dword [edi + 0xc]
push ecx
call fcn.004e48a0
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 0x4245f0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
cmp eax, 0x400000
jbe 0x424602
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 0x424632
mov edx, dword [ebp + 0x10]
mov dword [ecx], edx
test al, al
je 0x42463c
xor eax, eax
pop ebp
ret 0x10
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x42464f
mov eax, 0x80004005
pop ebp
ret 0x10
jle 0x42465b
and eax, 0xffff
or eax, 0x80070000
pop ebp
ret 0x10

Function at 0x424790
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 0x4247b9
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
test eax, eax
jne 0x4247d4
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 0x4247e5
pop edi
mov eax, 0x80004005
pop esi
pop ebp
ret 8
jle 0x4247f1
and eax, 0xffff
or eax, 0x80070000
pop edi
pop esi
pop ebp
ret 8