joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4855c4
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x4187f4]
call fcn.00405a0c
xor eax, eax
push ebp
push 0x485708
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x5a69e4], 0
jne 0x485617
mov ecx, dword [0x5b178c]
mov dl, 1
mov eax, dword [0x408b54]
call fcn.0040e058
call fcn.00404984
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.0040387c
mov eax, ebx
call fcn.00405858
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x485718
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.00406c1c
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00405868
test eax, eax
jle 0x4856af
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.KERNEL32.DLL_GetComputerNameA
test eax, eax
je 0x4856a8
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00405298
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00405264
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00409a40
test eax, eax
jne 0x4856a8
mov ebx, 0x15
jmp 0x4856b4
mov ebx, 0x10
jmp 0x4856b4
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x5a69e4]
call fcn.0048546c
mov eax, dword [ebp - 8]
call fcn.0048546c
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00406c34
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48570f
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00405018
lea eax, [ebp - 0x10]
mov edx, dword [0x4187f4]
call fcn.00405adc
ret

Function at 0x48a7ac
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x48a7da
mov eax, ebx
call fcn.0048b250
cmp dword [ebx + 0x3c], 0
je 0x48a7d3
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x48a84b
mov edx, dword [ebx + 0x1a6]
cmp dword [edx + 0x10], 0
je 0x48a83d
cmp dword [ebx + 8], 0
je 0x48a7fc
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1a6]
call dword [edx]
test eax, eax
jne 0x48a80e
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x48a83d
cmp dword [ebx + 8], 0
je 0x48a7ef
cmp eax, 3
je 0x48a821
dec eax
jne 0x48a7ef
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 0x48a7ef
mov edx, dword [ebx + 0x132]
add dword [eax + 8], edx
jmp 0x48a7ef
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x48a869
cmp dword [ebx + 0x10], 0xcc
je 0x48a869
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x12
mov edx, dword [ebx + 0x10]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0048a874
pop ebx
ret
Function at 0x49bbc0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebx
push esi
mov ebx, 0x5a8fe8
test edx, edx
jne 0x49bbd0
xor eax, eax
pop esi
pop ebx
ret
xor eax, 0xffffffff
cmp ecx, 8
jb 0x49bc98
movzx esi, byte [edx]
xor esi, eax
inc edx
and esi, 0xff
sub ecx, 8
shr eax, 8
mov esi, dword [ebx + esi*4]
xor esi, eax
mov eax, esi
movzx esi, byte [edx]
xor esi, eax
inc edx
and esi, 0xff
shr eax, 8
mov esi, dword [ebx + esi*4]
xor esi, eax
mov eax, esi
movzx esi, byte [edx]
xor esi, eax
inc edx
and esi, 0xff
shr eax, 8
mov esi, dword [ebx + esi*4]
xor esi, eax
mov eax, esi
movzx esi, byte [edx]
xor esi, eax
inc edx
and esi, 0xff
shr eax, 8
mov esi, dword [ebx + esi*4]
xor esi, eax
mov eax, esi
movzx esi, byte [edx]
xor esi, eax
inc edx
and esi, 0xff
shr eax, 8
mov esi, dword [ebx + esi*4]
xor esi, eax
mov eax, esi
movzx esi, byte [edx]
xor esi, eax
inc edx
and esi, 0xff
shr eax, 8
mov esi, dword [ebx + esi*4]
xor esi, eax
mov eax, esi
movzx esi, byte [edx]
xor esi, eax
inc edx
and esi, 0xff
shr eax, 8
mov esi, dword [ebx + esi*4]
xor esi, eax
mov eax, esi
movzx esi, byte [edx]
xor esi, eax
inc edx
and esi, 0xff
shr eax, 8
mov esi, dword [ebx + esi*4]
xor esi, eax
cmp ecx, 8
mov eax, esi
jae 0x49bbdc
test ecx, ecx
je 0x49bcb5
movzx esi, byte [edx]
xor esi, eax
inc edx
and esi, 0xff
shr eax, 8
mov esi, dword [ebx + esi*4]
xor esi, eax
dec ecx
mov eax, esi
jne 0x49bc9c
xor eax, 0xffffffff
pop esi
pop ebx
ret
Function at 0x4a1614
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffe4
mov dword [esp], edx
mov dl, byte [eax + 8]
cmp dl, 3
je 0x4a17a1
xor esi, esi
xor edi, edi
mov ebx, dword [eax]
test dl, 2
mov dword [esp + 4], ebx
je 0x4a1665
movzx ebp, byte [ecx]
xor edx, edx
mov dl, byte [eax + 9]
mov ebx, edx
sub ebx, ebp
mov dword [esp + esi*4 + 0xc], ebx
inc esi
movzx ebp, byte [ecx + 1]
mov ebx, edx
sub ebx, ebp
mov dword [esp + esi*4 + 0xc], ebx
xor ebx, ebx
inc esi
mov bl, byte [ecx + 2]
sub edx, ebx
mov dword [esp + esi*4 + 0xc], edx
inc esi
jmp 0x4a1676
xor edx, edx
xor ebx, ebx
mov bl, byte [ecx + 3]
mov dl, byte [eax + 9]
sub edx, ebx
mov dword [esp + esi*4 + 0xc], edx
inc esi
test byte [eax + 8], 4
je 0x4a168c
xor edx, edx
mov dl, byte [eax + 9]
movzx ecx, byte [ecx + 4]
sub edx, ecx
mov dword [esp + esi*4 + 0xc], edx
inc esi
xor edx, edx
lea ecx, [esp + 0xc]
cmp esi, edx
jle 0x4a16ae
mov ebx, dword [ecx]
test ebx, ebx
jg 0x4a16a2
xor ebx, ebx
mov dword [ecx], ebx
jmp 0x4a16a6
mov di, 1
inc edx
add ecx, 4
cmp esi, edx
jg 0x4a1696
test di, di
je 0x4a17a1
mov dl, byte [eax + 9]
sub dl, 2
je 0x4a16d7
sub dl, 2
je 0x4a16f7
sub dl, 4
je 0x4a1731
sub dl, 8
je 0x4a1755
jmp 0x4a17a1
mov ecx, dword [eax + 4]
mov eax, dword [esp]
xor edx, edx
cmp ecx, edx
jbe 0x4a17a1
shr byte [eax], 1
and byte [eax], 0x55
inc eax
inc edx
cmp ecx, edx
ja 0x4a16e7
jmp 0x4a17a1
mov edx, dword [esp]
mov esi, dword [eax + 4]
mov ecx, dword [esp + 0xc]
mov eax, 0xf0
sar eax, cl
and al, 0xf0
mov ecx, dword [esp + 0xc]
mov ebx, 0xf
sar ebx, cl
or al, bl
xor ebx, ebx
cmp esi, ebx
jbe 0x4a17a1
mov ecx, dword [esp + 0xc]
inc ebx
shr byte [edx], cl
and byte [edx], al
inc edx
cmp esi, ebx
ja 0x4a1721
jmp 0x4a17a1
mov edi, dword [esp]
mov ebp, dword [esp + 4]
imul ebp, esi
xor ebx, ebx
cmp ebp, ebx
jbe 0x4a17a1
mov eax, ebx
xor edx, edx
div esi
mov ecx, dword [esp + edx*4 + 0xc]
shr byte [edi], cl
inc edi
inc ebx
cmp ebp, ebx
ja 0x4a1741
jmp 0x4a17a1
mov ebx, dword [esp]
mov eax, esi
imul dword [esp + 4]
mov dword [esp + 8], eax
xor ebp, ebp
mov eax, dword [esp + 8]
cmp ebp, eax
jae 0x4a17a1
movzx edi, byte [ebx]
shl edi, 8
xor eax, eax
mov al, byte [ebx + 1]
xor edx, edx
add di, ax
mov eax, ebp
div esi
inc ebp
mov ecx, dword [esp + edx*4 + 0xc]
shr di, cl
movzx eax, di
sar eax, 8
mov edx, edi
mov byte [ebx], al
inc ebx
and dl, 0xff
mov byte [ebx], dl
inc ebx
mov ecx, dword [esp + 8]
cmp ebp, ecx
jb 0x4a176c
add esp, 0x1c
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4bdc34
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 0x4bde94
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x4bdc97
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.004bd74c
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040e9a0
cmp al, 1
jne 0x4bdc97
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.004bda14
test al, al
je 0x4bde23
cmp dword [ebp - 8], 0
jge 0x4bdcb5
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.004bd74c
mov eax, dword [ebp - 0x210]
call fcn.004052d0
cmp ebx, eax
jge 0x4bdcff
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.004bd74c
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x5b1ed0]
and eax, 0xff
bt dword [edx], eax
jae 0x4bdcff
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x4bdd13
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004bdc10
cmp ebx, dword [ebp - 8]
je 0x4bde15
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 0x4bdd3f
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.004042e8
and eax, 0x7f
movzx eax, word [eax*2 + 0x5ad640]
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 0x4bde02
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.004042e8
and eax, 0x7f
movzx eax, word [eax*2 + 0x5ad640]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.0045465c
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.004042e8
and eax, 0x7f
movzx eax, word [eax*2 + 0x5ad640]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.0045465c
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bde09
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 0x4bde76
cmp dword [ebp - 8], 0
jge 0x4bde2e
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.004bd74c
mov eax, dword [ebp - 0x218]
call fcn.004052d0
cmp eax, dword [ebp - 8]
jg 0x4bde68
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.004bd74c
mov eax, dword [ebp - 0x21c]
call fcn.004052d0
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004bdc10
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bde9b
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.00405018
ret
Function at 0x4cd190
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x110], ebx
mov dword [ebp - 0x10c], ebx
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, dword [ebp + 8]
xor eax, eax
push ebp
push 0x4cd243
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 0x105]
push eax
push ebx
push 0x4cd254
mov eax, edi
call fcn.004054d0
push eax
call sub.KERNEL32.DLL_GetTempFileNameA
lea edx, [ebp - 0x10c]
lea eax, [ebp - 0x105]
call fcn.0040af44
mov eax, dword [ebp - 0x10c]
call fcn.0040a800
lea edx, [ebp - 0x110]
lea eax, [ebp - 0x105]
call fcn.0040af44
mov eax, dword [ebp - 0x110]
mov ecx, esi
mov edx, dword [ebp - 4]
call fcn.0040a8a0
inc ebx
mov eax, dword [esi]
call fcn.0040a504
test al, al
jne 0x4cd1c2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cd24a
lea eax, [ebp - 0x110]
mov edx, 2
call fcn.00405018
ret
Function at 0x51de68
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.KERNEL32.DLL_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x51deb9
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x51dea0
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x51de90
jmp 0x51deb9
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x51dea1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x531d6c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
test dl, dl
je 0x531d80
add esp, 0xfffffff0
call fcn.00404458
mov ebx, edx
mov esi, eax
mov byte [esi + 0x479], 1
xor edx, edx
mov eax, esi
call fcn.00518668
call fcn.00530f00
push esi
push 0x531e60
call fcn.00464b20
mov dword [esi + 0x474], eax
lea eax, [ebp - 0xa]
xor ecx, ecx
mov edx, 0xa
call fcn.0040387c
push 0xa
lea eax, [ebp - 0xa]
push eax
push 0xd
push 0x400
call sub.KERNEL32.DLL_GetLocaleInfoA
cmp byte [ebp - 0xa], 0x31
jne 0x531dda
mov byte [esi + 0x470], 1
jmp 0x531de1
mov byte [esi + 0x470], 0
mov edx, dword [0x531e20]
mov eax, esi
call fcn.00531f44
mov edx, dword [0x531e24]
mov eax, esi
call fcn.00531fd8
mov byte [esi + 0x478], 0
mov eax, esi
test bl, bl
je 0x531e17
call fcn.004044b0
pop dword fs:[0]
add esp, 0xc
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5344e8
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov byte [ebp - 1], cl
mov esi, edx
mov ebx, eax
push 0
xor eax, eax
mov al, bl
push eax
call sub.user32.dll_MapVirtualKeyA
and al, 0xff
mov byte [ebp - 2], al
test si, si
jbe 0x534567
mov eax, ebx
and eax, 0xff
bt dword [0x5b0e48], eax
jae 0x534541
mov ecx, 1
mov dl, byte [ebp - 2]
mov eax, ebx
call fcn.005344dc
cmp byte [ebp - 1], 0
je 0x534562
mov ecx, 3
mov dl, byte [ebp - 2]
mov eax, ebx
call fcn.005344dc
jmp 0x534562
xor ecx, ecx
mov dl, byte [ebp - 2]
mov eax, ebx
call fcn.005344dc
cmp byte [ebp - 1], 0
je 0x534562
mov ecx, 2
mov dl, byte [ebp - 2]
mov eax, ebx
call fcn.005344dc
dec si
jne 0x53450b
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x53456c
Capabilities:
Log keystrokes

Disassembly:
push ebx
mov ebx, eax
push 0
xor eax, eax
mov al, bl
push eax
call sub.user32.dll_MapVirtualKeyA
and al, 0xff
mov edx, ebx
and edx, 0xff
bt dword [0x5b0e48], edx
jae 0x53459b
xor ecx, ecx
mov edx, eax
mov eax, ebx
call fcn.005344dc
pop ebx
ret
mov ecx, 2
mov edx, eax
mov eax, ebx
call fcn.005344dc
pop ebx
ret
Function at 0x536ae4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffe4
mov esi, edx
lea edi, [esp]
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
mov edi, esp
mov edx, 1
mov eax, dword [ebx + 0x10]
call fcn.0042a030
xor edx, edx
mov eax, dword [ebx + 0x10]
call fcn.0042a000
mov edx, esi
mov eax, dword [ebx + 0x10]
call fcn.00429f04
dec dword [edi + 8]
dec dword [edi + 0xc]
mov edx, dword [edi]
add edx, 3
mov ecx, dword [edi + 4]
mov eax, ebx
call fcn.0042a9bc
mov edx, dword [edi + 8]
sub edx, 2
mov ecx, dword [edi + 4]
mov eax, ebx
call fcn.0042a95c
mov ecx, dword [edi + 4]
add ecx, 3
mov edx, dword [edi]
mov eax, ebx
call fcn.0042a9bc
mov ecx, dword [edi + 0xc]
sub ecx, 2
mov edx, dword [edi]
mov eax, ebx
call fcn.0042a95c
mov ecx, dword [edi + 4]
add ecx, 3
mov edx, dword [edi + 8]
mov eax, ebx
call fcn.0042a9bc
mov ecx, dword [edi + 0xc]
sub ecx, 2
mov edx, dword [edi + 8]
mov eax, ebx
call fcn.0042a95c
mov edx, dword [edi]
add edx, 3
mov ecx, dword [edi + 0xc]
mov eax, ebx
call fcn.0042a9bc
mov edx, dword [edi + 8]
sub edx, 2
mov ecx, dword [edi + 0xc]
mov eax, ebx
call fcn.0042a95c
push esi
mov byte [esp + 0x14], 0x1e
mov byte [esp + 0x15], 0x50
mov byte [esp + 0x16], 0xc8
mov byte [esp + 0x17], 0x50
mov byte [esp + 0x18], 0xc8
mov byte [esp + 0x19], 0x3c
mov byte [esp + 0x1a], 0xc8
mov byte [esp + 0x1b], 0x3c
mov byte [esp + 0x1c], 0
lea eax, [esp + 0x14]
push eax
push 8
mov ecx, dword [edi + 4]
mov edx, dword [edi]
mov eax, ebx
call fcn.00536a70
push esi
mov byte [esp + 0x14], 0xc8
mov byte [esp + 0x15], 0x50
mov byte [esp + 0x16], 0x1e
mov byte [esp + 0x17], 0x3c
mov byte [esp + 0x18], 0xc8
mov byte [esp + 0x19], 0x50
mov byte [esp + 0x1a], 0
mov byte [esp + 0x1b], 0x3c
mov byte [esp + 0x1c], 0xc8
lea eax, [esp + 0x14]
push eax
push 8
mov edx, dword [edi + 8]
sub edx, 2
mov ecx, dword [edi + 4]
mov eax, ebx
call fcn.00536a70
push esi
mov byte [esp + 0x14], 0xc8
mov byte [esp + 0x15], 0x3c
mov byte [esp + 0x16], 0
mov byte [esp + 0x17], 0x50
mov byte [esp + 0x18], 0xc8
mov byte [esp + 0x19], 0x3c
mov byte [esp + 0x1a], 0x1e
mov byte [esp + 0x1b], 0x50
mov byte [esp + 0x1c], 0xc8
lea eax, [esp + 0x14]
push eax
push 8
mov ecx, dword [edi + 0xc]
sub ecx, 2
mov edx, dword [edi]
mov eax, ebx
call fcn.00536a70
push esi
mov byte [esp + 0x14], 0
mov byte [esp + 0x15], 0x3c
mov byte [esp + 0x16], 0xc8
mov byte [esp + 0x17], 0x3c
mov byte [esp + 0x18], 0xc8
mov byte [esp + 0x19], 0x50
mov byte [esp + 0x1a], 0xc8
mov byte [esp + 0x1b], 0x50
mov byte [esp + 0x1c], 0x1e
lea eax, [esp + 0x14]
push eax
push 8
mov ecx, dword [edi + 0xc]
sub ecx, 2
mov edx, dword [edi + 8]
sub edx, 2
mov eax, ebx
call fcn.00536a70
add esp, 0x1c
pop edi
pop esi
pop ebx
ret
Function at 0x541504
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 0x5416da
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
cmp dword [edi + 0x38], 0
jne 0x5416c1
mov eax, dword [edi + 0x30]
call fcn.004052d0
test eax, eax
jne 0x54155a
mov eax, dword [edi + 0x34]
call fcn.004052d0
test eax, eax
jne 0x54155a
mov eax, edi
call fcn.00541778
jmp 0x5416c1
cmp dword [edi + 0xa0], 0
jne 0x541591
lea eax, [ebp - 0x101]
mov edx, dword [edi + 0x30]
call fcn.0040ad4c
push 0x3ec
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x5b42f4]
mov eax, dword [eax + 0x44]
push eax
call sub.user32.dll_DdeCreateStringHandleA
mov dword [edi + 0xa0], eax
cmp dword [edi + 0xa4], 0
jne 0x5415c8
lea eax, [ebp - 0x101]
mov edx, dword [edi + 0x34]
call fcn.0040ad4c
push 0x3ec
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x5b42f4]
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.005417b8
mov ebx, eax
test bl, bl
jne 0x541676
mov eax, dword [edi + 0x30]
call fcn.004052d0
test eax, eax
jne 0x541600
mov eax, dword [edi + 0xc0]
call fcn.004052d0
test eax, eax
je 0x541676
mov eax, dword [edi + 0xc0]
call fcn.004052d0
test eax, eax
je 0x541622
lea eax, [ebp - 0x101]
mov edx, dword [edi + 0xc0]
call fcn.0040ad4c
jmp 0x54164e
push dword [edi + 0x30]
push 0x5416f4
push dword [edi + 0x34]
lea eax, [ebp - 0x108]
mov edx, 3
call fcn.00405390
mov edx, dword [ebp - 0x108]
lea eax, [ebp - 0x101]
call fcn.0040ad4c
push 7
lea eax, [ebp - 0x101]
push eax
call sub.KERNEL32.DLL_WinExec
cmp eax, 0x20
jb 0x541676
mov ecx, dword [edi + 0xa4]
mov edx, dword [edi + 0xa0]
mov eax, edi
call fcn.005417b8
mov ebx, eax
test bl, bl
jne 0x541683
mov eax, edi
call fcn.00541778
jmp 0x5416c1
mov eax, dword [edi + 0x58]
test eax, eax
je 0x541692
mov dword [edi + 0xa8], eax
jmp 0x54169c
mov dword [edi + 0xa8], 1
mov eax, edi
call fcn.00541830
test al, al
je 0x5416c1
mov eax, edi
mov si, 0xffee
call fcn.004042e8
xor ecx, ecx
xor edx, edx
mov eax, edi
call fcn.005418dc
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5416e1
lea eax, [ebp - 0x108]
call fcn.00404ff4
ret
Function at 0x549d5c
Capabilities:
Create process on windows

Disassembly:
push ebx
mov ebx, eax
push 1
push 0x549dac
push 0x549dac
mov eax, ebx
call fcn.004054d0
push eax
push 0x549db0
mov eax, dword [0x5b1c4c]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.shell32.dll_ShellExecuteA
cmp eax, 0x20
jbe 0x549d96
xor eax, eax
call fcn.005a0b14
pop ebx
ret
mov eax, dword [0x5b19a8]
mov eax, dword [eax]
mov eax, dword [eax + 0x400]
call fcn.005a0b14
pop ebx
ret

Function at 0x553c34
Capabilities:
Find taskbar

Disassembly:
push ebx
add esp, 0xffffffdc
mov ebx, eax
mov dword [esp], 0x24
push 0
push 0x553c88
call sub.user32.dll_FindWindowA
mov dword [esp + 4], eax
cmp dword [esp + 4], 0
je 0x553c75
push esp
push 4
call sub.shell32.dll_SHAppBarMessage
test eax, 1
jbe 0x553c75
push esp
push 5
call sub.shell32.dll_SHAppBarMessage
cmp eax, 1
je 0x553c79
xor eax, eax
jmp 0x553c7b
mov al, 1
mov edx, dword [esp + 0xc]
mov dword [ebx], edx
add esp, 0x24
pop ebx
ret
Function at 0x560af0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x560c10
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
call fcn.005a0b14
lea edx, [ebp - 0xc]
xor ecx, ecx
mov eax, ebx
call fcn.005603ac
test al, al
je 0x560bdb
mov edx, esi
mov eax, 0x560c28
call fcn.0047a8b0
test al, al
je 0x560b8f
cmp dword [ebp - 8], 0
je 0x560b73
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x560b56
cmp dword [ebx + 0x310], 0
jne 0x560b5f
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_BringWindowToTop
push 0
push 0
push 0x10
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_SendMessageA
jmp 0x560bf5
mov ebx, dword [0x5b1a54]
mov ebx, dword [ebx]
lea edx, [ebp - 0x10]
mov eax, 0x14b
call ebx
mov eax, dword [ebp - 0x10]
call fcn.005a0b14
jmp 0x560bf5
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x560bb5
mov byte [ebx + 0x304], 1
lea edx, [ebp - 0x14]
mov eax, dword [ebx + 0x300]
call fcn.00409ed4
mov eax, dword [ebp - 0x14]
call fcn.0056029c
jmp 0x560bf5
mov eax, dword [ebp - 4]
push eax
push 0
push 0x400
call sub.KERNEL32.DLL_OpenProcess
mov ebx, eax
test ebx, ebx
je 0x560bf5
push 0
push ebx
call sub.KERNEL32.DLL_TerminateProcess
push ebx
call sub.KERNEL32.DLL_CloseHandle
jmp 0x560bf5
mov ebx, dword [0x5b1a54]
mov ebx, dword [ebx]
lea edx, [ebp - 0x18]
mov eax, 0x14c
call ebx
mov eax, dword [ebp - 0x18]
call fcn.005a0b14
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x560c17
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00405018
ret
Function at 0x5636cc
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x114], eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x5637e0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x5b1ee0]
cmp dword [eax], 2
je 0x5637bf
xor edx, edx
push ebp
push 0x5637b5
push dword fs:[edx]
mov dword fs:[edx], esp
push 0xff
lea eax, [ebp - 0x10d]
push eax
call sub.KERNEL32.DLL_GetSystemDirectoryA
lea edx, [ebp - 0x114]
lea eax, [ebp - 0x10d]
call fcn.0040af44
mov eax, dword [ebp - 0x114]
lea ecx, [ebp - 8]
mov edx, 0x5637f8
call fcn.004436fc
mov eax, dword [ebp - 8]
call fcn.004054d0
push eax
call sub.KERNEL32.DLL_LoadLibraryA
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x5637ab
xor edx, edx
push ebp
push 0x5637a4
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x563800
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_GetProcAddress
test eax, eax
je 0x56378d
push 0
push 0
mov edx, dword [0x5b1ce0]
mov edx, dword [edx]
push edx
push 0x563814
call eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5637ab
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_FreeLibrary
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5637bf
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5637e7
lea eax, [ebp - 0x114]
call fcn.00404ff4
lea eax, [ebp - 8]
call fcn.00404ff4
ret