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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x621d30]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, 4
mov dword [ebp - 0x208], edi
movzx ebx, byte [edx + edi + 0x306a0]
mov ecx, ebx
mov esi, ebx
and esi, 1
shr ecx, 1
dec ecx
or esi, 2
shl esi, cl
mov dword [ebp - 0x218], ebx
mov dword [ebp - 0x20c], 0
mov dword [ebp - 0x210], 1
sub edi, esi
mov dword [ebp - 0x214], ecx
test ecx, ecx
je 0x442ff3
jmp 0x442fa6
mov ebx, dword [ebp - 0x218]
mov ecx, dword [ebp - 0x210]
sub ecx, ebx
add ecx, esi
movzx ecx, word [edx + ecx*2 + 0x32b0e]
mov eax, edi
and eax, 1
mov ebx, eax
neg ebx
shr ecx, 4
sar ebx, 4
and ebx, 0x7f
xor ecx, ebx
mov ecx, dword [edx + ecx*4 + 0x30ea0]
add dword [ebp - 0x20c], ecx
mov ecx, dword [ebp - 0x210]
add ecx, ecx
or ecx, eax
shr edi, 1
dec dword [ebp - 0x214]
mov dword [ebp - 0x210], ecx
jne 0x442fa0
mov edi, dword [ebp - 0x208]
mov eax, dword [ebp - 0x20c]
mov dword [ebp + edi*4 - 0x204], eax
inc edi
mov dword [ebp - 0x208], edi
cmp edi, 0x80
jb 0x442f61
lea esi, [ebp - 0x204]
sub esi, edx
lea ecx, [edx + 0x32910]
lea ebx, [edx + 0x31d58]
sub esi, 0x31d50
lea edi, [edx + 0x31950]
mov dword [ebp - 0x208], ecx
mov dword [ebp - 0x20c], ebx
mov dword [ebp - 0x210], esi
mov dword [ebp - 0x218], 4
jmp 0x443060
xor ecx, ecx
mov dword [ebp - 0x214], ecx
cmp dword [edx + 0x32594], ecx
jbe 0x4430d0
mov eax, ecx
or eax, 0x40
xor esi, esi
cmp eax, 1
je 0x4430b8
lea esp, [esp]
mov ebx, dword [ebp - 0x208]
mov ecx, eax
and eax, 1
shr ecx, 1
movzx ebx, word [ebx + ecx*2]
neg eax
sar eax, 4
and eax, 0x7f
shr ebx, 4
xor ebx, eax
add esi, dword [edx + ebx*4 + 0x30ea0]
mov eax, ecx
cmp eax, 1
jne 0x443080
mov ebx, dword [ebp - 0x20c]
mov ecx, dword [ebp - 0x214]
mov dword [edi + ecx*4], esi
inc ecx
mov dword [ebp - 0x214], ecx
cmp ecx, dword [edx + 0x32594]
jb 0x443070
mov esi, dword [ebp - 0x210]
mov eax, 0xe
cmp dword [edx + 0x32594], eax
jbe 0x4430f6
lea ecx, [ecx]
mov ecx, eax
shr ecx, 1
sub ecx, 5
shl ecx, 4
add dword [edi + eax*4], ecx
inc eax
cmp eax, dword [edx + 0x32594]
jb 0x4430e0
mov eax, dword [edi]
mov dword [ebx - 8], eax
mov ecx, dword [edi + 4]
mov dword [ebx - 4], ecx
mov eax, dword [edi + 8]
mov dword [ebx], eax
mov ecx, dword [edi + 0xc]
mov dword [ebx + 4], ecx
mov eax, 4
lea ecx, [ebx + 8]
jmp 0x443120
movzx ebx, byte [edx + eax + 0x306a0]
mov ebx, dword [edi + ebx*4]
add ebx, dword [esi + ecx]
inc eax
mov dword [ecx], ebx
add ecx, 4
cmp eax, 0x80
jb 0x443120
mov ebx, dword [ebp - 0x20c]
sub dword [ebp - 0x208], 0xffffff80
add ebx, 0x200
sub esi, 0x200
add edi, 0x100
dec dword [ebp - 0x218]
mov dword [ebp - 0x20c], ebx
mov dword [ebp - 0x210], esi
jne 0x443060
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov dword [edx + 0x3bcf8], 0
pop ebx
call fcn.005909d4
mov esp, ebp
pop ebp
ret
Function at 0x444d70
Capabilities:
Hash data using sha256

