joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49fef6
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
mov esi, eax
imul esi, ebx
sub ebx, dword [edi + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp + 0xc], eax
add esi, dword [edi + 0x14]
cmp dword [edi + 8], 0xfe
jge 0x49ff67
mov ecx, dword [edi + 4]
mov eax, ebx
cdq
idiv dword [ecx + 0x10]
mov eax, dword [edi + 0x18]
imul edx, dword [ecx + 0xc]
mov ecx, 0x100
movzx edx, byte [edx + eax]
mov eax, dword [edi + 8]
inc eax
imul edx, eax
movzx eax, byte [esi]
shr edx, 8
sub ecx, edx
imul ecx, eax
mov eax, dword [ebp + 0xc]
sar ecx, 8
add cl, dl
inc ebx
mov byte [esi], cl
add esi, dword [ebp - 4]
dec eax
mov dword [ebp + 0xc], eax
test eax, eax
jg 0x49ff24
jmp 0x49ff9e
mov ecx, dword [edi + 4]
mov eax, ebx
cdq
idiv dword [ecx + 0x10]
mov eax, dword [edi + 0x18]
imul edx, dword [ecx + 0xc]
mov ecx, 0x100
movzx edx, byte [edx + eax]
movzx eax, byte [esi]
sub ecx, edx
imul ecx, eax
mov eax, dword [ebp + 0xc]
sar ecx, 8
add cl, dl
inc ebx
mov byte [esi], cl
add esi, dword [ebp - 4]
dec eax
mov dword [ebp + 0xc], eax
test eax, eax
jg 0x49ff67
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x49ffa7
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
mov esi, eax
mov dword [ebp - 4], eax
mov eax, dword [edi + 8]
imul eax, dword [ebp + 0x10]
imul esi, ebx
sub ebx, dword [edi + 0xc]
sar eax, 8
add esi, dword [edi + 0x14]
cmp eax, 0xfe
jge 0x4a0021
inc eax
mov dword [ebp + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp + 0xc], eax
mov ecx, dword [edi + 4]
mov eax, ebx
cdq
idiv dword [ecx + 0x10]
mov eax, dword [edi + 0x18]
imul edx, dword [ecx + 0xc]
mov ecx, 0x100
movzx edx, byte [edx + eax]
imul edx, dword [ebp + 8]
movzx eax, byte [esi]
shr edx, 8
sub ecx, edx
imul ecx, eax
mov eax, dword [ebp + 0xc]
sar ecx, 8
add cl, dl
inc ebx
mov byte [esi], cl
add esi, dword [ebp - 4]
dec eax
mov dword [ebp + 0xc], eax
test eax, eax
jg 0x49ffe1
jmp 0x4a005e
mov eax, dword [ebp + 0xc]
mov dword [ebp + 0xc], eax
mov ecx, dword [edi + 4]
mov eax, ebx
cdq
idiv dword [ecx + 0x10]
mov eax, dword [edi + 0x18]
imul edx, dword [ecx + 0xc]
mov ecx, 0x100
movzx edx, byte [edx + eax]
movzx eax, byte [esi]
sub ecx, edx
imul ecx, eax
mov eax, dword [ebp + 0xc]
sar ecx, 8
add cl, dl
inc ebx
mov byte [esi], cl
add esi, dword [ebp - 4]
dec eax
mov dword [ebp + 0xc], eax
test eax, eax
jg 0x4a0027
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4a0381
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
mov esi, eax
imul esi, ebx
sub ebx, dword [edi + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp + 0xc], eax
add esi, dword [edi + 0x14]
cmp dword [edi + 8], 0xfe
jge 0x4a03f3
mov ecx, dword [edi + 4]
mov eax, ebx
cdq
idiv dword [ecx + 0x10]
mov eax, dword [edi + 0x18]
imul edx, dword [ecx + 0xc]
mov ecx, 0x100
movzx edx, byte [edx + eax + 3]
mov eax, dword [edi + 8]
inc eax
imul edx, eax
movzx eax, byte [esi]
shr edx, 8
sub ecx, edx
imul ecx, eax
mov eax, dword [ebp + 0xc]
sar ecx, 8
add cl, dl
inc ebx
mov byte [esi], cl
add esi, dword [ebp - 4]
dec eax
mov dword [ebp + 0xc], eax
test eax, eax
jg 0x4a03af
jmp 0x4a042b
mov ecx, dword [edi + 4]
mov eax, ebx
cdq
idiv dword [ecx + 0x10]
mov eax, dword [edi + 0x18]
imul edx, dword [ecx + 0xc]
mov ecx, 0x100
movzx edx, byte [edx + eax + 3]
movzx eax, byte [esi]
sub ecx, edx
imul ecx, eax
mov eax, dword [ebp + 0xc]
sar ecx, 8
add cl, dl
inc ebx
mov byte [esi], cl
add esi, dword [ebp - 4]
dec eax
mov dword [ebp + 0xc], eax
test eax, eax
jg 0x4a03f3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4a0434
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
mov esi, eax
mov dword [ebp - 4], eax
mov eax, dword [edi + 8]
imul eax, dword [ebp + 0x10]
imul esi, ebx
sub ebx, dword [edi + 0xc]
sar eax, 8
add esi, dword [edi + 0x14]
cmp eax, 0xfe
jge 0x4a04af
inc eax
mov dword [ebp + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp + 0xc], eax
mov ecx, dword [edi + 4]
mov eax, ebx
cdq
idiv dword [ecx + 0x10]
mov eax, dword [edi + 0x18]
imul edx, dword [ecx + 0xc]
mov ecx, 0x100
movzx edx, byte [edx + eax + 3]
imul edx, dword [ebp + 8]
movzx eax, byte [esi]
shr edx, 8
sub ecx, edx
imul ecx, eax
mov eax, dword [ebp + 0xc]
sar ecx, 8
add cl, dl
inc ebx
mov byte [esi], cl
add esi, dword [ebp - 4]
dec eax
mov dword [ebp + 0xc], eax
test eax, eax
jg 0x4a046e
jmp 0x4a04ed
mov eax, dword [ebp + 0xc]
mov dword [ebp + 0xc], eax
mov ecx, dword [edi + 4]
mov eax, ebx
cdq
idiv dword [ecx + 0x10]
mov eax, dword [edi + 0x18]
imul edx, dword [ecx + 0xc]
mov ecx, 0x100
movzx edx, byte [edx + eax + 3]
movzx eax, byte [esi]
sub ecx, edx
imul ecx, eax
mov eax, dword [ebp + 0xc]
sar ecx, 8
add cl, dl
inc ebx
mov byte [esi], cl
add esi, dword [ebp - 4]
dec eax
mov dword [ebp + 0xc], eax
test eax, eax
jg 0x4a04b5
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4e2acf
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push esi
push edi
push 0x10
call ebx
movzx esi, ax
shr esi, 0xf
push 0x11
and esi, 1
call ebx
shr eax, 0xf
mov edi, esi
or edi, 2
and al, 1
push 0x12
cmove edi, esi
call ebx
shr eax, 0xf
mov esi, edi
or esi, 4
and al, 1
push 0xa5
cmove esi, edi
call ebx
mov ecx, dword [0x584ad8]
mov edx, esi
and edx, 0xfffffff9
shr eax, 0xf
and ecx, 0x70
and al, 1
pop edi
cmove edx, esi
or edx, ecx
pop esi
mov dword [0x584ad8], edx
pop ebx
ret

