joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4bcc54
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
push esi
push edi
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
lea eax, [ebp - 0x3c]
push eax
call sub.KERNEL32.DLL_GetSystemInfo
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x18], edx
cmp dword [ebp - 0x18], 2
jle 0x4bcc99
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx + ecx*2]
test ecx, ecx
jns 0x4bcc93
add ecx, 3
sar ecx, 2
mov dword [ebp - 0x18], ecx
xor edi, edi
mov eax, esi
jmp 0x4bcca8
mov edx, dword [eax]
inc edi
add eax, 4
mov byte [edx], 0
cmp edi, dword [esi + 0x9c40]
jl 0x4bcc9f
mov dword [ebp - 4], ebx
mov eax, dword [ebx + 0x30]
mov edx, dword [ebx + 0x34]
add eax, dword [ebx + 0x28]
adc edx, dword [ebx + 0x2c]
add dword [ebp - 0xc], eax
adc dword [ebp - 8], edx
mov eax, dword [ebx]
test eax, eax
je 0x4bcccf
add ebx, eax
jmp 0x4bccb3
cmp dword [ebp - 0x18], 1
jle 0x4bccec
mov eax, dword [ebp - 0x18]
cdq
push edx
push eax
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.00541adf
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0xc]
mov ebx, dword [ebp - 4]
mov edi, eax
mov eax, dword [esi + 0x9c48]
sub edi, eax
mov eax, dword [ebx + 0x30]
mov edx, dword [ebx + 0x34]
add eax, dword [ebx + 0x28]
adc edx, dword [ebx + 0x2c]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], edx
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push edi
mov eax, dword [ebx + 0x44]
push eax
push esi
call fcn.004be4f8
add esp, 0x14
les edx, [ebx + ecx*4]
invalid
test eax, eax
je 0x4bcd2c
add ebx, eax
jmp 0x4bccfc
mov edx, dword [ebp - 0xc]
xor edi, edi
mov dword [esi + 0x9c48], edx
mov ebx, esi
mov edx, dword [ebp - 8]
mov dword [esi + 0x9c4c], edx
jmp 0x4bcd63
mov eax, dword [ebx]
cmp byte [eax], 0
jne 0x4bcd5f
push edi
push esi
call fcn.004be64c
add esp, 8
dec edi
add ebx, 0xfffffffc
dec dword [esi + 0x9c40]
inc edi
add ebx, 4
cmp edi, dword [esi + 0x9c40]
jl 0x4bcd44
mov byte [esi + 0x9c54], 0
mov byte [esi + 0x9c64], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4bdda0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffea8
mov eax, 0x574574
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
call fcn.0053b394
xor edx, edx
xor ecx, ecx
mov dword [ebp - 0x3c], edx
lea edx, [ebp - 0x158]
mov word [ebp - 0x28], 8
mov dword [ebp - 4], ecx
inc dword [ebp - 0x1c]
mov word [ebp - 0x28], 0x14
mov eax, dword [ebx + 0x718]
push eax
push 0x56e9d2
push edx
call fcn.0053e6d0
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x144]
push ecx
call sub.KERNEL32.DLL_GetWindowsDirectoryA
push 0x56e9d5
lea eax, [ebp - 0x144]
push eax
call fcn.0053b004
add esp, 8
lea edx, [ebp - 0x158]
push edx
lea ecx, [ebp - 0x144]
push ecx
call fcn.0053b004
add esp, 8
push 0x56e9e2
lea eax, [ebp - 0x144]
push eax
call fcn.0053b004
add esp, 8
push 0x56e9e7
lea edx, [ebp - 0x144]
push edx
call fcn.0053b004
mov word [ebp - 0x28], 0x20
add esp, 8
lea edx, [ebp - 0x144]
lea eax, [ebp - 8]
call fcn.00548ff0
mov edx, eax
inc dword [ebp - 0x1c]
lea eax, [ebp - 4]
call fcn.005491d0
dec dword [ebp - 0x1c]
lea eax, [ebp - 8]
mov edx, 2
call fcn.005491a0
mov dl, 1
mov eax, dword [0x523e00]
call fcn.00406fdc
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 4]
call fcn.00531b24
test al, al
jne 0x4bdea7
push 0
push ebx
call fcn.004824cc
add esp, 8
mov word [ebp - 0x28], 0x2c
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax]
call dword [ecx + 0x58]
mov word [ebp - 0x28], 0x38
xor edx, edx
mov dword [ebp - 0xc], edx
lea ecx, [ebp - 0xc]
inc dword [ebp - 0x1c]
mov edx, 4
mov eax, dword [ebp - 0x40]
mov ebx, dword [eax]
call dword [ebx + 0xc]
lea eax, [ebp - 0xc]
call fcn.005494ec
mov dword [ebp - 0x3c], eax
dec dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.005491a0
mov word [ebp - 0x28], 0x14
jmp 0x4bdf04
mov ebx, dword [ebp - 0x40]
mov dword [ebp - 0x14], ebx
test ebx, ebx
je 0x4bdf2c
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
mov word [ebp - 0x28], 0x50
mov edx, 3
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx - 4]
mov word [ebp - 0x28], 0x44
mov eax, dword [ebp - 0x3c]
mov edx, 2
push eax
lea eax, [ebp - 4]
dec dword [ebp - 0x1c]
call fcn.005491a0
pop eax
mov edx, dword [ebp - 0x38]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4bdf54
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb0
mov eax, 0x574630
push ebx
push esi
push edi
call fcn.0053b394
mov dword [ebp - 0x20], 1
lea edx, [ebp + 0xc]
lea eax, [ebp + 0xc]
call fcn.00549028
inc dword [ebp - 0x20]
mov dl, 1
mov word [ebp - 0x2c], 8
mov word [ebp - 0x2c], 0x14
push 0
mov eax, dword [0x523fd4]
mov ecx, dword [ebp + 0xc]
call fcn.00527164
mov word [ebp - 0x2c], 8
mov esi, eax
jmp 0x4bdfd8
mov eax, esi
mov edx, dword [ebp + 8]
add edx, 4
mov ecx, 1
mov ebx, dword [eax]
call dword [ebx + 4]
mov eax, esi
mov ecx, 4
mov edx, dword [ebp + 8]
mov ebx, dword [eax]
call dword [ebx + 4]
mov eax, dword [ebp + 0x10]
push eax
call fcn.0053b094
mov ebx, eax
xor eax, eax
pop ecx
mov dword [ebp - 0x48], eax
mov edx, dword [ebp + 0x10]
cmp ebx, dword [ebp - 0x48]
mov eax, edx
jle 0x4be022
mov dl, byte [eax]
xor byte [ebp - 0x3d], dl
inc dword [ebp - 0x48]
inc eax
cmp ebx, dword [ebp - 0x48]
jg 0x4be014
mov ecx, dword [ebp + 8]
mov al, byte [ecx + 4]
test al, al
je 0x4be07b
cmp al, byte [ebp - 0x3d]
je 0x4be07b
mov ebx, esi
mov dword [ebp - 8], ebx
test ebx, ebx
je 0x4be058
mov eax, dword [ebx]
mov dword [ebp - 4], eax
mov word [ebp - 0x2c], 0x2c
mov edx, 3
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx - 4]
mov word [ebp - 0x2c], 0x20
xor eax, eax
mov edx, 2
push eax
lea eax, [ebp + 0xc]
dec dword [ebp - 0x20]
call fcn.005491a0
pop eax
mov edx, dword [ebp - 0x3c]
mov dword fs:[0], edx
jmp 0x4be1d1
mov eax, esi
call fcn.00526f5c
mov edx, dword [ebp + 8]
mov ebx, eax
dec ebx
mov eax, ebx
mov ecx, dword [edx]
shl ecx, 5
lea ecx, [ecx + ecx*4]
cmp ecx, eax
jbe 0x4be0e0
mov ebx, esi
mov dword [ebp - 0x10], ebx
test ebx, ebx
je 0x4be0bd
mov eax, dword [ebx]
mov dword [ebp - 0xc], eax
mov word [ebp - 0x2c], 0x44
mov edx, 3
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx - 4]
mov word [ebp - 0x2c], 0x38
xor eax, eax
mov edx, 2
push eax
lea eax, [ebp + 0xc]
dec dword [ebp - 0x20]
call fcn.005491a0
pop eax
mov edx, dword [ebp - 0x3c]
mov dword fs:[0], edx
jmp 0x4be1d1
push eax
call fcn.0053a75c
pop ecx
mov dword [ebp - 0x44], eax
mov eax, esi
mov edx, dword [ebp - 0x44]
mov ecx, ebx
mov edi, dword [eax]
call dword [edi + 4]
mov edi, esi
mov dword [ebp - 0x18], edi
test edi, edi
je 0x4be11d
mov eax, dword [edi]
mov dword [ebp - 0x14], eax
Function at 0x4be2a4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
mov eax, dword [sym.Project1.exe__PlayForm]
lea edx, [ebp - 0x104]
push ebx
push esi
mov ebx, dword [eax + 0x2c3c]
mov eax, 0x569e0034
push edx
push eax
push ebx
call fcn.004e0cf0
add esp, 0xc
push 0x100
lea ecx, [ebp - 0x104]
push ecx
call fcn.004e1d80
add esp, 8
push 4
lea eax, [ebp - 0x104]
push eax
lea edx, [ebp - 4]
push edx
call fcn.0053aef0
add esp, 0xc
mov eax, 0xe5d20034
lea edx, [ebp - 0x104]
push edx
push eax
push ebx
call fcn.004e0cf0
add esp, 0xc
push 0x100
lea ecx, [ebp - 0x104]
push ecx
call fcn.004e21cc
add esp, 8
mov cl, 0x63
xor eax, eax
xor esi, esi
lea edx, [ebp - 0x104]
mov ebx, eax
inc esi
add ebx, ebx
lea ebx, [ebx + ebx*4]
mov eax, ebx
mov bl, byte [edx]
xor bl, cl
inc edx
movsx ebx, bl
add ebx, 0xffffffd0
add eax, ebx
cmp esi, 5
jl 0x4be32f
sub eax, dword [ebp - 4]
test eax, eax
jle 0x4be357
cmp eax, 7
jle 0x4be359
xor eax, eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4be360
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
mov eax, dword [sym.Project1.exe__PlayForm]
lea edx, [ebp - 0x104]
push ebx
push esi
mov ebx, dword [eax + 0x2c3c]
mov eax, 0xd8d0034
push edx
push eax
push ebx
call fcn.004e0cf0
add esp, 0xc
push 0x100
lea ecx, [ebp - 0x104]
push ecx
call fcn.004e1d80
add esp, 8
push 4
lea eax, [ebp - 0x104]
push eax
lea edx, [ebp - 4]
push edx
call fcn.0053aef0
add esp, 0xc
mov eax, 0x64950037
lea edx, [ebp - 0x104]
push edx
push eax
push ebx
call fcn.004e0cf0
add esp, 0xc
push 0x100
lea ecx, [ebp - 0x104]
push ecx
call fcn.004e21cc
add esp, 8
mov cl, 0x63
xor eax, eax
xor esi, esi
lea edx, [ebp - 0x104]
mov ebx, eax
inc esi
add ebx, ebx
lea ebx, [ebx + ebx*4]
mov eax, ebx
mov bl, byte [edx]
xor bl, cl
inc edx
movsx ebx, bl
add ebx, 0xffffffd0
add eax, ebx
cmp esi, 5
jl 0x4be3eb
sub eax, dword [ebp - 4]
test eax, eax
jle 0x4be413
cmp eax, 7
jle 0x4be415
xor eax, eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4bf978
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff9c
mov eax, 0x574900
push ebx
push esi
push edi
call fcn.0053b394
mov word [ebp - 0x24], 8
push 0x14
push 0x30
mov edx, dword [ebp + 0xc]
push edx
call fcn.0053af60
add esp, 0xc
lea ecx, [ebp - 0x50]
push 0x14
push 0
push ecx
call fcn.0053af60
add esp, 0xc
lea eax, [ebp - 0x64]
push 0x14
push 0
push eax
call fcn.0053af60
add esp, 0xc
mov dl, 1
mov eax, dword [0x523e00]
call fcn.00406fdc
mov dword [ebp - 0x38], eax
xor edx, edx
mov dword [ebp - 0x3c], edx
mov ecx, dword [ebp - 0x3c]
push ecx
mov eax, dword [ebp - 0x38]
push eax
call fcn.004068d0
add esp, 8
mov eax, dword [ebp - 0x38]
mov edx, dword [eax]
call dword [edx + 0x14]
cmp eax, 2
jge 0x4bfa27
mov dword [ebp - 0x3c], 1
mov ecx, dword [ebp - 0x3c]
push ecx
mov eax, dword [ebp - 0x38]
push eax
call fcn.004068d0
add esp, 8
mov eax, dword [ebp - 0x38]
mov edx, dword [eax]
call dword [edx + 0x14]
cmp eax, 2
jge 0x4bfa27
xor eax, eax
mov edx, dword [ebp - 0x34]
mov dword fs:[0], edx
jmp 0x4bfc23
mov word [ebp - 0x24], 0x14
xor ecx, ecx
mov dword [ebp - 4], ecx
lea ecx, [ebp - 4]
inc dword [ebp - 0x18]
xor edx, edx
mov eax, dword [ebp - 0x38]

