joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5ffe44
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x5ffedc
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.00430c04
cmp eax, 2
jne 0x5ffe84
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 0x10]
push eax
push edi
push esi
push ebx
call sub.advapi32.dll_RegQueryValueExW
mov ebx, eax
jmp 0x5ffebc
lea eax, [ebp - 8]
mov edx, esi
call fcn.0040c070
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
mov ecx, 0
call fcn.0040bc5c
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 0x10]
push eax
push edi
mov eax, dword [ebp - 4]
call fcn.0040bebc
push eax
push ebx
call sub.advapi32.dll_RegQueryValueExA
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5ffee3
lea eax, [ebp - 8]
call fcn.0040b504
lea eax, [ebp - 4]
call fcn.0040b4e0
pop eax
jmp eax

Function at 0x5ffef0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
xor eax, eax
push ebp
push 0x5fff8b
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.00430c04
cmp eax, 2
jne 0x5fff33
mov eax, dword [ebp + 0x1c]
push eax
mov eax, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x14]
push eax
push edi
push esi
push ebx
call sub.advapi32.dll_RegSetValueExW
mov ebx, eax
jmp 0x5fff6b
lea eax, [ebp - 8]
mov edx, esi
call fcn.0040c070
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
mov ecx, 0
call fcn.0040bc5c
mov eax, dword [ebp + 0x1c]
push eax
mov eax, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x14]
push eax
push edi
mov eax, dword [ebp - 4]
call fcn.0040bebc
push eax
push ebx
call sub.advapi32.dll_RegSetValueExA
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5fff92
lea eax, [ebp - 8]
call fcn.0040b504
lea eax, [ebp - 4]
call fcn.0040b4e0
pop eax
jmp eax

Function at 0x600540
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [esi], eax
xor eax, eax
mov dword [ebp - 8], eax
push 0x20019
lea eax, [ebp - 8]
push eax
mov eax, edi
call fcn.0040c338
mov edx, eax
mov eax, ebx
call fcn.005ffca8
mov edx, eax
xor ecx, ecx
mov eax, ebx
call fcn.005ffd88
test eax, eax
sete al
mov ebx, eax
test bl, bl
je 0x6005b2
push 0
push 0
push esi
push 0
mov eax, dword [ebp - 4]
call fcn.0040c338
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
sete bl
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 4
Function at 0x601c20
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
test ebx, ebx
je 0x601c3e
push ebx
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x601c36
test al, 0x10
je 0x601c3a
xor eax, eax
jmp 0x601c40
mov al, 1
pop ebx
ret
xor eax, eax
pop ebx
ret

Function at 0x601e58
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x601ed7
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
mov eax, esi
call fcn.0040c338
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov edi, eax
test edi, edi
jbe 0x601ebf
lea eax, [ebp - 4]
mov edx, edi
call fcn.0040c4c4
mov eax, dword [ebp - 4]
call fcn.0040c338
push eax
push edi
mov eax, dword [ebp - 8]
push eax
mov eax, esi
call fcn.0040c338
push eax
call sub.version.dll_GetFileVersionInfoW
cmp eax, 1
sbb ebx, ebx
inc ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x601ede
lea eax, [ebp - 4]
call fcn.0040b4bc
pop eax
jmp eax