Function at 0x4e2b30
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, ecx
mov edx, ebx
mov eax, ebx
and edx, 1
shl edx, 4
push esi
mov esi, edx
or esi, 0x20
and al, 2
mov eax, dword [0x584ad8]
cmove esi, edx
and eax, 0xffffff8f
mov ecx, esi
or ecx, 0x40
and bl, 0x10
cmove ecx, esi
or ecx, eax
mov dword [0x584ad8], ecx
pop esi
pop ebx
jmp fcn.004e2acf
Function at 0x4e43fa
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x158
mov eax, dword [0x57d070]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x138], esi
call fcn.004e2acf
mov ebx, dword [ebp + 8]
xor edi, edi
cmp ebx, 0x5d
ja 0x4e44f8
cmp ebx, 0x5b
jae 0x4e4529
cmp ebx, 0x10
jb 0x4e4467
cmp ebx, 0x12
jbe 0x4e4529
cmp ebx, 0x14
je 0x4e4529
cmp ebx, 0x20
jbe 0x4e4467
cmp ebx, 0x28
jbe 0x4e4548
cmp ebx, 0x2c
jbe 0x4e4467
cmp ebx, 0x2e
jbe 0x4e4548
push 1
mov ecx, esi
call fcn.004dd606
push edi
push 0x103
push 0x102
push dword [esi + 0x38]
mov byte [ebp - 0x12d], al
lea eax, [ebp - 0x154]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x4e45b5
mov esi, dword [sym.imp.USER32.dll_MapVirtualKeyW]
push 2
push ebx
call esi
push edi
push ebx
mov dword [ebp - 0x134], eax
call esi
mov esi, eax
lea eax, [ebp - 0x12c]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x26]
mov word [ebp - 0x28], ax
rep stosd dword es:[edi], eax
push 0
push 8
stosw word es:[edi], ax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x12c]
push eax
push esi
push ebx
call dword [sym.imp.USER32.dll_ToUnicode]
cmp eax, 1
je 0x4e4588
xor eax, eax
mov word [ebp - 0x28], ax
jmp 0x4e458c
cmp ebx, 0x70
jb 0x4e4467
cmp ebx, 0x7f
jbe 0x4e4548
cmp ebx, 0x8f
jbe 0x4e4467
cmp ebx, 0x91
jbe 0x4e4529
lea eax, [ebx - 0xa0]
cmp eax, 5
ja 0x4e4467
mov eax, dword [0x584ad8]
cmp dword [0x584aac], eax
je 0x4e45bf
mov ecx, esi
mov dword [0x584aac], eax
call fcn.004dd6e4
jmp 0x4e45bf
push 1
mov ecx, esi
call fcn.004dd606
push edi
or ebx, 0x10000
mov byte [ebp - 0x12d], al
push ebx
mov ecx, esi
call fcn.004dd4a6
test al, al
jne 0x4e4572
cmp byte [ebp - 0x12d], al
je 0x4e45bf
xor eax, eax
inc eax
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004f7fa1
mov esp, ebp
pop ebp
ret 4
mov ax, word [ebp - 0x28]
mov ecx, dword [ebp - 0x138]
movzx eax, ax
push eax
mov eax, dword [ebp - 0x134]
movzx eax, ax
push eax
call fcn.004dd4a6
test al, al
jne 0x4e45b1
cmp byte [ebp - 0x12d], al
je 0x4e45bf
mov al, 1
jmp 0x4e45bb
mov al, byte [ebp - 0x12d]
test al, al
jne 0x4e4572
call fcn.004a6357
test eax, eax
jne 0x4e4572
jmp 0x4e4575