Function at 0x4c03e4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
xor ebx, ebx
push 0x8005
push edi
call fcn.004c0584
add esp, 8
xor eax, eax
cmp eax, dword [ebp + 0x10]
jae 0x4c0427
movzx edx, bx
sar edx, 8
xor ecx, ecx
mov cl, byte [esi]
inc esi
xor edx, ecx
inc eax
shl ebx, 8
mov dx, word [edi + edx*4 + 0x30]
xor dx, bx
cmp eax, dword [ebp + 0x10]
mov ebx, edx
jb 0x4c0407
mov eax, ebx
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x4c0430
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
mov esi, dword [ebp + 0xc]
push 0
push esi
call sub.VERSION.DLL_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
jne 0x4c046b
mov eax, dword [ebp + 0x14]
add eax, eax
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
push eax
push 0
mov edx, dword [ebp + 0x10]
push edx
call fcn.0053af60
add esp, 0xc
xor eax, eax
jmp 0x4c057b
push ebx
call fcn.0053a75c
pop ecx
mov edi, eax
push edi
push ebx
push 0
push esi
call sub.VERSION.DLL_GetFileVersionInfoA
xor eax, eax
mov dword [ebp - 8], eax
xor edx, edx
mov dword [ebp - 4], edx
lea ecx, [ebp - 8]
push ecx
lea eax, [ebp - 4]
push eax
push 0x56eaa8
push edi
call sub.VERSION.DLL_VerQueryValueA
cmp dword [ebp - 8], 4
jb 0x4c04b3
push 4
mov edx, dword [ebp - 4]
push edx
lea ecx, [ebp - 0xc]
push ecx
call fcn.0053aef0
add esp, 0xc
movzx eax, word [ebp - 0xa]
push eax
lea ecx, [ebp - 0x40]
movzx edx, word [ebp - 0xc]
push edx
push 0x56eac1
push ecx
call fcn.0053e6d0
add esp, 0x10
xor ebx, ebx
mov eax, dword [ebp + 0x10]
mov esi, eax
cmp ebx, dword [ebp + 0x14]
jge 0x4c0572
xor eax, eax
xor edx, edx
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
push esi
push edi
lea edi, [ebp - 0x74]
mov esi, 0x56eaca
mov eax, edi
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
pop edi
pop esi
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x74]
push edx
push ecx
call fcn.0053b004
add esp, 8
mov eax, ebx
add eax, eax
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
add eax, dword [ebp + 0x10]
push eax
lea edx, [ebp - 0x74]
push edx
call fcn.0053b004
add esp, 8
mov byte [esi], 0
lea ecx, [ebp - 8]
push ecx
lea eax, [ebp - 4]
push eax
lea edx, [ebp - 0x74]
push edx
push edi
call sub.VERSION.DLL_VerQueryValueA
test eax, eax
je 0x4c0565
cmp dword [ebp - 8], 0x32
jae 0x4c0565
mov edx, ebx
mov ecx, dword [ebp - 8]
add edx, edx
push ecx
mov eax, dword [ebp - 4]
push eax
lea edx, [edx + edx*4]
lea edx, [edx + edx*4]
add edx, dword [ebp + 0x10]
push edx
call fcn.0053aef0
add esp, 0xc
inc ebx
add esi, 0x32
cmp ebx, dword [ebp + 0x14]
jl 0x4c04de
push edi
call fcn.0053a594
pop ecx
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4d6fd4
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
invalid
push eax
Function at 0x4d7f0c
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffea8
mov eax, 0x578d50
push ebx
push esi
mov esi, dword [ebp + 0xc]
call fcn.0053b394
mov dword [ebp - 0x158], 0x128
push 0
push 2
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4d7f91
mov word [ebp - 0x20], 8
mov edx, str.error1
lea eax, [ebp - 4]
call fcn.00548ff0
inc dword [ebp - 0x14]
lea edx, [ebp - 4]
mov eax, dword [ebp + 8]
call fcn.005491d0
mov eax, dword [ebp + 8]
mov edx, 2
mov word [ebp - 0x20], 0x14
push eax
lea eax, [ebp - 4]
dec dword [ebp - 0x14]
call fcn.005491a0
pop eax
mov word [ebp - 0x20], 8
inc dword [ebp - 0x14]
mov edx, dword [ebp - 0x30]
mov dword fs:[0], edx
jmp 0x4d8060
lea ecx, [ebp - 0x158]
push ecx
push ebx
call sub.KERNEL32.DLL_Process32First
test eax, eax
je 0x4d800c
cmp esi, dword [ebp - 0x150]
jne 0x4d7ffb
mov word [ebp - 0x20], 0x20
lea edx, [ebp - 0x134]
lea eax, [ebp - 8]
call fcn.00548ff0
inc dword [ebp - 0x14]
lea edx, [ebp - 8]
mov eax, dword [ebp + 8]
call fcn.005491d0
mov eax, dword [ebp + 8]
mov edx, 2
mov word [ebp - 0x20], 0x2c
push eax
lea eax, [ebp - 8]
dec dword [ebp - 0x14]
call fcn.005491a0
pop eax
mov word [ebp - 0x20], 0x20
inc dword [ebp - 0x14]
mov edx, dword [ebp - 0x30]
mov dword fs:[0], edx
jmp 0x4d8060
lea ecx, [ebp - 0x158]
push ecx
push ebx
call sub.KERNEL32.DLL_Process32Next
test eax, eax
jne 0x4d7fa2
push ebx
call sub.KERNEL32.DLL_CloseHandle
mov word [ebp - 0x20], 0x38
mov edx, 0x578bbf
lea eax, [ebp - 0xc]
call fcn.00548ff0
inc dword [ebp - 0x14]
lea edx, [ebp - 0xc]
mov eax, dword [ebp + 8]
call fcn.005491d0
mov eax, dword [ebp + 8]
mov edx, 2
mov word [ebp - 0x20], 0x44
push eax
lea eax, [ebp - 0xc]
dec dword [ebp - 0x14]
call fcn.005491a0
pop eax
mov word [ebp - 0x20], 0x38
inc dword [ebp - 0x14]
mov edx, dword [ebp - 0x30]
mov dword fs:[0], edx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4d96ec
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffcf4
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
push 0x104
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.DLL_GetSystemDirectoryA
test eax, eax
jne 0x4d9717
xor eax, eax
jmp 0x4d9827
lea edx, [ebp - 0x104]
push edx
push ebx
call fcn.004d9830
mov ecx, dword [ebp + 0xc]
add esp, 8
mov edi, ecx
xor eax, eax
or ecx, 0xffffffff
lea esi, [ebp - 0x30c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
xchg edi, esi
shr ecx, 2
mov eax, edi
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [ebp - 0x30c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push eax
call fcn.0053b094
pop ecx
dec eax
lea edx, [ebp + eax - 0x30c]
test eax, eax
jle 0x4d9776
movsx ecx, byte [edx]
cmp ecx, 0x5c
je 0x4d9776
dec eax
dec edx
test eax, eax
jg 0x4d9768
mov byte [ebp + eax - 0x30c], 0
lea eax, [ebp - 0x104]
push eax
lea edx, [ebp - 0x30c]
push edx
call fcn.0053b18d
add esp, 8
lea ecx, [ebp - 0x30c]
cmp eax, ecx
jne 0x4d97a5
mov al, 1
jmp 0x4d9827
lea edi, [ebp - 0x208]
mov esi, 0x57969b
mov eax, edi
lea edx, [ebp - 0x104]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
push edx
lea ecx, [ebp - 0x208]
push ecx
call fcn.0053b004
add esp, 8
lea eax, [ebp - 0x30c]
lea edx, [ebp - 0x208]
mov cl, byte [eax]
cmp cl, byte [edx]
jne 0x4d97f8
test cl, cl
je 0x4d97f2
mov cl, byte [eax + 1]
cmp cl, byte [edx + 1]
jne 0x4d97f8
add eax, 2
add edx, 2
test cl, cl
jne 0x4d97d6
jne 0x4d97f8
mov al, 1
jmp 0x4d9827
lea eax, [ebp - 0x30c]
mov edx, str._systemroot_system32
mov cl, byte [eax]
cmp cl, byte [edx]
jne 0x4d9825
test cl, cl
je 0x4d981f
mov cl, byte [eax + 1]
cmp cl, byte [edx + 1]
jne 0x4d9825
add eax, 2
add edx, 2
test cl, cl
jne 0x4d9803
jne 0x4d9825
mov al, 1
jmp 0x4d9827
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4d9864
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe70
mov ecx, 0x23
push ebx
push esi
push edi
lea edi, [ebp - 0x190]
mov eax, dword [ebp + 8]
mov esi, 0x579484
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebp + 0xc]
push edx
push eax
call fcn.004d96ec
add esp, 8
test al, al
jne 0x4d989d
xor eax, eax
jmp 0x4d9938
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0053b094
pop ecx
mov esi, eax
lea ebx, [esi - 1]
mov eax, dword [ebp + 0xc]
add eax, ebx
test ebx, ebx
jle 0x4d98c3
movsx edx, byte [eax]
cmp edx, 0x5c
je 0x4d98c3
dec ebx
dec eax
test ebx, ebx
jg 0x4d98b5
inc ebx
mov edi, esi
sub edi, ebx
push edi
mov eax, dword [ebp + 0xc]
add eax, ebx
push eax
lea edx, [ebp - 0x104]
push edx
call fcn.0053aef0
sub esi, ebx
xor ebx, ebx
add esp, 0xc
cmp esi, ebx
mov byte [ebp + edi - 0x104], 0
lea eax, [ebp - 0x104]
jle 0x4d9900
mov dl, 0x64
sub dl, bl
inc ebx
xor byte [eax], dl
inc eax
cmp esi, ebx
jg 0x4d98f4
xor ebx, ebx
mov edx, ebx
push esi
shl edx, 2
lea eax, [ebp - 0x104]
lea ecx, [ebp - 0x190]
push eax
lea edx, [edx + edx*4]
add edx, ecx
push edx
call fcn.0053b194
add esp, 0xc
test eax, eax
je 0x4d992d
inc ebx
cmp ebx, 7
jl 0x4d9902
cmp ebx, 7
jge 0x4d9936
mov al, 1
jmp 0x4d9938
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4d9940
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe70
mov ecx, 0x23
push ebx
push esi
push edi
lea edi, [ebp - 0x190]
mov eax, dword [ebp + 8]
mov esi, 0x579510
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebp + 0xc]
push edx
push eax
call fcn.004d96ec
add esp, 8
test al, al
jne 0x4d9979
xor eax, eax
jmp 0x4d9a14
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0053b094
pop ecx
mov esi, eax
lea ebx, [esi - 1]
mov eax, dword [ebp + 0xc]
add eax, ebx
test ebx, ebx
jle 0x4d999f
movsx edx, byte [eax]
cmp edx, 0x5c
je 0x4d999f
dec ebx
dec eax
test ebx, ebx
jg 0x4d9991
inc ebx
mov edi, esi
sub edi, ebx
push edi
mov eax, dword [ebp + 0xc]
add eax, ebx
push eax
lea edx, [ebp - 0x104]
push edx
call fcn.0053aef0
sub esi, ebx
xor ebx, ebx
add esp, 0xc
cmp esi, ebx
mov byte [ebp + edi - 0x104], 0
lea eax, [ebp - 0x104]
jle 0x4d99dc
mov dl, 0x64
sub dl, bl
inc ebx
xor byte [eax], dl
inc eax
cmp esi, ebx
jg 0x4d99d0
xor ebx, ebx
mov edx, ebx
push esi
shl edx, 2
lea eax, [ebp - 0x104]
lea ecx, [ebp - 0x190]
push eax
lea edx, [edx + edx*4]
add edx, ecx
push edx
call fcn.0053b194
add esp, 0xc
test eax, eax
je 0x4d9a09
inc ebx
cmp ebx, 4
jl 0x4d99de
cmp ebx, 4
jge 0x4d9a12
mov al, 1
jmp 0x4d9a14
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4d9a1c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
mov esi, dword [ebp + 0xc]
push 0
push esi
call sub.VERSION.DLL_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
jne 0x4d9a3d
xor eax, eax
jmp 0x4d9b4d
push ebx
call fcn.0053a75c
pop ecx
mov edi, eax
push edi
push ebx
push 0
push esi
call sub.VERSION.DLL_GetFileVersionInfoA
xor eax, eax
mov dword [ebp - 8], eax
xor edx, edx
mov dword [ebp - 4], edx
lea ecx, [ebp - 8]
push ecx
lea eax, [ebp - 4]
push eax
push str.VarFileInfoTranslation
push edi
call sub.VERSION.DLL_VerQueryValueA
cmp dword [ebp - 8], 4
jb 0x4d9a85
push 4
mov edx, dword [ebp - 4]
push edx
lea ecx, [ebp - 0xc]
push ecx
call fcn.0053aef0
add esp, 0xc
movzx eax, word [ebp - 0xa]
push eax
lea ecx, [ebp - 0x40]
movzx edx, word [ebp - 0xc]
push edx
push str._04X_04X
push ecx
call fcn.0053e6d0
add esp, 0x10
xor ebx, ebx
mov eax, dword [ebp + 0x10]
mov esi, eax
cmp ebx, dword [ebp + 0x14]
jge 0x4d9b44
xor eax, eax
xor edx, edx
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
push esi
push edi
lea edi, [ebp - 0x74]
mov esi, str.StringFileInfo_
mov eax, edi
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
pop edi
pop esi
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x74]
push edx
push ecx
call fcn.0053b004
add esp, 8
mov eax, ebx
add eax, eax
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
add eax, dword [ebp + 0x10]
push eax
lea edx, [ebp - 0x74]
push edx
call fcn.0053b004
add esp, 8
mov byte [esi], 0
lea ecx, [ebp - 8]
push ecx
lea eax, [ebp - 4]
push eax
lea edx, [ebp - 0x74]
push edx
push edi
call sub.VERSION.DLL_VerQueryValueA
test eax, eax
je 0x4d9b37
cmp dword [ebp - 8], 0x32
jae 0x4d9b37
mov edx, ebx
mov ecx, dword [ebp - 8]
add edx, edx
push ecx
mov eax, dword [ebp - 4]
push eax
lea edx, [edx + edx*4]
lea edx, [edx + edx*4]
add edx, dword [ebp + 0x10]
push edx
call fcn.0053aef0
add esp, 0xc
inc ebx
add esi, 0x32
cmp ebx, dword [ebp + 0x14]
jl 0x4d9ab0
push edi
call fcn.0053a594
pop ecx
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4d9b54
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe48
push ebx
push esi
push edi
mov esi, 0x57959c
lea edi, [ebp - 0x154]
mov ecx, 0x14
rep movsd dword es:[edi], dword [esi]
mov esi, 0x5795ec
lea edi, [ebp - 0x1b8]
mov ecx, 0x19
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 0xc]
push eax
mov edx, dword [ebp + 8]
push edx
call fcn.004d96ec
add esp, 8
test al, al
jne 0x4d9b9f
xor eax, eax
jmp 0x4d9c8d
mov edx, dword [ebp + 0xc]
push edx
call fcn.0053b094
pop ecx
mov esi, eax
lea ebx, [esi - 1]
mov eax, dword [ebp + 0xc]
add eax, ebx
test ebx, ebx
jle 0x4d9bc5
movsx edx, byte [eax]
cmp edx, 0x5c
je 0x4d9bc5
dec ebx
dec eax
test ebx, ebx
jg 0x4d9bb7
inc ebx
mov edi, esi
sub edi, ebx
push edi
mov eax, dword [ebp + 0xc]
add eax, ebx
push eax
lea edx, [ebp - 0x104]
push edx
call fcn.0053aef0
sub esi, ebx
xor ebx, ebx
add esp, 0xc
cmp esi, ebx
mov byte [ebp + edi - 0x104], 0
lea eax, [ebp - 0x104]
jle 0x4d9c02
mov dl, 0x64
sub dl, bl
inc ebx
xor byte [eax], dl
inc eax
cmp esi, ebx
jg 0x4d9bf6
xor ebx, ebx
mov edx, ebx
push esi
shl edx, 2
lea eax, [ebp - 0x104]
lea ecx, [ebp - 0x154]
push eax
lea edx, [edx + edx*4]
add edx, ecx
push edx
call fcn.0053b194
add esp, 0xc
test eax, eax
je 0x4d9c2f
inc ebx
cmp ebx, 4
jl 0x4d9c04
cmp ebx, 4
jge 0x4d9c8b
push 2
lea eax, [ebp - 0x1b8]
push eax
mov edx, dword [ebp + 0xc]
push edx
mov ecx, dword [ebp + 8]
push ecx
call fcn.004d9a1c
add esp, 0x10
test al, al
jne 0x4d9c55
xor eax, eax
jmp 0x4d9c8d
lea eax, [ebp - 0x1b8]
cmp byte [eax], 0x4d
jne 0x4d9c70
cmp byte [eax + 2], 0x63
jne 0x4d9c70
cmp byte [eax + 4], 0x6f
jne 0x4d9c70
mov al, 1
jmp 0x4d9c8d
lea eax, [ebp - 0x1b8]
cmp byte [eax], 0x57
jne 0x4d9c8b
cmp byte [eax + 1], 0x69
jne 0x4d9c8b
cmp byte [eax + 2], 0x6e
jne 0x4d9c8b
mov al, 1
jmp 0x4d9c8d
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4dc111
Capabilities:
Delete file
Get common file path

Disassembly:
call fcn.0053e6d0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x140]
push eax
call sub.KERNEL32.DLL_GetWindowsDirectoryA
push 0x579b65
lea edx, [ebp - 0x140]
push edx
call fcn.0053b004
add esp, 8
lea ecx, [ebp - 0x3c]
push ecx
lea eax, [ebp - 0x140]
push eax
call fcn.0053b004
add esp, 8
push 0x579b72
lea edx, [ebp - 0x140]
push edx
call fcn.0053b004
add esp, 8
lea ecx, [ebp - 0x140]
push ecx
call sub.KERNEL32.DLL_DeleteFileA
sbb ebx, dword [ecx]
or byte [eax], al