Function at 0x602354
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 - 4], ecx
mov dword [ebp - 8], edx
mov esi, eax
xor eax, eax
push ebp
push 0x602408
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
mov eax, esi
call fcn.0040c338
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov edi, eax
test edi, edi
jbe 0x6023f0
lea eax, [ebp - 4]
mov edx, edi
call fcn.0040c4c4
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
push eax
push edi
mov eax, dword [ebp - 0x10]
push eax
mov eax, esi
call fcn.0040c338
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x6023f0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x602418
mov eax, dword [ebp - 4]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x6023f0
cmp dword [ebp - 0xc], 0x34
jne 0x6023f0
mov bl, 1
mov esi, dword [ebp - 0x14]
mov edi, dword [ebp - 8]
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 0x60240f
lea eax, [ebp - 4]
call fcn.0040b4bc
pop eax
jmp eax
Function at 0x602484
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
test dl, dl
je 0x602499
add esp, 0xfffffff0
call fcn.00409bc0
mov edi, ecx
mov byte [ebp - 1], dl
mov ebx, eax
mov eax, edi
call fcn.00601c20
test al, al
jne 0x6024cf
mov dword [ebp - 0x10], edi
mov byte [ebp - 0xc], 0x11
lea eax, [ebp - 0x10]
push eax
push 0
mov ecx, dword [0x7376d8]
mov dl, 1
mov eax, dword [0x600d20]
call fcn.0042f718
call fcn.0040ab38
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
mov eax, edi
call fcn.0040c338
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
jne 0x602502
mov ecx, dword [0x737988]
mov dl, 1
mov eax, dword [0x600d20]
call fcn.0042f644
call fcn.0040ab38
lea eax, [ebx + 4]
xor ecx, ecx
mov edx, esi
call fcn.0040bf78
mov eax, dword [ebx + 4]
call fcn.0040bebc
push eax
push esi
mov eax, dword [ebp - 8]
push eax
mov eax, edi
call fcn.0040c338
push eax
call sub.version.dll_GetFileVersionInfoW
call fcn.00432194
mov eax, ebx
call fcn.00602db4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x60254c
call fcn.00409c18
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x604bcc
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x244], ebx
mov dword [ebp - 0x248], ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x604d25
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
call fcn.0040b4bc
lea eax, [ebp - 4]
mov ecx, 0x604d40
mov edx, esi
call fcn.0040c59c
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x604cf6
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0xc], eax
push 0x10
lea eax, [ebp - 0x23e]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0x105
lea eax, [ebp - 0x21e]
push eax
mov eax, dword [ebp - 4]
call fcn.0040c338
push eax
call sub.kernel32.dll_GetVolumeInformationW
test eax, eax
je 0x604cdd
sub bl, 1
jb 0x604c75
je 0x604c84
dec bl
je 0x604cd0
jmp 0x604cdd
mov edx, edi
lea eax, [ebp - 0x21e]
call fcn.00428fc4
jmp 0x604cdd
lea ecx, [ebp - 0x244]
mov eax, dword [ebp - 8]
shr eax, 0x10
movzx eax, ax
mov edx, 4
call fcn.00428168
push dword [ebp - 0x244]
push 0x604d54
lea ecx, [ebp - 0x248]
movzx eax, word [ebp - 8]
mov edx, 4
call fcn.00428168
push dword [ebp - 0x248]
mov eax, edi
mov edx, 3
call fcn.0040c624
jmp 0x604cdd
mov edx, edi
lea eax, [ebp - 0x23e]
call fcn.00428fc4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x604cfd
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_SetErrorMode
pop eax
jmp eax
Function at 0x604d94
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe58
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x1a8], ecx
mov dword [ebp - 4], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x604eb2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.0040b4bc
mov word [ebp - 0x194], 0
lea eax, [ebp - 0x194]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
test eax, eax
jne 0x604e8f
xor edx, edx
push ebp
push 0x604e88
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 4]
mov edx, esi
mov ecx, 0
call fcn.0040bff0
cmp dword [ebp - 4], 0
jne 0x604e2a
lea eax, [ebp - 4]
xor ecx, ecx
mov edx, 0x104
call fcn.0040bf78
push 0x104
mov eax, dword [ebp - 4]
call fcn.0040bebc
push eax
call sub.wsock32.dll_gethostname
mov eax, dword [ebp - 4]
call fcn.0040bebc
push eax
call sub.wsock32.dll_gethostbyname
test eax, eax
je 0x604e73
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [ebp - 0x1a0], eax
push dword [ebp - 0x1a0]
call sub.wsock32.dll_inet_ntoa
mov edx, eax
lea eax, [ebp - 0x1a8]
mov ecx, 0
call fcn.0040bbd4
mov edx, dword [ebp - 0x1a8]
mov eax, ebx
call fcn.0040c408
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x604e8f
call sub.wsock32.dll_WSACleanup
pop eax
jmp eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x604eb9
lea eax, [ebp - 0x1a8]
call fcn.0040b4e0
lea eax, [ebp - 4]
call fcn.0040b4e0
pop eax
jmp eax

Function at 0x604ec0
Capabilities:
Get hostname

Disassembly:
push ebx
add esp, 0xfffffdf0
mov ebx, eax
mov dword [esp], 0x104
push esp
lea eax, [esp + 8]
push eax
call sub.kernel32.dll_GetComputerNameW
test eax, eax
je 0x604eef
lea edx, [esp + 4]
mov eax, ebx
mov ecx, dword [esp]
call fcn.0040b654
jmp 0x604ef6
mov eax, ebx
call fcn.0040b4bc
add esp, 0x210
pop ebx
ret
Function at 0x6051a4
Capabilities:
Get user security identifier

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 1
mov eax, ebx
call fcn.0040b4bc
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [ebx]
call fcn.0040c338
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, esi
call fcn.0040c338
mov edi, eax
push edi
push 0
call sub.advapi32.dll_LookupAccountNameW
mov edx, dword [ebp - 8]
inc edx
mov eax, ebx
call fcn.0040c4c4
mov eax, dword [ebp - 4]
call fcn.00407228
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x60526f
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [ebx]
call fcn.0040c338
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 0xc]
push eax
push edi
push 0
call sub.advapi32.dll_LookupAccountNameW
test eax, eax
je 0x605248
mov eax, ebx
call fcn.005ff1c4
jmp 0x605257
mov eax, ebx
mov edx, dword [0x738008]
mov edx, dword [edx]
call fcn.0040b8ac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x605276
mov eax, dword [ebp - 0xc]
call fcn.00407278
pop eax
jmp eax
Function at 0x605dc8
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffebc
push ebx
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x60601e
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 0x120]
mov edx, 0x11c
call fcn.00603c14
lea eax, [ebp - 0x144]
mov edx, 0x24
call fcn.00603c14
mov dword [ebp - 0x120], 0x11c
lea eax, [ebp - 0x144]
call fcn.00606f38
cmp byte [0x72f516], 0
je 0x605e6c
call fcn.0060679c
cmp eax, 6
jl 0x605e6c
lea eax, [ebp - 0x120]
push eax
call sub.kernel32.dll_GetVersionExW
test eax, eax
je 0x605fa7
cmp byte [ebp - 6], 1
jne 0x605e50
mov bl, 1
jmp 0x605fa7
movzx eax, word [ebp - 8]
and ax, 2
cmp ax, 2
jne 0x605e65
mov bl, 7
jmp 0x605fa7
mov bl, 2
jmp 0x605fa7
cmp byte [0x72f517], 0
je 0x605ebb
lea eax, [ebp - 0x120]
push eax
call sub.kernel32.dll_GetVersionExW
test eax, eax
je 0x605fa7
movzx eax, byte [ebp - 6]
add al, 0xfe
sub al, 2
jae 0x605eb4
movzx eax, word [ebp - 8]
test al, 0x80
je 0x605ea2
mov bl, 6
jmp 0x605fa7
test al, 2
je 0x605ead
mov bl, 3
jmp 0x605fa7
mov bl, 2
jmp 0x605fa7
mov bl, 5
jmp 0x605fa7
cmp byte [0x72f51a], 0
jne 0x605ed6
cmp byte [0x72f519], 0
jne 0x605ed6
cmp byte [0x72f51b], 0
je 0x605f3a
lea eax, [ebp - 0x120]
push eax
call sub.kernel32.dll_GetVersionExW
test eax, eax
je 0x605fa7
movzx eax, byte [ebp - 6]
mov edx, eax
add dl, 0xfe
sub dl, 2
jae 0x605f32
movzx eax, word [ebp - 8]
mov edx, eax
and dx, 0x80
cmp dx, 0x80
jne 0x605f11
mov bl, 6
jmp 0x605fa7
mov edx, eax
and dx, 2
cmp dx, 2
jne 0x605f24
mov bl, 7
jmp 0x605fa7
cmp ax, 0x400
jne 0x605f2e
mov bl, 8
jmp 0x605fa7
mov bl, 2
jmp 0x605fa7
cmp al, 1
jne 0x605fa7
mov bl, 5
jmp 0x605fa7
mov edx, 1
mov eax, 5
call fcn.00607008
test al, al
je 0x605fa7
lea eax, [ebp - 0x120]
push eax
call sub.kernel32.dll_GetVersionExW
test eax, eax
je 0x605fa7
movzx eax, byte [ebp - 6]
cmp al, 1
jne 0x605f7b
movzx eax, word [ebp - 8]
and ax, 0x200
cmp ax, 0x200
jne 0x605f77
mov bl, 4
jmp 0x605fa7
mov bl, 5
jmp 0x605fa7
add al, 0xfe
sub al, 2
jae 0x605fa7
movzx eax, word [ebp - 8]
mov edx, eax
and dx, 0x80
cmp dx, 0x80
jne 0x605f97
mov bl, 6
jmp 0x605fa7
and ax, 2
cmp ax, 2
jne 0x605fa5
mov bl, 7
jmp 0x605fa7
mov bl, 2
test bl, bl
jne 0x606006
push 0
lea eax, [ebp - 4]
push eax
mov ecx, 0x606038
mov edx, 0x60605c
mov eax, 0x80000002
call fcn.006007dc
mov edx, 0x6060c8
mov eax, dword [ebp - 4]
call fcn.0042749c
test eax, eax
jne 0x605fda
mov bl, 1
jmp 0x606006
mov edx, 0x6060e0
mov eax, dword [ebp - 4]
call fcn.0042749c
test eax, eax
jne 0x605fef
mov bl, 3
jmp 0x606006
mov edx, 0x606100
mov eax, dword [ebp - 4]
call fcn.0042749c
test eax, eax
jne 0x606004
mov bl, 2
jmp 0x606006
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x606025
lea eax, [ebp - 4]
call fcn.0040b4bc
pop eax
jmp eax
Function at 0x60679c
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
xor eax, eax
mov dword [ebp - 0x120], eax
xor eax, eax
push ebp
push 0x60685c
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
call fcn.00430c04
cmp eax, 2
jne 0x606802
call fcn.00430c18
cmp eax, 5
jl 0x606802
lea eax, [ebp - 0x11c]
mov edx, 0x11c
call fcn.00603c14
mov dword [ebp - 0x11c], 0x11c
lea eax, [ebp - 0x11c]
push eax
call sub.kernel32.dll_GetVersionExW
test eax, eax
je 0x606841
movzx ebx, word [ebp - 8]
jmp 0x606841
push 0
mov ecx, 0x606878
mov edx, 0x60689c
mov eax, 0x80000002
call fcn.006006b8
mov ebx, eax
lea ecx, [ebp - 0x120]
mov edx, 4
mov eax, ebx
call fcn.00428168
mov eax, dword [ebp - 0x120]
call fcn.004281a0
mov ecx, 0x64
cdq
idiv ecx
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x606863
lea eax, [ebp - 0x120]
call fcn.0040b4bc
pop eax
jmp eax
Function at 0x609a34
Capabilities:
Get system information on windows