Function at 0x4e45ca
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push edi
mov dword [ebp - 4], ecx
call fcn.004e2acf
mov edi, dword [ebp + 8]
mov ebx, edi
mov eax, dword [ebp + 0xc]
sar eax, 0x10
movzx edx, al
lea eax, [edi - 0x30]
cmp eax, 9
ja 0x4e4613
cmp edx, 0x47
jb 0x4e463f
cmp edx, 0x49
jbe 0x4e460b
cmp edx, 0x4a
jbe 0x4e463f
cmp edx, 0x4d
jbe 0x4e460b
lea eax, [edx - 0x4f]
cmp eax, 3
ja 0x4e463f
add edi, 0x10030
jmp 0x4e463f
push 1
push edx
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
push 2
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
movzx eax, ax
test eax, eax
cmovne edi, eax
cmp ebx, 0x20
jae 0x4e463f
test byte [0x584ad8], 6
push 0
pop eax
cmovne ebx, eax
mov ecx, dword [ebp - 4]
push ebx
push edi
call fcn.004dd4a6
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4e568f
Capabilities:
Log keystrokes via input method manager

Disassembly:
push 8
mov eax, 0x52dacc
call fcn.004f8af5
xor esi, esi
push esi
push esi
push dword [ebp + 0x10]
mov dword [ebp - 0x10], esi
push dword [ebp + 0xc]
call dword [sym.imp.IMM32.dll_ImmGetCompositionStringW]
mov edi, eax
test edi, edi
jle 0x4e56f7
push esi
mov dword [ebp - 4], esi
call fcn.004fd784
mov eax, edi
shr eax, 1
inc eax
push 2
push eax
call fcn.004fdc32
add esp, 0xc
mov esi, eax
mov dword [ebp - 0x14], esi
push edi
push esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.IMM32.dll_ImmGetCompositionStringW]
push ecx
mov ecx, dword [ebp + 8]
mov eax, esp
mov dword [eax], esi
call fcn.004543c1
push esi
call fcn.004fd784
pop ecx
pop ecx
jmp 0x4e5704
mov ecx, dword [ebp + 8]
push 0x57daf4
call fcn.00443a5b
mov eax, dword [ebp + 8]
call fcn.004f8abe
ret 0xc

