joyce8/EMBER2024-capa huggingface dataset:
Function at 0x433715
Capabilities:
Create process on windows
Create process suspended

Disassembly:
mov eax, 0x480d30
call fcn.0047bf90
sub esp, 0x68
push ebx
push esi
lea eax, [ebp - 0x10]
push edi
push eax
mov esi, ecx
call fcn.0041a778
lea eax, [ebp - 0x10]
xor ebx, ebx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
mov dword [ebp - 4], ebx
call fcn.0042bc7b
call fcn.0040af95
cmp al, bl
pop ecx
je 0x43379b
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
push 0x4a32e4
push eax
call fcn.0042c2bb
push 0x4a517c
push eax
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 1
push eax
call fcn.0042c250
add esp, 0x18
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.0042c0ad
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.0042bf6c
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.0042bf6c
jmp 0x4337a8
push 0x4ae3c0
lea ecx, [ebp - 0x10]
call fcn.0042c160
lea ecx, [ebp - 0x14]
call fcn.0042bc6f
movzx eax, word [ebp + 8]
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.0042b153
push eax
lea eax, [ebp - 0x14]
push str.mstsc.exe__s_v:127.0.0.1:_u
push eax
call fcn.0042cfc0
add esp, 0x10
xor eax, eax
lea edi, [ebp - 0x70]
push 0x10
pop ecx
rep stosd dword es:[edi], eax
lea ecx, [ebp + 8]
mov dword [ebp - 0x74], 0x44
mov dword [ebp - 0x48], 1
mov word [ebp - 0x44], 5
call fcn.0043388f
lea eax, [ebp - 0x30]
lea ecx, [ebp - 0x14]
push eax
lea eax, [ebp - 0x74]
push eax
push ebx
push ebx
push 0x20
push ebx
push ebx
push ebx
push ebx
mov byte [ebp - 4], 4
call fcn.0042c46b
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x433847
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x20]
push str.ERROR:_Failed_to_run_RDP_client__error_d
push eax
call fcn.0042783a
add esp, 0xc
lea eax, [ebp - 0x20]
push 0x48e404
push eax
call sub.MSVCRT.dll__CxxThrowException
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp + 8]
mov byte [ebp - 4], 3
call fcn.004338c0
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x14]
mov dword [esi], eax
mov eax, dword [ebp - 0x30]
mov dword [esi + 4], eax
mov byte [ebp - 4], bl
call fcn.0042bf6c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0042bf6c
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
Function at 0x433b12
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
mov eax, 0x480d68
call fcn.0047bf90
sub esp, 0x1c
push esi
mov esi, ecx
cmp byte [esi + 0xb04], 0
je 0x433c18
cmp byte [esi + 0x850], 0
je 0x433c18
mov eax, dword [esi + 0x824]
shr eax, 3
test al, 1
je 0x433c18
call dword [sym.imp.USER32.dll_GetClipboardOwner]
cmp eax, dword [esi + 0x694]
je 0x433c18
cmp byte [esi + 0x786], 0
je 0x433c18
lea ecx, [esi + 0x738]
push edi
mov dword [ebp - 0x10], ecx
call fcn.0045632c
push dword [esi + 0x694]
and dword [ebp - 4], 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x433c0b
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov edi, eax
test edi, edi
jne 0x433ba5
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x433c0b
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
lea ecx, [ebp - 0x28]
mov ebx, eax
call fcn.00428ebc
lea eax, [ebp - 0x28]
push 1
push eax
push ebx
mov byte [ebp - 4], 1
call fcn.0040bafe
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.00429f6b
mov edi, eax
mov ecx, eax
pop ebx
mov dl, byte [edi]
inc edi
cmp dl, 0xd
je 0x433be4
mov byte [ecx], dl
inc ecx
test dl, dl
jne 0x433be4
sub ecx, eax
dec ecx
push ecx
push eax
mov ecx, esi
call fcn.0043256a
and byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00428f7e
mov ecx, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
call fcn.0042845c
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x437d79
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 0x437e88
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.00437eb0
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 0x437e65
push str.235
push edi
mov ecx, esi
call fcn.00437d41
push 0x4a5764
push edi
mov ecx, esi
mov dword [ebx], eax
call fcn.00437d41
push 0x4a5760
push edi
mov ecx, esi
mov dword [esi + 0xc], eax
call fcn.00437d41
push 0x4a575c
push edi
mov ecx, esi
mov dword [esi + 0x10], eax
call fcn.00437d41
push 0x4a5758
push edi
mov ecx, esi
mov dword [esi + 0x14], eax
call fcn.00437d41
push 0x4a5754
push edi
mov ecx, esi
mov dword [esi + 0x18], eax
call fcn.00437d41
push 0x4a5750
push edi
mov ecx, esi
mov dword [esi + 0x1c], eax
call fcn.00437d41
push 0x4a574c
push edi
mov ecx, esi
mov dword [esi + 0x20], eax
call fcn.00437d41
push edi
mov dword [esi + 0x24], eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x437e88
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x4a5728
push 0x4aea90
call fcn.004287df
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 0x437eb0
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 0x437f78
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 0x437f31
push 0xe8
push edi
lea ecx, [ebp - 8]
call fcn.00425726
mov ecx, eax
call fcn.00425832
cmp dword [ebp + 8], ebx
jg 0x437f4b
push 0xe9
push edi
lea ecx, [ebp - 8]
call fcn.00425726
mov ecx, eax
call fcn.00425832
cmp dword [ebp + 0xc], ebx
jg 0x437f65
push 0xea
push edi
lea ecx, [ebp - 8]
call fcn.00425726
mov ecx, eax
call fcn.00425832
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 0x439143
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x481310
call fcn.0047bf90
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 0x4391cf
mov eax, dword [edi]
call dword [eax + 0x10]
test al, al
je 0x4392d0
lea eax, [edi + 4]
lea ecx, [ebp - 0x14]
push eax
call fcn.0042bc7b
mov edi, dword [edi + 0xf8]
xor ebx, ebx
add esi, edi
lea ecx, [ebp + 8]
push esi
mov dword [ebp - 4], ebx
call fcn.0042bc7b
push 5
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.0042b153
push eax
push ebx
lea ecx, [ebp + 8]
call fcn.0042b153
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.0042bf6c
lea ecx, [ebp - 0x14]
jmp 0x4392c7
lea ecx, [ebp - 0x10]
call fcn.0042bc6f
lea ecx, [edi + 4]
mov dword [ebp - 4], 2
call fcn.0042b153
mov ebx, eax
cmp word [ebx], 0
je 0x439237
cmp dword [ebp + 8], 0
jne 0x439237
push ebx
call dword [sym.imp.MSVCRT.dll_wcslen]
sub eax, 2
pop ecx
js 0x4392b5
cmp word [ebx + eax*2], 0x5c
je 0x439214
dec eax
jns 0x439205
jmp 0x4392b5
lea esi, [eax + 1]
lea ecx, [ebp - 0x10]
push esi
push ebx
push esi
call fcn.0042c46b
push eax
call dword [sym.imp.MSVCRT.dll_wcsncpy]
add esp, 0xc
lea ecx, [ebp - 0x10]
push esi
call fcn.0042c541
jmp 0x4392b5
mov eax, dword [edi + 0xf8]
add eax, esi
mov ecx, dword [eax + 4]
cmp ecx, 4
je 0x4392c4
cmp ecx, 0x10
jne 0x43925d
lea eax, [edi + 0x108]
push eax
lea ecx, [ebp - 0x10]
call fcn.0042c0ad
jmp 0x4392b5
cmp ecx, 0x11
jne 0x43926a
lea eax, [edi + 0x10c]
jmp 0x439252
cmp ecx, 1
push eax
je 0x439253
lea eax, [edi + 4]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0042c1e4
push 0x5c
push eax
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 3
push eax
call fcn.0042c681
add esp, 0x18
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.0042c0ad
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.0042bf6c
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.0042bf6c
mov esi, dword [edi]
lea ecx, [ebp - 0x10]
call fcn.0042b153
push eax
mov ecx, edi
call dword [esi]
lea ecx, [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
call fcn.0042bf6c
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x43d0da
Capabilities:
Get file size

Disassembly:
mov eax, 0x481a30
call fcn.0047bf90
sub esp, 0x18
mov al, byte [0x4aea32]
push ebx
push esi
push edi
mov esi, ecx
push eax
lea ecx, [ebp - 0x14]
call fcn.0041c68e
xor ebx, ebx
mov dword [ebp - 4], ebx
jmp 0x43d221
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.0042c1e4
add esp, 0xc
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.0042b153
push eax
call fcn.0044b915
mov edi, eax
pop ecx
cmp edi, ebx
je 0x43d155
lea ecx, [ebp - 0x10]
call fcn.0042b153
push eax
push edi
push str.Error__d_while_create_local_folder__d
jmp 0x43d1e7
mov eax, dword [esi + 0x188]
add eax, 0xc0
push eax
call fcn.0044bb7f
test al, al
pop ecx
jne 0x43d216
cmp dword [esi + 0x160], 0xffffffff
je 0x43d191
push 0x102
push str.S:Ammyy_sources_viewerVrFmBlockR.cpp
lea ecx, [ebp - 0x24]
call fcn.00425726
mov ecx, eax
call fcn.00425832
push ebx
push 0x20
push 4
push ebx
push 1
push 0xc0000000
lea ecx, [ebp - 0x10]
call fcn.0042b153
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [esi + 0x160], eax
jne 0x43d1c9
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error__d_while_opening_local_file__s
jmp 0x43d1e7
lea ecx, [ebp - 0x1c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x43d1f2
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.00439864
add esp, 0x10
jmp 0x43d216
cmp dword [ebp - 0x18], ebx
jl 0x43d202
jg 0x43d1fe
cmp dword [ebp - 0x1c], ebx
jbe 0x43d202
mov al, 1
jmp 0x43d204
xor al, al
push eax
mov ecx, esi
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
call fcn.0043d263
test al, al
jne 0x43d23d
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call fcn.0042bf6c
mov ecx, esi
call fcn.0043c77e
mov ecx, dword [esi + 0x188]
call fcn.00438b32
test al, al
je 0x43d104
jmp 0x43d248
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call fcn.0042bf6c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0041c6ab
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x43d263
Capabilities:
Clear file content

Disassembly:
mov eax, 0x481a4c
call fcn.0047bf90
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 0x43d31e
test edi, edi
jl 0x43d296
jg 0x43d291
cmp dword [ebp + 8], 0
jbe 0x43d296
xor eax, eax
inc eax
jmp 0x43d298
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.0042cfc0
mov ecx, dword [esi + 0xf0]
add esp, 0xc
call fcn.00429f6b
push eax
lea ecx, [esi + 0x168]
call fcn.0043ea51
cmp eax, 0x3f2
jne 0x43d451
lea eax, [ebp - 0x28]
push eax
push edi
push dword [ebp + 8]
push dword [esi + 0x160]
call fcn.0044b578
add esp, 0x10
test eax, eax
je 0x43d31a
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.00439864
add esp, 0x10
jmp 0x43d49b
mov byte [ebp - 0x10], 1
cmp byte [0x4aea50], 0
je 0x43d32b
or byte [ebp - 0x10], 4
push ebx
lea ecx, [ebp - 0x40]
call fcn.00428ebc
xor ebx, ebx
push 0x40
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], ebx
call fcn.00429090
push ebx
lea ecx, [ebp - 0x40]
call fcn.0042909f
push dword [ebp - 0x10]
lea ecx, [ebp - 0x40]
call fcn.00429090
test byte [ebp - 0x10], 1
mov dword [ebp - 0x14], ebx
je 0x43d382
mov ebx, dword [ebp + 8]
push edi
lea eax, [ebp - 0x40]
push ebx
push eax
call fcn.0044b9a8
add esp, 0xc
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x40]
push 0x10
push eax
call fcn.00429058
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.0042c1e4
add esp, 0xc
lea ecx, [ebp - 0x40]
push 1
push ecx
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.0042b153
push eax
call fcn.0040bafe
and byte [ebp - 4], 0
add esp, 0xc
lea ecx, [ebp + 0x10]
call fcn.0042bf6c
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 0x43d3fb
push 0x14b
push str.S:Ammyy_sources_viewerVrFmBlockR.cpp
lea ecx, [ebp + 8]
call fcn.00425726
mov ecx, eax
call fcn.00425832
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.00429f6b
mov ecx, dword [esi]
push eax
call dword [edi]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00428f7e
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 0x43d489
push dword [esi + 0x160]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x43d31e
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 0x43d30c
cmp eax, 2
jne 0x43d49b
mov eax, dword [esi + 0x188]
mov byte [eax + 0xc4], 1
xor al, al
jmp 0x43d441
Function at 0x43df17
Capabilities:
Get file size

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x128], 0x17
jne 0x43df34
push 1
push 0
push 0
call fcn.0043d263
test al, al
je 0x43df5a
pop esi
ret
mov ecx, dword [esi + 0x188]
add ecx, 0xc0
call fcn.0042b153
push eax
push dword [esi + 0x128]
push str.Error__d_while_opening_remote_file__s
push esi
call fcn.00439864
add esp, 0x10
mov ecx, esi
pop esi
jmp fcn.0043d0da
Function at 0x43ed80
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 dword [ebp - 8], edi
mov dword [ebp - 4], edi
je 0x43edc3
mov eax, dword [ebp + 0xc]
sub eax, 0xd
je 0x43edbc
sub eax, 4
je 0x43edb3
dec eax
jne 0x43edc3
mov dword [ebp + 0xc], 0xa5
jmp 0x43edc3
mov dword [ebp + 0xc], 0xa3
jmp 0x43edc3
mov dword [ebp + 0xc], 0x1234
push dword [ebp + 0xc]
call fcn.0043efa7
mov esi, eax
cmp esi, edi
jbe 0x43ee0f
mov edi, 0xffe5
cmp esi, edi
je 0x43ede2
cmp esi, 0xffe6
jne 0x43ee00
push 0x91
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
je 0x43ee00
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 0x43ef93
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
call fcn.00406408
push eax
lea eax, [ebp - 0x28]
push edi
mov esi, dword [sym.imp.USER32.dll_ToAsciiEx]
push eax
lea eax, [ebp - 0x128]
push eax
push edi
push dword [ebp + 0xc]
call esi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor ebx, ebx
inc ebx
mov dword [ebp + 0x10], eax
test byte [ebp - 0x116], 0x80
je 0x43eeda
test byte [ebp - 0x117], 0x80
je 0x43eeda
cmp eax, ebx
jl 0x43eeda
mov al, byte [ebp - 0x28]
cmp al, 0x20
jb 0x43ee6b
cmp al, 0x7e
jbe 0x43ee73
cmp al, 0xa0
jb 0x43eeda
cmp al, 0xff
ja 0x43eeda
push 0xa2
call edi
shr eax, 0xf
test bl, al
je 0x43ee84
mov dword [ebp - 8], ebx
push 0xa4
call edi
shr eax, 0xf
test bl, al
je 0x43ee96
or dword [ebp - 8], 4
push 0xa5
call edi
shr eax, 0xf
test bl, al
je 0x43eea8
or dword [ebp - 8], 8
xor eax, eax
cmp dword [ebp - 8], eax
jne 0x43eeb6
mov dword [ebp - 8], 0xd
cmp dword [ebp + 0x10], eax
jle 0x43eeda
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 0x43eebb
cmp dword [ebp - 4], 0
jne 0x43ef93
and byte [ebp - 0x85], 0
and byte [ebp - 0x86], 0
and byte [ebp - 0x117], 0
call fcn.00406408
push eax
lea eax, [ebp - 0x28]
push 0
push eax
lea eax, [ebp - 0x128]
push eax
push 0
push dword [ebp + 0xc]
call esi
mov esi, eax
test esi, esi
jge 0x43ef75
movzx eax, byte [ebp - 0x28]
sub eax, 0x27
je 0x43ef6b
sub eax, 0x37
je 0x43ef62
dec eax
dec eax
je 0x43ef59
sub eax, 0x1e
je 0x43ef50
sub eax, 0x2a
jne 0x43ef75
push 0x11
call edi
shr eax, 0xf
test bl, al
je 0x43ef46
push 0x12
call edi
shr eax, 0xf
test bl, al
mov eax, 0xfe53
jne 0x43ef4b
mov eax, 0xfe57
mov dword [ebp - 0x18], eax
jmp 0x43ef72
mov dword [ebp - 0x18], 0xfe53
jmp 0x43ef72
mov dword [ebp - 0x18], 0xfe50
jmp 0x43ef72
mov dword [ebp - 0x18], 0xfe52
jmp 0x43ef72
mov dword [ebp - 0x18], 0xfe51
mov dword [ebp - 4], ebx
cmp esi, ebx
jl 0x43ef93
xor eax, eax
test esi, esi
jle 0x43ef93
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 0x43ef7f
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 0x43f1cc
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x481c41
call fcn.0047bf90
push ecx
push ebx
push esi
push edi
xor edi, edi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.00429f36
mov dword [esi], 0x483c14
lea ecx, [esi + 0x24]
mov dword [ebp - 4], edi
call fcn.0042a6b5
lea ecx, [esi + 0x28]
mov byte [ebp - 4], 1
call fcn.0042a6b5
push fcn.0043a291
push 0x41900a
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.0047c173
lea ebx, [esi + 0x98]
push edi
mov ecx, ebx
mov byte [ebp - 4], 3
call fcn.00429f36
mov edi, 0x483c70
mov dword [ebx], edi
lea ebx, [esi + 0xa4]
push 0
mov ecx, ebx
mov byte [ebp - 4], 4
call fcn.00429f36
mov dword [ebx], edi
and byte [esi + 0x13], 0
mov ecx, esi
mov byte [ebp - 4], 5
mov dword [esi], 0x48a848
mov dword [esi + 0xc], 0xae
call fcn.0043fa69
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x43ff24
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.004235ff
mov esi, eax
add esp, 0xc
test esi, esi
je 0x43ff6b
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 0x43ff6f
xor al, al
jmp 0x43ff7a
mov ecx, dword [ebp + 8]
push esi
call fcn.004233eb
mov al, 1
pop esi
leave
ret
Function at 0x441141
Capabilities:
Log keystrokes via polling

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

