joyce8/EMBER2024-capa huggingface dataset:
Function at 0x482618
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 [0x419f14]
call fcn.00404ecc
xor eax, eax
push ebp
push 0x48275c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x53d2e4], 0
jne 0x48266b
mov ecx, dword [0x54fa28]
mov dl, 1
mov eax, dword [0x407ee0]
call fcn.0040d93c
call fcn.00403b00
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00402ca4
mov eax, ebx
call fcn.00404af4
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x48276c
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.004060f4
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404b04
test eax, eax
jle 0x482703
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 0x4826fc
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.0040441c
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404404
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00408f30
test eax, eax
jne 0x4826fc
mov ebx, 0x15
jmp 0x482708
mov ebx, 0x10
jmp 0x482708
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 [0x53d2e4]
call fcn.00482570
mov eax, dword [ebp - 8]
call fcn.00482570
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.0040610c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x482763
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004041a8
lea eax, [ebp - 0x10]
mov edx, dword [0x419f14]
call fcn.00404f9c
ret

Function at 0x487124
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x48717e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x54fb14]
cmp byte [eax], 0
je 0x48714e
push ebx
call sub.kernel32.dll_GetFileAttributesW
mov ebx, eax
jmp 0x487168
lea eax, [ebp - 4]
mov edx, ebx
call fcn.004043bc
mov eax, dword [ebp - 4]
call fcn.00404654
push eax
call sub.kernel32.dll_GetFileAttributesA
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x487185
lea eax, [ebp - 4]
call fcn.00404184
ret
Function at 0x4871fc
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x487274
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x54fb14]
cmp byte [eax], 0
je 0x48722c
push esi
push ebx
call sub.kernel32.dll_MoveFileW
mov ebx, eax
jmp 0x487259
lea eax, [ebp - 4]
mov edx, esi
call fcn.004043bc
mov eax, dword [ebp - 4]
call fcn.00404654
push eax
lea eax, [ebp - 8]
mov edx, ebx
call fcn.004043bc
mov eax, dword [ebp - 8]
call fcn.00404654
push eax
call sub.kernel32.dll_MoveFileA
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48727b
lea eax, [ebp - 8]
mov edx, 2
call fcn.004041a8
ret

Function at 0x4875c8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, edx
mov edi, eax
xor esi, esi
mov eax, ebx
call fcn.004077f0
cmp ax, 0xffff
jne 0x4875e9
neg ebx
mov eax, ebx
shr eax, 4
and eax, 0xffff
inc eax
and ebx, 0xf
mov dword [ebp - 8], ebx
push 6
push eax
push edi
call sub.kernel32.dll_FindResourceA
test eax, eax
je 0x48766a
push eax
push edi
call sub.kernel32.dll_LoadResource
test eax, eax
je 0x48766a
push eax
call sub.kernel32.dll_LockResource
mov ebx, eax
mov eax, dword [ebp - 8]
dec eax
test eax, eax
jl 0x487630
inc eax
movzx edx, word [ebx]
add edx, edx
add ebx, edx
add ebx, 2
dec eax
jne 0x487623
movzx esi, word [ebx]
add ebx, 2
cmp dword [ebp - 4], 0
je 0x48766a
cmp dword [ebp + 8], 0
jle 0x48766a
mov eax, dword [ebp + 8]
dec eax
mov edx, esi
call fcn.00430844
mov esi, eax
test esi, esi
jle 0x487661
mov ecx, esi
add ecx, ecx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00407804
mov eax, dword [ebp - 4]
mov word [eax + esi*2], 0
mov eax, esi
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 4

Function at 0x488180
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 0x4881e4
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.00404404
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.004096e4
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4881eb
lea eax, [ebp - 0xc]
call fcn.00404184
ret
Function at 0x488288
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 0x4882e4
push esp
push 0x40
push 6
push ebx
call sub.kernel32.dll_VirtualProtect
test eax, eax
jne 0x4882b3
call fcn.0040ee8c
mov edx, dword [esp + 8]
lea eax, [esp + 0xc]
mov ecx, 6
call fcn.004029b0
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 0x4882e4
call fcn.0040ee8c
add esp, 0x14
pop edi
pop esi
pop ebx
ret

Function at 0x491580
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov esi, dword [ebp + 0xc]
xor eax, eax
push ebp
push 0x491704
push dword fs:[eax]
mov dword fs:[eax], esp
mov al, byte [ebx + 0x276]
sub al, 2
jb 0x4916e9
cmp byte [ebx + 0x268], 0
je 0x4916e9
mov eax, dword [ebp - 4]
call fcn.00498aac
mov word [ebp - 6], ax
xor eax, eax
push ebp
push 0x4916e2
push dword fs:[eax]
mov dword fs:[eax], esp
mov ax, word [ebp - 6]
sub ax, 8
je 0x491626
dec ax
je 0x4915fc
sub ax, 0x12
jne 0x491640
call fcn.00403bac
jmp 0x4916e9
cmp byte [ebx + 0x269], 0
je 0x4916c8
mov eax, ebx
call fcn.004572a4
test al, al
je 0x4916c8
xor edx, edx
mov eax, ebx
call fcn.004572c8
jmp 0x4916c8
mov eax, dword [esi]
call fcn.00404b04
mov edx, eax
mov eax, esi
mov ecx, 1
call fcn.00404cec
jmp 0x4916c8
cmp byte [ebx + 0x269], 0
je 0x49165d
mov eax, ebx
call fcn.004572a4
test al, al
jne 0x49165d
mov dl, 1
mov eax, ebx
call fcn.004572c8
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp + 8]
sub eax, dword [edx]
cmp eax, 0x4e2
jb 0x491675
mov eax, esi
call fcn.004048a0
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp + 8]
mov dword [edx], eax
push 0
push 1
lea eax, [ebp - 0x10]
mov dx, word [ebp - 6]
call fcn.004049c8
mov ecx, dword [ebp - 0x10]
mov edx, dword [esi]
lea eax, [ebp - 0xc]
call fcn.00404b70
mov ecx, dword [ebp - 0xc]
mov edx, edi
mov eax, ebx
call fcn.004913b0
test al, al
je 0x4916c8
lea eax, [ebp - 0x14]
mov dx, word [ebp - 6]
call fcn.004049c8
mov edx, dword [ebp - 0x14]
mov eax, esi
call fcn.00404b10
mov word [ebp - 6], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4916e9
mov eax, dword [ebp - 4]
mov dx, word [ebp - 6]
call fcn.00498ae0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49170b
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.004048b8
ret
Function at 0x4964ec
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 [0x54fb14]
cmp byte [eax], 0
jne 0x49651a
mov ecx, 0xaf
mov edx, 0x496568
mov eax, 0x49659c
call fcn.004040e0
mov eax, ebx
call fcn.004048a0
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyW
shl eax, 0x10
test eax, eax
je 0x496559
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.00404a5c
pop ebx
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
mov eax, dword [0x54fb14]
cmp byte [eax], 0
jne 0x4965d3
mov ecx, 0xbd
mov edx, 0x496614
mov eax, 0x496648
call fcn.004040e0
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 0x496606
mov esi, ebx
sub si, 0x30
add si, 0x30
cmp si, di
je 0x496606
push esi
call sub.user32.dll_VkKeyScanW
cmp al, bl
jne 0x496606
mov edi, esi
mov eax, edi
pop edi
pop esi
pop ebx
ret
Function at 0x49e4ac
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x49e6ac
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x28]
mov edx, 0x24
call fcn.004a190c
lea eax, [ebp - 0x28]
push eax
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [ebp - 0x14]
mov dword [0x53eb3c], eax
mov eax, dword [ebp - 0xc]
mov dword [0x53eb40], eax
mov eax, dword [ebp - 0x24]
mov dword [0x53eb44], eax
mov eax, dword [0x55025c]
cmp dword [eax], 2
sete byte [0x53e2ec]
push 0x49e6b8
call sub.kernel32.dll_GetModuleHandleA_2
lea edx, [ebp - 4]
call fcn.004a1384
xor eax, eax
mov dword [ebp - 0x2c], eax
cmp byte [0x53e2ec], 0
jne 0x49e53b
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 4]
call fcn.004a14c8
test al, al
je 0x49e53b
mov eax, dword [ebp - 0x4c]
mov dword [0x552548], eax
jmp 0x49e542
xor eax, eax
mov dword [0x552548], eax
call fcn.0049e1b4
and eax, 0x7f
cmp eax, 0x14
ja case.0x49e553.0
jmp dword [eax*4 + 0x49e55a]
mov byte [0x53e2d8], 1
jmp case.0x49e553.0
mov byte [0x53e2dc], 1
jmp case.0x49e553.0
mov byte [0x53e2e0], 1
jmp case.0x49e553.0
mov byte [0x53e2e4], 1
jmp case.0x49e553.0
mov byte [0x53e2e8], 1
jmp case.0x49e553.0
mov byte [0x53e2f0], 1
mov byte [0x53e2f4], 1
jmp case.0x49e553.0
mov byte [0x53e2f0], 1
mov byte [0x53e2f8], 1
jmp case.0x49e553.0
mov byte [0x53e2f0], 1
mov byte [0x53e2f8], 1
mov byte [0x53e2fc], 1
jmp case.0x49e553.0
mov byte [0x53e300], 1
jmp case.0x49e553.0
mov byte [0x53e304], 1
jmp case.0x49e553.0
mov byte [0x53e308], 1
jmp case.0x49e553.0
mov byte [0x53e30c], 1
jmp case.0x49e553.0
mov byte [0x53e310], 1
jmp case.0x49e553.0
mov byte [0x53e314], 1
jmp case.0x49e553.0
mov byte [0x53e318], 1
jmp case.0x49e553.0
mov byte [0x53e31c], 1
jmp case.0x49e553.0
mov byte [0x53e320], 1
jmp case.0x49e553.0
mov byte [0x53e324], 1
jmp case.0x49e553.0
mov byte [0x53e328], 1
jmp case.0x49e553.0
mov byte [0x53e32c], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49e6b3
lea eax, [ebp - 4]
call fcn.00404184
ret

Function at 0x4a0aec
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 0x4a0b50
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.00404404
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.004096e4
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a0b57
lea eax, [ebp - 0xc]
call fcn.00404184
ret
Function at 0x4a14c8
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x4a157e
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
mov eax, esi
call fcn.00404654
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov edi, eax
test edi, edi
jbe 0x4a1568
lea eax, [ebp - 0x10]
mov edx, edi
call fcn.004047e0
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
push eax
push edi
mov eax, dword [ebp - 0xc]
push eax
mov eax, esi
call fcn.00404654
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x4a1568
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x4a1590
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4a1568
cmp dword [ebp - 8], 0x34
jne 0x4a1568
mov bl, 1
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
mov esi, eax
mov edi, edx
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a1585
lea eax, [ebp - 0x10]
call fcn.00404184
ret

Function at 0x4a2498
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
test dl, dl
je 0x4a24ad
add esp, 0xfffffff0
call fcn.00403698
mov dword [ebp - 8], ecx
mov byte [ebp - 1], dl
mov ebx, eax
mov esi, dword [ebp + 8]
xor edx, edx
mov eax, ebx
call fcn.00403304
lea eax, [ebx + 0xc]
mov edx, esi
call fcn.004041d8
mov eax, esi
call fcn.00404654
push eax
xor eax, eax
mov al, byte [ebp + 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CreateMutexA
mov edi, eax
mov dword [ebx + 8], edi
test edi, edi
jne 0x4a2502
mov ecx, dword [0x5500d8]
mov dl, 1
mov eax, dword [0x4a2280]
call fcn.0049b978
call fcn.00403b00
call sub.kernel32.dll_GetLastError
cmp eax, 0xb7
sete al
mov byte [ebx + 4], al
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4a2529
call fcn.004036f0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 8

Function at 0x4a2e18
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
call fcn.004a2dd4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4a2e8c
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [0x553aa8], eax
mov ebx, 0x4a2d60
lea eax, [ebp - 8]
push eax
push 0x40
push 4
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x4a2e8c
xor eax, eax
push ebp
push 0x4a2e85
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov dword [eax], ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a2e8c
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
push 4
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_VirtualProtect
ret
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4a2e94
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
call fcn.004a2dd4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4a2eff
mov ebx, dword [0x553aa8]
lea eax, [ebp - 8]
push eax
push 0x40
push 4
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x4a2eff
xor eax, eax
push ebp
push 0x4a2ef8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov dword [eax], ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a2eff
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
push 4
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_VirtualProtect
ret
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4a3b10
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov esi, ecx
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4a3c7a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x54fb14]
cmp byte [eax], 0
jne 0x4a3b6b
lea eax, [ebp - 0x10]
mov edx, edi
call fcn.0040441c
mov edx, dword [ebp - 0x10]
lea ecx, [ebp - 0xc]
mov eax, ebx
call fcn.0043d3a0
mov edx, dword [ebp - 0xc]
mov eax, esi
call fcn.00404a78
jmp 0x4a3c52
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
push 0
lea eax, [ebp - 4]
push eax
push 0
mov eax, edi
call fcn.00404af4
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
je 0x4a3b9d
mov eax, esi
call fcn.004048a0
jmp 0x4a3c52
mov eax, dword [ebp - 4]
dec eax
sub eax, 2
jb 0x4a3bd4
mov dword [ebp - 0x18], edi
mov byte [ebp - 0x14], 0xf
lea eax, [ebp - 0x18]
push eax
push 0
lea edx, [ebp - 0x1c]
mov eax, dword [0x54fd24]
call fcn.004065b8
mov ecx, dword [ebp - 0x1c]
mov dl, 1
mov eax, dword [0x43cf0c]
call fcn.0040d8bc
call fcn.00403b00
cmp dword [ebp - 8], 1
jne 0x4a3be1
mov dword [ebp - 8], 2
mov edx, dword [ebp - 8]
shr edx, 1
mov eax, esi
call fcn.00404e68
lea eax, [ebp - 8]
push eax
mov eax, dword [esi]
call fcn.00404af4
push eax
lea eax, [ebp - 4]
push eax
push 0
mov eax, edi
call fcn.00404af4
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
je 0x4a3c42
mov dword [ebp - 0x18], edi
mov byte [ebp - 0x14], 0xf
lea eax, [ebp - 0x18]
push eax
push 0
lea edx, [ebp - 0x20]
mov eax, dword [0x55027c]
call fcn.004065b8
mov ecx, dword [ebp - 0x20]
mov dl, 1
mov eax, dword [0x43cf0c]
call fcn.0040d8bc
call fcn.00403b00
mov eax, dword [esi]
call fcn.00404af4
mov edx, eax
mov eax, esi
call fcn.00404a08
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a3c81
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.004041a8
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.004041a8
ret
Function at 0x4a3c88
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
mov edi, dword [ebp + 8]
xor eax, eax
push ebp
push 0x4a3db0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
dec eax
sub eax, 2
jb 0x4a3cd2
mov ecx, 0x7d
mov edx, 0x4a3dc8
mov eax, 0x4a3e00
call fcn.004040e0
mov eax, dword [0x54fb14]
cmp byte [eax], 0
jne 0x4a3d30
cmp esi, 1
jne 0x4a3d0a
lea eax, [ebp - 8]
mov edx, edi
call fcn.0040441c
mov eax, dword [ebp - 8]
push eax
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 4]
call fcn.0040441c
mov edx, dword [ebp - 0xc]
mov eax, ebx
pop ecx
call fcn.0043d348
jmp 0x4a3d8d
lea eax, [ebp - 0x10]
mov edx, edi
call fcn.0040441c
mov eax, dword [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 4]
call fcn.0040441c
mov edx, dword [ebp - 0x14]
mov eax, ebx
pop ecx
call fcn.0043d374
jmp 0x4a3d8d
mov eax, edi
call fcn.00404b04
inc eax
add eax, eax
push eax
mov eax, edi
call fcn.00404af4
push eax
push esi
push 0
mov eax, dword [ebp - 4]
call fcn.00404af4
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExW
test eax, eax
je 0x4a3d8d
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0xf
lea eax, [ebp - 0x1c]
push eax
push 0
lea edx, [ebp - 0x20]
mov eax, dword [0x54fe84]
call fcn.004065b8
mov ecx, dword [ebp - 0x20]
mov dl, 1
mov eax, dword [0x43cf0c]
call fcn.0040d8bc
call fcn.00403b00
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a3db7
lea eax, [ebp - 0x20]
call fcn.00404184
lea eax, [ebp - 0x14]
mov edx, 4
call fcn.004041a8
ret