Function at 0x4e570f
Capabilities:
Log keystrokes via input method manager

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], ecx
test byte [ebp + 0x10], 0x10
mov esi, edi
je 0x4e5789
push ebx
push edi
push edi
push 0x10
push dword [ebp + 0xc]
call dword [sym.imp.IMM32.dll_ImmGetCompositionStringW]
mov ebx, eax
test ebx, ebx
jle 0x4e5788
push ebx
call fcn.004fd789
pop ecx
push ebx
mov esi, eax
push esi
push 0x10
push dword [ebp + 0xc]
call dword [sym.imp.IMM32.dll_ImmGetCompositionStringW]
test ebx, ebx
jle 0x4e5760
mov al, byte [esi + edi]
cmp al, 1
je 0x4e5760
cmp al, 3
je 0x4e5760
inc edi
cmp edi, ebx
jl 0x4e5750
mov dword [ebp + 0xc], edi
mov eax, edi
cmp edi, ebx
jge 0x4e577e
mov cl, byte [esi + eax]
cmp cl, 1
je 0x4e5776
cmp cl, 3
jne 0x4e577b
inc eax
cmp eax, ebx
jl 0x4e5769
mov dword [ebp + 0xc], eax
push esi
call fcn.004fd784
mov esi, dword [ebp + 0xc]
pop ecx
pop ebx
mov ecx, dword [ebp - 4]
cmp edi, esi
mov eax, dword [ebp + 8]
mov edx, edi
cmovl edx, esi
mov ecx, dword [ecx]
add edx, ecx
add ecx, edi
cmp ecx, edx
mov dword [eax], ecx
pop edi
cmovl ecx, edx
mov dword [eax + 4], ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4e5803
Capabilities:
Log keystrokes via input method manager

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 0xc]
xor eax, eax
mov dword [ebp - 4], ecx
push edi
mov edi, dword [ebp + 8]
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
test ebx, ebx
je 0x4e58fd
test byte [ebp + 0x10], 0x20
je 0x4e58fd
push eax
push eax
push 0x20
push ebx
call dword [sym.imp.IMM32.dll_ImmGetCompositionStringW]
mov dword [ebp + 0x10], eax
test eax, eax
jle 0x4e58fd
shr eax, 2
mov dword [ebp + 0xc], eax
shl eax, 2
push esi
push eax
call fcn.004fd789
pop ecx
push dword [ebp + 0x10]
mov esi, eax
push esi
push 0x20
push ebx
mov dword [ebp - 0xc], esi
call dword [sym.imp.IMM32.dll_ImmGetCompositionStringW]
test eax, eax
jle 0x4e58f5
xor ebx, ebx
inc ebx
cmp dword [ebp + 0xc], ebx
jbe 0x4e58f5
mov ecx, esi
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
lea eax, [ecx + 4]
mov ecx, dword [ecx]
mov dword [ebp + 0xc], eax
mov eax, ecx
mov edi, dword [ebp + 0xc]
cmp ecx, dword [edi]
cmovl eax, dword [edi]
mov edi, dword [ebp + 8]
add eax, edx
add edx, ecx
cmp edx, eax
mov dword [ebp + 0x10], edx
mov ecx, edx
cmovl ecx, eax
mov dword [ebp - 8], ecx
mov ecx, dword [edi + 8]
inc ecx
cmp ecx, dword [edi + 4]
jle 0x4e58d0
mov eax, ecx
test eax, eax
jns 0x4e58bb
add eax, 1
sar eax, 1
add ecx, 8
add eax, ecx
mov ecx, edi
and eax, 0xfffffff8
push eax
call fcn.00420297
mov edx, dword [ebp + 0x10]
mov ecx, dword [edi + 8]
lea eax, [ecx + 1]
mov dword [edi + 8], eax
mov eax, dword [edi]
lea eax, [eax + ecx*8]
test eax, eax
je 0x4e58ea
mov ecx, dword [ebp - 8]
mov dword [eax], edx
mov dword [eax + 4], ecx
mov ecx, dword [ebp + 0xc]
inc ebx
cmp ebx, esi
jb 0x4e587e
mov esi, dword [ebp - 0xc]
push esi
call fcn.004fd784
pop ecx
pop esi
mov eax, edi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4e59d7
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
call fcn.004e2acf
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 1
call edi
movzx esi, ax
shr esi, 0xf
and esi, 1
push 2
shl esi, 4
call edi
shr eax, 0xf
mov ebx, esi
or ebx, 0x20
and al, 1
push 4
cmove ebx, esi
call edi
mov ecx, dword [0x584ad8]
mov edx, ebx
shr eax, 0xf
or edx, 0x40
and ecx, 0xffffff8f
and al, 1
mov eax, dword [ebp - 4]
cmove edx, ebx
pop edi
or edx, ecx
pop esi
mov dword [0x584ad8], edx
mov dword [eax], edx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4e5a3b
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x57d070]
xor eax, ebp
mov dword [ebp - 4], eax
movzx edx, cx
test ecx, 0x10000
jne 0x4e5a65
lea eax, [ecx - 0x61]
cmp ax, 0x19
ja 0x4e5a65
lea eax, [ecx - 0x20]
movzx edx, ax
movaps xmm0, xmmword [0x559b50]
push 0x5b
pop eax
mov word [ebp - 0xc], ax
mov eax, 0xdb
mov word [ebp - 0xa], ax
push 0x5d
pop eax
mov word [ebp - 8], ax
mov eax, 0xdd
movups xmmword [ebp - 0x2c], xmm0
mov word [ebp - 6], ax
xor eax, eax
movaps xmm0, xmmword [0x559b60]
movups xmmword [ebp - 0x1c], xmm0
cmp dx, word [ebp + eax*2 - 0x2c]
jne 0x4e5aa9
movzx edx, word [ebp + eax*2 - 0x2a]
add eax, 2
cmp eax, 0x14
jl 0x4e5a9d
movsx eax, dx
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, dword [ebp - 4]
shr eax, 0xf
xor ecx, ebp
and al, 1
call fcn.004f7fa1
mov esp, ebp
pop ebp
ret

Function at 0x4e5dfe
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebx
push esi
push edi
push 0
mov ebx, ecx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4e5e6f
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
je 0x4e5e66
mov eax, dword [ebx]
push ecx
mov ecx, esp
mov dword [ecx], eax
call fcn.00454df0
pop ecx
lea edi, [eax + 4]
test edi, edi
je 0x4e5e66
lea eax, [edi + 2]
push eax
push 0x2042
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x4e5e66
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x4e5e66
push edi
push eax
mov ecx, ebx
call fcn.00445d09
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
pop edi
pop esi
pop ebx
jmp dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
pop ebx
ret

Function at 0x4e5e73
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push 0xc
mov eax, 0x52dbd1
call fcn.004f8af5
mov esi, ecx
mov dword [ebp - 0x18], esi
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [esi], 0x5442c0
mov dword [ebp - 4], eax
push eax
mov dword [ebp - 0x10], 1
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4e5ef5
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov edi, eax
test edi, edi
je 0x4e5eef
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebx, eax
test ebx, ebx
je 0x4e5eef
push edi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push ecx
mov ecx, esp
shr eax, 1
mov edx, eax
mov dword [ecx], ebx
lea ecx, [ebp - 0x14]
call fcn.004544d5
mov eax, dword [esi]
mov ecx, dword [ebp - 0x14]
mov dword [esi], ecx
mov ecx, esp
mov dword [ecx], eax
call fcn.00443a1f
pop ecx
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, esi
call fcn.004f8abe
ret
Function at 0x4ef181
Capabilities:
Print debug messages