Disassembly:
xor ecx, ecx
mov dword [eax], 0x6a09e667
mov dword [eax + 4], 0xbb67ae85
mov dword [eax + 8], 0x3c6ef372
mov dword [eax + 0xc], 0xa54ff53a
mov dword [eax + 0x10], 0x510e527f
mov dword [eax + 0x14], 0x9b05688c
mov dword [eax + 0x18], 0x1f83d9ab
mov dword [eax + 0x1c], 0x5be0cd19
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], ecx
ret
Function at 0x4455b0
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.00591a81
mov ecx, dword [ebp + 8]
add esp, 0x18
mov dword [ecx], eax
test eax, eax
je 0x4455d7
xor eax, eax
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x4455e6
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x445bd0
Capabilities:
Hash data using sha256

Disassembly:
mov dword [eax], ecx
dec ecx
je 0x445c28
sub ecx, 3
je 0x445c1e
sub ecx, 6
jne 0x445c2f
mov dword [eax + 0x10], 0x6a09e667
mov dword [eax + 0x14], 0xbb67ae85
mov dword [eax + 0x18], 0x3c6ef372
mov dword [eax + 0x1c], 0xa54ff53a
mov dword [eax + 0x20], 0x510e527f
mov dword [eax + 0x24], 0x9b05688c
mov dword [eax + 0x28], 0x1f83d9ab
mov dword [eax + 0x2c], 0x5be0cd19
mov dword [eax + 0x30], ecx
mov dword [eax + 0x34], ecx
ret
or ecx, 0xffffffff
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
ret
mov dword [eax + 4], 0xffffffff
ret

Function at 0x445e30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push esi
mov esi, eax
mov eax, dword [ebp + 8]
push edi
mov edi, ecx
test esi, esi
je 0x445e67
movzx ecx, byte [edi]
xor ecx, eax
shrd eax, edx, 8
and ecx, 0xff
xor eax, dword [ecx*8 + 0x62ca10]
shr edx, 8
xor edx, dword [ecx*8 + 0x62ca14]
inc edi
dec esi
jne 0x445e43
pop edi
pop esi
pop ebp
ret 8
Function at 0x4499b0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b5070
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x621d30]
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 [0x5eb9b8]
mov eax, dword [edi + 0x38]
push eax
call fcn.00489718
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 [0x5ee244]
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 [0x5eb9b8]
mov eax, dword [esi + 0xc]
push eax
call fcn.00489718
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [edi + 0xc]
push eax
call fcn.00489718
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 0x44bb80
Capabilities:
Delete file
Set file attributes

Disassembly:
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x44bb90
xor al, al
ret
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
setne al
ret

Function at 0x44bc40
Capabilities:
Get common file path

Disassembly:
push esi
push edi
mov esi, eax
mov ecx, 0x105
call fcn.004121a0
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edi, dword [esi]
xor ecx, ecx
cmp word [edi], cx
je 0x44bc6f
mov edx, edi
add edx, 2
inc ecx
cmp word [edx], 0
jne 0x44bc65
xor edx, edx
mov word [edi + ecx*2], dx
mov dword [esi + 4], ecx
dec eax
mov ecx, 0x103
cmp ecx, eax
sbb eax, eax
pop edi
inc eax
pop esi
ret

Function at 0x44bc90
Capabilities:
Delete file
Get common file path
Set file attributes

