joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1b34ac
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp dword [ebp - 8], 0
je 0x1b362c
mov byte [ebp - 0x11], 1
mov eax, dword [ebp - 8]
call fcn.00105358
mov dword [ebp - 0x10], eax
call fcn.00144e00
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
push ebp
push 0x1b3625
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.user32.dll_EmptyClipboard
mov esi, dword [ebp - 0x10]
inc esi
push esi
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x1b3565
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GlobalLock
mov ebx, eax
xor eax, eax
push ebp
push 0x1b355e
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
je 0x1b3547
mov eax, dword [ebp - 8]
call fcn.00105558
mov ecx, esi
mov edx, ebx
call fcn.00103118
mov eax, dword [ebp - 0xc]
push eax
push 1
call sub.user32.dll_SetClipboardData
test eax, eax
sete byte [ebp - 0x11]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x1b3565
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
cmp byte [ebp - 0x11], 0
jne 0x1b35f1
mov esi, dword [ebp - 0x10]
inc esi
mov eax, esi
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GlobalLock
mov ebx, eax
xor eax, eax
push ebp
push 0x1b35ea
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
je 0x1b35d3
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x2fd]
mov byte [ebx], al
inc ebx
mov eax, dword [ebp - 8]
call fcn.00105558
mov ecx, esi
mov edx, ebx
call fcn.00103118
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [0x273ea8]
push eax
call sub.user32.dll_SetClipboardData
test eax, eax
sete byte [ebp - 0x11]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x1b35f1
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x1b362c
call fcn.00144e00
mov edx, dword [eax]
call dword [edx + 0x14]
cmp byte [ebp - 0x11], 0
je 0x1b3624
mov ecx, 0x1b363c
mov dl, 1
mov eax, dword [0x1b16f0]
call fcn.00110410
call fcn.001049ec
ret
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1d98ec
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x1d9aae
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebx + 0x2c], 0
jle 0x1d9a98
mov edx, edi
mov eax, ebx
call fcn.001d978c
mov edx, edi
mov eax, ebx
call fcn.001d97e4
mov eax, dword [edi + 0x14]
mov dl, 1
call fcn.0012b964
cmp byte [ebx + 4], 0
jne 0x1d9949
mov eax, dword [ebx + 0x28]
mov eax, dword [eax + 0x6c]
sub eax, dword [ebx + 0x2c]
mov dword [ebp - 0x10], eax
jmp 0x1d9952
mov eax, dword [ebx + 0x28]
mov eax, dword [eax + 0x70]
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x28]
mov eax, dword [eax + 0x7c]
add dword [ebp - 0x10], eax
mov dword [ebp - 0x14], 1
mov eax, dword [ebx + 0x10]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x1d9a8f
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 8], 0
mov edx, dword [ebp - 8]
mov eax, dword [ebx + 0x10]
call fcn.0011dfa0
mov esi, eax
mov edx, dword [esi + 8]
mov eax, edi
call fcn.0012c0dc
mov eax, dword [esi + 0xc]
cmp eax, dword [ebp - 0x14]
je 0x1d99b3
mov edx, dword [ebp - 0x14]
dec edx
mov eax, dword [ebx + 0x40]
call fcn.0011dfa0
mov eax, dword [eax + 4]
add dword [ebp - 0x10], eax
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x14], eax
mov al, byte [ebx + 0x3c]
push eax
mov eax, dword [ebx + 0x24]
push eax
mov eax, dword [ebx + 0x1c]
push eax
mov eax, dword [ebx + 0x18]
push eax
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebx + 0x20]
mov eax, esi
call fcn.001d9130
mov al, byte [esi + 0x10]
cmp byte [ebx + 0x48], 0
je 0x1d9a01
mov edx, dword [ebp - 4]
and edx, 0x80000001
jns 0x1d99ed
dec edx
or edx, 0xfffffffe
inc edx
test edx, edx
jne 0x1d9a01
mov dl, byte [esi + 0x10]
sub dl, 1
jb 0x1d99ff
jne 0x1d9a01
xor eax, eax
jmp 0x1d9a01
mov al, 1
mov esi, dword [ebx + 0x28]
mov edx, dword [esi + 0x74]
mov dword [ebp - 0xc], edx
dec al
je 0x1d9a14
dec al
je 0x1d9a28
jmp 0x1d9a44
mov edx, dword [ebp - 0x18]
mov eax, edi
call fcn.0012c01c
mov edx, dword [esi + 0x78]
sub edx, eax
mov dword [ebp - 0xc], edx
jmp 0x1d9a44
mov edx, dword [ebp - 0x18]
mov eax, edi
call fcn.0012c01c
mov edx, dword [esi + 0x74]
add edx, dword [esi + 0x78]
sub edx, eax
sar edx, 1
jns 0x1d9a41
adc edx, 0
mov dword [ebp - 0xc], edx
push 0x18
mov eax, edi
call fcn.0012c1e0
push eax
call sub.gdi32.dll_SetTextAlign
mov esi, eax
mov eax, dword [ebp - 0x18]
push eax
mov edx, dword [ebp - 0x14]
dec edx
mov eax, dword [ebx + 0x40]
call fcn.0011dfa0
mov ecx, dword [eax + 8]
add ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov eax, edi
call fcn.0012beac
push esi
mov eax, edi
call fcn.0012c1e0
push eax
call sub.gdi32.dll_SetTextAlign
inc dword [ebp - 8]
dec dword [ebp - 0x1c]
jne 0x1d997c
mov edx, edi
mov eax, ebx
call fcn.001d97b8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x1d9ab5
lea eax, [ebp - 0x18]
call fcn.0010507c
ret
Function at 0x1e9d68
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x108], edx
mov edi, eax
xor eax, eax
push ebp
push 0x1e9f3e
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
cmp dword [edi + 0x38], 0
jne 0x1e9f25
mov eax, dword [edi + 0x30]
call fcn.00105358
test eax, eax
jne 0x1e9dbe
mov eax, dword [edi + 0x34]
call fcn.00105358
test eax, eax
jne 0x1e9dbe
mov eax, edi
call fcn.001e9fdc
jmp 0x1e9f25
cmp dword [edi + 0xa0], 0
jne 0x1e9df5
lea eax, [ebp - 0x101]
mov edx, dword [edi + 0x30]
call fcn.0010d204
push 0x3ec
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x27493c]
mov eax, dword [eax + 0x44]
push eax
call sub.user32.dll_DdeCreateStringHandleA
mov dword [edi + 0xa0], eax
cmp dword [edi + 0xa4], 0
jne 0x1e9e2c
lea eax, [ebp - 0x101]
mov edx, dword [edi + 0x34]
call fcn.0010d204
push 0x3ec
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x27493c]
mov eax, dword [eax + 0x44]
push eax
call sub.user32.dll_DdeCreateStringHandleA
mov dword [edi + 0xa4], eax
mov ecx, dword [edi + 0xa4]
mov edx, dword [edi + 0xa0]
mov eax, edi
call fcn.001ea01c
mov ebx, eax
test bl, bl
jne 0x1e9eda
mov eax, dword [edi + 0x30]
call fcn.00105358
test eax, eax
jne 0x1e9e64
mov eax, dword [edi + 0xc0]
call fcn.00105358
test eax, eax
je 0x1e9eda
mov eax, dword [edi + 0xc0]
call fcn.00105358
test eax, eax
je 0x1e9e86
lea eax, [ebp - 0x101]
mov edx, dword [edi + 0xc0]
call fcn.0010d204
jmp 0x1e9eb2
push dword [edi + 0x30]
push 0x1e9f58
push dword [edi + 0x34]
lea eax, [ebp - 0x108]
mov edx, 3
call fcn.00105418
mov edx, dword [ebp - 0x108]
lea eax, [ebp - 0x101]
call fcn.0010d204
push 7
lea eax, [ebp - 0x101]
push eax
call sub.kernel32.dll_WinExec
cmp eax, 0x20
jb 0x1e9eda
mov ecx, dword [edi + 0xa4]
mov edx, dword [edi + 0xa0]
mov eax, edi
call fcn.001ea01c
mov ebx, eax
test bl, bl
jne 0x1e9ee7
mov eax, edi
call fcn.001e9fdc
jmp 0x1e9f25
mov eax, dword [edi + 0x58]
test eax, eax
je 0x1e9ef6
mov dword [edi + 0xa8], eax
jmp 0x1e9f00
mov dword [edi + 0xa8], 1
mov eax, edi
call fcn.001ea094
test al, al
je 0x1e9f25
mov eax, edi
mov si, 0xffee
call fcn.00104414
xor ecx, ecx
xor edx, edx
mov eax, edi
call fcn.001ea140
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x1e9f45
lea eax, [ebp - 0x108]
call fcn.0010507c
ret
Function at 0x1ed168
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x1ed1f1
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x274958
push 0x101
call sub.wsock32.dll_WSAStartup
mov ebx, eax
test ebx, ebx
je 0x1ed1db
lea edx, [ebp - 0x1c]
mov eax, ebx
call fcn.0010fbd4
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0xb
mov dword [ebp - 0x10], ebx
mov byte [ebp - 0xc], 0
mov eax, 0x1ed208
mov dword [ebp - 8], eax
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x18]
push eax
push 2
mov ecx, dword [0x270634]
mov dl, 1
mov eax, dword [0x1ec96c]
call fcn.00110508
call fcn.001049ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x1ed1f8
lea eax, [ebp - 0x1c]
call fcn.0010507c
ret

Function at 0x1ed898
Capabilities:
Connect socket

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, ebx
call fcn.001ed7bc
mov cl, 1
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.00104414
push 0x10
lea eax, [ebx + 0x18]
push eax
mov eax, dword [ebx + 4]
push eax
call sub.wsock32.dll_connect
mov edx, 0x1ed8fc
call fcn.001ed0b0
mov byte [ebx + 0x29], 0
test byte [ebx + 0x28], 0x10
jne 0x1ed8ee
cmp dword [ebx + 4], 0xffffffff
setne al
mov byte [ebx + 8], al
mov cl, 2
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.00104414
pop esi
pop ebx
ret

Function at 0x1ed920
Capabilities:
Resolve dns

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, edx
mov eax, ebx
call fcn.00105558
push eax
call sub.wsock32.dll_gethostbyname
mov ebx, eax
lea eax, [esp + 4]
xor ecx, ecx
mov edx, 4
call fcn.001039a0
test ebx, ebx
je 0x1ed96b
mov eax, ebx
mov edx, dword [eax + 0xc]
mov edx, dword [edx]
mov cl, byte [edx]
mov byte [esp + 4], cl
mov cl, byte [edx + 1]
mov byte [esp + 5], cl
mov cl, byte [edx + 2]
mov byte [esp + 6], cl
mov al, byte [edx + 3]
mov byte [esp + 7], al
mov eax, dword [esp + 4]
mov dword [esp], eax
mov eax, dword [esp]
pop ecx
pop edx
pop ebx
ret
Function at 0x1eda48
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x1eda79
mov ecx, dword [0x2704f8]
mov dl, 1
mov eax, dword [0x1ec96c]
call fcn.001104cc
call fcn.001049ec
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 4], ebx
inc ebx
jne 0x1edaa6
mov ecx, dword [0x270458]
mov dl, 1
mov eax, dword [0x1ec96c]
call fcn.001104cc
call fcn.001049ec
xor eax, eax
push ebp
push 0x1edb22
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xffff
call fcn.00104414
cmp byte [ebp + 8], 0
je 0x1edafe
mov eax, dword [ebp + 0x10]
push eax
mov ax, word [ebp + 0xc]
push eax
push 1
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.001ed9b0
mov eax, dword [ebp - 4]
lea esi, [ebp - 0x18]
lea edi, [eax + 0x18]
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 eax, dword [ebp - 4]
call fcn.001ed898
jmp 0x1edb18
mov eax, dword [ebp + 0x10]
push eax
mov ax, word [ebp + 0xc]
push eax
push 0
push 1
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.001ed39c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x1edb3f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1edd20
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffff0
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.001ed658
xor eax, eax
push ebp
push 0x1ede91
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
je 0x1ede7b
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
je 0x1edd6b
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x1edd75
call fcn.00104a98
jmp 0x1ede98
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00120f40
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x1010]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov ecx, 0x1000
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ebx, eax
test ebx, ebx
jle 0x1ede70
push 0
push ebx
lea eax, [ebp - 0x1010]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov ecx, eax
cmp ecx, 0xffffffff
jne 0x1ede23
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x2733
je 0x1ede10
lea eax, [ebp - 0x10]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00104414
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
push ebp
call fcn.001edcd8
pop ecx
mov eax, dword [ebp - 4]
mov dl, byte [0x1edea4]
cmp dl, byte [eax + 0x28]
je 0x1ede77
call fcn.001103f0
jmp 0x1ede77
mov eax, dword [ebp - 0xc]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00120f60
jmp 0x1ede77
cmp ecx, ebx
jge 0x1ede3f
mov eax, dword [ebp - 0xc]
add eax, ecx
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00120f60
jmp 0x1edd75
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00120f40
cmp edx, dword [esp + 4]
jne 0x1ede5f
cmp eax, dword [esp]
pop edx
pop eax
jne 0x1edd75
push ebp
call fcn.001edcd8
pop ecx
jmp 0x1ede77
push ebp
call fcn.001edcd8
pop ecx
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x1ede98
mov eax, dword [ebp - 4]
call fcn.001ed664
ret
mov al, byte [ebp - 5]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1edea8
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x1edfca
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.001ed658
xor eax, eax
push ebp
push 0x1edfad
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x1edef8
call fcn.00104a98
jmp 0x1edfb4
push 0
push esi
push ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x1edf97
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x1edf97
lea eax, [ebp - 0xc]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00104414
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0x1edf97
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0010fbd4
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov eax, 0x1edfe4
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x270634]
mov dl, 1
mov eax, dword [0x1ec96c]
call fcn.00110508
call fcn.001049ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x1edfb4
mov eax, dword [ebp - 4]
call fcn.001ed664
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x1edfd1
lea eax, [ebp - 0x28]
call fcn.0010507c
ret

Function at 0x1eeea4
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb0
mov dword [ebp - 8], eax
lea eax, [ebp - 0x34]
push eax
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], esp
mov eax, dword [ebp - 4]
xor edx, edx
div dword [ebp - 0x10]
imul dword [ebp - 0x10]
mov dword [ebp - 4], eax
push 0x1c
lea eax, [ebp - 0x50]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_VirtualQuery_1
mov eax, dword [ebp - 0x44]
add eax, dword [ebp - 0x50]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x1f4078
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x1f42d8
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x1f40db
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.001f3b40
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.00110dd4
cmp al, 1
jne 0x1f40db
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.001f3e58
test al, al
je 0x1f4267
cmp dword [ebp - 8], 0
jge 0x1f40f9
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
inc ebx
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 4]
call fcn.001f3b40
mov eax, dword [ebp - 0x210]
call fcn.00105358
cmp ebx, eax
jge 0x1f4143
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.001f3b40
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x270774]
and eax, 0xff
bt dword [edx], eax
jae 0x1f4143
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x1f4157
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.001f4054
cmp ebx, dword [ebp - 8]
je 0x1f4259
lea eax, [ebp - 0x108]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x208]
mov byte [eax], 0
inc eax
dec edx
jne 0x1f4183
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00104414
and eax, 0x7f
movzx eax, word [eax*2 + 0x27005c]
mov byte [ebp + eax - 0x208], 0x81
lea eax, [ebp - 0x208]
push eax
call sub.user32.dll_SetKeyboardState
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 1
xor eax, eax
push ebp
push 0x1f4246
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00104414
and eax, 0x7f
movzx eax, word [eax*2 + 0x27005c]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.001878f8
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00104414
and eax, 0x7f
movzx eax, word [eax*2 + 0x27005c]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.001878f8
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x1f424d
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x230], edx
jmp 0x1f42ba
cmp dword [ebp - 8], 0
jge 0x1f4272
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.001f3b40
mov eax, dword [ebp - 0x218]
call fcn.00105358
cmp eax, dword [ebp - 8]
jg 0x1f42ac
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.001f3b40
mov eax, dword [ebp - 0x21c]
call fcn.00105358
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.001f4054
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x1f42df
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.001050a0
ret
Function at 0x214b18
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x214bc1
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
push 0x214bd0
push 0xffffffffffffffff
push 0
call fcn.001075f0
mov esi, eax
test esi, esi
je 0x214bab
call sub.kernel32.dll_GetLastError_1
cmp eax, 0xb7
jne 0x214bab
push 0x200
lea eax, [ebp - 0x204]
push eax
push 0
call sub.kernel32.dll_GetModuleHandleA_2
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
test eax, eax
je 0x214bab
lea eax, [ebp - 4]
lea edx, [ebp - 0x204]
mov ecx, 0x200
call fcn.001052ec
lea eax, [ebp - 4]
push eax
push 0x2149c0
call sub.user32.dll_EnumWindows
test eax, eax
jne 0x214ba2
mov ebx, dword [0x274bb8]
jmp 0x214bab
push 0x64
call fcn.00111b54
jmp 0x214b88
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x214bc8
lea eax, [ebp - 4]
call fcn.0010507c
ret
Function at 0x23f884
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
mov esi, edx
mov edi, eax
xor eax, eax
push ebp
push 0x23f934
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 4]
push eax
mov eax, esi
call fcn.0010596c
push eax
call sub.shell32.dll_CommandLineToArgvW
mov esi, eax
test esi, esi
je 0x23f916
mov ebx, 1
cmp ebx, dword [ebp - 4]
jge 0x23f903
lea eax, [ebp - 8]
mov edx, dword [esi + ebx*4]
call fcn.00105920
mov eax, dword [ebp - 8]
mov edx, 0x23f948
call fcn.00105988
jne 0x23f8e4
add ebx, 2
jmp 0x23f8fe
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.00105320
mov edx, dword [ebp - 0xc]
mov eax, dword [edi + 0xb1c]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc ebx
cmp ebx, dword [ebp - 4]
jl 0x23f8c5
mov eax, dword [edi + 0xb1c]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
push esi
call sub.kernel32.dll_LocalFree_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x23f93b
lea eax, [ebp - 0xc]
call fcn.0010507c
lea eax, [ebp - 8]
call fcn.001057e0
ret
Function at 0x241d18
Capabilities:
Terminate process

Disassembly:
push ebx
mov ebx, eax
cmp byte [ebx + 0x18], 0
je 0x241dc2
mov byte [ebx + 0x18], 0
mov eax, dword [ebx + 0x28]
cmp dword [eax + 8], 0
jne 0x241d47
mov eax, dword [0x2702c0]
mov eax, dword [eax]
mov eax, dword [eax + 0x820]
mov edx, dword [ebx + 0x20]
call fcn.00159918
mov eax, dword [0x2701b0]
cmp dword [eax], 0
je 0x241d5d
mov eax, dword [0x2701b0]
mov eax, dword [eax]
call fcn.0019ef00
push 0
mov eax, dword [ebx + 0x14]
push eax
call sub.kernel32.dll_TerminateProcess
mov eax, dword [ebx + 0x38]
call fcn.001273f0
xor eax, eax
mov dword [ebx + 0x38], eax
mov eax, dword [ebx + 0x14]
push eax
call sub.kernel32.dll_CloseHandle_1
test eax, eax
je 0x241dc2
mov eax, dword [ebx + 8]
push eax
call sub.kernel32.dll_CloseHandle_1
test eax, eax
je 0x241dc2
mov eax, dword [ebx + 0xc]
push eax
call sub.kernel32.dll_CloseHandle_1
test eax, eax
je 0x241dc2
mov eax, dword [0x2702c0]
mov eax, dword [eax]
call fcn.00237b5c
mov eax, dword [0x2702c0]
mov eax, dword [eax]
call fcn.0023aca4
mov eax, dword [0x270550]
mov eax, dword [eax]
mov dword [eax + 0x74], 0x9c4
pop ebx
ret