Disassembly:
add esp, 0xffffffdc
mov eax, esp
mov edx, 0x24
call fcn.00603c14
push esp
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [esp + 0xc]
add esp, 0x24
ret

Function at 0x609a54
Capabilities:
Get system information on windows

Disassembly:
add esp, 0xffffffdc
mov eax, esp
mov edx, 0x24
call fcn.00603c14
push esp
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [esp + 8]
add esp, 0x24
ret

Function at 0x609d04
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov ebx, edx
mov esi, eax
mov byte [esp], 0
push esp
call sub.user32.dll_GetKeyboardState
test eax, eax
je 0x609d23
test byte [esp + esi], bl
jne 0x609d27
xor eax, eax
jmp 0x609d29
mov al, 1
add esp, 0x100
pop esi
pop ebx
ret
Function at 0x609d90
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 0x60a02c
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x28]
mov edx, 0x24
call fcn.00603c14
lea eax, [ebp - 0x28]
push eax
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [ebp - 0x14]
mov dword [0x72fd74], eax
mov eax, dword [ebp - 0xc]
mov dword [0x72fd78], eax
mov eax, dword [ebp - 0x24]
mov dword [0x72fd7c], eax
call fcn.00430c04
cmp eax, 2
sete byte [0x72f511]
push 0x60a038
call sub.kernel32.dll_GetModuleHandleW
lea edx, [ebp - 4]
call fcn.00601c44
xor eax, eax
mov dword [ebp - 0x2c], eax
cmp byte [0x72f511], 0
jne 0x609e1f
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 4]
call fcn.00602354
test al, al
je 0x609e1f
mov eax, dword [ebp - 0x4c]
mov dword [0x7c1260], eax
jmp 0x609e26
xor eax, eax
mov dword [0x7c1260], eax
call fcn.0060583c
and eax, 0x7f
cmp eax, 0x1e
ja case.0x609e37.0
jmp dword [eax*4 + 0x609e3e]
mov byte [0x72f50c], 1
jmp case.0x609e37.0
mov byte [0x72f50d], 1
jmp case.0x609e37.0
mov byte [0x72f50e], 1
jmp case.0x609e37.0
mov byte [0x72f50f], 1
jmp case.0x609e37.0
mov byte [0x72f510], 1
jmp case.0x609e37.0
mov byte [0x72f512], 1
mov byte [0x72f513], 1
jmp case.0x609e37.0
mov byte [0x72f512], 1
mov byte [0x72f514], 1
jmp case.0x609e37.0
mov byte [0x72f512], 1
mov byte [0x72f514], 1
mov byte [0x72f515], 1
jmp case.0x609e37.0
mov byte [0x72f516], 1
jmp case.0x609e37.0
mov byte [0x72f517], 1
jmp case.0x609e37.0
mov byte [0x72f518], 1
jmp case.0x609e37.0
mov byte [0x72f519], 1
jmp case.0x609e37.0
mov byte [0x72f51a], 1
jmp case.0x609e37.0
mov byte [0x72f51b], 1
jmp case.0x609e37.0
mov byte [0x72f51c], 1
jmp case.0x609e37.0
mov byte [0x72f51d], 1
jmp case.0x609e37.0
mov byte [0x72f51e], 1
jmp case.0x609e37.0
mov byte [0x72f51f], 1
jmp case.0x609e37.0
mov byte [0x72f520], 1
jmp case.0x609e37.0
mov byte [0x72f521], 1
jmp case.0x609e37.0
mov byte [0x72f522], 1
jmp case.0x609e37.0
mov byte [0x72f523], 1
jmp case.0x609e37.0
mov byte [0x72f524], 1
jmp case.0x609e37.0
mov byte [0x72f525], 1
jmp case.0x609e37.0
mov byte [0x72f526], 1
jmp case.0x609e37.0
mov byte [0x72f527], 1
jmp case.0x609e37.0
mov byte [0x72f528], 1
jmp case.0x609e37.0
mov byte [0x72f529], 1
jmp case.0x609e37.0
mov byte [0x72f52a], 1
jmp case.0x609e37.0
mov byte [0x72f52b], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x60a033
lea eax, [ebp - 4]
call fcn.0040b4bc
pop eax
jmp eax
Function at 0x60f6e8
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x60f716
mov eax, ebx
call fcn.006101a4
cmp dword [ebx + 0x40], 0
je 0x60f70f
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x60f787
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x60f779
cmp dword [ebx + 8], 0
je 0x60f738
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x60f74a
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x60f779
cmp dword [ebx + 8], 0
je 0x60f72b
cmp eax, 3
je 0x60f75d
dec eax
jne 0x60f72b
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x60f72b
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x60f72b
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x60f7a5
cmp dword [ebx + 0x14], 0xcc
je 0x60f7a5
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0060f7b0
pop ebx
ret

