joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42e162
Capabilities:
Terminate process

Disassembly:
push ecx
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 4]
test eax, eax
je 0x42e1a2
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x42e19e
push 0x621
push str.S:Ammyy_sources_viewer_vrClient.cpp
lea ecx, [esp + 0xc]
call fcn.0042328b
mov ecx, eax
call fcn.00423397
and dword [esi + 4], 0
pop esi
pop ecx
pop ecx
ret

Function at 0x430c69
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
mov eax, 0x47ca3c
call fcn.00478530
sub esp, 0x1c
push esi
mov esi, ecx
cmp byte [esi + 0xac4], 0
je 0x430d6f
cmp byte [esi + 0x80c], 0
je 0x430d6f
mov eax, dword [esi + 0x7e4]
shr eax, 3
test al, 1
je 0x430d6f
call dword [sym.imp.USER32.dll_GetClipboardOwner]
cmp eax, dword [esi + 0x654]
je 0x430d6f
cmp byte [esi + 0x746], 0
je 0x430d6f
lea ecx, [esi + 0x6f8]
push edi
mov dword [ebp - 0x10], ecx
call fcn.004528c8
push dword [esi + 0x654]
and dword [ebp - 4], 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x430d62
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov edi, eax
test edi, edi
jne 0x430cfc
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x430d62
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
lea ecx, [ebp - 0x28]
mov ebx, eax
call fcn.00426a17
lea eax, [ebp - 0x28]
push 1
push eax
push ebx
mov byte [ebp - 4], 1
call fcn.0040b357
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [ebp - 0x28]
call fcn.00422c4a
mov edi, eax
mov ecx, eax
pop ebx
mov dl, byte [edi]
inc edi
cmp dl, 0xd
je 0x430d3b
mov byte [ecx], dl
inc ecx
test dl, dl
jne 0x430d3b
sub ecx, eax
dec ecx
push ecx
push eax
mov ecx, esi
call fcn.0042fb50
and byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00426ad9
mov ecx, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
call fcn.004528d0
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x434c21
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x28]
add dword [esi + 0x28], 1
test eax, eax
jne 0x434d30
lea eax, [ebp - 0x208]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [ebp - 0x208]
push 1
push eax
mov ecx, esi
call fcn.00434d58
lea ebx, [esi + 8]
push 8
mov dword [esi + 4], eax
pop ecx
or eax, 0xffffffff
mov edi, ebx
rep stosd dword es:[edi], eax
push str.shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x434d0d
push str.235
push edi
mov ecx, esi
call fcn.00434be9
push 0x49e6dc
push edi
mov ecx, esi
mov dword [ebx], eax
call fcn.00434be9
push 0x49e6d8
push edi
mov ecx, esi
mov dword [esi + 0xc], eax
call fcn.00434be9
push 0x49e6d4
push edi
mov ecx, esi
mov dword [esi + 0x10], eax
call fcn.00434be9
push 0x49e6d0
push edi
mov ecx, esi
mov dword [esi + 0x14], eax
call fcn.00434be9
push 0x49e6cc
push edi
mov ecx, esi
mov dword [esi + 0x18], eax
call fcn.00434be9
push 0x49e6c8
push edi
mov ecx, esi
mov dword [esi + 0x1c], eax
call fcn.00434be9
push 0x49e6c4
push edi
mov ecx, esi
mov dword [esi + 0x20], eax
call fcn.00434be9
push edi
mov dword [esi + 0x24], eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x434d30
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x49e6a0
push 0x4a7870
call fcn.00426343
add esp, 0xc
or eax, 0xffffffff
mov edi, ebx
push 8
pop ecx
rep stosd dword es:[edi], eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x434d58
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2bc
push ebx
push esi
push edi
mov esi, ecx
xor ebx, ebx
mov ecx, 0xac
xor eax, eax
lea edi, [ebp - 0x2b8]
mov dword [ebp - 0x2bc], ebx
rep stosd dword es:[edi], eax
mov al, byte [ebp + 0xc]
neg al
sbb eax, eax
and eax, 0x3ff0
add eax, 0x10
or ax, 0x101
push eax
lea eax, [ebp - 0x2bc]
push 0x2b4
push eax
push ebx
push dword [ebp + 8]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
cmp byte [ebp + 0xc], bl
je 0x434e20
lea ecx, [ebp + 0xc]
push ecx
lea ecx, [ebp + 8]
push ecx
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_GetIconSize]
cmp dword [esi], ebx
mov edi, str.S:Ammyy_sources_viewerVrFm1.cpp
je 0x434dd9
push 0xe8
push edi
lea ecx, [ebp - 8]
call fcn.0042328b
mov ecx, eax
call fcn.00423397
cmp dword [ebp + 8], ebx
jg 0x434df3
push 0xe9
push edi
lea ecx, [ebp - 8]
call fcn.0042328b
mov ecx, eax
call fcn.00423397
cmp dword [ebp + 0xc], ebx
jg 0x434e0d
push 0xea
push edi
lea ecx, [ebp - 8]
call fcn.0042328b
mov ecx, eax
call fcn.00423397
push 0xa
push ebx
push 0x21
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.COMCTL32.dll_ImageList_Create]
mov dword [esi], eax
push dword [ebp - 0x2bc]
push 0xffffffffffffffff
push dword [esi]
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
push dword [ebp - 0x2bc]
mov esi, eax
call dword [sym.imp.USER32.dll_DestroyIcon]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x435de5
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x47cf58
call fcn.00478530
sub esp, 0x10
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
shl esi, 5
mov eax, dword [edi + 0xf8]
cmp dword [esi + eax + 4], 4
jne 0x435e71
mov eax, dword [edi]
call dword [eax + 0x10]
test al, al
je 0x435f72
lea eax, [edi + 4]
lea ecx, [ebp - 0x14]
push eax
call fcn.00429782
mov edi, dword [edi + 0xf8]
xor ebx, ebx
add esi, edi
lea ecx, [ebp + 8]
push esi
mov dword [ebp - 4], ebx
call fcn.00429782
push 5
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00428c5a
push eax
push ebx
lea ecx, [ebp + 8]
call fcn.00428c5a
push eax
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
and byte [ebp - 4], bl
lea ecx, [ebp + 8]
call fcn.00429a78
lea ecx, [ebp - 0x14]
jmp 0x435f69
lea ecx, [ebp - 0x10]
call fcn.00429776
lea ecx, [edi + 4]
mov dword [ebp - 4], 2
call fcn.00428c5a
mov ebx, eax
cmp word [ebx], 0
je 0x435ed9
cmp dword [ebp + 8], 0
jne 0x435ed9
push ebx
call dword [sym.imp.MSVCRT.dll_wcslen]
sub eax, 2
pop ecx
js 0x435f57
cmp word [ebx + eax*2], 0x5c
je 0x435eb6
dec eax
jns 0x435ea7
jmp 0x435f57
lea esi, [eax + 1]
lea ecx, [ebp - 0x10]
push esi
push ebx
push esi
call fcn.00429f77
push eax
call dword [sym.imp.MSVCRT.dll_wcsncpy]
add esp, 0xc
lea ecx, [ebp - 0x10]
push esi
call fcn.0042a04d
jmp 0x435f57
mov eax, dword [edi + 0xf8]
add eax, esi
mov ecx, dword [eax + 4]
cmp ecx, 4
je 0x435f66
cmp ecx, 0x10
jne 0x435eff
lea eax, [edi + 0x108]
push eax
lea ecx, [ebp - 0x10]
call fcn.00429bb9
jmp 0x435f57
cmp ecx, 0x11
jne 0x435f0c
lea eax, [edi + 0x10c]
jmp 0x435ef4
cmp ecx, 1
push eax
je 0x435ef5
lea eax, [edi + 4]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00429cf0
push 0x5c
push eax
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 3
push eax
call fcn.0042a129
add esp, 0x18
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.00429bb9
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.00429a78
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.00429a78
mov esi, dword [edi]
lea ecx, [ebp - 0x10]
call fcn.00428c5a
push eax
mov ecx, edi
call dword [esi]
lea ecx, [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
call fcn.00429a78
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x439a1e
Capabilities:
Get file size

Disassembly:
mov eax, 0x47d5a8
call fcn.00478530
sub esp, 0x18
mov al, byte [0x4a781a]
push ebx
push esi
push edi
mov esi, ecx
push eax
lea ecx, [ebp - 0x14]
call fcn.0041a24a
xor ebx, ebx
mov dword [ebp - 4], ebx
jmp 0x439b65
mov eax, dword [esi + 0x188]
add eax, 0xc0
push eax
mov eax, dword [esi + 0xf0]
add eax, 0x1a4
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00429cf0
add esp, 0xc
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.00428c5a
push eax
call fcn.00447dca
mov edi, eax
pop ecx
cmp edi, ebx
je 0x439a99
lea ecx, [ebp - 0x10]
call fcn.00428c5a
push eax
push edi
push str.Error__d_while_create_local_folder__d
jmp 0x439b2b
mov eax, dword [esi + 0x188]
add eax, 0xc0
push eax
call fcn.00448034
test al, al
pop ecx
jne 0x439b5a
cmp dword [esi + 0x160], 0xffffffff
je 0x439ad5
push 0x102
push str.S:Ammyy_sources_viewerVrFmBlockR.cpp
lea ecx, [ebp - 0x24]
call fcn.0042328b
mov ecx, eax
call fcn.00423397
push ebx
push 0x20
push 4
push ebx
push 1
push 0xc0000000
lea ecx, [ebp - 0x10]
call fcn.00428c5a
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [esi + 0x160], eax
jne 0x439b0d
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error__d_while_opening_local_file__s
jmp 0x439b2b
lea ecx, [ebp - 0x1c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x439b36
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error__d_GetFileSizeEx___for_local_file__s
push esi
call fcn.004362f0
add esp, 0x10
jmp 0x439b5a
cmp dword [ebp - 0x18], ebx
jl 0x439b46
jg 0x439b42
cmp dword [ebp - 0x1c], ebx
jbe 0x439b46
mov al, 1
jmp 0x439b48
xor al, al
push eax
mov ecx, esi
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
call fcn.00439ba7
test al, al
jne 0x439b81
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call fcn.00429a78
mov ecx, esi
call fcn.004390b8
mov ecx, dword [esi + 0x188]
call fcn.004357d4
test al, al
je 0x439a48
jmp 0x439b8c
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call fcn.00429a78
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0041a267
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x439ba7
Capabilities:
Clear file content

Disassembly:
mov eax, 0x47d5c4
call fcn.00478530
sub esp, 0x34
and byte [ebp - 0x10], 0
cmp byte [ebp + 0x10], 0
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
je 0x439c62
test edi, edi
jl 0x439bda
jg 0x439bd5
cmp dword [ebp + 8], 0
jbe 0x439bda
xor eax, eax
inc eax
jmp 0x439bdc
xor eax, eax
mov byte [esi + 0x17c], al
mov eax, dword [esi + 0x188]
push dword [eax + 0xc0]
lea eax, [esi + 0x178]
push str._s_n_nThis_file_already_exists_on_local_computer.
push eax
call fcn.0042a99f
mov ecx, dword [esi + 0xf0]
add esp, 0xc
call fcn.00422c4a
push eax
lea ecx, [esi + 0x168]
call fcn.0043b395
cmp eax, 0x3f2
jne 0x439d95
lea eax, [ebp - 0x28]
push eax
push edi
push dword [ebp + 8]
push dword [esi + 0x160]
call fcn.00447a2d
add esp, 0x10
test eax, eax
je 0x439c5e
mov ecx, dword [esi + 0x188]
push dword [ecx + 0xc0]
push eax
push str.Error__d_while_getting_md5_for_local_file__s
push esi
call fcn.004362f0
add esp, 0x10
jmp 0x439ddf
mov byte [ebp - 0x10], 1
cmp byte [0x4a7838], 0
je 0x439c6f
or byte [ebp - 0x10], 4
push ebx
lea ecx, [ebp - 0x40]
call fcn.00426a17
xor ebx, ebx
push 0x40
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], ebx
call fcn.00426beb
push ebx
lea ecx, [ebp - 0x40]
call fcn.00426bfa
push dword [ebp - 0x10]
lea ecx, [ebp - 0x40]
call fcn.00426beb
test byte [ebp - 0x10], 1
mov dword [ebp - 0x14], ebx
je 0x439cc6
mov ebx, dword [ebp + 8]
push edi
lea eax, [ebp - 0x40]
push ebx
push eax
call fcn.00447e5d
add esp, 0xc
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x40]
push 0x10
push eax
call fcn.00426bb3
mov dword [ebp - 0x14], edi
mov eax, dword [esi + 0x188]
add eax, 0xc0
push eax
lea eax, [esi + 4]
push eax
lea eax, [ebp + 0x10]
push eax
call fcn.00429cf0
add esp, 0xc
lea ecx, [ebp - 0x40]
push 1
push ecx
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.00428c5a
push eax
call fcn.0040b357
and byte [ebp - 4], 0
add esp, 0xc
lea ecx, [ebp + 0x10]
call fcn.00429a78
mov eax, dword [ebp - 0x34]
lea ecx, [ebp - 0x40]
lea edi, [eax - 3]
mov eax, dword [ebp - 0x40]
call dword [eax + 0x14]
mov word [eax + 1], di
lea edi, [esi + 0x110]
cmp byte [edi], 0
je 0x439d3f
push 0x14b
push str.S:Ammyy_sources_viewerVrFmBlockR.cpp
lea ecx, [ebp + 8]
call fcn.0042328b
mov ecx, eax
call fcn.00423397
mov al, byte [ebp - 0x10]
mov dword [esi + 0x120], ebx
mov byte [esi + 0x11c], al
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x124], eax
add esi, 0x184
push 1
mov byte [edi], 0x40
mov eax, dword [esi]
push dword [ebp - 0x34]
lea ecx, [ebp - 0x40]
mov edi, dword [eax]
call fcn.00422c4a
mov ecx, dword [esi]
push eax
call dword [edi]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00426ad9
mov al, 1
pop ebx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 0xc
cmp eax, 0x3f1
jne 0x439dcd
push dword [esi + 0x160]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x439c62
mov eax, dword [esi + 0x188]
push dword [eax + 0xc0]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error__d_while_SetEndOfFile___for_local_file__s
jmp 0x439c50
cmp eax, 2
jne 0x439ddf
mov eax, dword [esi + 0x188]
mov byte [eax + 0xc4], 1
xor al, al
jmp 0x439d85
Function at 0x43a85b
Capabilities:
Get file size

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x128], 0x17
jne 0x43a878
push 1
push 0
push 0
call fcn.00439ba7
test al, al
je 0x43a89e
pop esi
ret
mov ecx, dword [esi + 0x188]
add ecx, 0xc0
call fcn.00428c5a
push eax
push dword [esi + 0x128]
push str.Error__d_while_opening_remote_file__s
push esi
call fcn.004362f0
add esp, 0x10
mov ecx, esi
pop esi
jmp fcn.00439a1e
Function at 0x43b6f6
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
push ebx
push esi
push edi
xor edi, edi
cmp byte [ebp + 0x10], 0
mov ebx, ecx
mov dword [ebp - 8], edi
mov dword [ebp - 4], edi
je 0x43b73b
mov eax, dword [ebp + 0xc]
sub eax, 0xd
je 0x43b734
sub eax, 4
je 0x43b72b
dec eax
jne 0x43b73b
mov dword [ebp + 0xc], 0xa5
jmp 0x43b73b
mov dword [ebp + 0xc], 0xa3
jmp 0x43b73b
mov dword [ebp + 0xc], 0x1234
push dword [ebp + 0xc]
mov ecx, ebx
call fcn.0043b924
mov esi, eax
cmp esi, edi
jbe 0x43b789
mov edi, 0xffe5
cmp esi, edi
je 0x43b75c
cmp esi, 0xffe6
jne 0x43b77a
push 0x91
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
je 0x43b77a
xor eax, eax
cmp esi, edi
setne al
add eax, 0xffe9
mov esi, eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], 1
jmp 0x43b910
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
push dword [ebx]
lea eax, [ebp - 0x28]
mov esi, dword [sym.imp.USER32.dll_ToAsciiEx]
push edi
push eax
lea eax, [ebp - 0x128]
push eax
push edi
push dword [ebp + 0xc]
call esi
test byte [ebp - 0x116], 0x80
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
mov dword [ebp + 0x10], eax
je 0x43b856
test byte [ebp - 0x117], 0x80
je 0x43b856
cmp eax, 1
jl 0x43b856
mov al, byte [ebp - 0x28]
cmp al, 0x20
jb 0x43b7e3
cmp al, 0x7e
jbe 0x43b7eb
cmp al, 0xa0
jb 0x43b856
cmp al, 0xff
ja 0x43b856
push 0xa2
call edi
shr eax, 0xf
test al, 1
je 0x43b800
mov dword [ebp - 8], 1
push 0xa4
call edi
shr eax, 0xf
test al, 1
je 0x43b812
or dword [ebp - 8], 4
push 0xa5
call edi
shr eax, 0xf
test al, 1
je 0x43b824
or dword [ebp - 8], 8
xor eax, eax
cmp dword [ebp - 8], eax
jne 0x43b832
mov dword [ebp - 8], 0xd
cmp dword [ebp + 0x10], eax
jle 0x43b856
movzx ecx, byte [ebp + eax - 0x28]
mov edx, dword [ebp - 4]
mov dword [ebp + edx*4 - 0x18], ecx
inc dword [ebp - 4]
inc eax
cmp eax, dword [ebp + 0x10]
jl 0x43b837
cmp dword [ebp - 4], 0
jne 0x43b910
push dword [ebx]
lea eax, [ebp - 0x28]
and byte [ebp - 0x85], 0
and byte [ebp - 0x86], 0
push 0
and byte [ebp - 0x117], 0
push eax
lea eax, [ebp - 0x128]
push eax
push 0
push dword [ebp + 0xc]
call esi
mov esi, eax
test esi, esi
jge 0x43b8f1
movzx eax, byte [ebp - 0x28]
sub eax, 0x27
je 0x43b8e3
sub eax, 0x37
je 0x43b8da
dec eax
dec eax
je 0x43b8d1
sub eax, 0x1e
je 0x43b8c8
sub eax, 0x2a
jne 0x43b8f1
push 0x11
call edi
shr eax, 0xf
test al, 1
je 0x43b8be
push 0x12
call edi
shr eax, 0xf
test al, 1
mov eax, 0xfe53
jne 0x43b8c3
mov eax, 0xfe57
mov dword [ebp - 0x18], eax
jmp 0x43b8ea
mov dword [ebp - 0x18], 0xfe53
jmp 0x43b8ea
mov dword [ebp - 0x18], 0xfe50
jmp 0x43b8ea
mov dword [ebp - 0x18], 0xfe52
jmp 0x43b8ea
mov dword [ebp - 0x18], 0xfe51
mov dword [ebp - 4], 1
cmp esi, 1
jl 0x43b910
xor eax, eax
test esi, esi
jle 0x43b910
movzx ecx, byte [ebp + eax - 0x28]
mov edx, dword [ebp - 4]
mov dword [ebp + edx*4 - 0x18], ecx
inc dword [ebp - 4]
inc eax
cmp eax, esi
jl 0x43b8fc
mov eax, dword [ebp + 8]
push 6
pop ecx
lea esi, [ebp - 0x18]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x43bb49
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x47d7b9
call fcn.00478530
push ecx
push ebx
push esi
push edi
xor edi, edi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.00427a90
mov dword [esi], 0x47fbec
lea ecx, [esi + 0x24]
mov dword [ebp - 4], edi
call fcn.004281c1
lea ecx, [esi + 0x28]
mov byte [ebp - 4], 1
call fcn.004281c1
push fcn.00436d1a
push 0x416fa6
lea eax, [esi + 0x44]
push 7
push 0xc
push eax
mov byte [ebp - 4], 2
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
call fcn.00478713
lea ebx, [esi + 0x98]
push edi
mov ecx, ebx
mov byte [ebp - 4], 3
call fcn.00427a90
mov edi, 0x47fc48
mov dword [ebx], edi
lea ebx, [esi + 0xa4]
push 0
mov ecx, ebx
mov byte [ebp - 4], 4
call fcn.00427a90
mov dword [ebx], edi
and byte [esi + 0x13], 0
mov ecx, esi
mov byte [ebp - 4], 5
mov dword [esi], 0x4800a0
mov dword [esi + 0xc], 0xae
call fcn.0043c1b7
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x43c662
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.004211fa
mov esi, eax
add esp, 0xc
test esi, esi
je 0x43c6a9
push 0x10
lea eax, [ebp - 0x13]
push dword [ebp + 0x18]
mov byte [ebp - 0x14], 0x25
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
lea eax, [ebp - 0x14]
push 0
push 0x11
push eax
push esi
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0x11
je 0x43c6ad
xor al, al
jmp 0x43c6b8
mov ecx, dword [ebp + 8]
push esi
call fcn.00420fe6
mov al, 1
pop esi
leave
ret
Function at 0x43d821
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
cmp byte [ebp + 0xc], 0
push esi
je 0x43d854
cmp byte [ebp + 8], 0x2e
jne 0x43d854
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0x11
call esi
shr eax, 0xf
test al, 1
je 0x43d854
push 0x12
call esi
shr eax, 0xf
test al, 1
je 0x43d854
call fcn.0044b765
jmp 0x43d865
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0043d868
add esp, 0xc
pop esi
pop ebp
ret

