joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b6430
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, ebx
mov edx, 0x4b658c
call fcn.00404344
push 0xf003f
push 0
push 0
call sub.advapi32.dll_OpenSCManagerA
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jbe 0x4b657d
push 0xf01ff
mov eax, esi
call fcn.004047b0
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_OpenServiceA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jbe 0x4b657d
xor edx, edx
push ebp
push 0x4b655a
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_QueryServiceStatus
mov eax, dword [ebp - 0x20]
cmp eax, 4
jne 0x4b64bb
mov eax, ebx
mov edx, 0x4b659c
call fcn.00404344
jmp 0x4b653e
cmp eax, 4
jne 0x4b64ce
mov eax, ebx
mov edx, 0x4b65a8
call fcn.00404344
jmp 0x4b653e
cmp eax, 2
jne 0x4b64e1
mov eax, ebx
mov edx, 0x4b65a8
call fcn.00404344
jmp 0x4b653e
cmp eax, 3
jne 0x4b64f4
mov eax, ebx
mov edx, 0x4b65a8
call fcn.00404344
jmp 0x4b653e
cmp eax, 7
jne 0x4b6507
mov eax, ebx
mov edx, 0x4b65a8
call fcn.00404344
jmp 0x4b653e
cmp eax, 1
jne 0x4b651a
mov eax, ebx
mov edx, 0x4b65b8
call fcn.00404344
jmp 0x4b653e
cmp eax, 5
jne 0x4b652d
mov eax, ebx
mov edx, 0x4b65a8
call fcn.00404344
jmp 0x4b653e
cmp eax, 6
jne 0x4b653e
mov eax, ebx
mov edx, 0x4b65a8
call fcn.00404344
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_CloseServiceHandle
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CloseServiceHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4b657d
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4b666c
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
mov byte [ebp - 1], cl
mov esi, edx
mov ebx, eax
cmp bl, 0x90
jne 0x4b66c1
push 0x90
call sub.user32.dll_GetKeyState
and ax, 1
cmp al, 1
sbb ebx, ebx
inc ebx
lea eax, [ebp - 0x102]
push eax
call sub.user32.dll_GetKeyboardState
test bl, bl
je 0x4b66ac
and byte [ebp - 0x72], 0xfe
jmp 0x4b66b0
or byte [ebp - 0x72], 1
lea eax, [ebp - 0x102]
push eax
call sub.user32.dll_SetKeyboardState
jmp 0x4b6747
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 0x4b6747
mov eax, ebx
and eax, 0xff
bt dword [0x4e08e0], eax
jae 0x4b6717
mov eax, dword [ebp + 8]
push eax
mov ecx, 1
mov dl, byte [ebp - 2]
mov eax, ebx
call fcn.004b6620
pop ecx
cmp byte [ebp - 1], 0
je 0x4b6742
mov eax, dword [ebp + 8]
push eax
mov ecx, 3
mov dl, byte [ebp - 2]
mov eax, ebx
call fcn.004b6620
pop ecx
jmp 0x4b6742
mov eax, dword [ebp + 8]
push eax
xor ecx, ecx
mov dl, byte [ebp - 2]
mov eax, ebx
call fcn.004b6620
pop ecx
cmp byte [ebp - 1], 0
je 0x4b6742
mov eax, dword [ebp + 8]
push eax
mov ecx, 2
mov dl, byte [ebp - 2]
mov eax, ebx
call fcn.004b6620
pop ecx
dec si
jne 0x4b66d7
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4b6750
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
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 [0x4e08e0], edx
jae 0x4b6788
mov edx, dword [ebp + 8]
push edx
xor ecx, ecx
mov edx, eax
mov eax, ebx
call fcn.004b6620
pop ecx
pop ebx
pop ebp
ret
mov edx, dword [ebp + 8]
push edx
mov ecx, 2
mov edx, eax
mov eax, ebx
call fcn.004b6620
pop ecx
pop ebx
pop ebp
ret
Function at 0x4bace0
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, dword [0x4e0e9c]
cmp byte [eax], 0
jne 0x4bad0e
mov ecx, 0xaf
mov edx, 0x4bad5c
mov eax, 0x4bad98
call fcn.0040424c
mov eax, ebx
call fcn.004049fc
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyW
shl eax, 0x10
test eax, eax
je 0x4bad4d
push 0x200
lea edx, [ebp - 0x202]
push edx
push eax
call sub.user32.dll_GetKeyNameTextW
mov eax, ebx
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.00404b90
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4badac
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
mov eax, dword [0x4e0e9c]
cmp byte [eax], 0
jne 0x4badcf
mov ecx, 0xbd
mov edx, 0x4bae10
mov eax, 0x4bae4c
call fcn.0040424c
push 2
movzx eax, bx
push eax
call sub.user32.dll_MapVirtualKeyW
mov edi, eax
mov eax, ebx
add eax, 0xffffffd0
sub ax, 0xa
jae 0x4bae02
mov esi, ebx
sub si, 0x30
add si, 0x30
cmp si, di
je 0x4bae02
push esi
call sub.user32.dll_VkKeyScanW
cmp al, bl
jne 0x4bae02
mov edi, esi
mov eax, edi
pop edi
pop esi
pop ebx
ret

