joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48256c
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 0x4826b0
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x5392e4], 0
jne 0x4825bf
mov ecx, dword [0x54b2b0]
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, 0x4826c0
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 0x482657
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 0x482650
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 0x482650
mov ebx, 0x15
jmp 0x48265c
mov ebx, 0x10
jmp 0x48265c
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 [0x5392e4]
call fcn.004824c4
mov eax, dword [ebp - 8]
call fcn.004824c4
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 0x4826b7
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004041a8
lea eax, [ebp - 0x10]
mov edx, dword [0x419f14]
call fcn.00404f9c
ret

Function at 0x487078
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x4870d2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x54b39c]
cmp byte [eax], 0
je 0x4870a2
push ebx
call sub.kernel32.dll_GetFileAttributesW
mov ebx, eax
jmp 0x4870bc
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 0x4870d9
lea eax, [ebp - 4]
call fcn.00404184
ret
Function at 0x487150
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 0x4871c8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x54b39c]
cmp byte [eax], 0
je 0x487180
push esi
push ebx
call sub.kernel32.dll_MoveFileW
mov ebx, eax
jmp 0x4871ad
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 0x4871cf
lea eax, [ebp - 8]
mov edx, 2
call fcn.004041a8
ret

Function at 0x48751c
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 0x48753d
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 0x4875be
push eax
push edi
call sub.kernel32.dll_LoadResource
test eax, eax
je 0x4875be
push eax
call sub.kernel32.dll_LockResource
mov ebx, eax
mov eax, dword [ebp - 8]
dec eax
test eax, eax
jl 0x487584
inc eax
movzx edx, word [ebx]
add edx, edx
add ebx, edx
add ebx, 2
dec eax
jne 0x487577
movzx esi, word [ebx]
add ebx, 2
cmp dword [ebp - 4], 0
je 0x4875be
cmp dword [ebp + 8], 0
jle 0x4875be
mov eax, dword [ebp + 8]
dec eax
mov edx, esi
call fcn.00430844
mov esi, eax
test esi, esi
jle 0x4875b5
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 0x4880d4
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 0x488138
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 0x48813f
lea eax, [ebp - 0xc]
call fcn.00404184
ret
Function at 0x4881dc
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 0x488238
push esp
push 0x40
push 6
push ebx
call sub.kernel32.dll_VirtualProtect
test eax, eax
jne 0x488207
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 0x488238
call fcn.0040ee8c
add esp, 0x14
pop edi
pop esi
pop ebx
ret

Function at 0x4914d4
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 0x491658
push dword fs:[eax]
mov dword fs:[eax], esp
mov al, byte [ebx + 0x276]
sub al, 2
jb 0x49163d
cmp byte [ebx + 0x268], 0
je 0x49163d
mov eax, dword [ebp - 4]
call fcn.00498a00
mov word [ebp - 6], ax
xor eax, eax
push ebp
push 0x491636
push dword fs:[eax]
mov dword fs:[eax], esp
mov ax, word [ebp - 6]
sub ax, 8
je 0x49157a
dec ax
je 0x491550
sub ax, 0x12
jne 0x491594
call fcn.00403bac
jmp 0x49163d
cmp byte [ebx + 0x269], 0
je 0x49161c
mov eax, ebx
call fcn.004571f8
test al, al
je 0x49161c
xor edx, edx
mov eax, ebx
call fcn.0045721c
jmp 0x49161c
mov eax, dword [esi]
call fcn.00404b04
mov edx, eax
mov eax, esi
mov ecx, 1
call fcn.00404cec
jmp 0x49161c
cmp byte [ebx + 0x269], 0
je 0x4915b1
mov eax, ebx
call fcn.004571f8
test al, al
jne 0x4915b1
mov dl, 1
mov eax, ebx
call fcn.0045721c
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp + 8]
sub eax, dword [edx]
cmp eax, 0x4e2
jb 0x4915c9
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.00491304
test al, al
je 0x49161c
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 0x49163d
mov eax, dword [ebp - 4]
mov dx, word [ebp - 6]
call fcn.00498a34
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49165f
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.004048b8
ret
Function at 0x496440
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 [0x54b39c]
cmp byte [eax], 0
jne 0x49646e
mov ecx, 0xaf
mov edx, 0x4964bc
mov eax, 0x4964f0
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 0x4964ad
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 0x496504
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
mov eax, dword [0x54b39c]
cmp byte [eax], 0
jne 0x496527
mov ecx, 0xbd
mov edx, 0x496568
mov eax, 0x49659c
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 0x49655a
mov esi, ebx
sub si, 0x30
add si, 0x30
cmp si, di
je 0x49655a
push esi
call sub.user32.dll_VkKeyScanW
cmp al, bl
jne 0x49655a
mov edi, esi
mov eax, edi
pop edi
pop esi
pop ebx
ret
Function at 0x49e400
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 0x49e600
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x28]
mov edx, 0x24
call fcn.004a1860
lea eax, [ebp - 0x28]
push eax
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [ebp - 0x14]
mov dword [0x53ab3c], eax
mov eax, dword [ebp - 0xc]
mov dword [0x53ab40], eax
mov eax, dword [ebp - 0x24]
mov dword [0x53ab44], eax
mov eax, dword [0x54bae0]
cmp dword [eax], 2
sete byte [0x53a2ec]
push 0x49e60c
call sub.kernel32.dll_GetModuleHandleA_2
lea edx, [ebp - 4]
call fcn.004a12d8
xor eax, eax
mov dword [ebp - 0x2c], eax
cmp byte [0x53a2ec], 0
jne 0x49e48f
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 4]
call fcn.004a141c
test al, al
je 0x49e48f
mov eax, dword [ebp - 0x4c]
mov dword [0x54d548], eax
jmp 0x49e496
xor eax, eax
mov dword [0x54d548], eax
call fcn.0049e108
and eax, 0x7f
cmp eax, 0x14
ja case.0x49e4a7.0
jmp dword [eax*4 + 0x49e4ae]
mov byte [0x53a2d8], 1
jmp case.0x49e4a7.0
mov byte [0x53a2dc], 1
jmp case.0x49e4a7.0
mov byte [0x53a2e0], 1
jmp case.0x49e4a7.0
mov byte [0x53a2e4], 1
jmp case.0x49e4a7.0
mov byte [0x53a2e8], 1
jmp case.0x49e4a7.0
mov byte [0x53a2f0], 1
mov byte [0x53a2f4], 1
jmp case.0x49e4a7.0
mov byte [0x53a2f0], 1
mov byte [0x53a2f8], 1
jmp case.0x49e4a7.0
mov byte [0x53a2f0], 1
mov byte [0x53a2f8], 1
mov byte [0x53a2fc], 1
jmp case.0x49e4a7.0
mov byte [0x53a300], 1
jmp case.0x49e4a7.0
mov byte [0x53a304], 1
jmp case.0x49e4a7.0
mov byte [0x53a308], 1
jmp case.0x49e4a7.0
mov byte [0x53a30c], 1
jmp case.0x49e4a7.0
mov byte [0x53a310], 1
jmp case.0x49e4a7.0
mov byte [0x53a314], 1
jmp case.0x49e4a7.0
mov byte [0x53a318], 1
jmp case.0x49e4a7.0
mov byte [0x53a31c], 1
jmp case.0x49e4a7.0
mov byte [0x53a320], 1
jmp case.0x49e4a7.0
mov byte [0x53a324], 1
jmp case.0x49e4a7.0
mov byte [0x53a328], 1
jmp case.0x49e4a7.0
mov byte [0x53a32c], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49e607
lea eax, [ebp - 4]
call fcn.00404184
ret

Function at 0x4a0a40
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 0x4a0aa4
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 0x4a0aab
lea eax, [ebp - 0xc]
call fcn.00404184
ret
Function at 0x4a141c
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 0x4a14d2
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 0x4a14bc
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 0x4a14bc
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x4a14e4
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4a14bc
cmp dword [ebp - 8], 0x34
jne 0x4a14bc
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 0x4a14d9
lea eax, [ebp - 0x10]
call fcn.00404184
ret

Function at 0x4a23ec
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
test dl, dl
je 0x4a2401
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 0x4a2456
mov ecx, dword [0x54b95c]
mov dl, 1
mov eax, dword [0x4a21d4]
call fcn.0049b8cc
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 0x4a247d
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 0x4a2d6c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
call fcn.004a2d28
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4a2de0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [0x54eaa8], eax
mov ebx, 0x4a2cb4
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 0x4a2de0
xor eax, eax
push ebp
push 0x4a2dd9
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 0x4a2de0
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 0x4a2de8
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
call fcn.004a2d28
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4a2e53
mov ebx, dword [0x54eaa8]
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 0x4a2e53
xor eax, eax
push ebp
push 0x4a2e4c
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 0x4a2e53
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 0x4a3a64
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 0x4a3bce
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x54b39c]
cmp byte [eax], 0
jne 0x4a3abf
lea eax, [ebp - 0x10]
mov edx, edi
call fcn.0040441c
mov edx, dword [ebp - 0x10]
lea ecx, [ebp - 0xc]
mov eax, ebx
call fcn.0043d31c
mov edx, dword [ebp - 0xc]
mov eax, esi
call fcn.00404a78
jmp 0x4a3ba6
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 0x4a3af1
mov eax, esi
call fcn.004048a0
jmp 0x4a3ba6
mov eax, dword [ebp - 4]
dec eax
sub eax, 2
jb 0x4a3b28
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 [0x54b5ac]
call fcn.004065b8
mov ecx, dword [ebp - 0x1c]
mov dl, 1
mov eax, dword [0x43cec4]
call fcn.0040d8bc
call fcn.00403b00
cmp dword [ebp - 8], 1
jne 0x4a3b35
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 0x4a3b96
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 [0x54bb00]
call fcn.004065b8
mov ecx, dword [ebp - 0x20]
mov dl, 1
mov eax, dword [0x43cec4]
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 0x4a3bd5
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.004041a8
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.004041a8
ret
Function at 0x4a3bdc
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 0x4a3d04
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
dec eax
sub eax, 2
jb 0x4a3c26
mov ecx, 0x7d
mov edx, 0x4a3d1c
mov eax, 0x4a3d54
call fcn.004040e0
mov eax, dword [0x54b39c]
cmp byte [eax], 0
jne 0x4a3c84
cmp esi, 1
jne 0x4a3c5e
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.0043d2c4
jmp 0x4a3ce1
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.0043d2f0
jmp 0x4a3ce1
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 0x4a3ce1
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 [0x54b70c]
call fcn.004065b8
mov ecx, dword [ebp - 0x20]
mov dl, 1
mov eax, dword [0x43cec4]
call fcn.0040d8bc
call fcn.00403b00
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a3d0b
lea eax, [ebp - 0x20]
call fcn.00404184
lea eax, [ebp - 0x14]
mov edx, 4
call fcn.004041a8
ret

Function at 0x4a4708
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 0x4a4735
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 0x4a4726
and ecx, 3
je 0x4a474d
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 0x4a473a
pop ebp
pop esi
pop edi
pop ebx
pop ebp
ret 4

Function at 0x4a4758
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 0x4a4791
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 0x4a4779
pop esi
and esi, 3
je 0x4a47b6
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 0x4a4797
pop ebp
pop esi
pop edi
pop ebx
pop ebp
ret 8
Function at 0x4a47c0
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 0x4a47ec
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 0x4a47dd
and ecx, 3
je 0x4a4804
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 0x4a47f1
pop esi
pop edi
pop ebx
pop ebp
ret 4

Function at 0x4a480c
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 0x4a4818
pop edi
pop ebx
ret