joyce8/EMBER2024-capa huggingface dataset:
Function at 0x560697
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
push 0x80000301
push 0
push 0x100
push 1
mov ebx, 0x184
call fcn.00601800
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x5606dc
push ebx
call fcn.005fffbe
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push 0x100
push dword [ebp - 4]
call dword [sym.imp.kernel32.dll_GetWindowsDirectoryA]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x560707
push 6
call fcn.005fffca
add esp, 4
push 0x760400
push dword [ebp - 4]
mov ecx, 2
call fcn.004c5686
add esp, 8
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
jmp 0x560727
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x560738
push ebx
call fcn.005fffbe
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret

Function at 0x560a88
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], esp
push 0
push 0x560bc0
call dword [sym.imp.user32.dll_EnumWindows]
nop
nop
nop
nop
cmp dword [ebp - 4], esp
je 0x560aba
push 6
call fcn.005fffca
add esp, 4
mov eax, dword [0x7ad251]
push eax
push eax
mov ebx, eax
call fcn.004c6a80
pop eax
sub ebx, eax
shl ecx, 2
add ecx, ebx
push ecx
call fcn.005fffc4
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
push ebx
call fcn.005fffbe
add esp, 4
pop eax
mov ebx, dword [ebp + 8]
mov dword [ebx], eax
mov ebx, dword [0x7ad251]
push ebx
call fcn.005fffbe
add esp, 4
mov eax, 0x760403
mov dword [0x7ad251], eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
call fcn.004c6a67
jmp 0x560b19
mov esp, ebp
pop ebp
ret 8
Function at 0x564ec9
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], esp
mov eax, 0
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
call dword [sym.imp.user32.dll_GetWindowThreadProcessId]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x564f0e
push 6
call fcn.005fffca
add esp, 4
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], esp
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x564f30
push 6
call fcn.005fffca
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], esp
push 1
push dword [ebp - 4]
push dword [ebp - 0x10]
call dword [sym.imp.user32.dll_AttachThreadInput]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x564f5d
push 6
call fcn.005fffca
add esp, 4
cmp dword [ebp + 8], 0
jne 0x564f8b
mov dword [ebp - 0xc], esp
call dword [sym.imp.user32.dll_ReleaseCapture]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x564f86
push 6
call fcn.005fffca
add esp, 4
jmp 0x564fb0
mov dword [ebp - 0xc], esp
push dword [ebp + 8]
call dword [sym.imp.user32.dll_SetCapture]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x564fad
push 6
call fcn.005fffca
add esp, 4
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x564fcf
push 6
call fcn.005fffca
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], esp
push 0
push dword [ebp - 4]
push dword [ebp - 0x10]
call dword [sym.imp.user32.dll_AttachThreadInput]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x564ffc
push 6
call fcn.005fffca
add esp, 4
mov eax, dword [ebp - 8]
jmp 0x565004
mov esp, ebp
pop ebp
ret 8
Function at 0x567954
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov ebx, dword [ebp + 8]
cmp ebx, 0
je 0x567999
mov eax, dword [ebx + 0x3c]
add eax, ebx
mov edx, dword [eax + 0x78]
add edx, ebx
mov ecx, dword [edx + 0x18]
mov eax, dword [edx + 0x20]
push ecx
push ecx
push eax
xor eax, eax
or ecx, 0xffffffff
mov edi, dword [ebp + 0xc]
mov edi, dword [edi]
repne scasb al, byte es:[edi]
not ecx
pop eax
push ecx
mov edi, dword [ebp + 0xc]
mov edi, dword [edi]
mov esi, dword [eax + ebx]
add esi, ebx
repe cmpsb byte [esi], byte es:[edi]
pop ecx
je 0x56799f
add eax, 4
pop esi
dec esi
push esi
jne 0x567981
xor eax, eax
leave
ret 8
pop esi
pop ecx
sub ecx, esi
mov eax, dword [edx + 0x24]
lea eax, [eax + ecx*2]
movzx eax, word [eax + ebx]
mov ecx, dword [edx + 0x1c]
lea eax, [ecx + eax*4]
mov eax, dword [eax + ebx]
add eax, ebx
leave
ret 8
Function at 0x568679
Capabilities:
Access peb ldr_data
Resolve function by hash