Disassembly:
push ebp
mov ebp, esp
cmp byte [ebx], 0
push esi
push edi
mov esi, eax
je 0x44bcc3
mov edi, dword [ebx + 4]
push 0
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x44bcb0
xor al, al
jmp 0x44bcbc
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
setne al
test al, al
sete al
mov byte [ebx], al
mov ecx, 0x105
call fcn.004121a0
mov ecx, dword [ebp + 8]
push eax
push 0
push 0x5ed0c0
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov edx, dword [esi]
mov edi, eax
xor eax, eax
cmp word [edx], ax
je 0x44bcfa
mov ecx, edx
lea esp, [esp]
add ecx, 2
inc eax
cmp word [ecx], 0
jne 0x44bcf0
xor ecx, ecx
mov word [edx + eax*2], cx
mov dword [esi + 4], eax
test edi, edi
je 0x44bd13
push esi
lea esi, [ebx + 4]
call fcn.004064e0
mov byte [ebx], 1
mov eax, edi
pop edi
pop esi
pop ebp
ret 4

Function at 0x44bfa0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
mov edi, eax
mov dword [esi], 0
mov eax, dword [ebp + 0xc]
cmp eax, 0x400000
jbe 0x44bfc3
mov eax, 0x400000
mov edx, dword [ebp + 8]
push 0
lea ecx, [ebp - 4]
push ecx
push eax
mov eax, dword [edx]
push edi
push eax
mov dword [ebp - 4], 0
call ebx
mov ecx, dword [ebp - 4]
add dword [esi], ecx
test eax, eax
je 0x44bff8
test ecx, ecx
je 0x44bfee
add edi, ecx
sub dword [ebp + 0xc], ecx
jne 0x44bfb4
pop edi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 8
pop edi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x44c010
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
mov edi, eax
mov dword [esi], 0
mov eax, dword [ebp + 0xc]
cmp eax, 0x400000
jbe 0x44c033
mov eax, 0x400000
mov edx, dword [ebp + 8]
push 0
lea ecx, [ebp - 4]
push ecx
push eax
mov eax, dword [edx]
push edi
push eax
mov dword [ebp - 4], 0
call ebx
mov ecx, dword [ebp - 4]
add dword [esi], ecx
test eax, eax
je 0x44c068
test ecx, ecx
je 0x44c05e
add edi, ecx
sub dword [ebp + 0xc], ecx
jne 0x44c024
pop edi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 8
pop edi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x44cdc0
Capabilities:
Access peb ldr_data
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b7ddb
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x621d30]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov dword [ebx], vtable.IInArchive.0
mov dword [ebx + 4], vtable.IArchiveOpenSeq.0
mov dword [ebx + 8], vtable.IOutArchive.0
lea esi, [ebx + 0x10]
mov dword [ebx + 0xc], vtable.ISetProperties.0
call fcn.004092c0
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebx + 0x68], eax
lea esi, [ebx + 0x90]
mov dword [ebx], vtable.NArchive::NXz::CHandler.0
mov dword [ebx + 4], vtable.NArchive::NXz::CHandler.1.0
mov dword [ebx + 8], vtable.NArchive::NXz::CHandler.2.0
mov dword [ebx + 0xc], vtable.NArchive::NXz::CHandler.3.0
call fcn.00419a60
xor eax, eax
mov dword [ebx + 0xb0], eax
mov dword [ebx + 0xb4], eax
mov esi, 4
mov dword [ebx + 0xb8], esi
mov byte [ebx + 0x2c], al
lea eax, [ebp - 0x30]
push eax
mov dword [ebx + 0x42], 1
mov word [ebx + 0x46], pe_nt_image_headers32
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x1c]
or eax, 0xffffffff
mov dword [ebx + 0x30], eax
mov dword [ebx + 0x34], eax
mov dword [ebx + 0x38], eax
mov dword [ebx + 0x3c], eax
mov dword [ebx + 0x10], ecx
mov dword [ebx + 0x4c], 5
mov byte [ebx + 0x48], 1
mov byte [ebx + 0x50], 0
mov dword [ebx + 0x14], esi
mov word [ebx + 0x40], 0
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 0x454230
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x45424b
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 0x454282
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
add eax, esi
and ecx, 0xf
jbe 0x45427e
jmp 0x454270
cmp esi, eax
jae 0x454282
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x454270
cmp esi, eax
jb 0x454289
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b6c83
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x621d30]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [esi + 4], edi
mov dword [ebp - 4], edi
mov dword [esi], vtable.CGridCell.0
call fcn.0048a293
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x454950
push 0x80004005
call fcn.00453e40
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 8], eax
mov byte [ebp - 4], 1
lea ecx, [esi + 8]
mov dword [esi + 0x20], edi
mov dword [esi + 4], edi
call fcn.00453b80
mov ecx, 0xff000000
or eax, 0xffffffff
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x18], ecx
mov ecx, dword [esi + 0x20]
push ecx
mov dword [esi + 0x10], eax
mov dword [esi + 0xc], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x14], eax
mov dword [esi + 0x24], eax
call fcn.00489718
add esp, 4
mov dword [esi + 0x20], edi
mov eax, esi
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 0x456d90
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b9a03
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x621d30]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.0048be14
xor ecx, ecx
mov dword [ebp - 4], ecx
mov dword [esi], vtable.CTCMemDC.0
mov dword [esi + 0x14], ecx
mov dword [esi + 0x10], vtable.CBitmap.0
mov byte [ebp - 4], 1
lea edi, [esi + 0x20]
mov dword [edi], ecx
mov dword [edi + 4], ecx
mov dword [edi + 8], ecx
mov dword [edi + 0xc], ecx
xor eax, eax
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x18], ecx
cmp dword [ebx + 0xc], ecx
sete al
mov dword [esi + 0x30], eax
cmp eax, ecx
je 0x456e77
mov eax, dword [ebx]
mov edx, dword [eax + 0x50]
push edi
mov ecx, ebx
call edx
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
mov ecx, esi
call fcn.0048c3e6
mov eax, dword [edi + 0xc]
sub eax, dword [edi + 4]
mov ecx, dword [edi + 8]
sub ecx, dword [edi]
push eax
mov eax, dword [ebx + 4]
push ecx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [esi + 0x10]
call fcn.0048c6ba
lea eax, [esi + 0x10]
test eax, eax
je 0x456e43
mov eax, dword [eax + 4]
mov ecx, dword [esi + 4]
push eax
push ecx
call fcn.0048c74b
mov edx, dword [esi + 0x24]
mov dword [esi + 0x18], eax
mov eax, dword [edi]
push edx
push eax
lea ecx, [ebp - 0x14]
push ecx
mov ecx, esi
call fcn.0048bf96
mov edx, dword [ebx + 8]
push edx
call dword [sym.imp.GDI32.dll_GetBkColor]
push eax
push edi
mov ecx, esi
call fcn.0049693d
jmp 0x456e89
mov eax, dword [ebx + 0xc]
mov dword [esi + 0xc], eax
mov ecx, dword [ebx + 4]
mov dword [esi + 4], ecx
mov edx, dword [ebx + 8]
mov dword [esi + 8], edx
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 0x457500
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x621d30]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x218]
push eax
mov dword [ebp - 0x21c], 3
mov dword [ebp - 0x218], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x457571
cmp dword [ebp - 0x208], 1
jne 0x45754a
cmp dword [ebp - 0x210], 0
je 0x457571
push 0
lea ecx, [ebp - 0x21c]
push ecx
push 0
push 0x68
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov eax, dword [ebp - 0x21c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005909d4
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x220]
push edx
push 1
push 0
push str.Control_PanelDesktop
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4575ec
lea eax, [ebp - 0x224]
push eax
mov eax, dword [ebp - 0x220]
lea ecx, [ebp - 0x104]
push ecx
lea edx, [ebp - 0x228]
push edx
push 0
push str.WheelScrollLines
push eax
mov dword [ebp - 0x224], pe_nt_image_headers32
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4575df
push 0xa
push eax
lea ecx, [ebp - 0x104]
push ecx
call fcn.005923f1
add esp, 0xc
mov dword [ebp - 0x21c], eax
mov edx, dword [ebp - 0x220]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x21c]
xor ecx, ebp
call fcn.005909d4
mov esp, ebp
pop ebp
ret
Function at 0x4705f0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b6a4c
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x621d30]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov dword [edi], 0xffffffff
xor ebx, ebx
mov eax, 4
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], eax
mov dword [edi + 4], vtable.CObjectVector_struct_CProperty_.0
mov dword [ebp - 4], ebx
mov dword [edi + 0x1c], ebx
mov dword [edi + 0x20], ebx
mov dword [edi + 0x24], ebx
mov dword [edi + 0x28], eax
mov dword [edi + 0x18], vtable.CObjectVector_struct_CUpdateArchiveCommand_.0
mov al, 1
mov byte [ebp - 4], al
mov byte [edi + 0x2c], al
lea eax, [edi + 0x30]
push eax
call fcn.0041a760
mov byte [ebp - 4], 2
lea esi, [edi + 0x8c]
mov byte [edi + 0x88], bl
call fcn.00406460
mov byte [ebp - 4], 3
lea esi, [edi + 0x9c]
mov word [edi + 0x98], bx
call fcn.00406460
mov byte [ebp - 4], 4
lea esi, [edi + 0xac]
mov word [edi + 0xa8], bx
mov byte [edi + 0xaa], bl
call fcn.00406460
lea esi, [edi + 0xb8]
mov byte [ebp - 4], 5
call fcn.00406460
mov dword [edi + 0xc8], ebx
mov dword [edi + 0xcc], ebx
mov dword [edi + 0xd0], ebx
mov dword [edi + 0xd4], 8
mov dword [edi + 0xc4], vtable.CRecordVector_unsigned_long_long_unsigned___int64__.0
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
Function at 0x470890
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b583a
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x621d30]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov dword [ebp - 4], 6
mov eax, dword [edi + 0xcc]
push eax
xor ebx, ebx
push ebx
lea ecx, [edi + 0xc4]
mov dword [edi + 0xc4], vtable.CBaseRecordVector.0
call dword [0x5eb9b8]
mov eax, dword [edi + 0xd0]
push eax
call fcn.00489718
mov dword [edi + 0xc8], ebx
mov dword [edi + 0xcc], ebx
mov dword [edi + 0xd0], ebx
mov byte [ebp - 4], 5
mov eax, dword [edi + 0xb8]
push eax
call fcn.00489718
mov byte [ebp - 4], 4
mov eax, dword [edi + 0xac]
push eax
call fcn.00489718
mov byte [ebp - 4], 3
mov eax, dword [edi + 0x9c]
push eax
call fcn.00489718
mov byte [ebp - 4], 2
mov eax, dword [edi + 0x8c]
push eax
call fcn.00489718
add esp, 0x14
lea ecx, [edi + 0x30]
push ecx
mov byte [ebp - 4], 1
call fcn.0041a800
lea esi, [edi + 0x18]
mov dword [ebp - 0x10], esi
mov dword [esi], vtable.CObjectVector_struct_CUpdateArchiveCommand_.0
mov byte [ebp - 4], 7
mov edx, dword [esi + 8]
push edx
push ebx
mov ecx, esi
call dword [0x5f3b7c]
mov byte [ebp - 4], bl
mov eax, dword [esi + 8]
push eax
push ebx
mov ecx, esi
mov dword [esi], vtable.CBaseRecordVector.0
call dword [0x5eb9b8]
mov eax, dword [esi + 0xc]
push eax
call fcn.00489718
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
lea esi, [edi + 4]
add esp, 4
mov dword [ebp + 8], esi
mov dword [esi], vtable.CObjectVector_struct_CProperty_.0
mov dword [ebp - 4], 8
mov ecx, dword [esi + 8]
push ecx
push ebx
mov ecx, esi
call dword [0x5f3b70]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [esi + 8]
push edx
mov dword [esi], vtable.CBaseRecordVector.0
push ebx
mov ecx, esi
call dword [0x5eb9b8]
mov eax, dword [esi + 0xc]
push eax
call fcn.00489718
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 0x474d60
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x621d30]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x62d21e], 0
push esi
je 0x474d8c
lea eax, [edi + 0x12118]
push eax
push 2
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
mov eax, dword [edi + 0x120cc]
push ecx
sub eax, 0x10
mov dword [ebp - 0x210], esp
mov esi, esp
push eax
call fcn.00453e70
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.004892c0
add esp, 4
call dword [0x62d274]
mov ecx, dword [0x62d27c]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
call dword [sym.imp.ole32.dll_CoUninitialize]
push 0x208
lea edx, [ebp - 0x20c]
push 0
push edx
call fcn.00594660
mov eax, dword [0x62d3c0]
lea edx, [ebp - 0x20c]
add esp, 0xc
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x474df0
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
jmp 0x474e10
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x474e10
sub eax, edx
sar eax, 1
je 0x474e64
lea edx, [ebp - 0x230]
lea eax, [ebp - 0x20c]
mov ecx, 0x614
push edx
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 3
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x224], 0
mov word [ebp - 0x220], cx
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.005909d4
mov esp, ebp
pop ebp
ret
Function at 0x47dbc0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bb84b
mov eax, dword fs:[0]
push eax
mov eax, 0x271c
call fcn.005968e0
mov eax, dword [0x621d30]
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, edx
call fcn.0048a293
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x47dc10
push 0x80004005
call fcn.00453e40
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x2724], eax
push 0x2710
lea ecx, [ebp - 0x2720]
push 0
push ecx
mov dword [ebp - 4], 0
call fcn.00594660
add esp, 0xc
test esi, esi
jne 0x47dc47
xor eax, eax
jmp 0x47dc5f
mov eax, esi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x47dc50
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [ebp - 0x2724]
call fcn.00453d90
mov eax, dword [ebp - 0x2724]
mov edi, dword [eax - 0xc]
lea esi, [edi + 1]
test esi, esi
jns 0x47dc86
push 0x80070057
call fcn.00453e40
mov ecx, dword [eax - 8]
mov edx, 1
sub edx, dword [eax - 4]
sub ecx, esi
or ecx, edx
jge 0x47dca9
push esi
lea ecx, [ebp - 0x2724]
call fcn.00453cc0
mov eax, dword [ebp - 0x2724]
mov edx, 0x5c
mov word [eax + edi*2], dx
cmp esi, dword [eax - 8]
jg 0x47dc7c
xor ecx, ecx
mov dword [eax - 0xc], esi
mov word [eax + esi*2], cx
test ebx, ebx
jne 0x47dcc8
xor eax, eax
jmp 0x47dcdf
mov eax, ebx
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x47dcd0
sub eax, edx
sar eax, 1
push eax
push ebx
lea ecx, [ebp - 0x2724]
call fcn.00467310
mov edi, dword [ebp - 0x2724]
push 0
push 0x80
push 3
push 0
push 3
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x47dd37
mov dword [ebp - 4], eax
lea eax, [edi - 0x10]
lea edx, [eax + 0xc]
or ecx, esi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x47dd30
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x47ddd1
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0
push 0
push 0x40
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
sub edi, 0x40
je 0x47dd9c
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
lea ebx, [ebx]
push 0
cmp edi, 0x2710
jbe 0x47dd8a
lea ecx, [ebp - 0x2728]
push ecx
push 0x2710
lea edx, [ebp - 0x2720]
push edx
push esi
call ebx
sub edi, 0x2710
jne 0x47dd60
jmp 0x47dd9c
lea eax, [ebp - 0x2728]
push eax
push edi
lea ecx, [ebp - 0x2720]
push ecx
push esi
call ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x2724]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x47ddcc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
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.005909d4
mov esp, ebp
pop ebp
ret