joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402df0
Capabilities:
Hash data using fnv

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x447f95
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x20
push esi
push edi
mov eax, dword [0x45701c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, dword [ebx + 0xc]
mov edi, dword [ebx + 8]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x28], edi
movzx eax, byte [edx]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 1]
xor ecx, eax
movzx eax, byte [edx + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
push eax
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x20]
push edx
push eax
call fcn.00403d20
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x402e89
mov dword [edi], eax
mov byte [edi + 4], 0
jmp 0x402ffe
cmp dword [0x4597d8], 0xaaaaaaa
je 0x403016
mov dword [ebp - 0x30], 0x4597d4
mov dword [ebp - 4], 0
push 0x18
mov dword [ebp - 0x2c], 0
call fcn.00413564
mov ecx, dword [ebp - 0x14]
mov esi, eax
add esp, 4
mov dword [ebp - 0x2c], esi
mov ecx, dword [ecx]
mov dword [esi + 8], ecx
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [ebp - 4], 1
mov ecx, dword [0x4597d8]
lea eax, [ecx + 1]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4526c0]
mov eax, dword [0x4597ec]
cvtpd2ps xmm2, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x4526c0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
movss xmm0, dword [0x4597d0]
comiss xmm1, xmm0
jbe 0x402fa5
divss xmm2, xmm0
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x20], xmm0
fld qword [ebp - 0x20]
fstp qword [esp]
call fcn.00441ca0
fstp qword [ebp - 0x20]
movsd xmm0, qword [ebp - 0x20]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.00447ae0
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [0x4597ec]
cmp eax, ecx
jae 0x402f84
cmp eax, 0x200
jae 0x402f82
shl eax, 3
cmp eax, ecx
jae 0x402f84
mov eax, ecx
push eax
call fcn.004034f0
mov edi, dword [ebp - 0x24]
lea eax, [esi + 8]
push edi
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00403d20
mov ecx, dword [0x4597d8]
mov edx, dword [eax]
jmp 0x402fab
mov edx, dword [ebp - 0x20]
mov edi, dword [ebp - 0x24]
mov eax, dword [edx + 4]
inc ecx
mov dword [0x4597d8], ecx
mov dword [esi + 4], eax
mov dword [esi], edx
mov dword [eax], esi
mov dword [edx + 4], esi
mov ecx, dword [0x4597dc]
mov dword [ebp - 0x14], eax
mov eax, dword [0x4597e8]
and eax, edi
mov edi, dword [ecx + eax*8]
cmp edi, dword [0x4597d4]
jne 0x402fdf
mov dword [ecx + eax*8], esi
jmp 0x402ff1
cmp edi, edx
jne 0x402fe8
mov dword [ecx + eax*8], esi
jmp 0x402ff5
mov edx, dword [ebp - 0x14]
cmp dword [ecx + eax*8 + 4], edx
jne 0x402ff5
mov dword [ecx + eax*8 + 4], esi
mov edi, dword [ebp - 0x28]
mov dword [edi], esi
mov byte [edi + 4], 1
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
push str.unordered_map_set_too_long
call fcn.00410c3d
int3
Function at 0x4034f0
Capabilities:
Hash data using fnv

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
mov eax, 0x1fffffff
sub esp, 0x10
bsr ecx, eax
push esi
push edi
mov edi, 1
mov eax, edi
shl eax, cl
mov ecx, dword [ebx + 8]
cmp ecx, eax
ja 0x403696
lea eax, [ecx - 1]
mov esi, dword [0x4597d4]
or eax, edi
mov dword [ebp - 0xc], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
mov ecx, 0x4597dc
lea eax, [edi + edi]
push eax
call fcn.00402ab0
mov ecx, dword [0x4597d4]
lea eax, [edi - 1]
mov dword [0x4597e8], eax
mov dword [0x4597ec], edi
mov ecx, dword [ecx]
mov edx, ecx
cmp ecx, esi
je 0x403660
nop dword [eax]
movzx eax, byte [ecx + 8]
xor eax, 0x811c9dc5
mov edx, dword [edx]
imul edi, eax, 0x1000193
movzx eax, byte [ecx + 9]
xor edi, eax
movzx eax, byte [ecx + 0xa]
imul edi, edi, 0x1000193
xor edi, eax
movzx eax, byte [ecx + 0xb]
imul edi, edi, 0x1000193
xor edi, eax
mov eax, dword [0x4597dc]
imul edi, edi, 0x1000193
and edi, dword [0x4597e8]
lea eax, [eax + edi*8]
mov edi, dword [eax]
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], edi
cmp edi, esi
jne 0x4035c9
mov dword [eax], ecx
mov dword [eax + 4], ecx
jmp 0x403651
mov eax, dword [eax + 4]
mov edi, dword [ecx + 8]
cmp edi, dword [eax + 8]
jne 0x40360c
mov eax, dword [eax]
mov dword [ebp - 4], eax
cmp eax, ecx
je 0x403604
mov eax, dword [ecx + 4]
mov esi, dword [ebp - 4]
mov dword [ebp - 8], eax
mov dword [eax], edx
mov edi, dword [edx + 4]
mov eax, dword [ebp - 4]
mov dword [edi], eax
mov eax, dword [eax + 4]
mov dword [eax], ecx
mov dword [esi + 4], edi
mov edi, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov dword [edx + 4], edi
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x10]
mov dword [eax + 4], ecx
jmp 0x403651
mov edi, eax
cmp dword [ebp - 4], eax
je 0x403625
mov eax, dword [eax + 4]
mov edi, eax
mov esi, dword [ecx + 8]
cmp esi, dword [eax + 8]
je 0x40366b
cmp dword [ebp - 4], eax
jne 0x403613
mov eax, dword [ecx + 4]
mov dword [ebp - 4], eax
mov dword [eax], edx
mov eax, dword [edx + 4]
mov dword [ebp - 8], eax
mov esi, dword [ebp - 8]
mov dword [eax], edi
mov eax, dword [edi + 4]
mov dword [eax], ecx
mov dword [edi + 4], esi
mov esi, dword [ebp - 4]
mov dword [edx + 4], esi
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x10]
mov dword [eax], ecx
mov esi, dword [ebp - 0xc]
mov ecx, edx
cmp edx, esi
jne 0x403570
nop dword [eax + eax]
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
mov eax, dword [eax]
mov dword [ebp - 4], eax
mov eax, dword [ecx + 4]
mov esi, dword [ebp - 4]
mov dword [ebp - 8], eax
mov dword [eax], edx
mov edi, dword [edx + 4]
mov eax, dword [ebp - 4]
mov dword [edi], eax
mov eax, dword [eax + 4]
mov dword [eax], ecx
mov dword [esi + 4], edi
mov edi, dword [ebp - 8]
mov dword [edx + 4], edi
mov dword [ecx + 4], eax
jmp 0x40364e
push str.invalid_hash_bucket_count
call fcn.00410c3d
int3
Function at 0x403a70
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 0xc]
mov edx, ecx
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x14], edx
cmp ebx, eax
je 0x403be1
mov eax, dword [edx + 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 4]
mov dword [ebp - 8], eax
movzx eax, byte [ebx + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [ebx + 9]
push esi
push edi
mov edi, dword [edx + 0xc]
mov esi, ebx
xor ecx, eax
mov dword [ebp - 0x1c], edi
movzx eax, byte [ebx + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [ebx + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
mov eax, dword [edx + 0x18]
imul ecx, ecx, 0x1000193
and eax, ecx
mov ecx, dword [edi + eax*8]
mov dword [ebp - 4], ecx
lea eax, [edi + eax*8]
mov dword [ebp - 0xc], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
nop word [eax + eax]
mov edi, esi
mov ebx, esi
mov esi, dword [esi]
lea ecx, [edi + 0xc]
call fcn.00404000
push 0x18
push edi
call fcn.0041391e
mov edx, dword [ebp - 0x14]
add esp, 8
dec dword [edx + 8]
cmp ebx, dword [ebp - 0x10]
je 0x403b3d
mov eax, dword [ebp + 0xc]
cmp esi, eax
jne 0x403af0
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jne 0x403bd7
mov edi, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov dword [edi], esi
mov dword [ecx], esi
pop edi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
mov edi, dword [ebp - 0xc]
cmp ecx, dword [ebp + 8]
jne 0x403b51
mov eax, dword [ebp - 0x18]
mov ecx, eax
mov dword [edi], eax
jmp 0x403b54
mov ecx, dword [ebp - 8]
mov eax, dword [ebp + 0xc]
mov dword [edi + 4], ecx
cmp esi, eax
je 0x403bd7
nop
movzx eax, byte [esi + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [esi + 9]
xor ecx, eax
movzx eax, byte [esi + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [edx + 0x18]
and ecx, eax
mov eax, dword [ebp - 0x1c]
lea eax, [eax + ecx*8]
mov dword [ebp - 4], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
mov edi, esi
mov ebx, esi
mov esi, dword [esi]
lea ecx, [edi + 0xc]
call fcn.00404000
push 0x18
push edi
call fcn.0041391e
mov edx, dword [ebp - 0x14]
add esp, 8
mov eax, dword [ebp + 0xc]
dec dword [edx + 8]
cmp ebx, dword [ebp - 0x10]
je 0x403be8
cmp esi, eax
jne 0x403ba7
mov ecx, dword [ebp - 4]
mov dword [ecx], esi
mov ecx, dword [ebp - 8]
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
mov ebx, dword [ebp - 0x18]
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
cmp esi, eax
jne 0x403b60
mov ecx, dword [ebp - 8]
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x409320
Capabilities:
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x448655
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x45701c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x40], vtable.DownloadProgress.0
mov dword [ebp - 0x14], 0
lea eax, [ebp + 0x38]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x38]
call fcn.00409fb0
cmp dword [ebp + 0x34], 8
lea edx, [ebp - 0x40]
push edx
lea ecx, [ebp + 0x20]
cmovae ecx, dword [ebp + 0x20]
lea eax, [ebp + 8]
cmp dword [ebp + 0x1c], 8
push 0
cmovae eax, dword [ebp + 8]
push ecx
push eax
push 0
call dword [sym.imp.urlmon.dll_URLDownloadToFileW]
cmp dword [ebp + 0x1c], 8
lea ecx, [ebp + 8]
mov esi, eax
cmovae ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
mov ecx, dword [ebp - 0x14]
test esi, esi
setns bl
test ecx, ecx
je 0x4093cd
mov edx, dword [ecx]
lea eax, [ebp - 0x38]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebp - 0x14], 0
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x409407
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4093fd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40949a
push edx
push ecx
call fcn.0041391e
add esp, 8
mov edx, dword [ebp + 0x34]
xor eax, eax
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 7
mov word [ebp + 8], ax
cmp edx, 8
jb 0x409451
mov ecx, dword [ebp + 0x20]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x409447
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40949a
push edx
push ecx
call fcn.0041391e
add esp, 8
mov ecx, dword [ebp + 0x5c]
xor eax, eax
mov dword [ebp + 0x30], 0
mov dword [ebp + 0x34], 7
mov word [ebp + 0x20], ax
test ecx, ecx
je 0x40947d
mov esi, dword [ecx]
lea eax, [ebp + 0x38]
cmp ecx, eax
setne dl
movzx edx, dl
push edx
call dword [esi + 0x10]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00413335
mov esp, ebp
pop ebp
ret
call fcn.0041e009
int3
Function at 0x434829
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004342b9

Function at 0x434cc5
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00434bd9
Function at 0x4032a2
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x589514
call fcn.00552eac
push ecx
push ecx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
and dword [ebp - 4], 0
lea edi, [esi + 0x38]
mov dword [ebp - 0x14], edi
lea ecx, [edi + 0xc]
mov byte [ebp - 4], 3
call fcn.00570c8e
lea ecx, [edi + 8]
mov byte [ebp - 4], 2
call fcn.00570c8e
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 1
call fcn.00570c8e
and byte [ebp - 4], 0
lea ecx, [esi + 0x2c]
call fcn.00570c8e
or dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0x20]
call fcn.00570c8e
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x4092f0
Capabilities:
Get common file path
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c0
lea eax, [ebp - 0x20c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x409336
xor eax, eax
cmp dword [ebp + 8], eax
sete al
or ah, 0x40
push eax
lea eax, [ebp - 0x4c0]
push 0x2b4
push eax
lea eax, [ebp - 0x20c]
push 0
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
leave
ret 4
Function at 0x40c341
Capabilities:
Check os version

Disassembly:
mov eax, 0x58a01f
call fcn.00552eac
sub esp, 0x118
push ebx
push esi
push edi
xor ebx, ebx
push dword [ebp + 0x1c]
mov esi, ecx
mov dword [ebp - 0x10], esi
push ebx
call fcn.00571709
mov eax, dword [0x67c5c0]
mov dword [ebp - 4], ebx
mov dword [esi + 0x64], eax
cmp dword [ebp + 0x20], ebx
mov byte [ebp - 4], 1
mov dword [esi], 0x5a4b90
jne 0x40c3c7
mov edi, 0x114
lea eax, [ebp - 0x124]
push edi
push ebx
push eax
call fcn.00552fb0
add esp, 0xc
lea eax, [ebp - 0x124]
mov dword [ebp - 0x124], edi
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x114], 2
jne 0x40c3c0
cmp dword [ebp - 0x120], 5
mov dword [ebp + 0x20], 0x58
jae 0x40c3c7
mov dword [ebp + 0x20], 0x4c
push dword [ebp + 0x20]
call fcn.0055378d
cmp eax, ebx
pop ecx
mov dword [esi + 0x5c], eax
jne 0x40c3dc
call fcn.0056d2ff
push dword [ebp + 0x20]
mov ecx, esi
push ebx
call fcn.0040c5a1
push eax
call fcn.00552fb0
push 0x200002
call fcn.0057055e
mov dword [esi + 0xe8], eax
mov word [eax], bx
mov eax, dword [ebp + 8]
add esp, 0x10
mov dword [esi + 0x60], eax
lea edi, [esi + 0x68]
neg eax
sbb eax, eax
mov ecx, esi
add eax, 0x7005
mov word [edi], bx
mov dword [esi + 0xec], ebx
mov dword [esi + 0x3c], eax
call fcn.0040c5a1
mov ecx, dword [ebp + 0x20]
mov dword [eax], ecx
mov ecx, esi
call fcn.0040c5a1
mov ecx, dword [esi + 0xe8]
mov dword [eax + 0x1c], ecx
mov ecx, esi
call fcn.0040c5a1
mov ecx, esi
mov dword [eax + 0x20], 0x100000
call fcn.0040c5a1
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0x3c], ecx
mov ecx, esi
call fcn.0040c5a1
mov ecx, esi
mov dword [eax + 0x24], edi
call fcn.0040c5a1
mov ecx, esi
mov dword [eax + 0x28], 0x40
call fcn.0040c5a1
mov ecx, dword [ebp + 0x14]
add eax, 0x34
or ecx, 0x880020
or dword [eax], ecx
test byte [ebp + 0x14], 0x40
je 0x40c499
mov ecx, esi
call fcn.0040c5a1
add eax, 0x34
and byte [eax + 2], 0x7f
call fcn.00585394
mov edi, dword [eax + 0xc]
mov ecx, esi
call fcn.0040c5a1
mov ecx, esi
mov dword [eax + 8], edi
call fcn.0040c5a1
cmp dword [ebp + 0x10], ebx
mov dword [eax + 0x44], 0x40c1c4
je 0x40c4d2
push 0x100000
push dword [ebp + 0x10]
push dword [esi + 0xe8]
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
cmp dword [ebp + 0x18], ebx
je 0x40c511
push dword [ebp + 0x18]
lea edi, [esi + 0x64]
mov ecx, edi
call fcn.00570e25
push ebx
mov ecx, edi
call fcn.005710d3
push 0x7c
push eax
call fcn.00553764
pop ecx
cmp eax, ebx
pop ecx
je 0x40c504
mov word [eax], bx
push 0x7c
add eax, 2
jmp 0x40c4ee
mov edi, dword [esi + 0x64]
mov ecx, esi
call fcn.0040c5a1
mov dword [eax + 0xc], edi
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x1c
Function at 0x410662
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x58a488
call fcn.00552eac
sub esp, 0xc
push ebx
push esi
push edi
mov esi, ecx
push dword [ebp + 8]
lea ecx, [ebp - 0x18]
call fcn.00570d02
mov eax, dword [ebp - 0x18]
xor edi, edi
mov dword [ebp - 4], edi
cmp dword [eax - 8], edi
jne 0x41069c
push eax
mov ecx, esi
call fcn.005707eb
or ebx, 0xffffffff
jmp 0x41072e
mov edx, dword [esi]
push eax
push edi
mov ecx, esi
call dword [edx + 0xe0]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x41070e
mov eax, dword [esi]
or dword [ebp - 0x10], 0xffffffff
or dword [ebp - 0x14], 0xffffffff
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x10]
push ecx
push ebx
mov ecx, esi
call dword [eax + 0xd4]
push ebx
mov ecx, esi
call fcn.0056e635
cmp dword [ebp - 0x10], edi
jge 0x4106f8
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4106f8
push edi
push 1
push dword [ebp + 8]
call fcn.004139b9
add esp, 0xc
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
push dword [ebp - 0x14]
mov eax, dword [esi]
mov ecx, esi
push dword [ebp - 0x10]
push dword [ebp + 8]
push edi
call dword [eax + 0xd8]
jmp 0x41071c
push dword [ebp - 0x18]
mov eax, dword [esi]
mov ecx, esi
push edi
call dword [eax + 0xf0]
mov ebx, eax
push edi
push ebx
push 0x14e
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_SendMessageW]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00570c8e
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, ebx
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8

