joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40e530
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x614310
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x69e3d4]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x2c]
push 0
push 0x7f5
mov ecx, ebp
call fcn.0056be45
lea ebx, [ebp + 0x74]
push ebx
push 0xf003f
push 0
mov dword [esp + 0x30], 0
mov esi, dword [sym.imp.advapi32.dll_RegOpenKeyExA]
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts
lea edi, [ebp + 0x78]
push 0x80000001
mov dword [ebp], vtable.CFileTypesDlg.0
mov dword [edi], 0
mov dword [ebx], 0
call esi
test eax, eax
je 0x40e5cd
push ebx
push 0xf003f
push 0
push 0
push 0x80000000
mov dword [0x6a995c], 0
call esi
test eax, eax
je 0x40e5cd
mov dword [ebx], 0
cmp dword [ebx], 0
je 0x40e6bc
mov dword [esp + 0x14], 0x6bd160
mov ebp, 0x6a9968
mov ecx, dword [esp + 0x14]
push 0
push 0x641d28
call fcn.004014d0
mov eax, dword [ebp - 4]
push edi
push 0xf003f
push 0
mov dword [ebp], 0
mov ecx, dword [ebx]
push eax
push ecx
call esi
test eax, eax
jne 0x40e6a4
mov esi, dword [esp + 0x2c]
mov ecx, dword [edi]
lea edx, [esp + 0x18]
push edx
add esi, 0x7c
push esi
push eax
push eax
mov byte [esi], al
mov eax, dword [0x6a995c]
neg eax
sbb eax, eax
and eax, str.Application
push eax
push ecx
mov dword [esp + 0x30], 0x200
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
test eax, eax
jne 0x40e695
cmp byte [esi], al
je 0x40e695
mov edx, dword [0x6bd300]
push edx
push esi
call fcn.005a5af0
add esp, 8
test eax, eax
je 0x40e68b
lea eax, [esp + 0x18]
push eax
push esi
push 0
push 0
mov dword [ebp], 1
mov ecx, dword [edi]
push str.HprSnapOld
push ecx
mov dword [esp + 0x30], 0x200
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
test eax, eax
jne 0x40e695
mov ecx, dword [esp + 0x14]
push esi
call fcn.004015c0
mov edx, dword [edi]
push edx
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov esi, dword [sym.imp.advapi32.dll_RegOpenKeyExA]
add dword [esp + 0x14], 4
add ebp, 0xc
cmp ebp, 0x6a9a04
jl 0x40e5e3
mov ebp, dword [esp + 0x2c]
lea eax, [esp + 0x14]
push str.Applications_
push eax
mov ecx, 0x6bd300
call fcn.0040ef20
push str._shellopencommand
push eax
lea ecx, [esp + 0x28]
push ecx
mov byte [esp + 0x38], 1
call fcn.00401c10
mov eax, dword [eax]
add esp, 0x14
push edi
push 0xf003f
push 0
push eax
push 0x80000000
call esi
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40e71a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x24], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e73f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebp
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4
Function at 0x40ec40
Capabilities:
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0xc
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push esi
push edi
mov dword [esp + 0x10], 0
lea edi, [ebp + 0x78]
mov dword [esp + 0x20], 0x6bd160
mov ebx, 0x6a9964
mov eax, dword [ebx]
mov ecx, dword [ebp + 0x74]
push edi
push 0xf003f
push 0
push eax
push ecx
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40ed51
mov ecx, dword [edi]
lea edx, [esp + 0x14]
push edx
lea esi, [ebp + 0x7c]
push esi
push eax
push eax
mov byte [esi], al
mov eax, dword [0x6a995c]
neg eax
sbb eax, eax
and eax, str.Application
push eax
push ecx
mov dword [esp + 0x2c], 0x200
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
test eax, eax
jne 0x40ed48
mov edx, dword [0x6bd300]
push edx
push esi
call fcn.005a5af0
add esp, 8
test eax, eax
je 0x40ed48
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
mov eax, ecx
mov dword [esp + 0x10], 1
lea esi, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x40ece0
sub eax, esi
je 0x40ed22
mov eax, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x40ecf2
mov edx, dword [edi]
sub eax, esi
add eax, 1
push eax
push ecx
mov ecx, dword [0x6a995c]
neg ecx
push 1
sbb ecx, ecx
push 0
and ecx, str.Application
push ecx
push edx
call dword [sym.imp.advapi32.dll_RegSetValueExA]
jmp 0x40ed3a
mov eax, dword [0x6a995c]
mov ecx, dword [edi]
neg eax
sbb eax, eax
and eax, str.Application
push eax
push ecx
call dword [sym.imp.advapi32.dll_RegDeleteValueA]
mov edx, dword [edi]
push str.HprSnapOld
push edx
call dword [sym.imp.advapi32.dll_RegDeleteValueA]
mov eax, dword [edi]
push eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
add dword [esp + 0x20], 4
add ebx, 0xc
cmp ebx, 0x6a9a00
jl 0x40ec63
cmp dword [esp + 0x10], 0
pop edi
pop esi
pop ebp
pop ebx
je 0x40ed81
push 0
push 0
push 0
push 0x8000000
call dword [sym.imp.shell32.dll_SHChangeNotify]
add esp, 0xc
ret 4
Function at 0x41bce0
Capabilities:
Terminate process

