joyce8/EMBER2024-capa huggingface dataset:
Function at 0x466290
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x59eb78]
cmp dword [eax + 0x30], 0
je 0x46633a
cmp dword [ebx + 0x94], 0
jne 0x466334
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x466220
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x466334
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x4662fa
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x466334
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00419a24
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x466309
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x466eb0
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x466ee5
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404dd8
jmp 0x466ef2
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404d3c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4680bc
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4680fd
mov eax, esi
call fcn.0044dcb0
test al, al
je 0x4680fd
mov eax, dword [ebx + 0x84]
call fcn.0044d9ac
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4680fd
push 0
mov eax, dword [ebx + 0x84]
call fcn.0044d9ac
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x47269c
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4726ca
mov eax, ebx
call fcn.00473150
cmp dword [ebx + 0x40], 0
je 0x4726c3
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x47273b
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x47272d
cmp dword [ebx + 8], 0
je 0x4726ec
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 0x4726fe
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x47272d
cmp dword [ebx + 8], 0
je 0x4726df
cmp eax, 3
je 0x472711
dec eax
jne 0x4726df
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 0x4726df
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4726df
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x472759
cmp dword [ebx + 0x14], 0xcc
je 0x472759
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.00472764
pop ebx
ret
Function at 0x487f84
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
add edi, 0xfffffffc
push 0xcc0020
push 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
inc eax
push eax
mov eax, dword [edi]
call fcn.00429244
call fcn.00424a50
push eax
mov eax, dword [edi]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
push eax
push 0
mov eax, dword [edi]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, dword [ebp + 8]
sub eax, dword [edx - 8]
push eax
mov eax, dword [edi]
call fcn.00429244
call fcn.00424a50
push eax
call sub.gdi32.dll_BitBlt
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 0x10]
dec ebx
test ebx, ebx
jl 0x488032
inc ebx
xor esi, esi
push 0xcc0020
push 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
push eax
mov eax, dword [edi]
call fcn.00429244
call fcn.00424a50
push eax
mov eax, dword [edi]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
push 1
push 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
add eax, esi
inc eax
push eax
mov eax, dword [edi]
call fcn.00429244
call fcn.00424a50
push eax
call sub.gdi32.dll_BitBlt
inc esi
dec ebx
jne 0x487feb
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x498c1c
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 0x498c8d
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
mov eax, dword [0x59c91c]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
cmp dword [ebp - 4], 0
je 0x498c77
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 8]
call fcn.00498c0c
mov eax, dword [ebp - 8]
push eax
xor ecx, ecx
mov dl, 1
mov eax, dword [0x498908]
call fcn.00498cb4
mov dword [0x59c980], eax
mov eax, dword [ebp - 4]
call fcn.00498bbc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x498c94
lea eax, [ebp - 8]
call fcn.0040697c
ret