Function at 0x411dcb
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x58a63c
call fcn.00552eac
sub esp, 0x80
push ebx
push esi
mov esi, dword [ebp + 8]
push dword [ebp + 0xc]
mov ecx, esi
call fcn.0057ac62
cmp dword [esi], 0
mov ebx, eax
je 0x411e18
lea eax, [ebp - 0x8c]
push 0x40
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x8c]
push eax
call fcn.0041b579
pop ecx
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov dword [ecx + 4], edx
jmp 0x411e4b
mov eax, dword [ebp + 0x10]
push 1
push 1
push 0
push dword [eax + 4]
push dword [eax]
lea eax, [ebp + 0x10]
push eax
call fcn.0041b380
add esp, 0x18
push dword [ebp + 0x10]
and dword [ebp - 4], 0
push ebx
call fcn.00579951
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.00570c8e
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc

Function at 0x4122ae
Capabilities:
Read clipboard data

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
push 0x680e9c
mov ecx, edi
call fcn.00570e25
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
je 0x4122e0
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
jne 0x4122e4
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
xor eax, eax
jmp 0x41230b
push eax
mov ecx, edi
call fcn.00570e25
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
cmp dword [esp + 0x10], 0
je 0x412308
mov ecx, edi
call fcn.0056cb83
mov ecx, edi
call fcn.0056caf7
push 1
pop eax
pop edi
pop esi
ret 8
Function at 0x4123c8
Capabilities:
Copy file

Disassembly:
mov eax, 0x58a704
call fcn.00552eac
mov eax, 0x1024
call fcn.00553b60
push ebx
lea ecx, [ebp - 0x10]
push dword [ebp + 0xc]
call fcn.00570d02
xor ebx, ebx
cmp dword [ebp + 0x10], ebx
mov dword [ebp - 4], ebx
jne 0x412418
push dword [ebp + 0xc]
lea eax, [ebp + 0x10]
push eax
call fcn.004131d6
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.00570dd5
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], bl
call fcn.00570c8e
push dword [ebp - 0x10]
call fcn.0041344b
cmp eax, 0xffffffff
pop ecx
jne 0x41242d
push 0xfffffffffffffffe
jmp 0x4124f3
push esi
mov esi, 0x3ff
push esi
lea eax, [ebp - 0x830]
push dword [ebp + 8]
push eax
call fcn.00553008
lea eax, [ebp - 0x830]
push eax
call fcn.005531f0
mov word [ebp + eax*2 - 0x82e], bx
lea eax, [ebp - 0x830]
push 0x7c
push eax
call fcn.00553764
add esp, 0x18
cmp eax, ebx
je 0x41247e
mov word [eax], bx
add eax, 2
push 0x7c
push eax
call fcn.00553764
pop ecx
pop ecx
jmp 0x412468
push esi
lea eax, [ebp - 0x1030]
push dword [ebp + 0xc]
push eax
call fcn.00553008
lea eax, [ebp - 0x1030]
push eax
call fcn.005531f0
mov word [ebp + eax*2 - 0x102e], bx
push 0x1e
lea eax, [ebp - 0x30]
push ebx
push eax
call fcn.00552fb0
mov eax, dword [ebp + 0x18]
add esp, 0x1c
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x830]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x1030]
mov dword [ebp - 0x24], eax
mov ax, word [ebp + 0x14]
mov word [ebp - 0x20], ax
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x2c], 2
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
pop esi
je 0x4124ec
or ebx, 0xffffffff
jmp 0x4124f4
cmp dword [ebp - 0x1e], ebx
je 0x4124f4
push 1
pop ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00570c8e
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x4125c1
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x820
push 0x3ff
lea eax, [ebp - 0x820]
push dword [ebp + 8]
push eax
call fcn.00553008
lea eax, [ebp - 0x820]
push eax
call fcn.005531f0
and word [ebp + eax*2 - 0x81e], 0
push 0x1e
lea eax, [ebp - 0x20]
push 0
push eax
call fcn.00552fb0
mov eax, dword [ebp + 0x10]
add esp, 0x1c
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x820]
mov dword [ebp - 0x18], eax
mov ax, word [ebp + 0xc]
mov word [ebp - 0x10], ax
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x1c], 3
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
je 0x412634
or eax, 0xffffffff
leave
ret
xor eax, eax
cmp dword [ebp - 0xe], eax
setne al
leave
ret
Function at 0x412ec0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x14], 0
push esi
jne 0x412eee
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
shl eax, 1
push eax
push dword [ebp + 0x10]
push 1
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueW]
neg eax
sbb eax, eax
inc eax
jmp 0x412f3d
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x412f3b
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push dword [ebp + 0x10]
push 1
push 0
push dword [ebp + 0x14]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp + 0xc]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x412f3b
test esi, esi
jne 0x412f3b
push 1
pop eax
jmp 0x412f3d
xor eax, eax
pop esi
pop ebp
ret 0x10

Function at 0x412f42
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
push esi
push edi
push dword [ebp + 0xc]
call fcn.0055320d
pop ecx
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [esi + eax*2]
test eax, eax
je 0x412fbe
and word [eax], 0
lea eax, [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x412fbe
lea eax, [ebp - 0x20c]
xor edi, edi
push 0x105
push eax
push edi
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x412f9b
push 1
pop edi
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
jne 0x412fbe
push esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push 0x5c
push esi
call fcn.005539b0
pop ecx
pop ecx
jmp 0x412f62
push esi
call fcn.005538c7
pop ecx
push 1
pop eax
pop edi
pop esi
leave
ret 8