Function at 0x4a47b4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push ebp
mov edi, ecx
mov ecx, dword [ebp + 8]
mov esi, ecx
shr esi, 2
je 0x4a47e1
lea edi, [edi + esi*4]
lea edx, [edx + esi*4]
lea eax, [eax + esi*4]
neg esi
mov ebx, dword [eax + esi*4]
mov ebp, dword [edx + esi*4]
mov dword [edi + esi*4], ebx
xor dword [eax + esi*4], ebp
inc esi
jne 0x4a47d2
and ecx, 3
je 0x4a47f9
mov bl, byte [ecx + eax - 1]
mov bh, byte [ecx + edx - 1]
mov byte [ecx + edi - 1], bl
xor byte [ecx + eax - 1], bh
dec ecx
jne 0x4a47e6
pop ebp
pop esi
pop edi
pop ebx
pop ebp
ret 4

Function at 0x4a4804
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push ebp
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
push esi
shr esi, 2
je 0x4a483d
lea ecx, [ecx + esi*4]
lea edi, [edi + esi*4]
lea edx, [edx + esi*4]
lea eax, [eax + esi*4]
neg esi
mov ebp, dword [eax + esi*4]
mov ebx, dword [edi + esi*4]
xor ebx, dword [edx + esi*4]
mov dword [edx + esi*4], ebx
xor ebx, dword [ecx + esi*4]
mov dword [edi + esi*4], ebp
mov dword [eax + esi*4], ebx
inc esi
jne 0x4a4825
pop esi
and esi, 3
je 0x4a4862
mov bl, byte [esi + eax - 1]
mov bh, byte [esi + edx - 1]
xor bh, byte [esi + edi - 1]
mov byte [esi + edx - 1], bh
xor bh, byte [esi + ecx - 1]
mov byte [esi + edi - 1], bl
mov byte [esi + eax - 1], bh
dec esi
jne 0x4a4843
pop ebp
pop esi
pop edi
pop ebx
pop ebp
ret 8
Function at 0x4a486c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov edi, ecx
mov ecx, dword [ebp + 8]
mov esi, ecx
shr esi, 2
je 0x4a4898
lea edi, [edi + esi*4]
lea edx, [edx + esi*4]
lea eax, [eax + esi*4]
neg esi
mov ebx, dword [edx + esi*4]
xor ebx, dword [eax + esi*4]
mov dword [edi + esi*4], ebx
mov dword [eax + esi*4], ebx
inc esi
jne 0x4a4889
and ecx, 3
je 0x4a48b0
mov bl, byte [ecx + edx - 1]
xor bl, byte [ecx + eax - 1]
mov byte [ecx + edi - 1], bl
mov byte [ecx + eax - 1], bl
dec ecx
jne 0x4a489d
pop esi
pop edi
pop ebx
pop ebp
ret 4

Function at 0x4a48b8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push edi
shr ecx, 1
lea edi, [eax + ecx*8]
lea edx, [edx + ecx*8]
neg ecx
mov ebx, dword [edx + ecx*8]
mov eax, dword [edx + ecx*8 + 4]
xor dword [edi + ecx*8], ebx
xor dword [edi + ecx*8 + 4], eax
inc ecx
jne 0x4a48c4
pop edi
pop ebx
ret