Function at 0x62cb20
Capabilities:
Change the wallpaper

Disassembly:
push esi
push edi
add esp, 0xffffffec
mov esi, edx
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
cmp byte [0x730b38], 0
jne 0x62cb57
cmp byte [eax + 4], 0
jne 0x62cb57
mov dword [esp], 0x14
push 3
lea eax, [esp + 4]
push eax
push 0x14
push 0x2c
call sub.user32.dll_SystemParametersInfoW
jmp 0x62cb5e
xor eax, eax
call fcn.00628df8
add esp, 0x14
pop edi
pop esi
ret

Function at 0x62fe2c
Capabilities:
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [ebx + 0x10]
call fcn.0040c338
push eax
call sub.kernel32.dll_GetFileAttributesW
pop ebx
ret

Function at 0x630068
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
add esp, 0xfffffdf4
mov esi, edx
mov ebx, eax
push 0x103
lea eax, [esp + 4]
push eax
mov eax, ebx
call fcn.0040c338
push eax
call sub.kernel32.dll_ExpandEnvironmentStringsW
mov eax, esi
mov edx, esp
mov ecx, 0x105
call fcn.0040c3ec
add esp, 0x20c
pop esi
pop ebx
ret
Function at 0x630640
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, dword [ebp + 0xc]
mov eax, ebx
xor ecx, ecx
mov edx, 0x2b4
call fcn.004087d0
mov eax, dword [ebp + 8]
push eax
push 0x2b4
push ebx
push edi
mov eax, esi
call fcn.0040c338
push eax
call sub.shell32.dll_SHGetFileInfoW
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x666cac
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x204], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x666e07
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
je 0x666dea
mov eax, ebx
test eax, eax
je 0x666ce5
sub eax, 4
mov eax, dword [eax]
jmp 0x666ce7
xor eax, eax
mov edi, eax
test ebx, ebx
je 0x666cf7
mov eax, ebx
sub eax, 0xa
movzx eax, word [eax]
jmp 0x666cfb
mov ax, 2
cmp ax, 1
jne 0x666d7c
test ebx, ebx
je 0x666d0f
mov eax, ebx
sub eax, 0xc
movzx eax, word [eax]
jmp 0x666d17
mov eax, dword [0x737eec]
movzx eax, word [eax]
push edi
push 0
push 0
movzx eax, ax
mov ecx, ebx
xor edx, edx
call fcn.00411f0c
mov edi, eax
cmp edi, 0x100
jle 0x666d3f
mov eax, edi
add eax, eax
call fcn.0040725c
mov esi, eax
jmp 0x666d45
lea esi, [ebp - 0x200]
test ebx, ebx
je 0x666d53
mov eax, ebx
sub eax, 0xc
movzx edx, word [eax]
jmp 0x666d5c
mov edx, dword [0x737eec]
movzx edx, word [edx]
mov eax, ebx
test eax, eax
je 0x666d69
sub eax, 4
mov eax, dword [eax]
jmp 0x666d6b
xor eax, eax
push eax
push esi
push edi
movzx eax, dx
mov ecx, ebx
xor edx, edx
call fcn.00411f0c
jmp 0x666db5
cmp edi, 0x100
jle 0x666d91
mov eax, edi
add eax, eax
call fcn.0040725c
mov esi, eax
jmp 0x666d97
lea esi, [ebp - 0x200]
lea edx, [ebp - 0x204]
mov eax, ebx
call fcn.00427590
mov eax, dword [ebp - 0x204]
mov ecx, edi
add ecx, ecx
mov edx, esi
call fcn.00407780
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x666dd7
inc eax
xor edx, edx
mov ecx, ebx
shl ecx, 5
shr ebx, 0x1b
or ecx, ebx
mov ebx, ecx
movzx ecx, word [esi + edx*2]
xor ebx, ecx
inc edx
dec eax
jne 0x666dc1
lea eax, [ebp - 0x200]
cmp esi, eax
je 0x666dec
mov eax, esi
call fcn.00407278
jmp 0x666dec
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x666e0e
lea eax, [ebp - 0x204]
call fcn.0040b4bc
pop eax
jmp eax

Function at 0x68a220
Capabilities:
Check os version

Disassembly:
add esp, 0xfffffeec
mov dword [esp], 0x114
push esp
call sub.kernel32.dll_GetVersionExW
cmp dword [esp + 0x10], 2
jne 0x68a245
cmp dword [esp + 4], 5
jb 0x68a245
mov al, 1
jmp 0x68a247
xor eax, eax
add esp, 0x114
ret