Function at 0x441476
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x481f0e
call fcn.0047bf90
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.00449ccf
xor ebx, ebx
lea ecx, [esi + 0x88]
mov dword [ebp - 4], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x70], ebx
call fcn.0042844e
lea ecx, [esi + 0xa4]
mov byte [ebp - 4], 1
call fcn.0042844e
lea ecx, [esi + 0xcc]
mov byte [ebp - 4], 2
call fcn.00457a75
lea ecx, [esi + 0x18c]
mov byte [ebp - 4], 3
call fcn.00456dd9
lea edi, [esi + 0x240]
mov byte [ebp - 4], 4
lea ecx, [edi + 8]
call fcn.0042a6b5
mov dword [edi], 0x48a880
mov dword [edi + 4], ebx
lea ecx, [esi + 0x250]
mov byte [ebp - 4], 5
call fcn.0042994c
push 0x4a6684
push str.S:Ammyy_sources_targetTrClient.cpp
push 2
push 0x4aea90
mov byte [ebp - 4], 6
mov dword [esi], 0x48a85c
call fcn.0041c87e
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 0x44153d
call fcn.0042d9e1
jmp 0x44153f
xor eax, eax
mov byte [ebp - 4], 6
mov dword [esi + 0xc], eax
mov byte [esi + 0xa0], bl
mov byte [esi + 0xbc], bl
mov byte [esi + 0xbd], bl
mov dword [esi + 0xc0], ebx
mov dword [esi + 0xc8], ebx
call fcn.0044c176
mov ecx, dword [ebp - 0xc]
mov byte [esi + 0xc5], bl
mov word [esi + 0x84], bx
mov dword [esi + 0x3c], ebx
mov byte [esi + 0x30], bl
mov byte [esi + 0xc4], bl
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x44248c
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov eax, 0x482174
call fcn.0047bf90
sub esp, 0x20
mov eax, dword [ebp + 0x10]
push esi
lea ecx, [ebp - 0x2c]
lea eax, [eax + eax + 1]
push eax
call fcn.00428ef2
and dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00429f6b
mov edx, dword [ebp + 0xc]
mov esi, eax
mov cl, byte [edx]
inc edx
cmp cl, 0xa
jne 0x4424c7
mov byte [eax], 0xd
inc eax
mov byte [eax], cl
inc eax
test cl, cl
jne 0x4424bb
push 0xffffffffffffffff
lea eax, [ebp + 0x10]
push esi
push eax
call fcn.0040bbe1
add esp, 0xc
push dword [ebp + 8]
mov byte [ebp - 4], 1
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x44250c
lea eax, [ebp - 0x14]
push str.Failed_to_open_clipboard
push eax
call fcn.0042783a
pop ecx
lea eax, [ebp - 0x14]
pop ecx
push 0x48e404
push eax
call sub.MSVCRT.dll__CxxThrowException
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
jne 0x44253a
call dword [sym.imp.USER32.dll_CloseClipboard]
lea eax, [ebp - 0x14]
push str.Failed_to_empty_clipboard
push eax
call fcn.0042783a
pop ecx
lea eax, [ebp - 0x14]
pop ecx
push 0x48e404
push eax
call sub.MSVCRT.dll__CxxThrowException
push edi
lea ecx, [ebp + 0x10]
call fcn.0042c6c3
lea edi, [eax + eax + 2]
push edi
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x442587
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push edi
lea ecx, [ebp + 0x10]
mov ebx, eax
call fcn.0042b153
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 0x4425b0
lea eax, [ebp - 0x14]
push str.Failed_to_close_clipboard
push eax
call fcn.0042783a
pop ecx
lea eax, [ebp - 0x14]
pop ecx
push 0x48e404
push eax
call sub.MSVCRT.dll__CxxThrowException
and byte [ebp - 4], 0
lea ecx, [ebp + 0x10]
call fcn.0042bf6c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00428f7e
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret