joyce8/EMBER2024-capa huggingface dataset:
Function at 0x485808
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 [0x419a1c]
call fcn.00405a5c
xor eax, eax
push ebp
push 0x48594c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x5aaa10], 0
jne 0x48585b
mov ecx, dword [0x5b57d8]
mov dl, 1
mov eax, dword [0x408c8c]
call fcn.0040e190
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, 0x48595c
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.00406d28
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00405868
test eax, eax
jle 0x4858f3
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 0x4858ec
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.00409b78
test eax, eax
jne 0x4858ec
mov ebx, 0x15
jmp 0x4858f8
mov ebx, 0x10
jmp 0x4858f8
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 [0x5aaa10]
call fcn.004856b0
mov eax, dword [ebp - 8]
call fcn.004856b0
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00406d40
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x485953
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00405018
lea eax, [ebp - 0x10]
mov edx, dword [0x419a1c]
call fcn.00405b2c
ret

Function at 0x48a9f0
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x48aa1e
mov eax, ebx
call fcn.0048b494
cmp dword [ebx + 0x3c], 0
je 0x48aa17
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x48aa8f
mov edx, dword [ebx + 0x1a6]
cmp dword [edx + 0x10], 0
je 0x48aa81
cmp dword [ebx + 8], 0
je 0x48aa40
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 0x48aa52
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x48aa81
cmp dword [ebx + 8], 0
je 0x48aa33
cmp eax, 3
je 0x48aa65
dec eax
jne 0x48aa33
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 0x48aa33
mov edx, dword [ebx + 0x132]
add dword [eax + 8], edx
jmp 0x48aa33
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x48aaad
cmp dword [ebx + 0x10], 0xcc
je 0x48aaad
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.0048aab8
pop ebx
ret
Function at 0x49be04
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebx
push esi
mov ebx, 0x5ad014
test edx, edx
jne 0x49be14
xor eax, eax
pop esi
pop ebx
ret
xor eax, 0xffffffff
cmp ecx, 8
jb 0x49bedc
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 0x49be20
test ecx, ecx
je 0x49bef9
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 0x49bee0
xor eax, 0xffffffff
pop esi
pop ebx
ret
Function at 0x4a1858
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 0x4a19e5
xor esi, esi
xor edi, edi
mov ebx, dword [eax]
test dl, 2
mov dword [esp + 4], ebx
je 0x4a18a9
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 0x4a18ba
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 0x4a18d0
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 0x4a18f2
mov ebx, dword [ecx]
test ebx, ebx
jg 0x4a18e6
xor ebx, ebx
mov dword [ecx], ebx
jmp 0x4a18ea
mov di, 1
inc edx
add ecx, 4
cmp esi, edx
jg 0x4a18da
test di, di
je 0x4a19e5
mov dl, byte [eax + 9]
sub dl, 2
je 0x4a191b
sub dl, 2
je 0x4a193b
sub dl, 4
je 0x4a1975
sub dl, 8
je 0x4a1999
jmp 0x4a19e5
mov ecx, dword [eax + 4]
mov eax, dword [esp]
xor edx, edx
cmp ecx, edx
jbe 0x4a19e5
shr byte [eax], 1
and byte [eax], 0x55
inc eax
inc edx
cmp ecx, edx
ja 0x4a192b
jmp 0x4a19e5
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 0x4a19e5
mov ecx, dword [esp + 0xc]
inc ebx
shr byte [edx], cl
and byte [edx], al
inc edx
cmp esi, ebx
ja 0x4a1965
jmp 0x4a19e5
mov edi, dword [esp]
mov ebp, dword [esp + 4]
imul ebp, esi
xor ebx, ebx
cmp ebp, ebx
jbe 0x4a19e5
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 0x4a1985
jmp 0x4a19e5
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 0x4a19e5
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 0x4a19b0
add esp, 0x1c
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4bde68
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 0x4be0c8
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x4bdecb
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.004bd980
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040ead8
cmp al, 1
jne 0x4bdecb
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.004bdc48
test al, al
je 0x4be057
cmp dword [ebp - 8], 0
jge 0x4bdee9
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.004bd980
mov eax, dword [ebp - 0x210]
call fcn.004052d0
cmp ebx, eax
jge 0x4bdf33
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.004bd980
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x5b5f14]
and eax, 0xff
bt dword [edx], eax
jae 0x4bdf33
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x4bdf47
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004bde44
cmp ebx, dword [ebp - 8]
je 0x4be049
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 0x4bdf73
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.004042e8
and eax, 0x7f
movzx eax, word [eax*2 + 0x5b166c]
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 0x4be036
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 + 0x5b166c]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.00453cc4
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 + 0x5b166c]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.00453cc4
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4be03d
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 0x4be0aa
cmp dword [ebp - 8], 0
jge 0x4be062
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.004bd980
mov eax, dword [ebp - 0x218]
call fcn.004052d0
cmp eax, dword [ebp - 8]
jg 0x4be09c
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.004bd980
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.004bde44
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4be0cf
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.00405018
ret
Function at 0x4cd3c4
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 0x4cd477
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 0x105]
push eax
push ebx
push 0x4cd488
mov eax, edi
call fcn.004054d0
push eax
call sub.KERNEL32.DLL_GetTempFileNameA
lea edx, [ebp - 0x10c]
lea eax, [ebp - 0x105]
call fcn.0040b07c
mov eax, dword [ebp - 0x10c]
call fcn.0040a938
lea edx, [ebp - 0x110]
lea eax, [ebp - 0x105]
call fcn.0040b07c
mov eax, dword [ebp - 0x110]
mov ecx, esi
mov edx, dword [ebp - 4]
call fcn.0040a9d8
inc ebx
mov eax, dword [esi]
call fcn.0040a63c
test al, al
jne 0x4cd3f6
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cd47e
lea eax, [ebp - 0x110]
mov edx, 2
call fcn.00405018
ret
Function at 0x51e06c
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 0x51e0bd
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x51e0a4
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x51e094
jmp 0x51e0bd
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 0x51e0a5
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x52d330
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
xor edx, edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x52d50c
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 0x105
mov eax, dword [ebp - 0x18]
call fcn.00402c7c
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x52d3a7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GetSystemDirectoryA
test eax, eax
je 0x52d391
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 8]
call fcn.004051ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52d3ae
mov eax, dword [ebp - 8]
call fcn.00402cac
ret
Function at 0x532278
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
test dl, dl
je 0x53228c
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.005188b8
call fcn.0053140c
push esi
push 0x53236c
call fcn.00464188
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 0x5322e6
mov byte [esi + 0x470], 1
jmp 0x5322ed
mov byte [esi + 0x470], 0
mov edx, dword [0x53232c]
mov eax, esi
call fcn.00532450
mov edx, dword [0x532330]
mov eax, esi
call fcn.005324e4
mov byte [esi + 0x478], 0
mov eax, esi
test bl, bl
je 0x532323
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 0x534080
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 0x5340ff
mov eax, ebx
and eax, 0xff
bt dword [0x5b4e20], eax
jae 0x5340d9
mov ecx, 1
mov dl, byte [ebp - 2]
mov eax, ebx
call fcn.00534074
cmp byte [ebp - 1], 0
je 0x5340fa
mov ecx, 3
mov dl, byte [ebp - 2]
mov eax, ebx
call fcn.00534074
jmp 0x5340fa
xor ecx, ecx
mov dl, byte [ebp - 2]
mov eax, ebx
call fcn.00534074
cmp byte [ebp - 1], 0
je 0x5340fa
mov ecx, 2
mov dl, byte [ebp - 2]
mov eax, ebx
call fcn.00534074
dec si
jne 0x5340a3
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x534104
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 [0x5b4e20], edx
jae 0x534133
xor ecx, ecx
mov edx, eax
mov eax, ebx
call fcn.00534074
pop ebx
ret
mov ecx, 2
mov edx, eax
mov eax, ebx
call fcn.00534074
pop ebx
ret
Function at 0x53663c
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.0042abc0
xor edx, edx
mov eax, dword [ebx + 0x10]
call fcn.0042ab90
mov edx, esi
mov eax, dword [ebx + 0x10]
call fcn.0042aa94
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.0042b54c
mov edx, dword [edi + 8]
sub edx, 2
mov ecx, dword [edi + 4]
mov eax, ebx
call fcn.0042b4ec
mov ecx, dword [edi + 4]
add ecx, 3
mov edx, dword [edi]
mov eax, ebx
call fcn.0042b54c
mov ecx, dword [edi + 0xc]
sub ecx, 2
mov edx, dword [edi]
mov eax, ebx
call fcn.0042b4ec
mov ecx, dword [edi + 4]
add ecx, 3
mov edx, dword [edi + 8]
mov eax, ebx
call fcn.0042b54c
mov ecx, dword [edi + 0xc]
sub ecx, 2
mov edx, dword [edi + 8]
mov eax, ebx
call fcn.0042b4ec
mov edx, dword [edi]
add edx, 3
mov ecx, dword [edi + 0xc]
mov eax, ebx
call fcn.0042b54c
mov edx, dword [edi + 8]
sub edx, 2
mov ecx, dword [edi + 0xc]
mov eax, ebx
call fcn.0042b4ec
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.005365c8
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.005365c8
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.005365c8
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.005365c8
add esp, 0x1c
pop edi
pop esi
pop ebx
ret
Function at 0x540914
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 0x540aea
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
cmp dword [edi + 0x38], 0
jne 0x540ad1
mov eax, dword [edi + 0x30]
call fcn.004052d0
test eax, eax
jne 0x54096a
mov eax, dword [edi + 0x34]
call fcn.004052d0
test eax, eax
jne 0x54096a
mov eax, edi
call fcn.00540b88
jmp 0x540ad1
cmp dword [edi + 0xa0], 0
jne 0x5409a1
lea eax, [ebp - 0x101]
mov edx, dword [edi + 0x30]
call fcn.0040ae84
push 0x3ec
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x5b82f0]
mov eax, dword [eax + 0x44]
push eax
call sub.user32.dll_DdeCreateStringHandleA
mov dword [edi + 0xa0], eax
cmp dword [edi + 0xa4], 0
jne 0x5409d8
lea eax, [ebp - 0x101]
mov edx, dword [edi + 0x34]
call fcn.0040ae84
push 0x3ec
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x5b82f0]
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.00540bc8
mov ebx, eax
test bl, bl
jne 0x540a86
mov eax, dword [edi + 0x30]
call fcn.004052d0
test eax, eax
jne 0x540a10
mov eax, dword [edi + 0xc0]
call fcn.004052d0
test eax, eax
je 0x540a86
mov eax, dword [edi + 0xc0]
call fcn.004052d0
test eax, eax
je 0x540a32
lea eax, [ebp - 0x101]
mov edx, dword [edi + 0xc0]
call fcn.0040ae84
jmp 0x540a5e
push dword [edi + 0x30]
push 0x540b04
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.0040ae84
push 7
lea eax, [ebp - 0x101]
push eax
call sub.KERNEL32.DLL_WinExec
cmp eax, 0x20
jb 0x540a86
mov ecx, dword [edi + 0xa4]
mov edx, dword [edi + 0xa0]
mov eax, edi
call fcn.00540bc8
mov ebx, eax
test bl, bl
jne 0x540a93
mov eax, edi
call fcn.00540b88
jmp 0x540ad1
mov eax, dword [edi + 0x58]
test eax, eax
je 0x540aa2
mov dword [edi + 0xa8], eax
jmp 0x540aac
mov dword [edi + 0xa8], 1
mov eax, edi
call fcn.00540c40
test al, al
je 0x540ad1
mov eax, edi
mov si, 0xffee
call fcn.004042e8
xor ecx, ecx
xor edx, edx
mov eax, edi
call fcn.00540cec
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x540af1
lea eax, [ebp - 0x108]
call fcn.00404ff4
ret
Function at 0x549038
Capabilities:
Create process on windows

Disassembly:
push ebx
mov ebx, eax
push 1
push 0x549088
push 0x549088
mov eax, ebx
call fcn.004054d0
push eax
push 0x54908c
mov eax, dword [0x5b5c94]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.shell32.dll_ShellExecuteA
cmp eax, 0x20
jbe 0x549072
xor eax, eax
call fcn.005a51a4
pop ebx
ret
mov eax, dword [0x5b59f8]
mov eax, dword [eax]
mov eax, dword [eax + 0x3fc]
call fcn.005a51a4
pop ebx
ret

Function at 0x5523fc
Capabilities:
Find taskbar

Disassembly:
push ebx
add esp, 0xffffffdc
mov ebx, eax
mov dword [esp], 0x24
push 0
push 0x552450
call sub.user32.dll_FindWindowA
mov dword [esp + 4], eax
cmp dword [esp + 4], 0
je 0x55243d
push esp
push 4
call sub.shell32.dll_SHAppBarMessage
test eax, 1
jbe 0x55243d
push esp
push 5
call sub.shell32.dll_SHAppBarMessage
cmp eax, 1
je 0x552441
xor eax, eax
jmp 0x552443
mov al, 1
mov edx, dword [esp + 0xc]
mov dword [ebx], edx
add esp, 0x24
pop ebx
ret
Function at 0x55ee60
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 0x55ef80
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
call fcn.005a51a4
lea edx, [ebp - 0xc]
xor ecx, ecx
mov eax, ebx
call fcn.0055e71c
test al, al
je 0x55ef4b
mov edx, esi
mov eax, 0x55ef98
call fcn.0047ac10
test al, al
je 0x55eeff
cmp dword [ebp - 8], 0
je 0x55eee3
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x55eec6
cmp dword [ebx + 0x310], 0
jne 0x55eecf
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 0x55ef65
mov ebx, dword [0x5b5a9c]
mov ebx, dword [ebx]
lea edx, [ebp - 0x10]
mov eax, 0x14b
call ebx
mov eax, dword [ebp - 0x10]
call fcn.005a51a4
jmp 0x55ef65
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x55ef25
mov byte [ebx + 0x304], 1
lea edx, [ebp - 0x14]
mov eax, dword [ebx + 0x300]
call fcn.0040a00c
mov eax, dword [ebp - 0x14]
call fcn.0055e60c
jmp 0x55ef65
mov eax, dword [ebp - 4]
push eax
push 0
push 0x400
call sub.KERNEL32.DLL_OpenProcess
mov ebx, eax
test ebx, ebx
je 0x55ef65
push 0
push ebx
call sub.KERNEL32.DLL_TerminateProcess
push ebx
call sub.KERNEL32.DLL_CloseHandle
jmp 0x55ef65
mov ebx, dword [0x5b5a9c]
mov ebx, dword [ebx]
lea edx, [ebp - 0x18]
mov eax, 0x14c
call ebx
mov eax, dword [ebp - 0x18]
call fcn.005a51a4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x55ef87
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00405018
ret
Function at 0x5619e8
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 0x561afc
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x5b5f24]
cmp dword [eax], 2
je 0x561adb
xor edx, edx
push ebp
push 0x561ad1
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.0040b07c
mov eax, dword [ebp - 0x114]
lea ecx, [ebp - 8]
mov edx, 0x561b14
call fcn.0044319c
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 0x561ac7
xor edx, edx
push ebp
push 0x561ac0
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x561b1c
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_GetProcAddress
test eax, eax
je 0x561aa9
push 0
push 0
mov edx, dword [0x5b5d24]
mov edx, dword [edx]
push edx
push 0x561b30
call eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x561ac7
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 0x561adb
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x561b03
lea eax, [ebp - 0x114]
call fcn.00404ff4
lea eax, [ebp - 8]
call fcn.00404ff4
ret