Disassembly:
push ebp
mov ebp, esp
cld
xor edx, edx
mov edx, dword fs:[edx + 0x30]
mov edx, dword [edx + 0xc]
mov edx, dword [edx + 0x14]
mov esi, dword [edx + 0x28]
push 0x18
pop ecx
xor edi, edi
xor eax, eax
lodsb al, byte [esi]
cmp al, 0x61
jl 0x56869a
sub al, 0x20
ror edi, 0xd
add edi, eax
loop 0x568691
cmp edi, 0x6a4abc5b
mov ebx, dword [edx + 0x10]
mov edx, dword [edx]
jne 0x568689
mov eax, ebx
leave
ret

Function at 0x5686c0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push esi
push ebx
push edi
push edx
push ecx
mov eax, dword [ebp + 0xc]
xor edx, edx
xchg edx, eax
mov esi, 0x3c
add esi, dword [ebp + 8]
mov eax, dword [esi]
add eax, dword [ebp + 8]
mov esi, dword [eax + 0x78]
add esi, 0x18
add esi, dword [ebp + 8]
mov eax, dword [esi]
mov dword [ebp - 0x14], eax
add esi, 4
lea edi, [ebp - 8]
lodsd eax, dword [esi]
add eax, dword [ebp + 8]
stosd dword es:[edi], eax
mov dword [ebp - 8], eax
lodsd eax, dword [esi]
add eax, dword [ebp + 8]
push eax
stosd dword es:[edi], eax
mov dword [ebp - 0xc], eax
mov eax, dword [esi]
add eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
pop esi
mov dword [ebp - 4], 0
push esi
mov eax, dword [esi]
add eax, dword [ebp + 8]
xchg edi, eax
mov ebx, edi
push edi
xor al, al
scasb al, byte es:[edi]
jne 0x56871f
pop esi
sub edi, ebx
push edx
cld
xor ecx, ecx
dec ecx
mov edx, ecx
xor eax, eax
xor ebx, ebx
lodsb al, byte [esi]
xor al, cl
mov cl, ch
mov ch, dl
mov dl, dh
mov dh, 8
shr bx, 1
rcr ax, 1
jae 0x56874c
xor ax, 0x8320
xor bx, 0xedb8
dec dh
jne 0x56873b
xor ecx, eax
xor edx, ebx
dec edi
jne 0x56872c
not edx
not ecx
mov eax, edx
rol eax, 0x10
mov ax, cx
pop edx
cmp edx, eax
je 0x568772
pop esi
add esi, 4
add dword [ebp - 4], 1
jmp 0x568713
pop esi
mov eax, dword [ebp - 4]
shl eax, 1
add eax, dword [ebp - 0x10]
xor esi, esi
xchg esi, eax
mov ax, word [esi]
shl ax, 2
add eax, dword [ebp - 8]
xchg esi, eax
mov eax, dword [esi]
add eax, dword [ebp + 8]
pop ecx
pop edx
pop edi
pop ebx
pop esi
leave
ret 8
Function at 0x568fb2
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword ds:[ebp - 0x20], 0xff8bff8b
mov dword ds:[ebp - 0x14], 0xff8bff8b
mov dword ds:[ebp - 0x1c], 0xff8bff8b
push 0x7fc
push dword [ebp - 0x20]
call fcn.0056863f
push eax
push dword [ebp - 0x20]
lea eax, [ebp - 4]
mov ebx, eax
pop ecx
pop edx
push edx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, edx
jg 0x569191
push dword [ebp - 4]
call fcn.00568623
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x569082
jmp 0x569191
push dword [ebp - 4]
call fcn.00568623
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
cmp dword [ebp - 4], eax
jne 0x5690d6
lea eax, [ebp - 4]
push eax
call fcn.00568f98
mov dword [ebp - 0x28], eax
push 0
push 4
push dword [ebp - 0x28]
push dword [ebp - 4]
push 0xffffffff
push dword [ebp - 0x14]
call fcn.0056884a
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x5690d6
mov eax, 1
jmp 0x5690d8
xor eax, eax
test eax, eax
je 0x569186
push ebx
push esi
push edx
mov ebx, dword [ebp + 8]
lea eax, [ebx + 0x3c]
mov eax, dword [eax]
add eax, ebx
lea eax, [eax + 0x78]
mov eax, dword [eax]
lea esi, [eax + ebx]
mov dword [ebp - 0x10], esi
lea edx, [esi + 0x20]
mov edx, dword [edx]
add edx, ebx
mov edx, dword [edx]
add edx, ebx
mov dword [ebp - 0x18], edx
lea eax, [esi + 0x18]
mov eax, dword [eax]
dec eax
mov dword [ebp - 4], eax
pop ebx
pop esi
pop edx
push dword [ebp - 4]
lea eax, [ebp - 4]
mov ebx, eax
mov ecx, 0
pop edx
push edx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, edx
jg 0x56917e
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
push dword [ebp + 0xc]
push dword [ebp - 0xc]
call dword [ebp - 0x1c]
call fcn.00568db5
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x56916d
push edi
mov edi, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
lea eax, [eax + 0x1c]
mov eax, dword [eax]
add eax, dword [ebp + 8]
lea eax, [eax + edi*4]
mov eax, dword [eax]
add eax, dword [ebp + 8]
pop edi
leave
ret 8
push dword [ebp - 0xc]
call fcn.00568f71
add dword [ebp - 8], eax
pop ebx
pop ecx
pop edx
inc ecx
jmp 0x569120
add esp, 0xc
jmp 0x569191
pop ebx
pop ecx
pop edx
add ecx, 4
jmp 0x56905b
add esp, 0xc
mov edi, edi
mov edi, edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, 0
jmp 0x5691b2
mov esp, ebp
pop ebp
ret 8
Function at 0x569c2a
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.00605400
add esp, 0x10
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push dword [ebp - 4]
push str.Shell_TrayWnd
call dword [sym.imp.user32.dll_FindWindowA]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x569c7b
push 6
call fcn.005fffca
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x569c8e
push ebx
call fcn.005fffbe
add esp, 4
mov eax, dword [ebp - 0xc]
jmp 0x569c96
mov esp, ebp
pop ebp
ret

Function at 0x569f99
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0
jle 0x56a127
push reloc.wsock32.dll_getpeername
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x569fc8
mov eax, 0x760403
push eax
push 1
mov ebx, 0x194
call fcn.006031d0
add esp, 0x10
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x1bc
call fcn.00603860
add esp, 0x10
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x56a00c
push ebx
call fcn.005fffbe
add esp, 4
pop eax
mov dword [ebp - 4], eax
push reloc.wsock32.dll_getpeername
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x56a025
mov eax, 0x760403
push eax
push 1
mov ebx, 0x194
call fcn.006031d0
add esp, 0x10
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push dword [ebp - 8]
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
je 0x56a04d
add eax, 8
push eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x56a058
add eax, 8
push eax
call dword [0x7ad4a5]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x56a075
push 6
call fcn.005fffca
add esp, 4
cmp dword [ebp + 0x10], 0
jne 0x56a0f0
push reloc.wsock32.dll_getpeername
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x56a094
mov eax, 0x760403
push eax
push 1
mov ebx, 0x194
call fcn.006031d0
add esp, 0x10
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push 0
mov eax, 0
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 8]
mov eax, dword [ebp - 4]
test eax, eax
je 0x56a0cb
add eax, 8
push eax
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_WriteFile]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x56a0eb
push 6
call fcn.005fffca
add esp, 4
jmp 0x56a131
push reloc.wsock32.dll_getpeername
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x56a105
mov eax, 0x760403
push eax
push 0x80000301
push 0
push dword [ebp + 8]
push 2
mov ebx, 0x298
call fcn.00605470
add esp, 0x1c
jmp 0x56a131
mov eax, 0
jmp 0x56a131
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x56a142
push ebx
call fcn.005fffbe
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x10

Function at 0x56ca26
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], esp
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_SuspendThread]
nop
nop
nop
nop
cmp dword [ebp - 4], esp
je 0x56ca51
push 6
call fcn.005fffca
add esp, 4
jmp 0x56ca56
mov esp, ebp
pop ebp
ret 4
Function at 0x56cace
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], 0
mov dword [ebp - 8], esp
mov ebx, dword [ebp + 8]
push dword [ebx]
push 1
push 0
call dword [sym.imp.kernel32.dll_CreateMutexA]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x56cb0c
push 6
call fcn.005fffca
add esp, 4
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push 0x64
push dword [ebp - 4]
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x56cb36
push 6
call fcn.005fffca
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x102
jne 0x56cb7a
push dword [ebp - 4]
call fcn.005000c6
mov dword [ebp - 8], esp
push dword [ebp - 4]
call dword [sym.imp.kernel32.dll_CloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x56cb70
push 6
call fcn.005fffca
add esp, 4
push 0
call fcn.005fffee
add esp, 4
mov eax, dword [ebp - 4]
jmp 0x56cb82
mov esp, ebp
pop ebp
ret 4

Function at 0x56efde
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push esi
call 0x56efe7
pop eax
mov esi, dword fs:[0x30]
mov esi, dword [esi + 0xc]
mov esi, dword [esi + 0x1c]
push esi
mov ebx, dword [esi + 8]
cmp eax, ebx
jb 0x56f00a
mov ecx, dword [esi + 0x10]
add ecx, ebx
cmp eax, ecx
ja 0x56f00a
mov eax, ebx
jmp 0x56f01f
mov esi, dword [esi]
mov ebx, dword [esi]
cmp ebx, dword [esp]
jne 0x56eff6
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
pop esi
pop esi
leave
ret
Function at 0x5706c5
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
mov dword [ebp - 8], esp
mov ebx, dword [ebp + 0x20]
push dword [ebx]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0
push 0
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_CreateRemoteThread]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x570711
push 6
call fcn.005fffca
add esp, 4
mov ebx, dword [ebp + 0x18]
mov dword [ebx], eax
mov dword [ebp - 8], esp
push 0xffffffff
mov ebx, dword [ebp + 0x18]
push dword [ebx]
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x57073f
push 6
call fcn.005fffca
add esp, 4
mov dword [ebp - 8], esp
lea eax, [ebp - 4]
push eax
mov ebx, dword [ebp + 0x18]
push dword [ebx]
call dword [sym.imp.kernel32.dll_GetExitCodeThread]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x570767
push 6
call fcn.005fffca
add esp, 4
cmp dword [ebp + 0x1c], 0
jne 0x570784
mov ebx, dword [ebp + 0x18]
cmp dword [ebx], 0
je 0x570784
mov eax, 1
jmp 0x570789
mov eax, 0
test eax, eax
je 0x5707b5
mov dword [ebp - 8], esp
mov ebx, dword [ebp + 0x18]
push dword [ebx]
call dword [sym.imp.kernel32.dll_CloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x5707b5
push 6
call fcn.005fffca
add esp, 4
mov eax, dword [ebp - 4]
jmp 0x5707bd
mov esp, ebp
pop ebp
ret 0x20
Function at 0x573a7c
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], esp
push dword [ebp + 8]
call dword [0x7ad4d9]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x573ab5
push 6
call fcn.005fffca
add esp, 4
mov dword [ebp - 4], eax
push 0x80000301
push 0
push dword [ebp - 4]
push 1
mov ebx, 0x184
call fcn.00601800
add esp, 0x10
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x573aeb
push ebx
call fcn.005fffbe
add esp, 4
pop eax
mov dword [ebp - 8], eax
fild dword [ebp - 4]
fstp qword [ebp - 0x10]
fld qword [ebp - 0x10]
fadd qword [0x760425]
fstp qword [ebp - 0x18]
mov dword [ebp - 0x1c], esp
fld qword [ebp - 0x18]
call fcn.004c58cd
push eax
push dword [ebp - 8]
push dword [ebp + 8]
call dword [sym.imp.user32.dll_GetWindowTextA]
nop
nop
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x573b2f
push 6
call fcn.005fffca
add esp, 4
mov eax, dword [ebp - 8]
test eax, eax
je 0x573b4b
push eax
mov ebx, eax
call fcn.004c561b
inc eax
push eax
call fcn.005fffc4
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x573b50
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x573b61
push ebx
call fcn.005fffbe
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4
Function at 0x574ac0
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
mov dword [ebp - 8], esp
mov eax, 0
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
call dword [sym.imp.user32.dll_GetWindowThreadProcessId]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x574afe
push 6
call fcn.005fffca
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x574bd4
mov dword [ebp - 8], esp
push dword [ebp - 4]
push 0
push 0x1f03ff
call dword [sym.imp.kernel32.dll_OpenThread]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x574b37
push 6
call fcn.005fffca
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x574bd4
cmp dword [ebp + 0x10], 0
jne 0x574b55
mov dword [ebp + 0xc], 1
cmp dword [ebp + 0xc], 0
je 0x574b86
mov dword [ebp - 8], esp
push dword [ebp - 4]
call dword [sym.imp.kernel32.dll_SuspendThread]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x574b81
push 6
call fcn.005fffca
add esp, 4
jmp 0x574ba8
mov dword [ebp - 8], esp
push dword [ebp - 4]
call dword [sym.imp.kernel32.dll_ResumeThread]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x574ba8
push 6
call fcn.005fffca
add esp, 4
mov dword [ebp - 8], esp
push dword [ebp - 4]
call dword [sym.imp.kernel32.dll_CloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x574bca
push 6
call fcn.005fffca
add esp, 4
mov eax, 1
jmp 0x574bde
mov eax, 0
jmp 0x574bde
mov esp, ebp
pop ebp
ret 0xc
Function at 0x57663d
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], 0
mov dword [ebp - 8], esp
push 0
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_TerminateThread]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x576674
push 6
call fcn.005fffca
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
mov eax, 0
setne al
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_CloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x5766a8
push 6
call fcn.005fffca
add esp, 4
mov eax, dword [ebp - 4]
jmp 0x5766b0
mov esp, ebp
pop ebp
ret 4
Function at 0x57a0bd
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 4], esp
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
nop
nop
nop
nop
cmp dword [ebp - 4], esp
je 0x57a0e5
push 6
call fcn.005fffca
add esp, 4
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
mov eax, 0
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
call dword [sym.imp.user32.dll_GetWindowThreadProcessId]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x57a116
push 6
call fcn.005fffca
add esp, 4
mov dword [ebp - 0x14], eax
cmp dword [ebp + 0x10], 0
mov eax, 0
sete al
test eax, eax
je 0x57a137
mov eax, 1
jmp 0x57a13a
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], esp
push dword [ebp - 0x1c]
push dword [ebp - 0x14]
push dword [ebp - 8]
call dword [sym.imp.user32.dll_AttachThreadInput]
nop
nop
nop
nop
cmp dword [ebp - 0x20], esp
je 0x57a165
push 6
call fcn.005fffca
add esp, 4
mov esp, ebp
pop ebp
ret 0xc
Function at 0x580610
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], esp
push 0
push dword [ebp + 8]
call dword [sym.imp.user32.dll_EnumWindows]
nop
nop
nop
nop
cmp dword [ebp - 4], esp
je 0x580640
push 6
call fcn.005fffca
add esp, 4
mov esp, ebp
pop ebp
ret 4

Function at 0x5824a3
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], esp
push dword [ebp + 8]
call dword [sym.imp.user32.dll_IsWindow]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x5824dc
push 6
call fcn.005fffca
add esp, 4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x5824f3
mov eax, 0
jmp 0x5825eb
mov dword [ebp - 0xc], esp
mov eax, 0
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
call dword [sym.imp.user32.dll_GetWindowThreadProcessId]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x582521
push 6
call fcn.005fffca
add esp, 4
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], esp
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x582543
push 6
call fcn.005fffca
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], esp
push 1
push dword [ebp - 4]
push dword [ebp - 0x10]
call dword [sym.imp.user32.dll_AttachThreadInput]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x582570
push 6
call fcn.005fffca
add esp, 4
mov dword [ebp - 0xc], esp
mov ebx, dword [ebp + 0xc]
push dword [ebx]
call dword [sym.imp.user32.dll_GetCaretPos]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x582594
push 6
call fcn.005fffca
add esp, 4
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x5825b6
push 6
call fcn.005fffca
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], esp
push 0
push dword [ebp - 4]
push dword [ebp - 0x10]
call dword [sym.imp.user32.dll_AttachThreadInput]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x5825e3
push 6
call fcn.005fffca
add esp, 4
mov eax, dword [ebp - 8]
jmp 0x5825eb
mov esp, ebp
pop ebp
ret 8
Function at 0x589696
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0x11
push 0xfffffffffffffffe
mov eax, 0xc7
mov edx, esp
int 0x2e
mov eax, 0xe5
mov edx, esp
int 0x2e
mov eax, 0xee
mov edx, esp
int 0x2e
mov eax, 0x136
mov edx, esp
int 0x2e
add esp, 0x10
mov esp, ebp
pop ebp
ret

Function at 0x58973e
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], esp
push 1
push 0x760402
mov ebx, dword [ebp + 8]
push dword [ebx]
push str.iexplore.exe
push str.open
push 0
call dword [sym.imp.shell32.dll_ShellExecuteA]
nop
nop
nop
nop
cmp dword [ebp - 4], esp
je 0x589784
push 6
call fcn.005fffca
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 2
jne 0x5897a0
mov eax, 0
jmp 0x5897aa
mov eax, 1
jmp 0x5897aa
mov esp, ebp
pop ebp
ret 4

Function at 0x58c017
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push 0x10
call fcn.005fffc4
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 8], esp
push 0
push str.Shell_TrayWnd
call dword [sym.imp.user32.dll_FindWindowA]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x58c076
push 6
call fcn.005fffca
add esp, 4
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esp
push dword [ebp - 4]
push dword [ebp - 0xc]
call dword [sym.imp.user32.dll_GetWindowRect]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x58c09e
push 6
call fcn.005fffca
add esp, 4
test eax, eax
je 0x58c0e3
mov ebx, dword [ebp - 4]
add ebx, 0xc
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 4]
add ebx, 4
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 8]
fild dword [ebx]
fstp qword [ebp - 0x14]
fld qword [ebp - 0x14]
mov ebx, dword [ebp - 0xc]
fild dword [ebx]
fstp qword [ebp - 0x1c]
fsub qword [ebp - 0x1c]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
call fcn.004c58cd
jmp 0x58c0ed
mov eax, 0x1e
jmp 0x58c0ed
push eax
mov ebx, dword [ebp - 4]
push ebx
call fcn.005fffbe
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret