joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b53c8
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 0x4b5482
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00405060
mov eax, dword [0x4e34ec]
cmp byte [eax], 0
je 0x4b5437
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.004053c0
mov eax, dword [ebx]
call fcn.004051ec
push eax
mov eax, dword [ebx]
call fcn.004051dc
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.004051ec
mov edx, eax
dec edx
mov eax, ebx
call fcn.004053c0
jmp 0x4b5469
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.00409ec4
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.004051cc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b5489
lea eax, [ebp - 0x3f0]
call fcn.0040492c
ret

Function at 0x4b5490
Capabilities:
Get graphical window text

Disassembly:
push ebx
add esp, 0xfffffc14
mov ebx, edx
mov edx, esp
push edx
push 0x3e8
push 0xd
push eax
call sub.user32.dll_SendMessageA
mov edx, ebx
mov eax, esp
call fcn.00409ec4
add esp, 0x3ec
pop ebx
ret

Function at 0x4b5650
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff00
mov ebp, edx
mov esi, eax
mov edx, ebp
mov eax, dword [esi + 0x3c]
call dword [esi + 0x38]
cmp dword [ebp + 0xc], 0
jne 0x4b5709
push esp
call sub.user32.dll_GetKeyboardState
mov eax, esp
call fcn.0047c4bc
mov ebx, eax
mov dx, word [ebp + 4]
mov eax, esi
call fcn.004b530c
mov edi, eax
test edi, edi
je 0x4b56af
mov al, byte [0x4b5714]
cmp al, bl
jne 0x4b56af
mov edx, edi
mov eax, esi
call fcn.004b5244
mov dword [ebp + 0xc], 1
mov byte [esi + 0x31], 1
jmp 0x4b5709
cmp byte [esi + 0x161], 2
jne 0x4b56da
mov eax, dword [ebp + 8]
push eax
movzx ecx, word [ebp + 4]
mov eax, dword [0x4e38a0]
mov eax, dword [eax]
mov eax, dword [eax + 0x50]
mov edx, 0xb006
call fcn.0046638c
test eax, eax
jne 0x4b5709
jmp 0x4b5704
mov eax, dword [0x4e3784]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
cmp eax, dword [esi + 0x128]
je 0x4b5704
mov edx, dword [ebp + 8]
push edx
movzx ecx, word [ebp + 4]
mov edx, dword [0x4e3784]
mov edx, 0xb006
call fcn.0046638c
xor eax, eax
mov dword [ebp + 0xc], eax
add esp, 0x100
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4bb670
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov esi, edx
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, eax
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebx + 0x80]
xor edx, edx
push edx
push eax
mov eax, dword [ebx + 0x84]
cdq
cmp edx, dword [esp + 4]
jne 0x4bb6a4
cmp eax, dword [esp]
pop edx
pop eax
jae 0x4bb6e0
jmp 0x4bb6a8
pop edx
pop eax
jge 0x4bb6e0
mov eax, dword [0x4e38a0]
mov eax, dword [eax]
mov dword [eax + 0x44], 2
call sub.kernel32.dll_GetTickCount
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.004b64e8
mov eax, dword [ebx + 0xf4]
test eax, eax
je 0x4bb705
mov ecx, dword [esp + 4]
mov edx, dword [esp]
mov ebx, dword [eax]
call dword [ebx + 0x40]
jmp 0x4bb705
cmp dword [ebx + 0x11c], 0
je 0x4bb705
xor edx, edx
mov eax, dword [ebx + 0x58]
call fcn.00435604
push 0
push 0
push 0x10
mov eax, dword [ebx + 0x12c]
push eax
call sub.user32.dll_PostMessageA
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x4c61c4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4c6335
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0x9c], 1
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 0x10
jne 0x4c631a
lea eax, [ebp - 0x10d]
push eax
push pe_nt_image_headers32
call sub.kernel32.dll_GetTempPathA
lea edx, [ebp - 8]
lea eax, [ebp - 0x10d]
call fcn.00409ec4
mov dl, 1
mov eax, dword [0x49e580]
call fcn.0049e5d8
mov edx, dword [ebp - 4]
mov dword [edx + 0x94], eax
mov dl, 1
mov eax, dword [0x41864c]
call fcn.00403a88
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x98]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x94]
call fcn.0049e654
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x4c6317
mov dl, 1
mov eax, dword [0x49f8c8]
call fcn.0049f930
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x94]
mov edx, 0x4c634c
call fcn.0049ea74
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.00404c38
xor eax, eax
push ebp
push 0x4c6310
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
xor ecx, ecx
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.0049fc30
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004c6354
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c6317
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x94]
call fcn.00403ab8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
call fcn.00403ab8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.00403ab8
ret
mov bl, byte [ebp - 0xd]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c633c
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00404950
ret
Function at 0x4c8104
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 [0x417278]
call fcn.00405424
xor eax, eax
push ebp
push 0x4c8248
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4e21c8], 0
jne 0x4c8157
mov ecx, dword [0x4e3464]
mov dl, 1
mov eax, dword [0x40830c]
call fcn.0040ce38
call fcn.00404348
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.004031f4
mov eax, ebx
call fcn.004051dc
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x4c8258
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.004064d0
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.004051ec
test eax, eax
jle 0x4c81ef
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 0x4c81e8
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404bb4
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404b9c
mov eax, dword [ebp - 0x48]
pop edx
call fcn.0040914c
test eax, eax
jne 0x4c81e8
mov ebx, 0x15
jmp 0x4c81f4
mov ebx, 0x10
jmp 0x4c81f4
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 [0x4e21c8]
call fcn.004c805c
mov eax, dword [ebp - 8]
call fcn.004c805c
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.004064e8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c824f
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404950
lea eax, [ebp - 0x10]
mov edx, dword [0x417278]
call fcn.004054f4
ret
Function at 0x4cf840
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff4
mov ecx, dword [eax]
mov dword [edx], ecx
lea ecx, [eax + 4]
mov ecx, dword [ecx]
mov dword [edx + 4], ecx
lea ecx, [eax + 8]
mov ecx, dword [ecx]
mov dword [edx + 8], ecx
add eax, 0xc
mov eax, dword [eax]
mov dword [edx + 0xc], eax
xor eax, eax
mov dword [esp], 1
mov ecx, dword [edx + eax*4 + 0xc]
mov ebx, ecx
shl ebx, 0x18
shr ecx, 8
or ebx, ecx
mov ecx, ebx
xor ebx, ebx
mov bl, cl
mov ebx, dword [ebx*4 + 0x4e2338]
mov dword [esp + 4], ebx
mov ebx, ecx
shr ebx, 8
and ebx, 0xff
mov esi, dword [ebx*4 + 0x4e2338]
mov ebx, ecx
shr ebx, 0x10
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x4e2338]
mov dword [esp + 8], ebx
shr ecx, 0x18
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x4e2338]
mov ebx, esi
shl ebx, 8
shr esi, 0x18
or ebx, esi
xor ebx, dword [esp + 4]
mov esi, dword [esp + 8]
shl esi, 0x10
mov edi, dword [esp + 8]
shr edi, 0x10
or esi, edi
xor ebx, esi
mov esi, ecx
shl esi, 0x18
shr ecx, 8
or esi, ecx
xor ebx, esi
xor ebx, dword [edx + eax*4]
mov ecx, dword [esp]
xor ebx, dword [ecx*4 + 0x4e22bc]
mov dword [edx + eax*4 + 0x10], ebx
inc dword [esp]
mov ecx, dword [edx + eax*4 + 4]
xor ecx, dword [edx + eax*4 + 0x10]
mov dword [edx + eax*4 + 0x14], ecx
mov ebx, dword [edx + eax*4 + 8]
xor ebx, ecx
mov dword [edx + eax*4 + 0x18], ebx
mov ecx, dword [edx + eax*4 + 0xc]
xor ecx, ebx
mov dword [edx + eax*4 + 0x1c], ecx
add eax, 4
cmp eax, 0x28
jl 0x4cf86b
add esp, 0xc
pop edi
pop esi
pop ebx
ret
Function at 0x4cf938
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff4
mov ecx, dword [eax]
mov dword [edx], ecx
lea ecx, [eax + 4]
mov ecx, dword [ecx]
mov dword [edx + 4], ecx
lea ecx, [eax + 8]
mov ecx, dword [ecx]
mov dword [edx + 8], ecx
lea ecx, [eax + 0xc]
mov ecx, dword [ecx]
mov dword [edx + 0xc], ecx
lea ecx, [eax + 0x10]
mov ecx, dword [ecx]
mov dword [edx + 0x10], ecx
add eax, 0x14
mov eax, dword [eax]
mov dword [edx + 0x14], eax
xor eax, eax
mov dword [esp], 1
mov ecx, dword [edx + eax*4 + 0x14]
mov ebx, ecx
shl ebx, 0x18
shr ecx, 8
or ebx, ecx
mov ecx, ebx
xor ebx, ebx
mov bl, cl
mov ebx, dword [ebx*4 + 0x4e2338]
mov dword [esp + 4], ebx
mov ebx, ecx
shr ebx, 8
and ebx, 0xff
mov esi, dword [ebx*4 + 0x4e2338]
mov ebx, ecx
shr ebx, 0x10
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x4e2338]
mov dword [esp + 8], ebx
shr ecx, 0x18
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x4e2338]
mov ebx, esi
shl ebx, 8
shr esi, 0x18
or ebx, esi
xor ebx, dword [esp + 4]
mov esi, dword [esp + 8]
shl esi, 0x10
mov edi, dword [esp + 8]
shr edi, 0x10
or esi, edi
xor ebx, esi
mov esi, ecx
shl esi, 0x18
shr ecx, 8
or esi, ecx
xor ebx, esi
xor ebx, dword [edx + eax*4]
mov ecx, dword [esp]
xor ebx, dword [ecx*4 + 0x4e22bc]
mov dword [edx + eax*4 + 0x18], ebx
inc dword [esp]
mov ecx, dword [edx + eax*4 + 4]
xor ecx, dword [edx + eax*4 + 0x18]
mov dword [edx + eax*4 + 0x1c], ecx
mov ebx, dword [edx + eax*4 + 8]
xor ebx, ecx
mov dword [edx + eax*4 + 0x20], ebx
mov ecx, dword [edx + eax*4 + 0xc]
xor ecx, ebx
mov dword [edx + eax*4 + 0x24], ecx
mov ebx, dword [edx + eax*4 + 0x10]
xor ebx, ecx
mov dword [edx + eax*4 + 0x28], ebx
mov ecx, dword [edx + eax*4 + 0x14]
xor ecx, ebx
mov dword [edx + eax*4 + 0x2c], ecx
add eax, 6
cmp eax, 0x2e
jl 0x4cf973
add esp, 0xc
pop edi
pop esi
pop ebx
ret
Function at 0x4cfa54
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff4
mov ecx, dword [eax]
mov dword [edx], ecx
lea ecx, [eax + 4]
mov ecx, dword [ecx]
mov dword [edx + 4], ecx
lea ecx, [eax + 8]
mov ecx, dword [ecx]
mov dword [edx + 8], ecx
lea ecx, [eax + 0xc]
mov ecx, dword [ecx]
mov dword [edx + 0xc], ecx
lea ecx, [eax + 0x10]
mov ecx, dword [ecx]
mov dword [edx + 0x10], ecx
lea ecx, [eax + 0x14]
mov ecx, dword [ecx]
mov dword [edx + 0x14], ecx
lea ecx, [eax + 0x18]
mov ecx, dword [ecx]
mov dword [edx + 0x18], ecx
add eax, 0x1c
mov eax, dword [eax]
mov dword [edx + 0x1c], eax
xor eax, eax
mov dword [esp], 1
mov ecx, dword [edx + eax*4 + 0x1c]
mov edi, ecx
shl edi, 0x18
shr ecx, 8
or edi, ecx
mov ecx, edi
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x4e2338]
mov dword [esp + 4], ecx
mov ecx, edi
shr ecx, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x4e2338]
mov ebx, edi
shr ebx, 0x10
and ebx, 0xff
mov esi, dword [ebx*4 + 0x4e2338]
mov ebx, edi
shr ebx, 0x18
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x4e2338]
mov dword [esp + 8], ebx
mov ebx, ecx
shl ebx, 8
shr ecx, 0x18
or ebx, ecx
xor ebx, dword [esp + 4]
mov ecx, esi
shl ecx, 0x10
shr esi, 0x10
or ecx, esi
xor ebx, ecx
mov ecx, dword [esp + 8]
shl ecx, 0x18
mov esi, dword [esp + 8]
shr esi, 8
or ecx, esi
xor ebx, ecx
xor ebx, dword [edx + eax*4]
mov ecx, dword [esp]
xor ebx, dword [ecx*4 + 0x4e22bc]
mov dword [edx + eax*4 + 0x20], ebx
inc dword [esp]
mov ecx, dword [edx + eax*4 + 4]
xor ecx, dword [edx + eax*4 + 0x20]
mov dword [edx + eax*4 + 0x24], ecx
mov ebx, dword [edx + eax*4 + 8]
xor ebx, ecx
mov dword [edx + eax*4 + 0x28], ebx
mov edi, dword [edx + eax*4 + 0xc]
xor edi, ebx
mov dword [edx + eax*4 + 0x2c], edi
xor ecx, ecx
mov cl, byte [edx + eax*4 + 0x2c]
mov ecx, dword [ecx*4 + 0x4e2338]
mov dword [esp + 4], ecx
mov ecx, edi
shr ecx, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x4e2338]
mov ebx, edi
shr ebx, 0x10
and ebx, 0xff
mov esi, dword [ebx*4 + 0x4e2338]
mov ebx, edi
shr ebx, 0x18
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x4e2338]
mov dword [esp + 8], ebx
mov ebx, ecx
shl ebx, 8
shr ecx, 0x18
or ebx, ecx
xor ebx, dword [esp + 4]
mov ecx, esi
shl ecx, 0x10
shr esi, 0x10
or ecx, esi
xor ebx, ecx
mov ecx, dword [esp + 8]
shl ecx, 0x18
mov esi, dword [esp + 8]
shr esi, 8
or ecx, esi
xor ebx, ecx
xor ebx, dword [edx + eax*4 + 0x10]
mov dword [edx + eax*4 + 0x30], ebx
mov ecx, dword [edx + eax*4 + 0x14]
xor ecx, dword [edx + eax*4 + 0x30]
mov dword [edx + eax*4 + 0x34], ecx
mov ebx, dword [edx + eax*4 + 0x18]
xor ebx, ecx
mov dword [edx + eax*4 + 0x38], ebx
mov ecx, dword [edx + eax*4 + 0x1c]
xor ecx, ebx
mov dword [edx + eax*4 + 0x3c], ecx
add eax, 8
cmp eax, 0x34
jl 0x4cfa9f
add esp, 0xc
pop edi
pop esi
pop ebx
ret
Function at 0x4d5c20
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404ddc
xor eax, eax
push ebp
push 0x4d5d1b
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x41835c]
call fcn.00403a88
mov edi, eax
call sub.kernel32.dll_GetLogicalDrives
mov esi, eax
xor ebx, ebx
mov eax, ebx
cmp eax, 0x1f
ja 0x4d5c67
bt esi, eax
jae 0x4d5cf4
lea eax, [ebp - 8]
lea edx, [ebx + 0x41]
call fcn.00404b14
lea eax, [ebp - 8]
mov edx, 0x4d5d34
call fcn.00404bf4
mov eax, dword [ebp - 8]
call fcn.00404dec
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 2
jne 0x4d5c9c
test ebx, ebx
jne 0x4d5cc7
lea eax, [ebp - 0xc]
lea edx, [ebx + 0x41]
call fcn.00404b14
lea eax, [ebp - 0xc]
mov edx, 0x4d5d34
call fcn.00404bf4
mov eax, dword [ebp - 0xc]
call fcn.00404dec
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 3
jne 0x4d5cf4
lea eax, [ebp - 0x14]
lea edx, [ebx + 0x41]
call fcn.00404b14
push dword [ebp - 0x14]
push 0x4d5d34
push dword [ebp - 4]
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404cac
mov edx, dword [ebp - 0x10]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc ebx
cmp ebx, 0x1a
jne 0x4d5c5d
mov ebx, edi
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d5d22
lea eax, [ebp - 0x14]
mov edx, 5
call fcn.00404950
ret

Function at 0x4d61f8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404ddc
xor eax, eax
push ebp
push 0x4d629a
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4d62b0
lea edx, [ebp - 0x14]
mov eax, dword [0x4e3784]
mov eax, dword [eax]
call fcn.0048594c
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.00409b34
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0xc]
call fcn.00409b34
push dword [ebp - 0xc]
push dword [ebp - 4]
lea eax, [ebp - 8]
mov edx, 3
call fcn.00404cac
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.00404dec
push eax
push 0x4d62b4
push 0x4d62c0
mov eax, dword [0x4e3784]
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 0x4d62a1
lea eax, [ebp - 0x14]
mov edx, 5
call fcn.00404950
ret
Function at 0x4d62c8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
xor edx, edx
mov dword [ebp - 0x108], edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4d6371
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x104]
push eax
push pe_nt_image_headers32
call sub.kernel32.dll_GetTempPathA
lea edx, [ebp - 4]
lea eax, [ebp - 0x104]
call fcn.00409ec4
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00404980
lea eax, [ebp - 0x108]
push eax
mov eax, dword [ebx]
call fcn.00404bec
mov edx, eax
mov eax, dword [ebx]
mov ecx, 1
call fcn.00404e4c
mov eax, dword [ebp - 0x108]
mov edx, 0x4d6388
call fcn.00404d38
je 0x4d6350
mov eax, ebx
mov edx, 0x4d6388
call fcn.00404bf4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d6378
lea eax, [ebp - 0x108]
call fcn.0040492c
lea eax, [ebp - 4]
call fcn.0040492c
ret

Function at 0x4d638c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
xor ecx, ecx
mov dword [ebp - 0x110], ecx
mov ebx, edx
xor edx, edx
push ebp
push 0x4d6434
push dword fs:[edx]
mov dword fs:[edx], esp
lea edx, [ebp - 4]
push edx
and eax, 0x7f
mov eax, dword [eax*4 + 0x4e2f38]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
lea eax, [ebp - 0x109]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
mov edx, ebx
lea eax, [ebp - 0x109]
call fcn.00409ec4
lea eax, [ebp - 0x110]
push eax
mov eax, dword [ebx]
call fcn.00404bec
mov edx, eax
mov eax, dword [ebx]
mov ecx, 1
call fcn.00404e4c
mov eax, dword [ebp - 0x110]
mov edx, 0x4d6448
call fcn.00404d38
je 0x4d641b
mov eax, ebx
mov edx, 0x4d6448
call fcn.00404bf4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d643b
lea eax, [ebp - 0x110]
call fcn.0040492c
ret

Function at 0x4d6ce8
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
push edi
mov edi, eax
xor eax, eax
push ebp
push 0x4d6d7f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
call fcn.0040492c
call sub.kernel32.dll_GetLogicalDrives
mov esi, eax
xor ebx, ebx
mov eax, ebx
cmp eax, 0x1f
ja 0x4d6d1c
bt esi, eax
jae 0x4d6d5e
lea eax, [ebp - 4]
lea edx, [ebx + 0x41]
call fcn.00404b14
lea eax, [ebp - 4]
mov edx, 0x4d6d98
call fcn.00404bf4
mov eax, dword [ebp - 4]
call fcn.00404dec
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 3
jne 0x4d6d5e
lea eax, [ebp - 8]
lea edx, [ebx + 0x41]
call fcn.00404b14
mov edx, dword [ebp - 8]
mov eax, edi
call fcn.00404bf4
inc ebx
cmp ebx, 0x1a
jne 0x4d6d12
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d6d86
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404950
ret
Function at 0x4d6d9c
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
push edi
mov edi, eax
xor eax, eax
push ebp
push 0x4d6e37
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
call fcn.0040492c
call sub.kernel32.dll_GetLogicalDrives
mov esi, eax
xor ebx, ebx
mov eax, ebx
cmp eax, 0x1f
ja 0x4d6dd0
bt esi, eax
jae 0x4d6e16
lea eax, [ebp - 4]
lea edx, [ebx + 0x41]
call fcn.00404b14
lea eax, [ebp - 4]
mov edx, 0x4d6e50
call fcn.00404bf4
mov eax, dword [ebp - 4]
call fcn.00404dec
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 2
jne 0x4d6e16
test ebx, ebx
je 0x4d6e16
lea eax, [ebp - 8]
lea edx, [ebx + 0x41]
call fcn.00404b14
mov edx, dword [ebp - 8]
mov eax, edi
call fcn.00404bf4
inc ebx
cmp ebx, 0x1a
jne 0x4d6dc6
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d6e3e
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404950
ret

Function at 0x4d7cd0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 0x10
add esp, 0xfffff004
push eax
dec eax
jne 0x4d7cd9
mov eax, dword [ebp - 4]
add esp, 0xfffffebc
push ebx
push esi
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404ddc
xor eax, eax
push ebp
push 0x4d7db4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4e3830]
mov byte [eax], 0
mov dword [ebx], 0xffffffff
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x154]
call fcn.00402f10
mov edx, 1
lea eax, [ebp - 0x154]
call fcn.0040331c
call fcn.00402a38
test eax, eax
jne 0x4d7d91
lea eax, [ebp - 8]
push eax
lea edx, [ebp - 0x10145]
mov ecx, 0xfff1
lea eax, [ebp - 0x154]
call fcn.0040306c
mov dx, word [ebp - 8]
test dx, dx
jbe 0x4d7d8b
lea eax, [ebp - 0x10145]
xor ecx, ecx
mov cl, byte [eax]
mov esi, dword [ebx]
and esi, 0xff
xor ecx, esi
mov ecx, dword [ecx*4 + 0x4e301c]
mov esi, dword [ebx]
shr esi, 8
xor ecx, esi
mov dword [ebx], ecx
inc eax
dec dx
jne 0x4d7d67
cmp dword [ebp - 8], 0
jne 0x4d7d3e
lea eax, [ebp - 0x154]
call fcn.0040308c
not dword [ebx]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d7dbb
lea eax, [ebp - 4]
call fcn.0040492c
ret

Function at 0x4d98bc
Capabilities:
Acquire debug privileges

Disassembly:
push ebx
add esp, 0xffffffe4
mov byte [esp], al
xor ebx, ebx
lea eax, [esp + 4]
push eax
push 0x20
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
test eax, eax
je 0x4d993e
mov dword [esp + 0xc], 1
lea eax, [esp + 0x10]
push eax
push 0x4d9948
push 0
call sub.advapi32.dll_LookupPrivilegeValueA
cmp byte [esp], 0
je 0x4d9904
mov dword [esp + 0x18], 2
jmp 0x4d990a
xor eax, eax
mov dword [esp + 0x18], eax
xor eax, eax
mov dword [esp + 8], eax
lea eax, [esp + 8]
push eax
push 0
push 0x10
lea eax, [esp + 0x18]
push eax
push 0
mov eax, dword [esp + 0x18]
push eax
call sub.advapi32.dll_AdjustTokenPrivileges
call sub.kernel32.dll_GetLastError_1
test eax, eax
sete bl
mov eax, dword [esp + 4]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, ebx
add esp, 0x1c
pop ebx
ret