joyce8/EMBER2024-capa huggingface dataset:
Function at 0x482b40
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 0x482bb8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x534cbc]
cmp byte [eax], 0
je 0x482b70
push esi
push ebx
call sub.kernel32.dll_MoveFileW
mov ebx, eax
jmp 0x482b9d
lea eax, [ebp - 4]
mov edx, esi
call fcn.0040478c
mov eax, dword [ebp - 4]
call fcn.00404a24
push eax
lea eax, [ebp - 8]
mov edx, ebx
call fcn.0040478c
mov eax, dword [ebp - 8]
call fcn.00404a24
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 0x482bbf
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404578
ret

Function at 0x482e08
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.00407c68
cmp ax, 0xffff
jne 0x482e29
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 0x482eaa
push eax
push edi
call sub.kernel32.dll_LoadResource
test eax, eax
je 0x482eaa
push eax
call sub.kernel32.dll_LockResource
mov ebx, eax
mov eax, dword [ebp - 8]
dec eax
test eax, eax
jl 0x482e70
inc eax
movzx edx, word [ebx]
add edx, edx
add ebx, edx
add ebx, 2
dec eax
jne 0x482e63
movzx esi, word [ebx]
add ebx, 2
cmp dword [ebp - 4], 0
je 0x482eaa
cmp dword [ebp + 8], 0
jle 0x482eaa
mov eax, dword [ebp + 8]
dec eax
mov edx, esi
call fcn.00431000
mov esi, eax
test esi, esi
jle 0x482ea1
mov ecx, esi
add ecx, ecx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00407c7c
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 0x4839c0
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 0x483a24
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.004047d4
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00409bd4
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x483a2b
lea eax, [ebp - 0xc]
call fcn.00404554
ret
Function at 0x483ac8
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 0x483b24
push esp
push 0x40
push 6
push ebx
call sub.kernel32.dll_VirtualProtect
test eax, eax
jne 0x483af3
call fcn.0040f49c
mov edx, dword [esp + 8]
lea eax, [esp + 0xc]
mov ecx, 6
call fcn.00402d40
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 0x483b24
call fcn.0040f49c
add esp, 0x14
pop edi
pop esi
pop ebx
ret

Function at 0x48ce80
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 0x48d004
push dword fs:[eax]
mov dword fs:[eax], esp
mov al, byte [ebx + 0x276]
sub al, 2
jb 0x48cfe9
cmp byte [ebx + 0x268], 0
je 0x48cfe9
mov eax, dword [ebp - 4]
call fcn.0049448c
mov word [ebp - 6], ax
xor eax, eax
push ebp
push 0x48cfe2
push dword fs:[eax]
mov dword fs:[eax], esp
mov ax, word [ebp - 6]
sub ax, 8
je 0x48cf26
dec ax
je 0x48cefc
sub ax, 0x12
jne 0x48cf40
call fcn.00403f54
jmp 0x48cfe9
cmp byte [ebx + 0x269], 0
je 0x48cfc8
mov eax, ebx
call fcn.00452f00
test al, al
je 0x48cfc8
xor edx, edx
mov eax, ebx
call fcn.00452f24
jmp 0x48cfc8
mov eax, dword [esi]
call fcn.00404ed4
mov edx, eax
mov eax, esi
mov ecx, 1
call fcn.004050c0
jmp 0x48cfc8
cmp byte [ebx + 0x269], 0
je 0x48cf5d
mov eax, ebx
call fcn.00452f00
test al, al
jne 0x48cf5d
mov dl, 1
mov eax, ebx
call fcn.00452f24
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp + 8]
sub eax, dword [edx]
cmp eax, 0x4e2
jb 0x48cf75
mov eax, esi
call fcn.00404c70
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.00404d98
mov ecx, dword [ebp - 0x10]
mov edx, dword [esi]
lea eax, [ebp - 0xc]
call fcn.00404f40
mov ecx, dword [ebp - 0xc]
mov edx, edi
mov eax, ebx
call fcn.0048ccb0
test al, al
je 0x48cfc8
lea eax, [ebp - 0x14]
mov dx, word [ebp - 6]
call fcn.00404d98
mov edx, dword [ebp - 0x14]
mov eax, esi
call fcn.00404ee0
mov word [ebp - 6], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48cfe9
mov eax, dword [ebp - 4]
mov dx, word [ebp - 6]
call fcn.004944c0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48d00b
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00404c88
ret

Function at 0x491a8c
Capabilities:
Set global application hook

Disassembly:
mov eax, dword [0x535404]
cmp dword [eax], 2
je 0x491aaa
mov ecx, 0x30e
mov edx, 0x491adc
mov eax, 0x491b30
call fcn.004044b0
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
push 0x491a2c
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x536fc8], eax
cmp dword [0x536fc8], 0
jne 0x491ad1
call fcn.0040f49c
ret
Function at 0x491e2c
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 [0x534cbc]
cmp byte [eax], 0
jne 0x491e5a
mov ecx, 0xaf
mov edx, 0x491ea8
mov eax, 0x491efc
call fcn.004044b0
mov eax, ebx
call fcn.00404c70
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyW
shl eax, 0x10
test eax, eax
je 0x491e99
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.00404e2c
pop ebx
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
mov eax, dword [0x534cbc]
cmp byte [eax], 0
jne 0x491f33
mov ecx, 0xbd
mov edx, 0x491f74
mov eax, 0x491fc8
call fcn.004044b0
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 0x491f66
mov esi, ebx
sub si, 0x30
add si, 0x30
cmp si, di
je 0x491f66
push esi
call sub.user32.dll_VkKeyScanW
cmp al, bl
jne 0x491f66
mov edi, esi
mov eax, edi
pop edi
pop esi
pop ebx
ret
Function at 0x499fac
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 0x49a18c
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x28]
mov edx, 0x24
call fcn.0049cea4
lea eax, [ebp - 0x28]
push eax
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [ebp - 0x14]
mov dword [0x526b68], eax
mov eax, dword [ebp - 0xc]
mov dword [0x526b6c], eax
mov eax, dword [ebp - 0x24]
mov dword [0x526b70], eax
mov eax, dword [0x535404]
cmp dword [eax], 2
sete byte [0x526320]
push 0x49a198
call sub.kernel32.dll_GetModuleHandleA_2
lea edx, [ebp - 4]
call fcn.0049c914
xor eax, eax
mov dword [ebp - 0x2c], eax
cmp byte [0x526320], 0
jne 0x49a03b
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 4]
call fcn.0049ca58
test al, al
je 0x49a03b
mov eax, dword [ebp - 0x4c]
mov dword [0x53754c], eax
jmp 0x49a042
xor eax, eax
mov dword [0x53754c], eax
call fcn.00499ce4
and eax, 0x7f
cmp eax, 0x12
ja case.0x49a053.0
jmp dword [eax*4 + 0x49a05a]
mov byte [0x52630c], 1
jmp case.0x49a053.0
mov byte [0x526310], 1
jmp case.0x49a053.0
mov byte [0x526314], 1
jmp case.0x49a053.0
mov byte [0x526318], 1
jmp case.0x49a053.0
mov byte [0x52631c], 1
jmp case.0x49a053.0
mov byte [0x526324], 1
mov byte [0x526328], 1
jmp case.0x49a053.0
mov byte [0x526324], 1
mov byte [0x52632c], 1
jmp case.0x49a053.0
mov byte [0x526324], 1
mov byte [0x52632c], 1
mov byte [0x526330], 1
jmp case.0x49a053.0
mov byte [0x526334], 1
jmp case.0x49a053.0
mov byte [0x526338], 1
jmp case.0x49a053.0
mov byte [0x52633c], 1
jmp case.0x49a053.0
mov byte [0x526340], 1
jmp case.0x49a053.0
mov byte [0x526344], 1
jmp case.0x49a053.0
mov byte [0x526348], 1
jmp case.0x49a053.0
mov byte [0x52634c], 1
jmp case.0x49a053.0
mov byte [0x526350], 1
jmp case.0x49a053.0
mov byte [0x526354], 1
jmp case.0x49a053.0
mov byte [0x526358], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49a193
lea eax, [ebp - 4]
call fcn.00404554
ret

Function at 0x49c050
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 0x49c0b4
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.004047d4
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00409bd4
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49c0bb
lea eax, [ebp - 0xc]
call fcn.00404554
ret
Function at 0x49ca58
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 0x49cb0e
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.00404a24
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov edi, eax
test edi, edi
jbe 0x49caf8
lea eax, [ebp - 0x10]
mov edx, edi
call fcn.00404bb0
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.00404a24
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x49caf8
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x49cb20
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x49caf8
cmp dword [ebp - 8], 0x34
jne 0x49caf8
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 0x49cb15
lea eax, [ebp - 0x10]
call fcn.00404554
ret

Function at 0x49da60
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
test dl, dl
je 0x49da75
add esp, 0xfffffff0
call fcn.00403a40
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.00403698
lea eax, [ebx + 0xc]
mov edx, esi
call fcn.004045a8
mov eax, esi
call fcn.00404a24
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 0x49daca
mov ecx, dword [0x535280]
mov dl, 1
mov eax, dword [0x49d844]
call fcn.0049739c
call fcn.00403ea8
call sub.kernel32.dll_GetLastError
cmp eax, 0xb7
sete al
mov byte [ebx + 4], al
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x49daf1
call fcn.00403a98
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 0x49e424
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
call fcn.0049e3e0
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x49e498
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [0x538eac], eax
mov ebx, 0x49e36c
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 0x49e498
xor eax, eax
push ebp
push 0x49e491
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 0x49e498
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 0x49e4a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
call fcn.0049e3e0
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x49e50b
mov ebx, dword [0x538eac]
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 0x49e50b
xor eax, eax
push ebp
push 0x49e504
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 0x49e50b
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 0x49f11c
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 0x49f286
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x534cbc]
cmp byte [eax], 0
jne 0x49f177
lea eax, [ebp - 0x10]
mov edx, edi
call fcn.004047ec
mov edx, dword [ebp - 0x10]
lea ecx, [ebp - 0xc]
mov eax, ebx
call fcn.0043b178
mov edx, dword [ebp - 0xc]
mov eax, esi
call fcn.00404e48
jmp 0x49f25e
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.00404ec4
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
je 0x49f1a9
mov eax, esi
call fcn.00404c70
jmp 0x49f25e
mov eax, dword [ebp - 4]
dec eax
sub eax, 2
jb 0x49f1e0
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 [0x534ecc]
call fcn.00406a58
mov ecx, dword [ebp - 0x1c]
mov dl, 1
mov eax, dword [0x43ad20]
call fcn.0040de64
call fcn.00403ea8
cmp dword [ebp - 8], 1
jne 0x49f1ed
mov dword [ebp - 8], 2
mov edx, dword [ebp - 8]
shr edx, 1
mov eax, esi
call fcn.0040523c
lea eax, [ebp - 8]
push eax
mov eax, dword [esi]
call fcn.00404ec4
push eax
lea eax, [ebp - 4]
push eax
push 0
mov eax, edi
call fcn.00404ec4
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
je 0x49f24e
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 [0x535424]
call fcn.00406a58
mov ecx, dword [ebp - 0x20]
mov dl, 1
mov eax, dword [0x43ad20]
call fcn.0040de64
call fcn.00403ea8
mov eax, dword [esi]
call fcn.00404ec4
mov edx, eax
mov eax, esi
call fcn.00404dd8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49f28d
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.00404578
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00404578
ret
Function at 0x49f294
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 0x49f3bc
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
dec eax
sub eax, 2
jb 0x49f2de
mov ecx, 0x7d
mov edx, 0x49f3d4
mov eax, 0x49f42c
call fcn.004044b0
mov eax, dword [0x534cbc]
cmp byte [eax], 0
jne 0x49f33c
cmp esi, 1
jne 0x49f316
lea eax, [ebp - 8]
mov edx, edi
call fcn.004047ec
mov eax, dword [ebp - 8]
push eax
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 4]
call fcn.004047ec
mov edx, dword [ebp - 0xc]
mov eax, ebx
pop ecx
call fcn.0043b120
jmp 0x49f399
lea eax, [ebp - 0x10]
mov edx, edi
call fcn.004047ec
mov eax, dword [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 4]
call fcn.004047ec
mov edx, dword [ebp - 0x14]
mov eax, ebx
pop ecx
call fcn.0043b14c
jmp 0x49f399
mov eax, edi
call fcn.00404ed4
inc eax
add eax, eax
push eax
mov eax, edi
call fcn.00404ec4
push eax
push esi
push 0
mov eax, dword [ebp - 4]
call fcn.00404ec4
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExW
test eax, eax
je 0x49f399
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 [0x53502c]
call fcn.00406a58
mov ecx, dword [ebp - 0x20]
mov dl, 1
mov eax, dword [0x43ad20]
call fcn.0040de64
call fcn.00403ea8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49f3c3
lea eax, [ebp - 0x20]
call fcn.00404554
lea eax, [ebp - 0x14]
mov edx, 4
call fcn.00404578
ret

Function at 0x49fdb4
Capabilities:
Encode data using xor

Disassembly:
push ebx
push edi
mov edi, ecx
shr edi, 2
je 0x49fdce
lea edx, [edx + edi*4]
lea eax, [eax + edi*4]
neg edi
mov ebx, dword [edx + edi*4]
xor dword [eax + edi*4], ebx
inc edi
jne 0x49fdc5
and ecx, 3
je 0x49fddc
mov bl, byte [edx]
xor byte [eax], bl
inc eax
inc edx
dec ecx
jne 0x49fdd3
pop edi
pop ebx
ret

Function at 0x49fde0
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 0x49fe0d
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 0x49fdfe
and ecx, 3
je 0x49fe25
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 0x49fe12
pop ebp
pop esi
pop edi
pop ebx
pop ebp
ret 4
Function at 0x49fe30
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 0x49fe69
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 0x49fe51
pop esi
and esi, 3
je 0x49fe8e
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 0x49fe6f
pop ebp
pop esi
pop edi
pop ebx
pop ebp
ret 8

Function at 0x49fe98
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 0x49fec4
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 0x49feb5
and ecx, 3
je 0x49fedc
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 0x49fec9
pop esi
pop edi
pop ebx
pop ebp
ret 4

Function at 0x49fee4
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 0x49fef0
pop edi
pop ebx
ret

Function at 0x4a0750
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov dword [esp], ecx
mov esi, edx
mov ebx, eax
mov eax, dword [ebx]
call dword [eax + 0x20]
mov edi, eax
mov eax, edi
shr eax, 2
mov dword [esp + 4], eax
mov eax, dword [ebx + 8]
add eax, edi
mov dword [esp + 8], eax
mov eax, edi
add eax, eax
mov edx, dword [ebx + 8]
lea eax, [edx + eax]
mov dword [esp + 0xc], eax
mov eax, dword [esp]
cdq
idiv edi
mov ebp, eax
dec ebp
test ebp, ebp
jl 0x4a07c8
inc ebp
push edi
mov ecx, dword [esp + 0x10]
mov edx, esi
mov eax, dword [ebx + 8]
call fcn.0049fde0
mov edx, dword [ebx + 8]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov eax, dword [esp + 8]
push eax
push edi
mov ecx, dword [esp + 0x14]
mov edx, dword [ebx + 8]
mov eax, esi
call fcn.0049fe30
lea eax, [esi + edi]
mov esi, eax
dec ebp
jne 0x4a0793
mov eax, dword [esp]
cdq
idiv edi
mov ebp, edx
test ebp, ebp
jle 0x4a0803
mov edx, dword [esp + 8]
mov eax, dword [ebx + 8]
mov ecx, dword [esp + 4]
call fcn.0049fee4
mov edx, dword [ebx + 8]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x5c]
dec ebp
test ebp, ebp
jl 0x4a0803
inc ebp
xor eax, eax
mov edx, dword [ebx + 8]
mov dl, byte [edx + eax]
xor byte [esi + eax], dl
inc eax
dec ebp
jne 0x4a07f6
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4a080c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call dword [eax + 0x20]
mov esi, eax
mov eax, esi
shr eax, 2
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
call fcn.004a0464
mov dword [ebp - 0x10], eax
xor edx, edx
push ebp
push 0x4a094b
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, esi
add eax, eax
push eax
mov eax, dword [ebp - 8]
pop edx
mov ecx, edx
cdq
idiv ecx
mov edi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov dword [ebp - 0x14], eax
dec edi
test edi, edi
jl 0x4a08ba
inc edi
mov edx, dword [ebp - 0x10]
mov eax, ebx
mov ecx, esi
call fcn.00402d40
mov edx, ebx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov edx, dword [ebp - 0x14]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
call fcn.0049fee4
lea eax, [ebx + esi]
mov ebx, eax
mov edx, dword [ebp - 0x14]
mov eax, ebx
mov ecx, esi
call fcn.00402d40
mov edx, ebx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov edx, dword [ebp - 0x10]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
call fcn.0049fee4
lea eax, [ebx + esi]
mov ebx, eax
dec edi
jne 0x4a0867
mov eax, esi
add eax, eax
push eax
mov eax, dword [ebp - 8]
pop edx
mov ecx, edx
cdq
idiv ecx
mov edi, edx
cmp esi, edi
jg 0x4a0908
mov edx, dword [ebp - 0x10]
mov eax, ebx
mov ecx, esi
call fcn.00402d40
mov edx, ebx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov edx, dword [ebp - 0x14]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
call fcn.0049fee4
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 0x10]
mov ecx, esi
call fcn.00402d40
lea eax, [ebx + esi]
mov ebx, eax
sub edi, esi
test edi, edi
jle 0x4a0932
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x5c]
dec edi
test edi, edi
jl 0x4a0932
inc edi
xor eax, eax
mov edx, dword [ebp - 4]
mov edx, dword [edx + 8]
mov dl, byte [edx + eax]
xor byte [ebx + eax], dl
inc eax
dec edi
jne 0x4a0922
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a0952
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.004a0600
ret