joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10003be0
Capabilities:
Send data
Send data on socket

Disassembly:
mov eax, dword [eax + 0x14]
push ebx
test eax, eax
jne 0x10003c03
mov ecx, dword [esi + 0x44]
mov edx, dword [esi + 0x40]
push 0x23
push ecx
push edx
call dword [sym.imp.WS2_32.dll_WSAEventSelect]
cmp eax, 0xffffffff
jne 0x10003c1c
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, 1
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], 2
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], ebx
xor eax, eax
pop ebx
ret
push edi
lea eax, [esi + 0x19c]
mov ebx, 1
push eax
mov dword [esi + 0x60], ebx
lea edx, [esi + 0x1d8]
mov ecx, esi
mov eax, esi
mov dword [esi + 0x64], ebx
call fcn.10004aa0
mov ecx, dword [esi + 0x40]
xor edi, edi
push edi
push edi
push edi
push ecx
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
jne 0x10003c64
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
cmp edi, 0x2733
jne 0x10003c64
xor edi, edi
mov edx, dword [esi + 0x48]
push edx
call fcn.10002c60
add esp, 4
test edi, edi
pop edi
je 0x10003c7f
mov eax, 0x80004005
call fcn.10001280
mov eax, ebx
pop ebx
ret

Function at 0x10003c90
Capabilities:
Receive data
Receive data on socket

Disassembly:
push esi
push edi
mov eax, dword [ebx + 0x70]
mov ecx, dword [ebx + 0x40]
push 0
push 0x598
push eax
push ecx
call dword [sym.imp.WS2_32.dll_recv]
mov edi, eax
test edi, edi
jle 0x10003d50
cmp edi, 0x10
jne 0x10003cda
mov edx, dword [ebx + 0x70]
mov ecx, eax
mov eax, 0x1001a288
sub edx, eax
cmp ecx, 4
jb 0x10003d88
mov esi, dword [edx + eax]
cmp esi, dword [eax]
jne 0x10003cda
sub ecx, 4
add eax, 4
jmp 0x10003cc2
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [ebx + 0x1c0]
mov edx, dword [ebx + 0x1c8]
mov eax, dword [ebx + 0x70]
lea esi, [ebx + 0x1d8]
cmp edi, 0x18
jl 0x10003d08
push ecx
push edi
push eax
mov edi, edx
call fcn.10005020
jmp 0x10003d12
cmp edi, 0xc
jne 0x10003d7e
call fcn.10004ed0
cmp eax, 2
jne 0x10003c92
mov edx, dword [ebx + 0x48]
push edx
call fcn.10002c60
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x10003d36
mov eax, 0x4c7
mov ecx, 1
mov dword [ebx + 0x3c], ecx
mov dword [ebx + 0x34], 4
mov dword [ebx + 0x30], ecx
pop edi
mov dword [ebx + 0x38], eax
xor eax, eax
pop esi
ret
cmp edi, 0xffffffff
jne 0x10003c92
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x10003da1
cmp eax, 0x2744
je 0x10003c92
cmp eax, 0x2746
je 0x10003c92
jmp 0x10003d36
push 0xd
call dword [sym.imp.WS2_32.dll_WSASetLastError]
jmp 0x10003d1b
xor eax, eax
pop edi
mov dword [ebx + 0x30], 1
mov dword [ebx + 0x34], 5
mov dword [ebx + 0x3c], eax
mov dword [ebx + 0x38], eax
pop esi
ret
pop edi
mov eax, 1
pop esi
ret
Function at 0x10003db0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ebx
push edi
jmp 0x10003dc0
mov eax, dword [esi + 0x194]
test eax, eax
jle 0x10003eea
lea edi, [esi + 0x160]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [esi + 0x17c]
cmp ebx, dword [esi + 0x180]
je 0x10003dfb
mov eax, dword [ebx + 4]
mov dword [esi + 0x17c], eax
mov dword [eax + 8], 0
jmp 0x10003e0d
test ebx, ebx
je 0x10003e0d
xor eax, eax
mov dword [esi + 0x17c], eax
mov dword [esi + 0x180], eax
xor eax, eax
cmp ebx, eax
je 0x10003e1f
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
dec dword [esi + 0x178]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test ebx, ebx
je 0x10003eea
mov ecx, dword [ebx + 0x14]
mov eax, dword [ebx + 0x18]
push 0
sub eax, ecx
push eax
push ecx
mov ecx, dword [esi + 0x40]
push ecx
call dword [sym.imp.WS2_32.dll_send]
mov edi, eax
test edi, edi
jle 0x10003e6c
lea eax, [esi + 0x160]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
sub dword [esi + 0x194], edi
lea eax, [esi + 0x160]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x10003e71
cmp edi, 0xffffffff
je 0x10003e97
push ebx
lea edi, [esi + 0x98]
call fcn.10001480
test eax, eax
jne 0x10003dc0
mov edx, dword [ebx]
push ebx
push eax
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x10003dc0
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x10003ef5
lea edi, [esi + 0x160]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x17c]
xor ecx, ecx
cmp eax, ecx
je 0x10003ecb
mov dword [eax + 8], ebx
mov ecx, dword [esi + 0x17c]
mov dword [ebx + 4], ecx
jmp 0x10003ed7
mov dword [ebx + 8], ecx
mov dword [ebx + 4], ecx
mov dword [esi + 0x180], ebx
inc dword [esi + 0x178]
push edi
mov dword [esi + 0x17c], ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 1
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, 1
push ebx
lea edi, [esi + 0x98]
mov dword [esi + 0x30], ecx
mov dword [esi + 0x34], 3
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], ecx
call fcn.10001480
test eax, eax
jne 0x10003f27
mov edx, dword [ebx]
push ebx
push eax
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10003f30
Capabilities:
Send data
Send data on socket

Disassembly:
push ebx
push esi
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edi, eax
mov eax, dword [esi + 0x64]
cmp eax, 3
je 0x10004017
lea ebx, [esi + 0x15c]
call fcn.10002b90
mov ecx, dword [esi + 0x64]
cmp ecx, 1
je 0x10003f67
mov edx, dword [esi + 0x64]
test edx, edx
jne 0x10004011
mov dword [esi + 0x64], 2
mov dword [ebx], 0
mov eax, edi
call fcn.10004130
mov eax, dword [esi + 0x60]
test eax, eax
je 0x10003fa2
cmp dword [esi + 0x3c], 0
je 0x10003f9b
mov ecx, dword [esi + 0x40]
push 0
push 0x10
push 0x1001a288
push ecx
call dword [sym.imp.WS2_32.dll_send]
mov dword [esi + 0x60], 0
cmp dword [esi + 0x30], 0
je 0x10003fca
mov edx, dword [esi + 0x48]
push edx
call fcn.10002c60
mov eax, dword [esi + 4]
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0
lea ecx, [esi + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov eax, dword [esi + 0x44]
test eax, eax
je 0x10003fdf
push eax
call dword [sym.imp.WS2_32.dll_WSACloseEvent]
mov dword [esi + 0x44], 0
mov eax, dword [esi + 0x40]
cmp eax, 0xffffffff
je 0x10004001
push 1
push eax
call dword [sym.imp.WS2_32.dll_shutdown]
mov edx, dword [esi + 0x40]
push edx
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [esi + 0x40], 0xffffffff
mov edi, esi
call fcn.10004030
pop edi
pop esi
mov eax, 1
pop ebx
ret
mov dword [ebx], 0
push 0x139f
mov dword [esi + 0x5c], 1
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
pop esi
xor eax, eax
pop ebx
ret

Function at 0x100043e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 4]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_ResetEvent]
push eax
call edi
mov ecx, dword [esi + 0x264]
push ecx
call edi
call dword [sym.imp.WINMM.dll_timeGetTime]
push 0
lea ebx, [esi + 0x18]
push ebx
mov dword [esi + 0x14], eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
xor eax, eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov word [esi + 0x28], ax
mov ecx, dword [esi + 0x64]
mov edx, dword [esi + 0x14]
mov eax, dword [esi + 0x18]
mov dword [esi + 0x20], edx
mov dword [esi + 0x24], eax
mov word [esi + 0x28], 0xca
cmp ecx, 3
je 0x10004440
mov eax, esi
call fcn.10003f30
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push edx
push eax
mov eax, esi
call fcn.100034f0
mov ecx, dword [esi + 0x264]
push 0x1770
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x10004499
cmp eax, 0x102
je 0x10004485
cmp eax, 0xffffffff
jne 0x1000448e
mov edx, dword [esi + 0x264]
push edx
call edi
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [esi + 0x264]
push eax
call edi
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 8
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov ecx, dword [esi + 0x264]
push ecx
call edi
lea edx, [ebp - 4]
push edx
push 0
push esi
push 0x100044e0
push 0
push 0
call fcn.1000950b
add esp, 0x18
pop edi
mov dword [esi + 0x268], eax
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x100062b1
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
mov al, byte [esi]
mov ebx, ecx
cmp al, 0xc9
je case.default.0x100061e1
movzx eax, al
cmp eax, 0xa
ja case.default.0x100061e1
push edi
jmp dword [eax*4 + 0x100062d8]
mov eax, dword [ebx + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
pop edi
pop esi
pop ebx
pop ebp
ret 8
pop edi
pop esi
mov byte [ebx + 0x2d0], 1
pop ebx
pop ebp
ret 8
pop edi
pop esi
mov byte [ebx + 0x2d0], 0
pop ebx
pop ebp
ret 8
cmp dword [ebx + 0x6ec], 0
mov edi, dword [sym.imp.USER32.dll_BlockInput]
je 0x10006228
push 0
call edi
mov eax, dword [ebp + 0xc]
inc esi
dec eax
push esi
call fcn.10006ed0
mov ebx, dword [ebx + 0x6ec]
test ebx, ebx
je case.0x100061e1.3
push ebx
call edi
pop edi
pop esi
pop ebx
pop ebp
ret 8
movzx ecx, byte [esi + 1]
push ecx
lea edi, [ebx + 0x6ec]
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov edx, dword [edi]
push edx
call dword [sym.imp.USER32.dll_BlockInput]
pop edi
pop esi
pop ebx
pop ebp
ret 8
movzx eax, byte [esi + 1]
push eax
add ebx, 0x6e4
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
pop edi
pop esi
pop ebx
pop ebp
ret 8
push ebx
call fcn.100064c0
pop edi
pop esi
pop ebx
pop ebp
ret 8
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je case.0x100061e1.3
mov edi, dword [ebp + 0xc]
inc esi
dec edi
push esi
call fcn.10006470
pop edi
pop esi
pop ebx
pop ebp
ret 8
mov ecx, dword [esi + 1]
push 0
push 0
push ebx
push 0x10005c70
push 0
push 0
mov dword [ebx + 0x6d0], ecx
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x10006470
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push esi
call dword [sym.imp.USER32.dll_EmptyClipboard]
push edi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x100064b5
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, dword [ebp + 8]
push edi
push ecx
push eax
call fcn.1000ecc0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
pop ebp
ret 4
Function at 0x100064c0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1000654f
push edi
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov edi, eax
test edi, edi
jne 0x100064ec
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
mov esp, ebp
pop ebp
ret 4
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push edi
lea esi, [eax + 1]
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push esi
mov dword [ebp - 4], eax
call fcn.10008af2
mov ecx, dword [ebp - 4]
mov ebx, eax
lea eax, [esi - 1]
push eax
push ecx
lea edx, [ebx + 1]
push edx
mov byte [ebx], 0xc
call fcn.1000ecc0
add esp, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [ebp + 8]
cmp dword [eax + 8], 0
jne 0x10006543
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 8]
push esi
push ebx
call edx
push ebx
call fcn.100095ab
add esp, 4
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret 4

Function at 0x10006690
Capabilities:
Create thread
Resume thread

Disassembly:
push edi
xor edi, edi
push edi
push 4
push esi
push 0x10006720
push edi
push edi
mov byte [esi + 0x2e0], 1
mov dword [esi + 0x2d4], edi
mov dword [esi + 0x2d8], edi
mov dword [esi + 0x2dc], edi
call fcn.1000950b
push edi
push 4
push esi
push 0x10006980
push edi
push edi
mov dword [esi + 0x2d4], eax
call fcn.1000950b
push edi
push 4
push esi
push 0x10006c50
push edi
push edi
mov dword [esi + 0x2d8], eax
call fcn.1000950b
mov edi, dword [sym.imp.KERNEL32.dll_ResumeThread]
mov dword [esi + 0x2dc], eax
mov eax, dword [esi + 0x2d4]
add esp, 0x48
push eax
call edi
mov ecx, dword [esi + 0x2d8]
push ecx
call edi
mov edx, dword [esi + 0x2dc]
push edx
call edi
pop edi
ret
Function at 0x10007a60
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
dec eax
jne 0x10007a97
cmp dword [0x1001d69c], eax
je 0x10007a97
cmp dword [0x101998c4], eax
jne 0x10007a97
push eax
push eax
push eax
push 0x10007930
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push eax
mov dword [0x101998c4], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, 1
pop ebp
ret 0xc

Function at 0x10007aa0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push eax
push 0xff
push str.192.168.50.142
call fcn.10009358
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
add esp, 0xc
push 0
push 0
push 0
push 0x10007930
push 0
push 0
mov dword [0x1001d694], ecx
mov dword [0x1001d698], edx
mov dword [0x1001d69c], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push eax
mov dword [0x101998c4], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x12c
call dword [sym.imp.KERNEL32.dll_Sleep]
xor al, al
pop ebp
ret

Function at 0x10007b10
Capabilities:
Create thread

Disassembly:
push 0
push 0
push 0
push 0x10007930
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x12c
call dword [sym.imp.KERNEL32.dll_Sleep]
xor al, al
ret
Function at 0x10007f20
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi]
movzx ecx, word [eax + 0x14]
mov edx, dword [edi + 0x3c]
mov esi, dword [ecx + eax + 0x20]
dec edx
lea ecx, [ecx + eax + 0x18]
not edx
and edx, esi
mov dword [ebp - 0x1c], esi
mov esi, dword [ecx + 0x10]
mov dword [ebp - 0x18], edx
test esi, esi
jne 0x10007f63
mov ebx, dword [ecx + 0x24]
test bl, 0x40
je 0x10007f5c
mov esi, dword [eax + 0x20]
jmp 0x10007f63
test bl, bl
jns 0x10007f63
mov esi, dword [eax + 0x24]
mov dword [ebp - 0x14], esi
mov esi, dword [ecx + 0x24]
mov dword [ebp - 0x10], esi
mov esi, 1
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 1
cmp si, word [eax + 6]
jae 0x10008030
lea ebx, [ecx + 0x4c]
lea esp, [esp]
mov esi, dword [edi + 0x3c]
mov ecx, dword [ebx - 0x1c]
mov edi, dword [ebx - 0x14]
dec esi
not esi
and esi, ecx
mov dword [ebp - 4], ecx
test edi, edi
jne 0x10007fb8
mov ecx, dword [ebx]
test cl, 0x40
je 0x10007fb1
mov edi, dword [eax + 0x20]
jmp 0x10007fb8
test cl, cl
jns 0x10007fb8
mov edi, dword [eax + 0x24]
cmp edx, esi
je 0x10007fe7
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x1c]
cmp eax, esi
ja 0x10007fe7
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x1c]
call fcn.10007e70
test eax, eax
je 0x1000804e
mov edx, dword [ebp - 4]
mov eax, dword [ebx]
mov dword [ebp - 0x1c], edx
mov edx, esi
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x10], eax
jmp 0x1000800f
mov eax, dword [ebx]
test eax, 0x2000000
je 0x10007ffe
test dword [ebp - 0x10], 0x2000000
je 0x10007ffe
or dword [ebp - 0x10], eax
jmp 0x10008009
or eax, dword [ebp - 0x10]
and eax, 0xfdffffff
mov dword [ebp - 0x10], eax
sub edi, dword [ebp - 0x1c]
add edi, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov ecx, dword [ebp - 8]
movzx esi, word [eax + 6]
inc ecx
add ebx, 0x28
mov dword [ebp - 0x14], edi
mov edi, dword [ebp + 8]
mov dword [ebp - 8], ecx
cmp ecx, esi
jl 0x10007f90
lea ecx, [ebp - 0x1c]
mov eax, edi
mov dword [ebp - 0xc], 1
call fcn.10007e70
neg eax
pop edi
sbb eax, eax
pop esi
neg eax
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10008b08
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1001c210]
jne 0x10008b12
repz ret
jmp fcn.1000a26c

Function at 0x1000ea02
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1001c210]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.1000be42
and dword [ebp - 0x14], 0
cmp dword [0x10199890], 0
mov dword [ebp - 0x18], eax
jne 0x1000eab5
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x1000eb5d
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x10018c04
push ebx
call edi
test eax, eax
je 0x1000eb5d
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x10199890], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x10199894], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x10199898], eax
call edi
push eax
call esi
mov dword [0x101998a0], eax
test eax, eax
je 0x1000eab5
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x1019989c], eax
mov eax, dword [0x1019989c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x1000eb0e
cmp dword [0x101998a0], ecx
je 0x1000eb0e
push eax
call esi
push dword [0x101998a0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x1000eb0e
test ebx, ebx
je 0x1000eb0e
call edi
test eax, eax
je 0x1000eb05
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x1000eb05
test byte [ebp - 8], 1
jne 0x1000eb0e
or dword [ebp + 0x10], 0x200000
jmp 0x1000eb41
mov eax, dword [0x10199894]
cmp eax, dword [ebp - 0x18]
je 0x1000eb41
push eax
call esi
test eax, eax
je 0x1000eb41
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1000eb41
mov eax, dword [0x10199898]
cmp eax, dword [ebp - 0x18]
je 0x1000eb41
push eax
call esi
test eax, eax
je 0x1000eb41
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x10199890]
call esi
test eax, eax
je 0x1000eb5d
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x1000eb5f
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10008b08
leave
ret
Function at 0x100015c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
imul ebx, eax, 0x508
sub esp, 0x14
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x100060ec]
test eax, eax
je 0x100016b0
lea esi, [ebx + 0x100060a0]
mov edi, edx
mov eax, esi
call sym._controller_lock.part.0
test eax, eax
je 0x100016b0
movzx ecx, word [esi + 0x30]
xor cx, word [esi + 0x3c]
mov edx, 1
xor eax, eax
movzx ecx, cx
jmp 0x10001617
mov edx, dword [eax*8 + 0x10009ba0]
test ecx, edx
jne 0x100016c0
add eax, 1
cmp eax, 0xe
jne 0x10001610
imul edx, dword [ebp - 0x10], 0x508
cmp byte [edx + 0x100060d2], 0x1e
lea eax, [edx + 0x100060a0]
seta cl
cmp byte [edx + 0x100060de], 0x1e
seta dl
cmp cl, dl
jne 0x10001710
cmp byte [eax + 0x33], 0x1e
seta dl
cmp byte [eax + 0x3f], 0x1e
seta cl
cmp dl, cl
je 0x10001750
mov dword [edi], 0x5807
xor edx, edx
cmp byte [eax + 0x33], 0x1f
setb dl
movzx ebx, byte [ebp - 0x10]
mov byte [edi + 7], 0
add edx, 1
mov word [edi + 4], dx
mov byte [edi + 6], bl
movzx edx, byte [eax + 0x33]
mov byte [eax + 0x3f], dl
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0x10]
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
lea esp, [ebp - 0xc]
mov eax, 0x48f
pop ebx
pop esi
pop edi
pop ebp
ret
imul ecx, dword [ebp - 0x10], 0x508
movzx eax, word [eax*8 + 0x10009ba4]
mov word [edi], ax
xor eax, eax
mov word [edi + 2], ax
lea eax, [ecx + 0x100060a0]
movzx ecx, word [ecx + 0x100060d0]
test ecx, edx
jne 0x10001740
mov ecx, 2
not edx
mov word [edi + 4], cx
and word [eax + 0x3c], dx
movzx eax, byte [ebp - 0x10]
mov byte [edi + 7], 0
mov byte [edi + 6], al
xor eax, eax
jmp 0x10001690
mov dword [edi], 0x5806
xor edx, edx
cmp byte [eax + 0x32], 0x1f
setb dl
movzx ebx, byte [ebp - 0x10]
mov byte [edi + 7], 0
add edx, 1
mov word [edi + 4], dx
mov byte [edi + 6], bl
movzx edx, byte [eax + 0x32]
mov byte [eax + 0x3e], dl
xor eax, eax
jmp 0x10001690
mov ebx, 1
mov word [edi + 4], bx
or word [eax + 0x3c], dx
jmp 0x100016f8
lea eax, [ebx + 0x100060e2]
mov dword [esp + 0xc], 0x5820
lea ecx, [ebx + 0x100060d4]
mov edx, edi
mov dword [esp + 8], eax
lea eax, [ebx + 0x100060e0]
mov dword [esp + 4], eax
lea eax, [ebx + 0x100060d6]
mov dword [esp], eax
mov eax, dword [ebp - 0x10]
call sym._check_joystick_keystroke
test eax, eax
je 0x10001690
lea eax, [ebx + 0x100060e6]
lea ecx, [ebx + 0x100060d8]
mov dword [esp + 0xc], 0x5830
mov edx, edi
mov dword [esp + 8], eax
lea eax, [ebx + 0x100060e4]
add ebx, 0x100060da
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x10]
mov dword [esp], ebx
call sym._check_joystick_keystroke
jmp 0x10001690
Function at 0x10001b40
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x18
movzx esi, word [eax + 0x264]
mov edi, dword [eax + 0x468]
mov eax, dword [eax + 0x48]
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x258]
test eax, eax
jne 0x10001bf7
test byte [ebx + 0x1a], 1
jne 0x10001c20
lea eax, [ebx + 0x454]
mov edx, dword [ebx + 0x450]
mov dword [ebx + 0x258], 1
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0x4c]
mov dword [ebx + 0x454], 0
mov dword [ebx + 0x458], 0
mov dword [ebx + 0x45c], 0
mov dword [ebx + 0x460], 0
mov dword [ebx + 0x464], edx
mov dword [esp + 0xc], 0
mov dword [esp + 8], esi
mov dword [esp + 4], edi
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_ReadFile]
sub esp, 0x14
test eax, eax
jne 0x10001c00
mov eax, dword fs:[0x18]
cmp dword [eax + 0x34], 0x3e5
je 0x10001c00
mov eax, ebx
call sym._controller_destroy.constprop.0
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [0x1000c008]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_SetEvent]
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
lea ecx, [ebp - 0xe]
lea edx, [ebp - 0x10]
mov eax, ebx
call sym._HID_set_state.isra.0
jmp 0x10001b76