Disassembly:
push esi
push edi
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov edi, dword [esp + 0x10]
test edi, edi
mov esi, eax
je 0x41bd1b
call fcn.005702dd
mov dword [eax + 0xc], edi
mov eax, dword [esp + 0x14]
mov dword [0x6bc84c], eax
xor eax, eax
cmp dword [esp + 0xc], esi
pop edi
setne al
pop esi
sub eax, 1
and eax, 0x4c7
ret 0xc
push 1
call fcn.005a7bf5
int3
Function at 0x4254c0
Capabilities:
Encode data using xor

Disassembly:
xor ecx, ecx
test edi, edi
push ebp
mov ebp, dword [esp + 8]
jle 0x4254e3
jmp 0x4254d0
mov eax, ecx
cdq
idiv ebp
add ecx, 1
mov al, byte [edx + ebx]
xor byte [ecx + esi - 1], al
cmp ecx, edi
jl 0x4254d0
pop ebp
ret

Function at 0x4255b0
Capabilities:
Encode data using xor

Disassembly:
cmp esi, 0x1f
jb 0x4255b8
xor eax, eax
ret
push ebp
push edi
push 0x50
call fcn.005a854a
mov edi, dword [esi*4 + 0x6c7028]
movzx ecx, byte [edi]
mov ebp, eax
mov eax, esi
and eax, 0xf
movzx edx, byte [eax + 0x6c7014]
xor edx, ecx
mov ecx, 1
add esp, 4
cmp edx, ecx
jl 0x42560a
jmp 0x4255f0
lea eax, [ecx + esi]
and eax, 0xf
mov al, byte [eax + 0x6c7014]
xor al, byte [edi + ecx]
add ecx, 1
cmp ecx, edx
mov byte [ecx + ebp - 2], al
jle 0x4255f0
pop edi
mov byte [edx + ebp], 0
mov eax, ebp
pop ebp
ret

Function at 0x425630
Capabilities:
Encode data using xor

Disassembly:
push ecx
cmp edi, 1
jb 0x42563a
xor eax, eax
pop ecx
ret
push ebx
push ebp
push esi
push 0x50
call fcn.005a854a
mov ebp, eax
mov ebx, dword [edi*4 + 0x6c7010]
movzx ecx, byte [ebx]
mov eax, 0x4ec4ec4f
mul edi
shr edx, 2
imul edx, edx, 0xd
mov eax, 0x6c7000
sub eax, edx
movzx esi, byte [eax + edi]
xor esi, ecx
mov ecx, 1
add esp, 4
cmp esi, ecx
mov dword [esp + 0xc], ebp
jl 0x4256a5
lea ebx, [ebx]
xor edx, edx
lea eax, [ecx + edi]
mov ebp, 0xd
div ebp
mov ebp, dword [esp + 0xc]
add ecx, 1
mov dl, byte [edx + 0x6c7000]
xor dl, byte [ebx + ecx - 1]
cmp ecx, esi
mov byte [ecx + ebp - 2], dl
jle 0x425680
mov byte [esi + ebp], 0
pop esi
mov eax, ebp
pop ebp
pop ebx
pop ecx
ret
Function at 0x426dc0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x6166bb
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x69e3d4]
xor eax, esp
mov dword [esp + 0x118], eax
mov eax, dword [0x69e3d4]
xor eax, esp
push eax
lea eax, [esp + 0x120]
mov dword fs:[0], eax
push 0x104
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.kernel32.dll_GetWindowsDirectoryA]
lea ecx, [esp + 8]
push ecx
lea ecx, [esp + 8]
call fcn.00404eb0
push 0xa
push str._twain.dll
lea ecx, [esp + 0xc]
mov dword [esp + 0x130], 0
call fcn.00407400
mov edx, dword [esp + 4]
push 0
push edx
call fcn.005a7ff1
add esp, 8
test eax, eax
jge 0x426e75
mov dword [esp + 0x128], 0xffffffff
mov eax, dword [esp + 4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x426e6e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x426f0a
lea eax, [esp + 8]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x426e80
sub eax, edx
push eax
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0xc]
call fcn.004014d0
push 0xa
push str._twain_32_
lea ecx, [esp + 0xc]
call fcn.00407400
mov edx, dword [esp + 4]
push 0
push edx
call fcn.005a7ff1
add esp, 8
or edx, 0xffffffff
mov dword [esp + 0x128], 0xffffffff
test eax, eax
mov eax, dword [esp + 4]
jge 0x426eec
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x426e6e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x426f0a
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x426f05
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x120]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x118]
xor ecx, esp
call fcn.005a58d9
add esp, 0x128
ret

Function at 0x427950
Capabilities:
Hash data with crc32

Disassembly:
push ecx
push ebp
lea eax, [ebx + 0x1714]
push eax
mov ecx, ebx
call fcn.005660fb
xor ebp, ebp
cmp dword [0x6bd268], ebp
je 0x4279a5
push esi
push edi
mov edi, dword [0x6ade94]
cmp edi, ebp
je 0x427989
mov esi, dword [0x6ade98]
cmp esi, ebp
je 0x427989
mov ecx, 0x40
rep movsd dword es:[edi], dword [esi]
jmp 0x4279a3
push 0xf327
lea ecx, [esp + 0x13]
sub ecx, 0x10
push 0x6a5968
push ecx
call fcn.005a8cf0
add esp, 0xc
pop edi
pop esi
call fcn.00425620
xor eax, 0x1f
push eax
lea edx, [esp + 0xb]
sub edx, 0x10
push 0x6a5968
push edx
call fcn.005a8cf0
add esp, 0xc
mov dword [ebx + 0xde0], ebp
call fcn.004061b0
cmp dword [ebx + 0xdf8], ebp
je 0x4279fc
test byte [ebx + 0xe00], 1
je 0x4279fc
mov eax, dword [ebx + 0xe08]
push eax
push ebp
call dword [sym.imp.user32.dll_FindWindowA]
mov dword [ebx + 0xd84], ebp
mov dword [ebx + 0xd9c], eax
pop ebp
pop ecx
ret
mov dword [ebx + 0xd9c], ebp
mov dword [ebx + 0xd84], ebp
pop ebp
pop ecx
ret
Function at 0x42b210
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x619b0a
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x69e3d4]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x20]
xor edi, edi
push ecx
mov dword [esp + 0x18], edi
call dword [sym.imp.user32.dll_OpenClipboard]
test eax, eax
jne 0x42b277
push 0xffffffffffffffff
push edi
push 0x92
call fcn.005723b2
xor eax, eax
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x480
call fcn.005655ab
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, edi
mov dword [esp + 0x40], edi
je 0x42b29a
push eax
call fcn.004e6580
mov esi, eax
jmp 0x42b29c
xor esi, esi
mov dword [esp + 0x40], 0xffffffff
mov ebx, dword [sym.imp.user32.dll_IsClipboardFormatAvailable]
xor eax, eax
push 8
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
call ebx
test eax, eax
je 0x42b2de
push 8
call dword [sym.imp.user32.dll_GetClipboardData]
test eax, eax
je 0x42b2de
mov edi, eax
push 2
call ebx
test eax, eax
je 0x42b304
push 2
call dword [sym.imp.user32.dll_GetClipboardData]
mov ebx, eax
test ebx, ebx
je 0x42b308
lea edx, [esp + 0x1c]
push edx
push 0x18
push ebx
call dword [sym.imp.gdi32.dll_GetObjectA]
jmp 0x42b308
mov ebx, dword [esp + 0x14]
test edi, edi
je 0x42b334
cmp dword [esp + 0x20], 0
je 0x42b31e
mov ax, word [esp + 0x2e]
cmp ax, word [edi + 0xe]
jae 0x42b334
mov ecx, edi
call fcn.004e63c0
add eax, dword [edi]
mov ecx, edi
add eax, edi
push eax
push esi
call fcn.004e68b0
jmp 0x42b352
push 9
call dword [sym.imp.user32.dll_GetClipboardData]
test eax, eax
je 0x42b348
push eax
call fcn.0057786b
jmp 0x42b34a
xor eax, eax
push eax
push ebx
push esi
call fcn.004e6a20
push str.HS_Transp_Info
call dword [sym.imp.user32.dll_RegisterClipboardFormatA]
push eax
call dword [sym.imp.user32.dll_GetClipboardData]
mov edi, eax
test edi, edi
je 0x42b384
push edi
mov dword [esi + 0xc], 1
call dword [sym.imp.kernel32.dll_GlobalLock]
mov ecx, dword [eax]
push edi
mov dword [esi + 0x10], ecx
call dword [sym.imp.kernel32.dll_GlobalUnlock]
call dword [sym.imp.user32.dll_CloseClipboard]
cmp dword [esi + 0x1c], 0
jne 0x42b3b2
mov edx, dword [esi]
mov eax, dword [edx + 4]
push 1
mov ecx, esi
call eax
xor eax, eax
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4321f0
Capabilities:
Copy file
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x611fd8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x69e3d4]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x38]
mov eax, dword [ebp + 0x140]
lea esi, [ebp + 0x140]
push 0x641d28
push eax
call fcn.005a58c6
add esp, 8
test eax, eax
setg al
test al, al
je 0x4323ca
push 0x645b40
lea eax, [esp + 0x1c]
push esi
push eax
call fcn.00401c10
lea edi, [ebp + 0x148]
push edi
push eax
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x48], 0
call fcn.00401c10
mov eax, dword [eax]
push 0
push eax
call fcn.005a7ff1
add esp, 0x20
test eax, eax
mov eax, dword [esp + 0x14]
setl bl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43229e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x30], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4322c6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x43238b
push 0x645b40
lea ecx, [esp + 0x28]
push esi
push ecx
call fcn.00401c10
push edi
push eax
lea edx, [esp + 0x34]
mov ebx, 1
push edx
mov dword [esp + 0x48], ebx
call fcn.00401c10
mov ebp, eax
push str._template.rtf
lea eax, [esp + 0x38]
push esi
push eax
mov byte [esp + 0x54], 2
call fcn.00401c10
mov ebp, dword [ebp]
mov eax, dword [eax]
add esp, 0x24
push ebx
push ebp
push eax
call dword [sym.imp.kernel32.dll_CopyFileA]
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43233b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x30], bl
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43235f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x30], 0xffffffff
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x432387
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebp, dword [esp + 0x38]
mov eax, dword [ebp + 0x144]
push 0x641d28
push eax
call fcn.005a58c6
add esp, 8
test eax, eax
push 5
jle 0x4323b7
mov ecx, dword [esi]
mov edx, dword [ebp + 0x144]
push ecx
push edi
push edx
push 0x646230
jmp 0x4323c2
mov eax, dword [esi]
push eax
push 0
push edi
push str.edit
push 0
call dword [sym.imp.shell32.dll_ShellExecuteA]
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4
Function at 0x43d8c0
Capabilities:
Write file on windows

Disassembly:
push edi
push 0x647660
push eax
call fcn.005a6c42
mov edi, eax
add esp, 8
test edi, edi
jne 0x43d8d7
pop edi
ret
cmp dword [esi + 0x74], 0
je 0x43d8e2
mov eax, dword [esi + 8]
jmp 0x43d8e4
xor eax, eax
mov ecx, dword [esi + 8]
push edi
push 1
push ecx
push esi
mov dword [esi + 0x10], eax
mov dword [esi + 0xc], 0
call fcn.005a8c68
mov eax, dword [esi + 0x74]
add esp, 0x10
test eax, eax
je 0x43d915
push 0
push 0xffffffffffffffff
push 0
push edi
push eax
call fcn.004c8c10
add esp, 0x14
cmp dword [esi + 0x14], 0
jle 0x43d958
cmp dword [esi + 0x78], 0
je 0x43d958
push edi
call fcn.005a9537
mov edx, dword [esi + 0x14]
add esp, 4
push edi
push edx
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x78]
push 1
push eax
call fcn.005a8c68
push 0
push 0
push edi
call fcn.005a931a
add esp, 0x1c
push edi
push 1
push 0x74
push esi
call fcn.005a8c68
add esp, 0x10
push edi
call fcn.005a6e16
add esp, 4
mov eax, 1
pop edi
ret

Function at 0x43d970
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, dword [esp + 0xc]
test ebp, ebp
jne 0x43d97f
xor eax, eax
pop ebp
ret 8
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push 0xc
push 1
push ebx
call fcn.005a9841
add esp, 0x10
cmp eax, 0xc
jae 0x43d99e
pop ebx
xor eax, eax
pop ebp
ret 8
push esi
push edi
mov edi, str.H5Stamp
mov esi, ebx
mov ecx, 8
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x43d9e2
mov eax, dword [ebx + 8]
cmp eax, 0xc
jb 0x43d9e2
lea esi, [eax - 0xc]
lea ecx, [esi + 4]
push ecx
call fcn.005a854a
push ebp
push esi
mov ebx, eax
push 1
push ebx
call fcn.005a9841
add esp, 0x14
cmp eax, esi
push ebx
jae 0x43d9eb
call fcn.005a8a7b
add esp, 4
pop edi
pop esi
pop ebx
xor eax, eax
pop ebp
ret 8
mov edi, dword [esp + 0x18]
add edi, 0xc
mov ecx, 0x1a
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
call fcn.005a8a7b
add esp, 4
pop edi
pop esi
pop ebx
mov eax, 1
pop ebp
ret 8
Function at 0x43da10
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x6197ca
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebp
push edi
mov eax, dword [0x69e3d4]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x2c]
mov eax, dword [esi + 0x10]
cmp eax, dword [esi + 8]
mov edi, 1
jl 0x43dab3
or edi, 0xffffffff
cmp dword [esi + 0x74], 0
jne 0x43da7d
push 0x480
call fcn.005655ab
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
mov dword [esp + 0x24], 0
je 0x43da74
push eax
call fcn.004e6580
jmp 0x43da76
xor eax, eax
mov dword [esp + 0x24], edi
mov dword [esi + 0x74], eax
lea ecx, [esp + 0x2c]
push ecx
mov ecx, dword [esi + 0x74]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x1c]
push eax
push ebp
push ecx
mov dword [esp + 0x28], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x24], edi
call fcn.004c8410
mov edi, eax
add esp, 0x14
test edi, edi
je 0x43daf2
mov edx, dword [esi + 0xc]
cmp edx, dword [esi + 8]
jl 0x43daf2
cmp dword [esi + 0x14], 0
jle 0x43daf2
mov eax, dword [esi + 0x78]
test eax, eax
je 0x43dad1
push eax
call fcn.005a8a7b
add esp, 4
mov eax, dword [esi + 0x14]
add eax, 1
push 1
push eax
call fcn.005a997a
mov ecx, dword [esi + 0x14]
push ebp
push ecx
push 1
push eax
mov dword [esi + 0x78], eax
call fcn.005a9841
add esp, 0x18
mov eax, edi
mov dword [esi + 8], 0x74
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
add esp, 0x1c
ret 4
Function at 0x43df00
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x61b87a
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push ebp
push edi
mov eax, dword [0x69e3d4]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x44]
push 0x480
call fcn.005655ab
add esp, 4
mov dword [esp + 0x44], eax
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x38], ebx
je 0x43df4f
push eax
call fcn.004e6580
mov edi, eax
jmp 0x43df51
xor edi, edi
mov dword [esp + 0x38], 0xffffffff
cmp dword [esi + 0x18], ebx
jg 0x43df72
mov eax, dword [esi + 0x74]
cmp eax, ebx
je 0x43df6a
mov eax, dword [eax + 0x24]
jmp 0x43df6f
mov eax, 0x64
mov dword [esi + 0x18], eax
cmp dword [esi + 0x1c], ebx
jg 0x43df8b
mov eax, dword [esi + 0x74]
cmp eax, ebx
je 0x43df83
mov eax, dword [eax + 0x28]
jmp 0x43df88
mov eax, 0x64
mov dword [esi + 0x1c], eax
cmp dword [esp + 0x40], ebx
jg 0x43df98
mov eax, dword [esi + 0x18]
mov dword [esp + 0x40], eax
cmp ebp, ebx
jg 0x43df9f
mov ebp, dword [esi + 0x1c]
mov ecx, dword [esp + 0x40]
push ebx
push ebx
push 0x18
push 1
push ebp
push ecx
push edi
call fcn.004e6fe0
mov edx, dword [esi + 0x30]
push edx
mov ecx, edi
call fcn.004e7b60
mov eax, dword [esi + 0x2c]
cmp eax, ebx
jle 0x43e029
mov ecx, dword [esp + 0x40]
cdq
sub eax, edx
sar eax, 1
neg eax
push eax
push eax
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], ebp
call dword [sym.imp.user32.dll_InflateRect]
mov ecx, dword [esi + 0x2c]
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, eax
cmp eax, ecx
je 0x43e008
mov eax, 1
sub dword [esp + 0x18], eax
sub dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x18]
push edx
mov edx, dword [esp + 0x18]
push eax
mov eax, dword [esi + 0x28]
push edx
push ebx
push ebx
push eax
push ecx
push edi
call fcn.004e9dd0
cmp dword [esi + 0x20], ebx
je 0x43e078
cmp dword [esi + 0x74], ebx
je 0x43e078
push 1
xor eax, eax
mov ecx, edi
call fcn.004e7a20
mov ecx, dword [esi + 0x2c]
mov edx, dword [esi + 0x38]
mov ebx, dword [esi + 0x3c]
add edx, ecx
add ebx, ecx
mov ecx, dword [esi + 0x74]
cmp dword [ecx + 0xc], 0
push ebx
push edx
je 0x43e067
mov edx, dword [ecx + 0x10]
push 0
push 0
push edx
mov ebx, eax
call fcn.004e85c0
jmp 0x43e071
push eax
xor eax, eax
xor edx, edx
call fcn.004e76b0
call fcn.004e7af0
xor ebx, ebx
mov edx, dword [esp + 0x40]
lea eax, [esp + 0x20]
push eax
push esi
mov ecx, ebp
call fcn.0043db60
mov ebp, eax
cmp ebp, ebx
je 0x43e0c4
push 1
xor eax, eax
mov ecx, edi
call fcn.004e7a20
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push ecx
mov ecx, dword [ebp + 0x10]
push edx
push ebx
push ebx
push ecx
mov ebx, eax
mov ecx, ebp
call fcn.004e85c0
call fcn.004e7af0
mov edx, dword [ebp]
mov eax, dword [edx + 4]
push 1
mov ecx, ebp
call eax
mov ecx, dword [esi + 0x34]
mov dword [edi + 0xc], ecx
mov edx, dword [esi + 0x30]
mov dword [edi + 0x10], edx
mov eax, edi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
add esp, 0x2c
ret 8
Function at 0x446920
Capabilities:
Create shortcut via ishelllink

Disassembly:
sub esp, 0x214
mov eax, dword [0x69e3d4]
xor eax, esp
mov dword [esp + 0x210], eax
cmp dword [0x6bcc48], 0
jne 0x44694f
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [0x6bcc48], 1
lea eax, [esp]
push eax
push 0x639900
push 1
push 0
push 0x639910
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x446a28
mov eax, dword [esp]
mov ecx, dword [eax]
push esi
lea edx, [esp + 8]
push edx
push 0x639960
push eax
mov eax, dword [ecx]
call eax
mov esi, eax
test esi, esi
jl 0x446a19
mov eax, dword [esp + 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x50]
push ebx
push eax
call edx
test eax, eax
jge 0x4469ad
push 0
push 0
push str.SetPath_failed_
call fcn.00572369
mov eax, dword [esp + 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
push str.HyperSnap_6
push eax
call edx
test eax, eax
jge 0x4469d0
push 0
push 0
push str.SetDescription_failed_
call fcn.00572369
push 0x104
lea eax, [esp + 0x10]
push eax
push 0xffffffffffffffff
push edi
push 0
push 0
call dword [sym.imp.kernel32.dll_MultiByteToWideChar]
mov eax, dword [esp + 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x24]
push str._APPDATA_
push eax
call edx
mov eax, dword [esp + 8]
mov ecx, dword [eax]
push 1
lea edx, [esp + 0x10]
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
mov esi, eax
mov eax, dword [esp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, esi
pop esi
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.005a58d9
add esp, 0x214
ret