Function at 0x4bef8c
Capabilities:
Set global application hook

Disassembly:
mov eax, dword [0x4e1304]
cmp dword [eax], 2
je 0x4befaa
mov ecx, 0x35f
mov edx, 0x4befdc
mov eax, 0x4bf018
call fcn.0040424c
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
push 0x4bef2c
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x4e3198], eax
cmp dword [0x4e3198], 0
jne 0x4befd1
call fcn.0040ead0
ret

Function at 0x4bf9e4
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x4bfa48
push dword fs:[edx]
mov dword fs:[edx], esp
push 6
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00404560
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00409688
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bfa4f
lea eax, [ebp - 0xc]
call fcn.004042f0
ret

Function at 0x4bfaa4
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffec
mov esi, edx
lea edi, [esp + 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, dword [esp + 8]
test ebx, ebx
je 0x4bfb00
push esp
push 0x40
push 6
push ebx
call sub.kernel32.dll_VirtualProtect
test eax, eax
jne 0x4bfacf
call fcn.0040ead0
mov edx, dword [esp + 8]
lea eax, [esp + 0xc]
mov ecx, 6
call fcn.00402954
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 4]
push eax
push 6
mov eax, dword [esp + 0x14]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
jne 0x4bfb00
call fcn.0040ead0
add esp, 0x14
pop edi
pop esi
pop ebx
ret
Function at 0x4c52b4
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov dword [ebp - 4], 0xff
mov ebx, 0x4c52f0
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x103]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x4c52e4
lea ebx, [ebp - 0x103]
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4c5314
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov esi, ecx
mov dword [ebp - 4], edx
mov edi, dword [ebp + 8]
xor eax, eax
push ebp
push 0x4c53a4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
call fcn.004042f0
mov eax, dword [ebp - 4]
call fcn.004045b0
test al, al
jbe 0x4c538e
mov byte [ebp - 5], al
mov bl, 1
lea eax, [ebp - 0xc]
xor edx, edx
mov dl, bl
mov ecx, dword [ebp - 4]
mov dl, byte [ecx + edx - 1]
mov ecx, esi
shr ecx, 8
xor dl, cl
call fcn.004044d8
mov edx, dword [ebp - 0xc]
mov eax, edi
call fcn.004045b8
xor eax, eax
mov al, bl
mov edx, dword [edi]
movzx eax, byte [edx + eax - 1]
add esi, eax
imul esi, dword [ebp + 0x10]
add esi, dword [ebp + 0xc]
inc ebx
dec byte [ebp - 5]
jne 0x4c5350
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c53ab
lea eax, [ebp - 0xc]
call fcn.004042f0
ret

Function at 0x4c53b4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.004047a0
xor eax, eax
push ebp
push 0x4c54ab
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x23456789
push 0x34567890
lea eax, [ebp - 8]
push eax
mov ecx, 0x12345678
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.004c5314
lea eax, [ebp - 0xc]
call fcn.004042f0
lea eax, [ebp - 0x10]
call fcn.004042f0
mov eax, dword [ebp - 8]
call fcn.004045b0
mov esi, eax
test esi, esi
jle 0x4c544b
mov ebx, 1
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 8]
movzx eax, byte [eax + ebx - 1]
shl eax, 8
xor eax, 7
or eax, 5
call fcn.004093fc
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0xc]
call fcn.004045b8
inc ebx
dec esi
jne 0x4c5423
xor ebx, ebx
mov eax, dword [ebp - 0xc]
call fcn.004045b0
mov ecx, 0xc
cdq
idiv ecx
mov esi, eax
lea eax, [ebp - 0x18]
push eax
mov edx, esi
imul edx, ebx
mov ecx, 1
mov eax, dword [ebp - 0xc]
call fcn.00404810
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 0x10]
call fcn.004045b8
inc ebx
cmp ebx, 0xc
jne 0x4c544d
mov eax, edi
mov edx, dword [ebp - 0x10]
call fcn.00404344
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c54b2
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.00404314
ret

Function at 0x4c65ec
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
add eax, 0x18
mov edx, 0x40
call fcn.00407828
ret
Function at 0x4c7dd4
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push esi
push ecx
mov esi, ecx
mov ebx, edx
shl ebx, 2
add ebx, eax
mov eax, ebx
call fcn.00405b28
test eax, eax
je 0x4c7e14
push esp
push 0x40
push 4
push ebx
call sub.kernel32.dll_VirtualProtect
mov dword [ebx], esi
push esp
mov eax, dword [esp + 4]
push eax
push 4
push ebx
call sub.kernel32.dll_VirtualProtect
push 4
push ebx
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_FlushInstructionCache
pop edx
pop esi
pop ebx
ret

Function at 0x4c7edc
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push esi
push edi
push ecx
mov esi, ecx
mov edi, edx
mov ebx, eax
push esp
push 0x40
push esi
push ebx
call sub.kernel32.dll_VirtualProtect
mov edx, ebx
mov eax, edi
mov ecx, esi
call fcn.00402954
push esp
mov eax, dword [esp + 4]
push eax
push esi
push ebx
call sub.kernel32.dll_VirtualProtect
push esi
push ebx
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_FlushInstructionCache
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x4c842c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffec
mov dword [esp + 4], edx
mov dword [esp], eax
lea ebp, [esp + 0x10]
mov eax, dword [0x4e3540]
mov esi, dword [eax + 8]
dec esi
test esi, esi
jl 0x4c846f
inc esi
xor edi, edi
mov edx, edi
mov eax, dword [0x4e3540]
call fcn.0041aa70
mov ebx, eax
mov eax, dword [esp]
cmp eax, dword [ebx]
jne 0x4c846b
mov eax, dword [ebx + 4]
jmp 0x4c8535
inc edi
dec esi
jne 0x4c844e
mov edi, dword [esp]
mov ebx, edi
xor esi, esi
mov edx, ebp
mov eax, ebx
call fcn.004c80d4
test al, al
jne 0x4c8487
mov byte [ebp], 1
xor eax, eax
mov al, byte [ebp]
add esi, eax
xor eax, eax
mov al, byte [ebp]
add ebx, eax
cmp esi, 5
jb 0x4c8476
mov edx, esi
mov eax, edi
call fcn.004c820c
add eax, 5
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
call fcn.00402758
mov ebp, eax
mov eax, 0x14
call fcn.00402758
mov ebx, eax
mov eax, dword [esp]
mov dword [ebx], eax
mov dword [ebx + 4], ebp
mov eax, dword [esp + 8]
mov dword [ebx + 8], eax
mov dword [ebx + 0x10], esi
mov eax, esi
call fcn.00402758
mov dword [ebx + 0xc], eax
mov edx, dword [ebx + 0xc]
mov eax, edi
mov ecx, esi
call fcn.00402954
mov edx, ebx
mov eax, dword [0x4e3540]
call fcn.0041a914
lea eax, [esp + 0xc]
push eax
push 0x40
mov eax, dword [esp + 0x10]
push eax
push ebp
call sub.kernel32.dll_VirtualProtect
mov edx, ebp
mov eax, edi
mov ecx, esi
call fcn.00402954
mov ecx, esi
mov edx, edi
mov eax, ebp
call fcn.004c82a8
lea edx, [esi + edi]
lea eax, [esi + ebp]
call fcn.004c7f1c
mov edx, dword [esp + 4]
mov eax, edi
call fcn.004c7f1c
mov eax, ebp
add esp, 0x14
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4c8794
Capabilities:
Parse pe header

Disassembly:
push ebx
push esi
mov ebx, eax
xor esi, esi
mov edx, 0x40
mov eax, ebx
call fcn.004c7d84
test al, al
je 0x4c87d8
mov eax, ebx
cmp word [eax], 0x5a4d
jne 0x4c87d8
cmp dword [eax + 0x3c], 0
je 0x4c87d8
mov esi, dword [eax + 0x3c]
add esi, ebx
mov edx, 0xf8
mov eax, esi
call fcn.004c7d84
test al, al
je 0x4c87d6
cmp dword [esi], 0x4550
je 0x4c87d8
xor esi, esi
mov eax, esi
pop esi
pop ebx
ret

Function at 0x4ccd50
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffef8
mov ebx, eax
push esp
push 0x104
call sub.kernel32.dll_GetTempPathA
mov edx, ebx
mov eax, esp
call fcn.0040a028
add esp, 0x108
pop ebx
ret

Function at 0x4ccd78
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffef8
mov ebx, eax
push 0x104
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
mov edx, ebx
mov eax, esp
call fcn.0040a028
add esp, 0x108
pop ebx
ret

Function at 0x4ccda4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edi, ecx
mov word [ebp - 6], dx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004047a0
xor eax, eax
push ebp
push 0x4cce1c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
mov edx, dword [ebp - 4]
call fcn.00404344
mov eax, dword [ebp - 4]
call fcn.004045b0
mov esi, eax
test esi, esi
jle 0x4cce06
mov ebx, 1
mov eax, edi
call fcn.00404808
movzx edx, word [ebp - 6]
shr edx, 8
mov ecx, dword [ebp - 4]
xor dl, byte [ecx + ebx - 1]
mov byte [eax + ebx - 1], dl
inc ebx
dec esi
jne 0x4ccde9
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cce23
lea eax, [ebp - 4]
call fcn.004042f0
ret

Function at 0x4cd538
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4cd5e8
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xc8
mov eax, ebx
call fcn.004042f0
mov eax, dword [ebp - 8]
call fcn.00402758
mov dword [ebp - 4], eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00407828
xor eax, eax
push ebp
push 0x4cd5cb
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_GetUserNameA
test eax, eax
je 0x4cd5b5
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.004044e8
lea edx, [ebp - 0xc]
mov eax, dword [ebx]
call fcn.004090e4
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.00404344
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cd5d2
mov eax, dword [ebp - 4]
call fcn.00402778
ret
Function at 0x4cd5f4
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x14c], ecx
mov dword [ebp - 0x148], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4cd7b3
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x1c]
call fcn.004cd538
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [0x4e3578]
cmp dword [eax + 0x7b4], 1
je 0x4cd788
xor edx, edx
mov eax, 2
call fcn.004a1834
mov esi, eax
mov dword [ebp - 0x144], 0x128
lea edx, [ebp - 0x144]
mov eax, esi
call fcn.004a1854
jmp 0x4cd77a
push 1
call sub.kernel32.dll_Sleep_1
mov eax, dword [0x4e3578]
cmp dword [eax + 0x7b4], 1
je 0x4cd782
call sub.kernel32.dll_GetCurrentProcessId
cmp eax, dword [ebp - 0x13c]
jne 0x4cd6b0
lea edx, [ebp - 0x144]
mov eax, esi
call fcn.004a1874
jmp 0x4cd77a
lea eax, [ebp - 0x148]
lea edx, [ebp - 0x120]
mov ecx, 0x104
call fcn.00404560
mov eax, dword [ebp - 0x148]
lea edx, [ebp - 0xc]
call fcn.00409cd8
lea eax, [ebp - 0x10]
lea edx, [ebp - 0x120]
mov ecx, 0x104
call fcn.00404560
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.004cd440
cmp bl, al
jne 0x4cd76d
test bl, bl
jne 0x4cd74e
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 0x13c]
call fcn.004cd290
test al, al
je 0x4cd73f
lea edx, [ebp - 0x14c]
mov eax, dword [ebp - 0x18]
call fcn.004090e4
mov edx, dword [ebp - 0x14c]
mov eax, dword [ebp - 0x1c]
call fcn.004046fc
je 0x4cd74e
lea edx, [ebp - 0x144]
mov eax, esi
call fcn.004a1874
jmp 0x4cd77a
lea edx, [ebp - 0x144]
mov eax, esi
call fcn.004a1874
jmp 0x4cd77a
push 0
mov eax, dword [ebp - 0x13c]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
push eax
call sub.kernel32.dll_TerminateProcess
push 0xa
call sub.kernel32.dll_Sleep_1
lea edx, [ebp - 0x144]
mov eax, esi
call fcn.004a1874
test eax, eax
jne 0x4cd678
push esi
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cd7ba
lea eax, [ebp - 0x14c]
mov edx, 2
call fcn.00404314
lea eax, [ebp - 0x1c]
mov edx, 5
call fcn.00404314
ret

Function at 0x4cd7c4
Capabilities:
Read file via mapping

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebx, 0x4e3578
xor eax, eax
mov edx, dword [ebx]
xor ecx, ecx
mov dword [edx + eax*4 + 0x5e4], ecx
inc eax
cmp eax, 0x65
jne 0x4cd7cf
xor edi, edi
push 0x40
mov eax, dword [ebx]
mov ecx, dword [eax + 0x3cc]
mov dl, 1
mov eax, dword [0x4189a0]
call fcn.0041d4cc
mov ebp, eax
mov eax, dword [ebx]
mov dword [eax + 0x788], ebp
push 0
push 0
push 0
push 2
push 0
mov eax, dword [ebp + 4]
push eax
call sub.kernel32.dll_CreateFileMappingA
mov esi, eax
mov eax, dword [ebx]
mov dword [eax + 0x790], esi
test esi, esi
je 0x4cd844
push 0
push 0
push 0
push 4
push esi
call sub.kernel32.dll_MapViewOfFile
mov ebp, eax
mov eax, dword [ebx]
mov dword [eax + 0x794], ebp
test ebp, ebp
je 0x4cd844
mov edi, 1
mov eax, edi
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4cde70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edi, ecx
mov word [ebp - 6], dx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004047a0
xor eax, eax
push ebp
push 0x4cdee8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
mov edx, dword [ebp - 4]
call fcn.00404344
mov eax, dword [ebp - 4]
call fcn.004045b0
mov esi, eax
test esi, esi
jle 0x4cded2
mov ebx, 1
mov eax, edi
call fcn.00404808
movzx edx, word [ebp - 6]
shr edx, 8
mov ecx, dword [ebp - 4]
xor dl, byte [ecx + ebx - 1]
mov byte [eax + ebx - 1], dl
inc ebx
dec esi
jne 0x4cdeb5
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cdeef
lea eax, [ebp - 4]
call fcn.004042f0
ret

Function at 0x4cdef8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
mov ebx, eax
lea eax, [ebp - 0x105]
push eax
push 0x104
call sub.kernel32.dll_GetTempPathA
mov edx, ebx
lea eax, [ebp - 0x105]
call fcn.0040a028
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4ce188
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edi, ecx
mov word [ebp - 6], dx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004047a0
xor eax, eax
push ebp
push 0x4ce200
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
mov edx, dword [ebp - 4]
call fcn.00404344
mov eax, dword [ebp - 4]
call fcn.004045b0
mov esi, eax
test esi, esi
jle 0x4ce1ea
mov ebx, 1
mov eax, edi
call fcn.00404808
movzx edx, word [ebp - 6]
shr edx, 8
mov ecx, dword [ebp - 4]
xor dl, byte [ecx + ebx - 1]
mov byte [eax + ebx - 1], dl
inc ebx
dec esi
jne 0x4ce1cd
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ce207
lea eax, [ebp - 4]
call fcn.004042f0
ret
Function at 0x4d03f0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4d059d
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 4]
mov edx, 8
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 4]
mov edx, 0x4d05b4
call fcn.004046fc
je 0x4d0582
mov eax, dword [ebp - 4]
mov edx, 0x4d05c0
call fcn.004046fc
jne 0x4d0478
push 1
push 0
push 0
lea ecx, [ebp - 8]
mov edx, 9
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 8]
call fcn.004047b0
push eax
push 0x4d05c4
mov eax, esi
call fcn.0045d57c
push eax
call sub.shell32.dll_ShellExecuteA
jmp 0x4d0582
mov eax, dword [ebp - 4]
mov edx, 0x4d05d4
call fcn.004046fc
jne 0x4d04a3
lea ecx, [ebp - 0xc]
mov edx, 0xa
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0xc]
call fcn.00433694
jmp 0x4d0582
mov eax, dword [ebp - 4]
mov edx, 0x4d05e0
call fcn.004046fc
jne 0x4d04fe
lea ecx, [ebp - 0x10]
mov edx, 0xa
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x10]
call fcn.00433694
push 1
push 0
push 0
lea ecx, [ebp - 0x14]
mov edx, 9
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x14]
call fcn.004047b0
push eax
push 0x4d05c4
mov eax, esi
call fcn.0045d57c
push eax
call sub.shell32.dll_ShellExecuteA
jmp 0x4d0582
mov eax, dword [ebp - 4]
mov edx, 0x4d05ec
call fcn.004046fc
jne 0x4d0582
push 4
lea ecx, [ebp - 0x18]
mov edx, 0xa
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x18]
call fcn.004047b0
push eax
lea edx, [ebp - 0x1c]
mov eax, dword [0x4e1144]
mov eax, dword [eax]
call fcn.00476d58
mov eax, dword [ebp - 0x1c]
call fcn.004047b0
mov ecx, eax
mov eax, dword [0x4e1144]
mov eax, dword [eax]
pop edx
call fcn.004773d4
cmp eax, 6
jne 0x4d0582
push 1
push 0
push 0
lea ecx, [ebp - 0x20]
mov edx, 9
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x20]
call fcn.004047b0
push eax
push 0x4d05c4
mov eax, esi
call fcn.0045d57c
push eax
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d05a4
lea eax, [ebp - 0x20]
mov edx, 8
call fcn.00404314
ret

Function at 0x4d12dc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edi, ecx
mov word [ebp - 6], dx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004047a0
xor eax, eax
push ebp
push 0x4d1354
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
mov edx, dword [ebp - 4]
call fcn.00404344
mov eax, dword [ebp - 4]
call fcn.004045b0
mov esi, eax
test esi, esi
jle 0x4d133e
mov ebx, 1
mov eax, edi
call fcn.00404808
movzx edx, word [ebp - 6]
shr edx, 8
mov ecx, dword [ebp - 4]
xor dl, byte [ecx + ebx - 1]
mov byte [eax + ebx - 1], dl
inc ebx
dec esi
jne 0x4d1321
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d135b
lea eax, [ebp - 4]
call fcn.004042f0
ret
Function at 0x4d2ec4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edi, ecx
mov word [ebp - 6], dx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004047a0
xor eax, eax
push ebp
push 0x4d2f3c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
mov edx, dword [ebp - 4]
call fcn.00404344
mov eax, dword [ebp - 4]
call fcn.004045b0
mov esi, eax
test esi, esi
jle 0x4d2f26
mov ebx, 1
mov eax, edi
call fcn.00404808
movzx edx, word [ebp - 6]
shr edx, 8
mov ecx, dword [ebp - 4]
xor dl, byte [ecx + ebx - 1]
mov byte [eax + ebx - 1], dl
inc ebx
dec esi
jne 0x4d2f09
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d2f43
lea eax, [ebp - 4]
call fcn.004042f0
ret