Disassembly:
push 0x10
mov eax, 0x52e4b6
call fcn.004f8af5
push 0xa
pop edx
lea ecx, [ebp - 0x18]
call fcn.004508f4
and dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
push ecx
mov ecx, eax
call fcn.0043de16
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.00443a46
push ecx
lea eax, [ebp - 0x14]
mov ecx, esp
push eax
call fcn.00443a5b
mov edx, str._netxml.dll
lea ecx, [ebp - 0x10]
call fcn.00444796
lea edx, [ebp - 0x10]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
call fcn.00451554
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x4ef219
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.get_version_info
push edi
call esi
push str.get_xml_effect
push edi
mov dword [0x584994], eax
call esi
push str.get_xml_list
push edi
mov dword [0x584998], eax
call esi
mov dword [0x58499c], eax
jmp 0x4ef224
push 0x557e18
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [ebp - 0x10]
push ecx
mov ecx, esp
mov dword [ecx], eax
call fcn.00443a1f
pop ecx
lea ecx, [ebp - 0x14]
call fcn.00443a46
call fcn.004f8abe
ret
Function at 0x4f3307
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x904
mov eax, dword [0x57d070]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
lea edi, [esi + 0xc8]
push edi
push ecx
call fcn.004f35b4
test eax, eax
je 0x4f348b
push edi
push ecx
call fcn.004f3676
test eax, eax
je 0x4f348b
push ebx
push 0x800
xor ebx, ebx
lea eax, [ebp - 0x904]
push ebx
push eax
call fcn.004fab60
mov eax, dword [esi + 0xe8]
add esp, 0xc
add eax, 4
push eax
lea eax, [ebp - 0x904]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x904]
mov edi, ebx
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
js 0x4f3398
cmp word [ebp + eax*2 - 0x904], 0x5c
je 0x4f3396
sub eax, 1
jns 0x4f3384
jmp 0x4f3398
mov edi, eax
push 0x63
pop eax
push 0x6f
pop ecx
push 0x6e
mov word [ebp + edi*2 - 0x902], ax
pop eax
push 0x74
mov word [ebp + edi*2 - 0x8fe], ax
pop eax
push 0x72
mov word [ebp + edi*2 - 0x8fc], ax
pop eax
mov word [ebp + edi*2 - 0x8fa], ax
push 0x6c
pop eax
mov word [ebp + edi*2 - 0x900], cx
mov word [ebp + edi*2 - 0x8f8], cx
mov word [ebp + edi*2 - 0x8f6], ax
lea edi, [edi*2 + 0x10]
cmp edi, 0x800
jae 0x4f34a6
push ebx
push 0x40000000
push 3
push ebx
xor eax, eax
push 1
mov word [ebp + edi - 0x904], ax
lea eax, [ebp - 0x904]
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi + 0xec], eax
cmp eax, 0xffffffff
je 0x4f3439
test eax, eax
je 0x4f3439
mov byte [esi + 0xf0], 1
push str.open_device_success.
jmp 0x4f3477
push 0x100
lea eax, [ebp - 0x104]
mov dword [esi + 0xec], ebx
push ebx
push eax
call fcn.004fab60
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x104]
push str.cant_open_device__last_err:__08X
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [esi + 0xec]
mov dword [0x5848ec], eax
pop ebx
jmp 0x4f3496
push 0x558874
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004f7fa1
mov esp, ebp
pop ebp
ret
call fcn.004f87ac
int3
Function at 0x4f35b4
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x57d070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor ebx, ebx
push 0x12
push ebx
push ebx
push 0x557d54
call dword [sym.imp.SETUPAPI.dll_SetupDiGetClassDevsW]
mov dword [esi], eax
cmp eax, 0xffffffff
jne 0x4f35e8
xor eax, eax
jmp 0x4f3664
push edi
lea edi, [esi + 4]
push edi
push 0
mov dword [edi], 0x1c
push eax
jmp 0x4f363e
push 0
push 0x100
lea eax, [ebp - 0x104]
push eax
push 0
push 4
push edi
push dword [esi]
call dword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceRegistryPropertyW]
test eax, eax
lea eax, [ebp - 0x104]
je 0x4f364f
push 0xffffffffffffffff
push str.mivsnT800
push 0xffffffffffffffff
push eax
push 1
push 0x409
call dword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
je 0x4f364a
push edi
inc ebx
push ebx
push dword [esi]
call dword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
test eax, eax
jne 0x4f35f8
jmp 0x4f3656
xor eax, eax
inc eax
jmp 0x4f3663
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push dword [esi]
call dword [sym.imp.SETUPAPI.dll_SetupDiDestroyDeviceInfoList]
and dword [esi], 0
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004f7fa1
mov esp, ebp
pop ebp
ret 8
Function at 0x4f3676
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x57d070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x24]
push esi
push edi
push eax
xor ecx, ecx
lea edi, [ebx + 4]
push ecx
push ecx
push edi
push dword [ebx]
mov dword [ebp - 0x24], ecx
call dword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceInstanceIdW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x4f3746
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x4f3746
add eax, eax
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
jne 0x4f36db
push 0x5588fc
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x4f3746
push 0
push dword [ebp - 0x24]
push esi
push edi
push dword [ebx]
call dword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceInstanceIdW]
test eax, eax
jne 0x4f36f7
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x4f3746
push 0x10
push 0
push esi
push 0x557d54
call dword [sym.imp.SETUPAPI.dll_SetupDiGetClassDevsW]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp edi, 0xffffffff
je 0x4f3746
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
xor esi, esi
push esi
push 0x557d54
push esi
push edi
call dword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInterfaces]
test eax, eax
jne 0x4f375b
push str.get_device_info_detail_9
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push edi
call dword [sym.imp.SETUPAPI.dll_SetupDiDestroyDeviceInfoList]
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004f7fa1
mov esp, ebp
pop ebp
ret 8
push esi
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], esi
push eax
push esi
push esi
mov esi, dword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceInterfaceDetailW]
lea eax, [ebp - 0x20]
push eax
push edi
call esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x4f373f
cmp dword [ebp - 0x24], 0
je 0x4f373f
push dword [ebp - 0x24]
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebx + 0x20], eax
test eax, eax
je 0x4f373f
push 0
push 0
mov dword [eax], 6
lea eax, [ebp - 0x20]
push dword [ebp - 0x24]
push dword [ebx + 0x20]
push eax
push edi
call esi
push edi
mov esi, eax
call dword [sym.imp.SETUPAPI.dll_SetupDiDestroyDeviceInfoList]
test esi, esi
jne 0x4f37ca
push dword [ebx + 0x20]
call dword [sym.imp.KERNEL32.dll_LocalFree]
and dword [ebx + 0x20], esi
jmp 0x4f3746
xor eax, eax
inc eax
jmp 0x4f3748
Function at 0x516824
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.005166a3

Function at 0x5183d7
Capabilities:
Set environment variable

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