Function at 0x43db23
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x47da0a
call fcn.00478530
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.00446299
xor ebx, ebx
lea ecx, [esi + 0x80]
mov dword [ebp - 4], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
call fcn.00425fba
lea ecx, [esi + 0x9c]
mov byte [ebp - 4], 1
call fcn.00425fba
lea ecx, [esi + 0xc4]
mov byte [ebp - 4], 2
call fcn.00454019
lea ecx, [esi + 0x184]
mov byte [ebp - 4], 3
call fcn.0045337d
lea edi, [esi + 0x238]
mov byte [ebp - 4], 4
lea ecx, [edi + 8]
call fcn.004281c1
mov dword [edi], 0x4800dc
mov dword [edi + 4], ebx
lea ecx, [esi + 0x248]
mov byte [ebp - 4], 5
call fcn.00425190
push 0x49f788
push str.S:Ammyy_sources_targetTrClient.cpp
push 2
push 0x4a7870
mov byte [ebp - 4], 6
mov dword [esi], 0x4800b4
call fcn.0041a43a
push 0x3bd8
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ecx, eax
add esp, 0x14
mov dword [ebp - 0x14], ecx
cmp ecx, ebx
mov byte [ebp - 4], 7
je 0x43dbea
call fcn.0042b349
jmp 0x43dbec
xor eax, eax
mov byte [ebp - 4], 6
mov dword [esi + 0xc], eax
mov byte [esi + 0x98], bl
mov byte [esi + 0xb4], bl
mov byte [esi + 0xb5], bl
mov dword [esi + 0xb8], ebx
mov dword [esi + 0xc0], ebx
call fcn.0044862b
mov ecx, dword [ebp - 0xc]
mov byte [esi + 0xbd], bl
mov word [esi + 0x7c], bx
mov dword [esi + 0x34], ebx
mov byte [esi + 0x30], bl
mov byte [esi + 0xbc], bl
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x43eaef
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov eax, 0x47dc70
call fcn.00478530
sub esp, 0x20
mov eax, dword [ebp + 0x10]
push esi
lea ecx, [ebp - 0x2c]
lea eax, [eax + eax + 1]
push eax
call fcn.00426a4d
and dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00422c4a
mov edx, dword [ebp + 0xc]
mov esi, eax
mov cl, byte [edx]
inc edx
cmp cl, 0xa
jne 0x43eb2a
mov byte [eax], 0xd
inc eax
mov byte [eax], cl
inc eax
test cl, cl
jne 0x43eb1e
push 0xffffffffffffffff
lea eax, [ebp + 0x10]
push esi
push eax
call fcn.0040b43a
add esp, 0xc
push dword [ebp + 8]
mov byte [ebp - 4], 1
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x43eb6f
lea eax, [ebp - 0x14]
push str.Failed_to_open_clipboard
push eax
call fcn.004253a6
pop ecx
lea eax, [ebp - 0x14]
pop ecx
push 0x483c5c
push eax
call sub.MSVCRT.dll__CxxThrowException
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
jne 0x43eb9d
call dword [sym.imp.USER32.dll_CloseClipboard]
lea eax, [ebp - 0x14]
push str.Failed_to_empty_clipboard
push eax
call fcn.004253a6
pop ecx
lea eax, [ebp - 0x14]
pop ecx
push 0x483c5c
push eax
call sub.MSVCRT.dll__CxxThrowException
push edi
lea ecx, [ebp + 0x10]
call fcn.0042a14a
lea edi, [eax + eax + 2]
push edi
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x43ebea
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push edi
lea ecx, [ebp + 0x10]
mov ebx, eax
call fcn.00428c5a
push eax
push ebx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
pop ebx
call dword [sym.imp.USER32.dll_CloseClipboard]
test eax, eax
pop edi
jne 0x43ec13
lea eax, [ebp - 0x14]
push str.Failed_to_close_clipboard
push eax
call fcn.004253a6
pop ecx
lea eax, [ebp - 0x14]
pop ecx
push 0x483c5c
push eax
call sub.MSVCRT.dll__CxxThrowException
and byte [ebp - 4], 0
lea ecx, [ebp + 0x10]
call fcn.00429a78
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00426ad9
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret