joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47355c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x4735a7
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
push 0
push 0
mov eax, ebx
call fcn.00405364
push eax
push 0x4735bc
mov eax, dword [0x55db04]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.shell32.dll_ShellExecuteA
cmp eax, 0x20
seta al
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4735b3
mov eax, ebx
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x473a60
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 8], ebx
test dl, dl
je 0x473a79
add esp, 0xfffffff0
call fcn.004043cc
mov ebx, ecx
mov byte [ebp - 1], dl
mov esi, eax
xor eax, eax
push ebp
push 0x473ac0
push dword fs:[eax]
mov dword fs:[eax], esp
push ebx
call sub.KERNEL32.DLL_GetCommandLineA
mov edx, eax
lea eax, [ebp - 8]
call fcn.0040509c
mov ecx, dword [ebp - 8]
xor edx, edx
mov eax, esi
call fcn.004739f8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x473ac7
lea eax, [ebp - 8]
call fcn.00404ea4
ret

Function at 0x477e98
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x477ec6
mov eax, ebx
call fcn.0047894c
cmp dword [ebx + 0x40], 0
je 0x477ebf
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x477f37
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x477f29
cmp dword [ebx + 8], 0
je 0x477ee8
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 0x477efa
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x477f29
cmp dword [ebx + 8], 0
je 0x477edb
cmp eax, 3
je 0x477f0d
dec eax
jne 0x477edb
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 0x477edb
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x477edb
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x477f55
cmp dword [ebx + 0x14], 0xcc
je 0x477f55
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.00477f60
pop ebx
ret
Function at 0x48d51c
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
push esi
push edi
mov esi, edx
lea edi, [ebp - 0x10]
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 dword [ebp - 0x14], ecx
mov edi, eax
mov ebx, dword [ebp + 0xc]
mov eax, edi
mov edx, dword [eax]
call dword [edx + 0x2c]
mov dword [ebp - 0x28], eax
mov eax, edi
mov edx, dword [eax]
call dword [edx + 0x20]
mov esi, eax
cmp esi, dword [ebp - 4]
jge 0x48d551
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0x14]
call fcn.0048d42c
mov dword [ebp - 0x18], eax
mov al, byte [ebp + 8]
mov byte [ebp - 0x15], al
lea ecx, [ebp - 0x24]
lea edx, [ebp - 0x1c]
mov eax, edi
call fcn.004e6744
test al, al
je 0x48d641
mov edx, dword [ebp - 0xc]
xor eax, eax
call fcn.0042d74c
push eax
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.0042d688
dec eax
pop edx
sub eax, edx
jl 0x48d641
inc eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x24]
imul dword [ebp - 0x30]
add eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x10]
xor eax, eax
call fcn.0042d74c
push eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x28]
call fcn.0042d688
mov edi, eax
dec edi
pop eax
sub edi, eax
jl 0x48d635
inc edi
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x2c]
lea ecx, [eax + edx*4]
xor eax, eax
mov al, byte [ecx + 2]
xor edx, edx
mov dl, byte [ebp - 0x16]
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 - 0x17]
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 - 0x18]
sub eax, edx
imul esi
mov esi, 0x64
cdq
idiv esi
sub byte [ecx], al
mov al, byte [ebp + 8]
mov byte [ecx + 3], al
inc dword [ebp - 0x2c]
dec edi
jne 0x48d5cb
inc dword [ebp - 0x30]
dec dword [ebp - 0x34]
jne 0x48d59d
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x49c358
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, 0x55edac
test esi, esi
jne 0x49c372
xor eax, eax
jmp 0x49c474
cmp dword [ebp], 0
jne 0x49c37d
call fcn.0049c2e8
xor ebx, 0xffffffff
cmp edi, 8
jb 0x49c44d
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 0x49c389
test edi, edi
jbe 0x49c46f
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 0x49c451
mov eax, ebx
xor eax, 0xffffffff
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4ad500
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc10
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x3f0], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4ad5ba
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.004055ec
mov eax, dword [0x55dd50]
cmp dword [eax], 2
jne 0x4ad56f
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.00405894
mov eax, dword [ebx]
call fcn.00405758
push eax
mov eax, dword [ebx]
call fcn.00405748
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.00405758
mov edx, eax
dec edx
mov eax, ebx
call fcn.00405894
jmp 0x4ad5a1
lea eax, [ebp - 0x3e9]
push eax
push 0x3e8
push 0xd
push esi
call sub.user32.dll_SendMessageA
lea edx, [ebp - 0x3f0]
lea eax, [ebp - 0x3e9]
call fcn.0040a8d4
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.00405738
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ad5c1
lea eax, [ebp - 0x3f0]
call fcn.00404ea4
ret

Function at 0x4bceac
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4bcf1d
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
mov eax, dword [0x55cc10]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
cmp dword [ebp - 4], 0
je 0x4bcf07
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 8]
call fcn.004bce9c
mov eax, dword [ebp - 8]
push eax
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4bcca4]
call fcn.004bcf44
mov dword [0x55cc74], eax
mov eax, dword [ebp - 4]
call fcn.004bce4c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bcf24
lea eax, [ebp - 8]
call fcn.00406bc8
ret
Function at 0x4c0aa8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffdc
mov ebp, edx
mov ebx, eax
cmp dword [ebx + 0x60], 0
jne 0x4c0ac0
mov eax, ebx
call fcn.004c0888
cmp dword [ebx + 0x54], 0
jne 0x4c0acd
mov eax, ebx
call fcn.004c07e8
mov esi, dword [ebx + 0x60]
test esi, esi
je 0x4c0c59
cmp dword [ebx + 0x54], 0
je 0x4c0c59
mov edx, esp
mov eax, esi
call fcn.0053d8ec
lea edx, [esp + 0x14]
mov eax, ebx
call fcn.004c076c
mov edx, dword [esp + 0x1c]
mov ecx, edx
mov esi, dword [esp + 0x14]
sub ecx, esi
mov eax, dword [esp]
cmp ecx, eax
je 0x4c0b33
mov ecx, dword [esp + 4]
sub ecx, dword [esp + 0x20]
add ecx, dword [esp + 0x18]
sar ecx, 1
jns 0x4c0b1c
adc ecx, 0
push ecx
sub eax, edx
add eax, esi
sar eax, 1
jns 0x4c0b28
adc eax, 0
push eax
lea eax, [esp + 0x1c]
push eax
call sub.user32.dll_InflateRect
mov eax, dword [ebx + 0x68]
mov eax, dword [eax + 0xd8]
test eax, eax
je 0x4c0b49
call fcn.00453ef8
mov esi, eax
jmp 0x4c0b4c
mov esi, dword [ebx + 0x64]
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x4c0b5d
or esi, 0xffffffff
jmp 0x4c0b67
push 3
push esi
call sub.user32.dll_GetWindow
mov esi, eax
mov edi, 0x610
mov edx, dword [esp + 0x14]
mov eax, dword [ebx + 0x54]
call fcn.0044ce68
mov edx, dword [esp + 0x18]
mov eax, dword [ebx + 0x54]
call fcn.0044ce8c
mov edx, dword [esp]
mov eax, dword [ebx + 0x54]
call fcn.0044ceb4
mov edx, dword [esp + 4]
mov eax, dword [ebx + 0x54]
call fcn.0044ced8
lea ecx, [esp + 8]
xor edx, edx
xor eax, eax
call fcn.0053d938
mov edx, ebp
lea eax, [esp + 0x10]
call fcn.0053df80
or edi, 2
or edi, 1
push edi
push 0
push 0
push 0
push 0
push esi
mov eax, dword [ebx + 0x54]
call fcn.00453ef8
push eax
call sub.user32.dll_SetWindowPos
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0xffffffffffffffec
mov eax, dword [ebx + 0x54]
call fcn.00453ef8
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80000
or eax, 0x8000000
or eax, 0x20
push eax
push 0xffffffffffffffec
mov eax, dword [ebx + 0x54]
call fcn.00453ef8
push eax
call sub.user32.dll_SetWindowLongA
push 2
lea eax, [esp + 0x14]
push eax
push 0x1fffffff
lea eax, [esp + 0x14]
push eax
mov eax, dword [ebx + 0x60]
call fcn.0042b4a8
call fcn.00426e98
push eax
lea eax, [esp + 0x14]
push eax
push 0
push esi
mov eax, dword [ebx + 0x54]
call fcn.00453ef8
push eax
mov eax, dword [0x55d78c]
mov eax, dword [eax]
call eax
push 4
mov eax, dword [ebx + 0x54]
call fcn.00453ef8
push eax
call sub.user32.dll_ShowWindow
push esi
push 0
call sub.user32.dll_ReleaseDC
add esp, 0x24
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4c7384
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, edx
lea edi, [ebp - 0x28]
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 dword [ebp - 8], ecx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 8]
mov dword [ebp - 0xc], 0xffffffff
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004c4890
mov ebx, eax
lea eax, [ebp - 0x28]
xor edx, edx
call fcn.0053d99c
mov esi, eax
mov eax, ebx
add eax, eax
mov edx, esi
sub edx, eax
mov dword [ebp - 0x10], edx
cmp edi, dword [ebp - 0x24]
jl 0x4c74c4
cmp edi, dword [ebp - 0x1c]
jge 0x4c74c4
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 4]
call fcn.004c4c94
mov eax, ebx
add eax, eax
cmp esi, eax
jg 0x4c7400
mov ebx, esi
sar ebx, 1
jns 0x4c7400
adc ebx, 0
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 8]
jg 0x4c7419
add eax, ebx
cmp eax, dword [ebp - 8]
jle 0x4c7419
xor eax, eax
mov dword [ebp - 0xc], eax
jmp 0x4c74c4
mov eax, dword [ebp - 0x20]
mov edx, eax
sub edx, ebx
cmp edx, dword [ebp - 8]
jg 0x4c7436
cmp eax, dword [ebp - 8]
jle 0x4c7436
mov dword [ebp - 0xc], 1
jmp 0x4c74c4
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
jl 0x4c7447
mov dword [ebp - 0xc], 0xffffffff
jmp 0x4c74c4
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x18]
jl 0x4c7463
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 8]
jle 0x4c7463
mov dword [ebp - 0xc], 5
jmp 0x4c74c4
mov eax, dword [ebp - 0x28]
add eax, ebx
cmp eax, dword [ebp - 8]
jg 0x4c7493
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x18]
jge 0x4c7493
push 0x10
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x4c748a
mov dword [ebp - 0xc], 4
jmp 0x4c74c4
mov dword [ebp - 0xc], 2
jmp 0x4c74c4
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 8]
jg 0x4c74c4
mov eax, dword [ebp - 0x20]
sub eax, ebx
cmp eax, dword [ebp - 8]
jle 0x4c74c4
push 0x10
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x4c74bd
mov dword [ebp - 0xc], 4
jmp 0x4c74c4
mov dword [ebp - 0xc], 3
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4c74d0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
mov esi, edx
lea edi, [ebp - 0x24]
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 edi, ecx
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0xffffffff
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004c4890
mov ebx, eax
lea eax, [ebp - 0x24]
xor edx, edx
call fcn.0053d9b0
mov esi, eax
mov eax, ebx
add eax, eax
mov edx, esi
sub edx, eax
mov dword [ebp - 0xc], edx
cmp edi, dword [ebp - 0x24]
jl 0x4c760c
cmp edi, dword [ebp - 0x1c]
jge 0x4c760c
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 4]
call fcn.004c4c94
mov eax, ebx
add eax, eax
cmp esi, eax
jg 0x4c7548
mov ebx, esi
sar ebx, 1
jns 0x4c7548
adc ebx, 0
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp + 8]
jg 0x4c7561
add eax, ebx
cmp eax, dword [ebp + 8]
jle 0x4c7561
xor eax, eax
mov dword [ebp - 8], eax
jmp 0x4c760c
mov eax, dword [ebp - 0x18]
mov edx, eax
sub edx, ebx
cmp edx, dword [ebp + 8]
jg 0x4c757e
cmp eax, dword [ebp + 8]
jle 0x4c757e
mov dword [ebp - 8], 1
jmp 0x4c760c
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
jl 0x4c758f
mov dword [ebp - 8], 0xffffffff
jmp 0x4c760c
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 0x14]
jl 0x4c75ab
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 8]
jle 0x4c75ab
mov dword [ebp - 8], 5
jmp 0x4c760c
mov eax, dword [ebp - 0x20]
add eax, ebx
cmp eax, dword [ebp + 8]
jg 0x4c75db
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 0x14]
jge 0x4c75db
push 0x10
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x4c75d2
mov dword [ebp - 8], 4
jmp 0x4c760c
mov dword [ebp - 8], 2
jmp 0x4c760c
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 8]
jg 0x4c760c
mov eax, dword [ebp - 0x18]
sub eax, ebx
cmp eax, dword [ebp + 8]
jle 0x4c760c
push 0x10
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x4c7605
mov dword [ebp - 8], 4
jmp 0x4c760c
mov dword [ebp - 8], 3
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4f5930
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov esi, dword [ebp + 0x10]
lea edi, [ebp - 0x10]
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 ebx, eax
xor eax, eax
push ebp
push 0x4f59cf
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebx + 0x4c], edx
lea eax, [ebx + 8]
mov edx, esi
call fcn.00404ef8
lea esi, [ebp - 0x10]
lea edi, [ebx + 0x38]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea edx, [ebp - 0x14]
mov eax, dword [ebx + 8]
call fcn.004096a4
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0xc]
call fcn.00404ef8
mov eax, dword [ebx + 0xc]
call fcn.00405164
mov dword [ebx + 0x10], eax
mov eax, dword [ebx + 0x38]
mov dword [ebx + 0x14], eax
mov eax, dword [ebx + 0x3c]
mov dword [ebx + 0x18], eax
xor eax, eax
mov dword [ebx + 0x28], eax
xor eax, eax
mov dword [ebx + 0x2c], eax
xor eax, eax
mov dword [ebx + 0x30], eax
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0x1c], eax
mov eax, dword [ebp + 8]
mov dword [ebx + 0x24], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f59d6
lea eax, [ebp - 0x14]
call fcn.00404ea4
ret

Function at 0x4f7924
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4f79c8
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 1
lea eax, [ebp - 8]
lea edx, [esi + esi*4]
mov ecx, dword [ebx + 0x1c4]
mov edx, dword [ecx + edx*4 + 0x10]
call fcn.00404f3c
cmp word [ebx + 0x1d2], 0
je 0x4f797b
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 8]
mov edx, ebx
mov eax, dword [ebx + 0x1d4]
call dword [ebx + 0x1d0]
cmp dword [ebp - 8], 0
setne al
and al, byte [ebp - 1]
je 0x4f79b2
xor eax, eax
mov al, byte [ebx + 0x1c8]
push eax
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.00405364
push eax
push 0x4f79d8
mov eax, dword [0x55db04]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f79cf
lea eax, [ebp - 8]
call fcn.00404ea4
ret
Function at 0x51c3b0
Capabilities:
Find taskbar

Disassembly:
push 0
push 0x51c3c0
call sub.user32.dll_FindWindowA
ret
Function at 0x53a3fc
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffdc
mov edi, edx
mov ebx, eax
cmp dword [ebx + 0x6c], 0
jne 0x53a413
mov eax, ebx
call fcn.00539d78
cmp dword [ebx + 0x68], 0
jne 0x53a420
mov eax, ebx
call fcn.00539cfc
mov esi, dword [ebx + 0x6c]
test esi, esi
je 0x53a5b1
cmp dword [ebx + 0x68], 0
je 0x53a5b1
mov edx, esp
mov eax, esi
call fcn.0053d8ec
lea edx, [esp + 0x14]
mov eax, ebx
call fcn.00539bc8
lea eax, [esp + 0x14]
xor edx, edx
call fcn.0053d99c
cmp eax, dword [esp]
je 0x53a495
lea eax, [esp + 0x14]
xor edx, edx
call fcn.0053d9b0
mov edx, dword [esp + 4]
sub edx, eax
sar edx, 1
jns 0x53a471
adc edx, 0
push edx
lea eax, [esp + 0x18]
xor edx, edx
call fcn.0053d99c
mov edx, dword [esp + 4]
sub edx, eax
sar edx, 1
jns 0x53a48a
adc edx, 0
push edx
lea eax, [esp + 0x1c]
push eax
call sub.user32.dll_InflateRect
mov eax, dword [ebx + 0x54]
test eax, eax
je 0x53a4a8
mov eax, dword [eax + 0x28]
call fcn.00453ef8
mov esi, eax
jmp 0x53a4ab
mov esi, dword [ebx + 0x5c]
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x53a4bc
or esi, 0xffffffff
jmp 0x53a4c6
push 3
push esi
call sub.user32.dll_GetWindow
mov esi, eax
mov edx, dword [esp + 0x14]
mov eax, dword [ebx + 0x68]
call fcn.0044ce68
mov edx, dword [esp + 0x18]
mov eax, dword [ebx + 0x68]
call fcn.0044ce8c
mov edx, dword [esp]
mov eax, dword [ebx + 0x68]
call fcn.0044ceb4
mov edx, dword [esp + 4]
mov eax, dword [ebx + 0x68]
call fcn.0044ced8
lea ecx, [esp + 8]
xor edx, edx
xor eax, eax
call fcn.0053d938
mov edx, edi
lea eax, [esp + 0x10]
call fcn.0053df80
push 0x61b
push 0
push 0
push 0
push 0
push esi
mov eax, dword [ebx + 0x68]
call fcn.00453ef8
push eax
call sub.user32.dll_SetWindowPos
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0xffffffffffffffec
mov eax, dword [ebx + 0x68]
call fcn.00453ef8
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80000
or eax, 0x8000000
or eax, 0x20
push eax
push 0xffffffffffffffec
mov eax, dword [ebx + 0x68]
call fcn.00453ef8
push eax
call sub.user32.dll_SetWindowLongA
push 2
lea eax, [esp + 0x14]
push eax
push 0x1fffffff
lea eax, [esp + 0x14]
push eax
mov eax, dword [ebx + 0x6c]
call fcn.0042b4a8
call fcn.00426e98
push eax
lea eax, [esp + 0x14]
push eax
push 0
push esi
mov eax, dword [ebx + 0x68]
call fcn.00453ef8
push eax
mov eax, dword [0x55d78c]
mov eax, dword [eax]
call eax
push 4
mov eax, dword [ebx + 0x68]
call fcn.00453ef8
push eax
call sub.user32.dll_ShowWindow
push esi
push 0
call sub.user32.dll_ReleaseDC
add esp, 0x24
pop edi
pop esi
pop ebx
ret
Function at 0x53a8ec
Capabilities:
Allocate or change rwx memory
Find taskbar
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffa4
mov ebx, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x10
call fcn.00403718
lea eax, [esp + 0x24]
push eax
call sub.KERNEL32.DLL_GetSystemInfo
call sub.user32.dll_GetDesktopWindow
test eax, eax
je 0x53aae9
push 0
push 0x53aaf4
push 0
push eax
call sub.user32.dll_FindWindowExA
test eax, eax
je 0x53aae9
push 0
push 0x53ab04
push 0
push eax
call sub.user32.dll_FindWindowExA
test eax, eax
je 0x53aae9
push 0
push 0x53ab14
push 0
push eax
call sub.user32.dll_FindWindowExA
test eax, eax
je 0x53aae9
push 0
push 0x53ab24
push 0
push eax
call sub.user32.dll_FindWindowExA
mov ebp, eax
test ebp, ebp
je 0x53aae9
push 0
push 0
push 0x418
push ebp
call sub.user32.dll_SendMessageA
mov dword [esp + 4], eax
cmp dword [esp + 4], 0
jle 0x53aae9
xor eax, eax
mov dword [esp + 8], eax
lea eax, [esp + 8]
push eax
push ebp
call sub.user32.dll_GetWindowThreadProcessId
cmp dword [esp + 8], 0
je 0x53aae9
mov eax, dword [esp + 8]
push eax
push 0
push 0x1f0fff
call sub.KERNEL32.DLL_OpenProcess
mov esi, eax
test esi, esi
je 0x53aae9
push 0x40
push 0x1000
push 0x1000
push 0
push esi
call sub.KERNEL32.DLL_VirtualAllocEx
mov dword [esp + 0xc], eax
cmp dword [esp + 0xc], 0
je 0x53aae9
or edi, 0xffffffff
cmp edi, dword [esp + 4]
jge 0x53aad1
inc edi
mov eax, dword [esp + 0xc]
push eax
push edi
push 0x417
push ebp
call sub.user32.dll_SendMessageA
test eax, eax
je 0x53aac7
lea eax, [esp + 0x10]
push eax
push 0x18
lea eax, [esp + 0x50]
push eax
mov eax, dword [esp + 0x18]
push eax
push esi
call sub.KERNEL32.DLL_ReadProcessMemory
test eax, eax
je 0x53aac7
test byte [esp + 0x51], 0xd
jne 0x53aac7
mov al, byte [esp + 0x50]
and al, 8
cmp al, 8
je 0x53aac7
lea eax, [esp + 0x10]
push eax
push 4
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0x60]
push eax
push esi
call sub.KERNEL32.DLL_ReadProcessMemory
test eax, eax
je 0x53aac7
cmp dword [esp + 0x10], 0
je 0x53aac7
mov eax, dword [0x55db04]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
cmp eax, dword [esp]
jne 0x53aac7
mov eax, dword [esp + 0xc]
push eax
push edi
push 0x41d
push ebp
call sub.user32.dll_SendMessageA
test eax, eax
je 0x53aaa4
lea eax, [esp + 0x10]
push eax
push 0x10
push ebx
mov eax, dword [esp + 0x18]
push eax
push esi
call sub.KERNEL32.DLL_ReadProcessMemory
cmp dword [esp + 0x10], 0
je 0x53aad1
lea eax, [esp + 0x14]
push eax
push ebp
call sub.user32.dll_GetWindowRect
mov eax, ebx
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
call fcn.00407480
jmp 0x53aad1
cmp edi, dword [esp + 4]
jl 0x53a9fd
push 0x8000
push 0
mov eax, dword [esp + 0x14]
push eax
push esi
call sub.KERNEL32.DLL_VirtualFreeEx
push esi
call sub.KERNEL32.DLL_CloseHandle
add esp, 0x5c
pop ebp
pop edi
pop esi
pop ebx
ret