joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4072c0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
test eax, eax
je 0x40756c
test edx, edx
je 0x40756c
movups xmm0, xmmword [eax]
xorps xmm4, xmm4
lea edx, [edx + 0x10]
cmp ecx, 0x100
je 0x407480
cmp ecx, 0xc0
je 0x4073a0
cmp ecx, 0x80
jne 0x407574
nop
nop
nop
mov ecx, 9
movups xmmword [edx - 0x10], xmm0
aeskeygenassist xmm1, xmm0, 1
call fcn.00407386
aeskeygenassist xmm1, xmm0, 2
call fcn.00407380
aeskeygenassist xmm1, xmm0, 4
call fcn.00407380
aeskeygenassist xmm1, xmm0, 8
call fcn.00407380
aeskeygenassist xmm1, xmm0, 0x10
call fcn.00407380
aeskeygenassist xmm1, xmm0, 0x20
call fcn.00407380
aeskeygenassist xmm1, xmm0, 0x40
call fcn.00407380
aeskeygenassist xmm1, xmm0, 0x80
call fcn.00407380
aeskeygenassist xmm1, xmm0, 0x1b
call fcn.00407380
aeskeygenassist xmm1, xmm0, 0x36
call fcn.00407380
movups xmmword [edx], xmm0
mov dword [edx + 0x50], ecx
xor eax, eax
ret
movq xmm2, qword [eax + 0x10]
mov ecx, 0xb
movups xmmword [edx - 0x10], xmm0
aeskeygenassist xmm1, xmm2, 1
call fcn.00407420
aeskeygenassist xmm1, xmm2, 2
call fcn.00407460
aeskeygenassist xmm1, xmm2, 4
call fcn.00407410
aeskeygenassist xmm1, xmm2, 8
call fcn.00407460
aeskeygenassist xmm1, xmm2, 0x10
call fcn.00407410
aeskeygenassist xmm1, xmm2, 0x20
call fcn.00407460
aeskeygenassist xmm1, xmm2, 0x40
call fcn.00407410
aeskeygenassist xmm1, xmm2, 0x80
call fcn.00407460
movups xmmword [edx], xmm0
mov dword [edx + 0x30], ecx
xor eax, eax
ret
movups xmm2, xmmword [eax + 0x10]
mov ecx, 0xd
lea edx, [edx + 0x10]
movups xmmword [edx - 0x20], xmm0
movups xmmword [edx - 0x10], xmm2
aeskeygenassist xmm1, xmm2, 1
call fcn.00407536
aeskeygenassist xmm1, xmm0, 1
call fcn.00407550
aeskeygenassist xmm1, xmm2, 2
call fcn.00407530
aeskeygenassist xmm1, xmm0, 2
call fcn.00407550
aeskeygenassist xmm1, xmm2, 4
call fcn.00407530
aeskeygenassist xmm1, xmm0, 4
call fcn.00407550
aeskeygenassist xmm1, xmm2, 8
call fcn.00407530
aeskeygenassist xmm1, xmm0, 8
call fcn.00407550
aeskeygenassist xmm1, xmm2, 0x10
call fcn.00407530
aeskeygenassist xmm1, xmm0, 0x10
call fcn.00407550
aeskeygenassist xmm1, xmm2, 0x20
call fcn.00407530
aeskeygenassist xmm1, xmm0, 0x20
call fcn.00407550
aeskeygenassist xmm1, xmm2, 0x40
call fcn.00407530
movups xmmword [edx], xmm0
mov dword [edx + 0x10], ecx
xor eax, eax
ret
mov eax, 0xffffffff
ret
mov eax, 0xfffffffe
ret

Function at 0x4075a0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
call fcn.004072c0
mov edx, dword [esp + 0xc]
shl ecx, 4
test eax, eax
jne 0x407609
lea eax, [edx + ecx + 0x10]
movups xmm0, xmmword [edx]
movups xmm1, xmmword [eax]
movups xmmword [eax], xmm0
movups xmmword [edx], xmm1
lea edx, [edx + 0x10]
lea eax, [eax - 0x10]
movups xmm0, xmmword [edx]
movups xmm1, xmmword [eax]
aesimc xmm0, xmm0
aesimc xmm1, xmm1
lea edx, [edx + 0x10]
lea eax, [eax - 0x10]
movups xmmword [eax + 0x10], xmm0
movups xmmword [edx - 0x10], xmm1
cmp eax, edx
ja 0x4075d6
movups xmm0, xmmword [edx]
aesimc xmm0, xmm0
movups xmmword [edx], xmm0
xor eax, eax
ret
Function at 0x407680
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push esi
push edi
call fcn.00407689

Function at 0x40a440
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push esi
push edi
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ebx, esp
call fcn.0040a457

Function at 0x40a840
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push esi
push edi
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ebx, esp
call fcn.0040a857

Function at 0x410180
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push esi
push edi
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x24]
mov esi, dword [ebx]
mov edi, dword [ebx + 4]
push edi
push esi
push edi
push esi
mov ebx, esp
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x38]
push ecx
mov eax, dword [esp + 0x34]
push eax
push ebx
cmp ecx, 0
je 0x41025b
and ebp, 0xfffffff8
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
je 0x4101f6
mov ecx, dword [esi]
mov edx, dword [esi + 4]
xor eax, ecx
xor ebx, edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebx
call fcn.0040fdc0
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov dword [edi], eax
mov dword [edi + 4], ebx
add esi, 8
add edi, 8
sub ebp, 8
jne 0x4101c4
mov ebp, dword [esp + 0x38]
and ebp, 7
je 0x410314
call fcn.00410208
and ebp, 0xfffffff8
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
je 0x4102b3
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebx
call fcn.0040fdc0
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
xor ecx, eax
xor edx, ebx
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [edi], ecx
mov dword [edi + 4], edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ebx
add esi, 8
add edi, 8
sub ebp, 8
jne 0x41026c
mov ebp, dword [esp + 0x38]
and ebp, 7
je 0x410314
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebx
call fcn.0040fdc0
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
xor ecx, eax
xor edx, ebx
mov eax, dword [esi]
mov ebx, dword [esi + 4]
ror edx, 0x10
mov byte [edi + 6], dl
shr edx, 0x10
mov byte [edi + 5], dh
mov byte [edi + 4], dl
mov dword [edi], ecx
jmp 0x41030f
jmp 0x410314
mov ecx, dword [esp + 0x40]
add esp, 0x1c
mov dword [ecx], eax
mov dword [ecx + 4], ebx
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x410380
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push esi
push edi
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x2c]
mov esi, dword [ebx]
mov edi, dword [ebx + 4]
push edi
push esi
push edi
push esi
mov ebx, esp
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x38]
push eax
push ebx
cmp ecx, 0
je 0x410464
and ebp, 0xfffffff8
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
je 0x4103ff
mov ecx, dword [esi]
mov edx, dword [esi + 4]
xor eax, ecx
xor ebx, edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
call fcn.0040ff20
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov dword [edi], eax
mov dword [edi + 4], ebx
add esi, 8
add edi, 8
sub ebp, 8
jne 0x4103cd
mov ebp, dword [esp + 0x3c]
and ebp, 7
je 0x41051d
call fcn.00410411
and ebp, 0xfffffff8
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
je 0x4104bc
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
call fcn.00410050
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
xor ecx, eax
xor edx, ebx
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [edi], ecx
mov dword [edi + 4], edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebx
add esi, 8
add edi, 8
sub ebp, 8
jne 0x410475
mov ebp, dword [esp + 0x3c]
and ebp, 7
je 0x41051d
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
call fcn.00410050
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
xor ecx, eax
xor edx, ebx
mov eax, dword [esi]
mov ebx, dword [esi + 4]
ror edx, 0x10
mov byte [edi + 6], dl
shr edx, 0x10
mov byte [edi + 5], dh
mov byte [edi + 4], dl
mov dword [edi], ecx
jmp 0x410518
jmp 0x41051d
mov ecx, dword [esp + 0x4c]
add esp, 0x20
mov dword [ecx], eax
mov dword [ecx + 4], ebx
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x411a80
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push esi
push edi
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x24]
mov esi, dword [ebx]
mov edi, dword [ebx + 4]
push edi
push esi
push edi
push esi
mov ebx, esp
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x30]
push eax
push ebx
cmp ecx, 0
je 0x411b6a
and ebp, 0xfffffff8
mov eax, dword [esp + 8]
mov ebx, dword [esp + 0xc]
je 0x411afd
mov ecx, dword [esi]
mov edx, dword [esi + 4]
xor eax, ecx
xor ebx, edx
bswap eax
bswap ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
call fcn.00411240
mov eax, dword [esp + 8]
mov ebx, dword [esp + 0xc]
bswap eax
bswap ebx
mov dword [edi], eax
mov dword [edi + 4], ebx
add esi, 8
add edi, 8
sub ebp, 8
jne 0x411ac3
mov ebp, dword [esp + 0x34]
and ebp, 7
je 0x411c33
call fcn.00411b0f
and ebp, 0xfffffff8
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
je 0x411bca
mov eax, dword [esi]
mov ebx, dword [esi + 4]
bswap eax
bswap ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
call fcn.00411660
mov eax, dword [esp + 8]
mov ebx, dword [esp + 0xc]
bswap eax
bswap ebx
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
xor ecx, eax
xor edx, ebx
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [edi], ecx
mov dword [edi + 4], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
add esi, 8
add edi, 8
sub ebp, 8
jne 0x411b7b
mov ebp, dword [esp + 0x34]
and ebp, 7
je 0x411c33
mov eax, dword [esi]
mov ebx, dword [esi + 4]
bswap eax
bswap ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
call fcn.00411660
mov eax, dword [esp + 8]
mov ebx, dword [esp + 0xc]
bswap eax
bswap ebx
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
xor ecx, eax
xor edx, ebx
mov eax, dword [esi]
mov ebx, dword [esi + 4]
ror edx, 0x10
mov byte [edi + 6], dl
shr edx, 0x10
mov byte [edi + 5], dh
mov byte [edi + 4], dl
mov dword [edi], ecx
jmp 0x411c2e
jmp 0x411c33
mov ecx, dword [esp + 0x3c]
add esp, 0x18
mov dword [ecx], eax
mov dword [ecx + 4], ebx
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x412610
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push esi
push edi
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x24]
mov esi, dword [ebx]
mov edi, dword [ebx + 4]
push edi
push esi
push edi
push esi
mov ebx, esp
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x30]
push eax
push ebx
cmp ecx, 0
je 0x4126fa
and ebp, 0xfffffff8
mov eax, dword [esp + 8]
mov ebx, dword [esp + 0xc]
je 0x41268d
mov ecx, dword [esi]
mov edx, dword [esi + 4]
xor eax, ecx
xor ebx, edx
bswap eax
bswap ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
call fcn.00411cc0
mov eax, dword [esp + 8]
mov ebx, dword [esp + 0xc]
bswap eax
bswap ebx
mov dword [edi], eax
mov dword [edi + 4], ebx
add esi, 8
add edi, 8
sub ebp, 8
jne 0x412653
mov ebp, dword [esp + 0x34]
and ebp, 7
je 0x4127c3
call fcn.0041269f
and ebp, 0xfffffff8
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
je 0x41275a
mov eax, dword [esi]
mov ebx, dword [esi + 4]
bswap eax
bswap ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
call fcn.00412170
mov eax, dword [esp + 8]
mov ebx, dword [esp + 0xc]
bswap eax
bswap ebx
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
xor ecx, eax
xor edx, ebx
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [edi], ecx
mov dword [edi + 4], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
add esi, 8
add edi, 8
sub ebp, 8
jne 0x41270b
mov ebp, dword [esp + 0x34]
and ebp, 7
je 0x4127c3
mov eax, dword [esi]
mov ebx, dword [esi + 4]
bswap eax
bswap ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
call fcn.00412170
mov eax, dword [esp + 8]
mov ebx, dword [esp + 0xc]
bswap eax
bswap ebx
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
xor ecx, eax
xor edx, ebx
mov eax, dword [esi]
mov ebx, dword [esi + 4]
ror edx, 0x10
mov byte [edi + 6], dl
shr edx, 0x10
mov byte [edi + 5], dh
mov byte [edi + 4], dl
mov dword [edi], ecx
jmp 0x4127be
jmp 0x4127c3
mov ecx, dword [esp + 0x3c]
add esp, 0x18
mov dword [ecx], eax
mov dword [ecx + 4], ebx
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4130a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push esi
push edi
sub esp, 0x10
mov ebp, dword [esp + 0x24]
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0xc]
bswap eax
bswap ebx
bswap ecx
bswap edx
mov dword [edi], eax
mov dword [edi + 4], ebx
mov dword [edi + 8], ecx
mov dword [edi + 0xc], edx
cmp ebp, 0x80
je 0x413124
mov eax, dword [esi + 0x10]
mov ebx, dword [esi + 0x14]
cmp ebp, 0xc0
je 0x4130fc
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x1c]
jmp 0x413104
mov ecx, eax
mov edx, ebx
not ecx
not edx
bswap eax
bswap ebx
bswap ecx
bswap edx
mov dword [edi + 0x20], eax
mov dword [edi + 0x24], ebx
mov dword [edi + 0x28], ecx
mov dword [edi + 0x2c], edx
xor eax, dword [edi]
xor ebx, dword [edi + 4]
xor ecx, dword [edi + 8]
xor edx, dword [edi + 0xc]
nop
call fcn.00413129
Function at 0x414ac0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push esi
push edi
mov ecx, dword [esp + 0x1c]
cmp ecx, 0
je 0x414c10
pushfd
cld
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
mov ebp, dword [esp + 0x28]
lea esi, [esp - 0x40]
and esi, 0xffffffc0
lea edi, [edx - 0x7f]
sub edi, esi
neg edi
and edi, 0x3c0
sub esi, edi
mov edi, dword [esp + 0x2c]
xchg esi, esp
add esp, 4
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], ebp
call fcn.00414b1f

Function at 0x416780
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push esi
push edi
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov eax, esp
sub esp, 0x94
and esp, 0xffffffc0
lea ebx, [esp + 0x80]
mov dword [ebx], esi
mov dword [ebx + 4], edi
mov dword [ebx + 8], ebp
mov dword [ebx + 0x10], eax
call fcn.004167b2

Function at 0x419050
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push 0
push dword [esi + 0x474]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
cmp dword [esi + 0x410], eax
sete al
mov dword [esi + 0x410], eax
test eax, eax
je 0x419084
mov dword [esi + 0x4c0], 1
push eax
push dword [esi + 0x4f0]
call fcn.00422540
add esp, 8
cmp dword [esi + 0x410], 0
je 0x4190a0
xor eax, eax
jmp 0x4190a6
mov eax, dword [esi + 0x434]
push eax
push dword [esi + 0x474]
call dword [sym.imp.USER32.dll_SetParent]
push esi
call fcn.00418cc0
add esp, 4
push 5
push dword [esi + 0x474]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 0x474]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
cmp dword [esi + 0x410], 0
jne 0x4190e9
mov dword [esi + 0x4c0], 0
pop esi
pop ebp
ret
Function at 0x419270
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x63e758]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov ebx, dword [eax + 0x130]
xor esi, esi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x90
mov dword [ebp - 0x20], eax
call edi
test ax, ax
mov ecx, 2
push 0x14
cmovne esi, ecx
call edi
test ax, ax
je 0x4192b5
or esi, 4
push 0x91
call edi
test ax, ax
je 0x4192c4
or esi, 1
push 0x15
call edi
test ax, ax
je 0x4192d0
or esi, 8
mov eax, dword [ebx + 0x54]
push esi
push ebx
call eax
add esp, 8
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov esi, dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
push eax
push dword [esi + 0x474]
call dword [sym.imp.USER32.dll_ScreenToClient]
lea eax, [ebp - 0x14]
push eax
push dword [esi + 0x474]
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [ebp - 0x14]
jl 0x419331
cmp ecx, dword [ebp - 0xc]
jge 0x419331
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x10]
jl 0x419331
cmp eax, dword [ebp - 8]
jge 0x419331
push eax
mov eax, dword [ebx + 0x4c]
push ecx
push 0x800
push ebx
call eax
add esp, 0x10
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005802ce
mov esp, ebp
pop ebp
ret

Function at 0x41a380
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push edi
mov edi, dword [eax + 0x140]
cmp dword [edi + 0x3078], 0
je case.default.0x41a3b5
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
je case.default.0x41a3b5
mov eax, dword [ebp + 0x10]
dec eax
cmp eax, 7
ja case.default.0x41a3b5
jmp dword [eax*4 + 0x41a420]
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov eax, dword [ecx + 8]
sub eax, dword [ecx]
imul eax, dword [edi + 0x410]
div dword [edi + 0x408]
pop edi
add eax, dword [ecx + 4]
mov dword [ecx + 0xc], eax
pop ebp
ret
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov eax, dword [ecx + 0xc]
sub eax, dword [ecx + 4]
imul eax, dword [edi + 0x408]
div dword [edi + 0x410]
pop edi
add eax, dword [ecx]
mov dword [ecx + 8], eax
pop ebp
ret
push esi
mov esi, dword [ebp + 0xc]
xor edx, edx
mov eax, dword [esi + 0xc]
sub eax, dword [esi + 4]
imul eax, dword [edi + 0x408]
mov ecx, dword [esi + 8]
div dword [edi + 0x410]
sub ecx, eax
mov dword [esi], ecx
pop esi
pop edi
pop ebp
ret
Function at 0x41c150
Capabilities:
Open clipboard

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x63e758]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x408], eax
test eax, eax
jne 0x41c183
mov eax, 0x54f
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005802ce
mov esp, ebp
pop ebp
ret
push dword [eax + 0x24]
xorps xmm0, xmm0
movdqu xmmword [ebp - 0x418], xmm0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x41c170
push edi
push 8
call dword [sym.imp.USER32.dll_CountClipboardFormats]
push eax
call fcn.00580d1f
mov edi, eax
add esp, 8
test edi, edi
jne 0x41c1cb
call dword [sym.imp.USER32.dll_CloseClipboard]
lea eax, [edi + 0xc]
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005802ce
mov esp, ebp
pop ebp
ret
push ebx
push esi
push 0xf
xor esi, esi
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x41c1fb
mov esi, dword [sym.imp.USER32.dll_RegisterClipboardFormatW]
push str.FileGroupDescriptorW
call esi
push str.FileContents
mov dword [edi], eax
call esi
mov dword [edi + 8], eax
mov esi, 2
jmp 0x41c21b
mov ebx, dword [sym.imp.USER32.dll_EnumClipboardFormats]
push 0
call ebx
test eax, eax
je 0x41c21b
lea esp, [esp]
mov dword [edi + esi*8], eax
inc esi
push eax
call ebx
test eax, eax
jne 0x41c210
call dword [sym.imp.USER32.dll_CloseClipboard]
test eax, eax
jne 0x41c244
push edi
call fcn.00580204
add esp, 4
mov eax, 0x54f
pop esi
pop ebx
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005802ce
mov esp, ebp
pop ebp
ret
xor ebx, ebx
test esi, esi
je 0x41c281
lea ebx, [ebx]
push 0x400
lea eax, [ebp - 0x404]
push eax
push dword [edi + ebx*8]
call dword [sym.imp.USER32.dll_GetClipboardFormatNameA]
test eax, eax
je 0x41c27c
lea eax, [ebp - 0x404]
push eax
call fcn.00580c20
add esp, 4
mov dword [edi + ebx*8 + 4], eax
inc ebx
cmp ebx, esi
jb 0x41c250
mov eax, dword [ebp - 0x408]
lea ecx, [ebp - 0x418]
push ecx
mov dword [ebp - 0x410], esi
mov dword [ebp - 0x40c], edi
mov eax, dword [eax + 8]
push eax
mov eax, dword [eax + 0x18]
call eax
add esp, 8
mov dword [ebp - 0x408], eax
test esi, esi
je 0x41c2c3
lea ebx, [edi + 4]
push dword [ebx]
call fcn.00580204
add esp, 4
lea ebx, [ebx + 8]
dec esi
jne 0x41c2b3
push edi
call fcn.00580204
mov ecx, dword [ebp - 4]
add esp, 4
mov eax, dword [ebp - 0x408]
xor ecx, ebp
pop esi
pop ebx
pop edi
call fcn.005802ce
mov esp, ebp
pop ebp
ret
Function at 0x41c750
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
push esi
xor esi, esi
test eax, eax
je 0x41c7ee
cmp dword [ebp + 0xc], esi
je 0x41c7ee
mov ebx, dword [ebp + 0x1c]
test ebx, ebx
je 0x41c7ee
push edi
push esi
push 0x2000080
push 3
push esi
push 1
push connect
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x41c798
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
push 0
lea eax, [ebp + 0x14]
push eax
push dword [ebp + 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x41c7ca
push 0
lea eax, [ebp + 8]
push eax
push dword [ebp + 0x18]
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
mov ecx, 1
cmovne esi, ecx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x41c7de
xor esi, esi
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret
test esi, esi
je 0x41c7e7
mov ecx, dword [ebp + 8]
mov dword [ebx], ecx
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret
push 4
push str.com.freerdp.client.windows
call fcn.0042f4e0
add esp, 4
push eax
call fcn.0042f7e0
add esp, 8
test eax, eax
je 0x41c838
push str.get_file_contents_Invalid_Arguments.
push str.wf_cliprdr_get_file_contents
push str.C:BuildFreeRDP_stable_1.1BuildFreeRDPclientWindowswf_cliprdr.c
push 0x673
push 4
push 0
push str.com.freerdp.client.windows
call fcn.0042f4e0
add esp, 4
push eax
call fcn.0042fce0
add esp, 0x1c
pop esi
xor eax, eax
pop ebx
pop ebp
ret

Function at 0x41c840
Capabilities:
Get file attributes
Get file size

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x250
push 1
call fcn.00580d1f
mov esi, eax
add esp, 8
test esi, esi
jne 0x41c85c
pop esi
pop ebp
ret
push ebx
mov ebx, dword [ebp + 8]
push edi
push 0
push 0x2000080
push 3
push 0
push 1
push connect
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x41c891
push esi
call fcn.00580204
add esp, 4
xor eax, eax
pop edi
pop ebx
pop esi
pop ebp
ret
push ebx
mov dword [esi], 0x4064
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [esi + 0x24], eax
lea eax, [esi + 0x38]
push eax
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
jne 0x41c8b7
and dword [esi], 0xffffffdf
lea eax, [esi + 0x40]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esi + 0x44], eax
mov eax, dword [ebp + 0xc]
lea eax, [ebx + eax*2]
push eax
lea eax, [esi + 0x48]
push 0x104
push eax
call fcn.00580cc3
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebx
mov eax, esi
pop esi
pop ebp
ret