Function at 0x49b9c4
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, 0x59ee44
test esi, esi
jne 0x49b9de
xor eax, eax
jmp 0x49bae0
cmp dword [ebp], 0
jne 0x49b9e9
call fcn.0049b954
xor ebx, 0xffffffff
cmp edi, 8
jb 0x49bab9
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 0x49b9f5
test edi, edi
jbe 0x49badb
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 0x49babd
mov eax, ebx
xor eax, 0xffffffff
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4ac198
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 0x4ac252
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00405430
mov eax, dword [0x59dc14]
cmp dword [eax], 2
jne 0x4ac207
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.00405688
mov eax, dword [ebx]
call fcn.004055ac
push eax
mov eax, dword [ebx]
call fcn.0040559c
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.004055ac
mov edx, eax
dec edx
mov eax, ebx
call fcn.00405688
jmp 0x4ac239
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.0040a408
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.0040558c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ac259
lea eax, [ebp - 0x3f0]
call fcn.00404ce8
ret
Function at 0x4b6664
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 0x4b667c
mov eax, ebx
call fcn.004b6450
cmp dword [ebx + 0x54], 0
jne 0x4b6689
mov eax, ebx
call fcn.004b63b0
mov esi, dword [ebx + 0x60]
test esi, esi
je 0x4b6812
cmp dword [ebx + 0x54], 0
je 0x4b6812
mov edx, esp
mov eax, esi
call fcn.0051731c
lea edx, [esp + 0x14]
mov eax, ebx
call fcn.004b6334
mov edx, dword [esp + 0x1c]
mov ecx, edx
mov esi, dword [esp + 0x14]
sub ecx, esi
mov eax, dword [esp]
cmp ecx, eax
je 0x4b66ef
mov ecx, dword [esp + 4]
sub ecx, dword [esp + 0x20]
add ecx, dword [esp + 0x18]
sar ecx, 1
jns 0x4b66d8
adc ecx, 0
push ecx
sub eax, edx
add eax, esi
sar eax, 1
jns 0x4b66e4
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 + 0xd4]
test eax, eax
je 0x4b6705
call fcn.0044d9ac
mov esi, eax
jmp 0x4b6708
mov esi, dword [ebx + 0x64]
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x4b6719
or esi, 0xffffffff
jmp 0x4b6723
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.004468fc
mov edx, dword [esp + 0x18]
mov eax, dword [ebx + 0x54]
call fcn.00446920
mov edx, dword [esp]
mov eax, dword [ebx + 0x54]
call fcn.00446948
mov edx, dword [esp + 4]
mov eax, dword [ebx + 0x54]
call fcn.0044696c
lea ecx, [esp + 8]
xor edx, edx
xor eax, eax
call fcn.00517368
mov edx, ebp
lea eax, [esp + 0x10]
call fcn.00517a80
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.0044d9ac
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.0044d9ac
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.0044d9ac
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.00429244
call fcn.00424a50
push eax
lea eax, [esp + 0x14]
push eax
push 0
push esi
mov eax, dword [ebx + 0x54]
call fcn.0044d9ac
push eax
call dword [0x59eed8]
push 4
mov eax, dword [ebx + 0x54]
call fcn.0044d9ac
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 0x4beac0
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.004bc15c
mov ebx, eax
lea eax, [ebp - 0x28]
xor edx, edx
call fcn.005173cc
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 0x4bec00
cmp edi, dword [ebp - 0x1c]
jge 0x4bec00
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 4]
call fcn.004bc6d8
mov eax, ebx
add eax, eax
cmp esi, eax
jg 0x4beb3c
mov ebx, esi
sar ebx, 1
jns 0x4beb3c
adc ebx, 0
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 8]
jg 0x4beb55
add eax, ebx
cmp eax, dword [ebp - 8]
jle 0x4beb55
xor eax, eax
mov dword [ebp - 0xc], eax
jmp 0x4bec00
mov eax, dword [ebp - 0x20]
mov edx, eax
sub edx, ebx
cmp edx, dword [ebp - 8]
jg 0x4beb72
cmp eax, dword [ebp - 8]
jle 0x4beb72
mov dword [ebp - 0xc], 1
jmp 0x4bec00
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
jl 0x4beb83
mov dword [ebp - 0xc], 0xffffffff
jmp 0x4bec00
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x18]
jl 0x4beb9f
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 8]
jle 0x4beb9f
mov dword [ebp - 0xc], 5
jmp 0x4bec00
mov eax, dword [ebp - 0x28]
add eax, ebx
cmp eax, dword [ebp - 8]
jg 0x4bebcf
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x18]
jge 0x4bebcf
push 0x10
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x4bebc6
mov dword [ebp - 0xc], 4
jmp 0x4bec00
mov dword [ebp - 0xc], 2
jmp 0x4bec00
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 8]
jg 0x4bec00
mov eax, dword [ebp - 0x20]
sub eax, ebx
cmp eax, dword [ebp - 8]
jle 0x4bec00
push 0x10
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x4bebf9
mov dword [ebp - 0xc], 4
jmp 0x4bec00
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 0x4bec0c
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.004bc15c
mov ebx, eax
lea eax, [ebp - 0x24]
xor edx, edx
call fcn.005173e0
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 0x4bed48
cmp edi, dword [ebp - 0x1c]
jge 0x4bed48
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 4]
call fcn.004bc6d8
mov eax, ebx
add eax, eax
cmp esi, eax
jg 0x4bec84
mov ebx, esi
sar ebx, 1
jns 0x4bec84
adc ebx, 0
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp + 8]
jg 0x4bec9d
add eax, ebx
cmp eax, dword [ebp + 8]
jle 0x4bec9d
xor eax, eax
mov dword [ebp - 8], eax
jmp 0x4bed48
mov eax, dword [ebp - 0x18]
mov edx, eax
sub edx, ebx
cmp edx, dword [ebp + 8]
jg 0x4becba
cmp eax, dword [ebp + 8]
jle 0x4becba
mov dword [ebp - 8], 1
jmp 0x4bed48
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
jl 0x4beccb
mov dword [ebp - 8], 0xffffffff
jmp 0x4bed48
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 0x14]
jl 0x4bece7
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 8]
jle 0x4bece7
mov dword [ebp - 8], 5
jmp 0x4bed48
mov eax, dword [ebp - 0x20]
add eax, ebx
cmp eax, dword [ebp + 8]
jg 0x4bed17
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 0x14]
jge 0x4bed17
push 0x10
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x4bed0e
mov dword [ebp - 8], 4
jmp 0x4bed48
mov dword [ebp - 8], 2
jmp 0x4bed48
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 8]
jg 0x4bed48
mov eax, dword [ebp - 0x18]
sub eax, ebx
cmp eax, dword [ebp + 8]
jle 0x4bed48
push 0x10
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x4bed41
mov dword [ebp - 8], 4
jmp 0x4bed48
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 0x4f39b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov ebx, eax
xor eax, eax
push ebp
push 0x4f3a5a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x44]
add eax, 2
add dword [ebx + 0x24], eax
cmp byte [ebx + 0x75], 0
je 0x4f3a03
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebx + 0x48]
mov esi, dword [ebx + 0x50]
sub ecx, esi
mov edx, esi
mov eax, dword [ebx + 0x14]
call fcn.00405208
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebx + 0x44]
mov edx, dword [ebx + 0x40]
mov eax, ebx
call fcn.004f183c
mov eax, dword [ebx + 0x4c]
mov dword [ebx + 0x50], eax
mov eax, dword [ebx + 0x40]
cmp eax, dword [ebx + 0x38]
jle 0x4f3a0e
mov dword [ebx + 0x38], eax
xor eax, eax
mov dword [ebx + 0x40], eax
xor eax, eax
mov dword [ebx + 0x44], eax
inc dword [ebx + 0x30]
mov eax, ebx
call fcn.004f373c
mov eax, dword [ebx + 0x48]
mov dword [ebx + 0x54], eax
mov eax, dword [ebx + 0x4c]
mov dword [ebx + 0x58], eax
lea eax, [ebx + 0xc]
mov edx, dword [ebx + 4]
call fcn.00404d3c
lea eax, [ebx + 0x10]
mov edx, dword [ebx + 8]
call fcn.00404d3c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f3a61
lea eax, [ebp - 4]
call fcn.00404ce8
ret

Function at 0x4f75f8
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 0x4f769c
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.00404d80
cmp word [ebx + 0x1d2], 0
je 0x4f764f
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 0x4f7686
xor eax, eax
mov al, byte [ebx + 0x1c8]
push eax
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.004051a8
push eax
push 0x4f76ac
mov eax, dword [0x59da60]
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 0x4f76a3
lea eax, [ebp - 8]
call fcn.00404ce8
ret
Function at 0x4fc108
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 0x4fc13d
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0x14]
call fcn.004fbf60
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.004e24c4
test al, al
je 0x4fc22d
mov edx, dword [ebp - 0xc]
xor eax, eax
call fcn.0042b474
push eax
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.0042b3b0
dec eax
pop edx
sub eax, edx
jl 0x4fc22d
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.0042b474
push eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x28]
call fcn.0042b3b0
mov edi, eax
dec edi
pop eax
sub edi, eax
jl 0x4fc221
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 0x4fc1b7
inc dword [ebp - 0x30]
dec dword [ebp - 0x34]
jne 0x4fc189
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x55b76c
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 0x55b783
mov eax, ebx
call fcn.0055b0e0
cmp dword [ebx + 0x68], 0
jne 0x55b790
mov eax, ebx
call fcn.0055b064
mov esi, dword [ebx + 0x6c]
test esi, esi
je 0x55b91e
cmp dword [ebx + 0x68], 0
je 0x55b91e
mov edx, esp
mov eax, esi
call fcn.0051731c
lea edx, [esp + 0x14]
mov eax, ebx
call fcn.0055af44
lea eax, [esp + 0x14]
xor edx, edx
call fcn.005173cc
cmp eax, dword [esp]
je 0x55b805
lea eax, [esp + 0x14]
xor edx, edx
call fcn.005173e0
mov edx, dword [esp + 4]
sub edx, eax
sar edx, 1
jns 0x55b7e1
adc edx, 0
push edx
lea eax, [esp + 0x18]
xor edx, edx
call fcn.005173cc
mov edx, dword [esp + 4]
sub edx, eax
sar edx, 1
jns 0x55b7fa
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 0x55b818
mov eax, dword [eax + 0x28]
call fcn.0044d9ac
mov esi, eax
jmp 0x55b81b
mov esi, dword [ebx + 0x5c]
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x55b82c
or esi, 0xffffffff
jmp 0x55b836
push 3
push esi
call sub.user32.dll_GetWindow
mov esi, eax
mov edx, dword [esp + 0x14]
mov eax, dword [ebx + 0x68]
call fcn.004468fc
mov edx, dword [esp + 0x18]
mov eax, dword [ebx + 0x68]
call fcn.00446920
mov edx, dword [esp]
mov eax, dword [ebx + 0x68]
call fcn.00446948
mov edx, dword [esp + 4]
mov eax, dword [ebx + 0x68]
call fcn.0044696c
lea ecx, [esp + 8]
xor edx, edx
xor eax, eax
call fcn.00517368
mov edx, edi
lea eax, [esp + 0x10]
call fcn.00517a80
push 0x61b
push 0
push 0
push 0
push 0
push esi
mov eax, dword [ebx + 0x68]
call fcn.0044d9ac
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.0044d9ac
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.0044d9ac
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.00429244
call fcn.00424a50
push eax
lea eax, [esp + 0x14]
push eax
push 0
push esi
mov eax, dword [ebx + 0x68]
call fcn.0044d9ac
push eax
call dword [0x59eed8]
push 4
mov eax, dword [ebx + 0x68]
call fcn.0044d9ac
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