joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48c690
Capabilities:
Get file version info

Disassembly:
push rbp
sub rsp, 0x30
mov rbp, rsp
mov qword [rbp + 0x28], rbp
mov qword [rbp + 0x40], rcx
mov rax, qword [rbp + 0x40]
mov byte [rax + 0x10], 0
mov rax, qword [rbp + 0x40]
mov rcx, qword [rax + 8]
call fcn.0040c300
mov rcx, rax
mov rdx, qword [rbp + 0x40]
add rdx, 0x20
call sub.version.dll_GetFileVersionInfoSizeW
mov rcx, qword [rbp + 0x40]
mov dword [rcx + 0x14], eax
mov rax, qword [rbp + 0x40]
cmp dword [rax + 0x14], 0
jbe 0x48c74c
nop
mov rax, qword [rbp + 0x40]
mov ecx, dword [rax + 0x14]
call fcn.00405990
mov rcx, qword [rbp + 0x40]
mov qword [rcx + 0x18], rax
mov rax, qword [rbp + 0x40]
mov rcx, qword [rax + 0x18]
mov rax, qword [rbp + 0x40]
mov edx, dword [rax + 0x14]
xor r8, r8
call fcn.00406de0
mov rax, qword [rbp + 0x40]
mov rcx, qword [rax + 8]
call fcn.0040c300
mov rcx, rax
mov rax, qword [rbp + 0x40]
mov edx, dword [rax + 0x20]
mov rax, qword [rbp + 0x40]
mov r8d, dword [rax + 0x14]
mov rax, qword [rbp + 0x40]
mov r9, qword [rax + 0x18]
call sub.version.dll_GetFileVersionInfoW
mov rcx, qword [rbp + 0x40]
test eax, eax
setne al
mov byte [rcx + 0x10], al
jmp 0x48c74c
lea rsp, [rbp + 0x30]
pop rbp
ret

Function at 0x491e00
Capabilities:
Set file attributes

Disassembly:
push rbp
push rbx
sub rsp, 0x88
mov rbp, rsp
mov qword [rbp + 0x40], rcx
mov word [rbp + 0x50], dx
mov word [rbp + 0x52], r8w
mov word [rbp + 0x4e], r9w
mov qword [rbp + 0x58], 0
nop
call fcn.004955d0
mov rbx, rax
lea rcx, [rbp + 0x58]
mov rdx, qword [rbp + 0x40]
call fcn.0040c350
mov rcx, rbx
mov rdx, qword [rbp + 0x58]
call fcn.00490d00
test al, al
je 0x491e5a
mov eax, 1
mov dword [rbp + 0x54], eax
jmp 0x491f15
mov rcx, qword [rbp + 0x40]
mov edx, 0xc0000000
mov r8d, 1
xor r9, r9
mov dword [rsp + 0x20], 3
mov dword [rsp + 0x28], 0x8000080
mov qword [rsp + 0x30], 0
call sub.kernel32.dll_CreateFileA
mov rbx, rax
cmp rbx, 0xffffffffffffffff
jne 0x491eab
call sub.kernel32.dll_GetLastError_2
mov rcx, qword [rbp + 0xc0]
mov dword [rcx], eax
xor rax, rax
mov dword [rbp + 0x54], eax
jmp 0x491f14
movzx rcx, word [rbp + 0x50]
movzx rdx, word [rbp + 0x52]
lea r8, [rbp + 0x78]
call sub.kernel32.dll_DosDateTimeToFileTime
test eax, eax
je 0x491eee
mov rax, qword [rbp + 0x78]
mov qword [rbp + 0x68], rax
lea rcx, [rbp + 0x68]
lea rdx, [rbp + 0x70]
call sub.kernel32.dll_LocalFileTimeToFileTime
test eax, eax
je 0x491eee
mov rcx, rbx
lea rdx, [rbp + 0x70]
xor r8, r8
lea r9, [rbp + 0x70]
call sub.kernel32.dll_SetFileTime
mov rcx, rbx
call sub.kernel32.dll_CloseHandle_1
mov rcx, qword [rbp + 0x40]
movzx rdx, word [rbp + 0x4e]
and dx, 0x27
movzx edx, dx
call sub.kernel32.dll_SetFileAttributesA
mov eax, 1
mov dword [rbp + 0x54], eax
nop
lea rcx, [rbp + 0x58]
call fcn.0040aa00
mov eax, dword [rbp + 0x54]
lea rsp, [rbp + 0x88]
pop rbx
pop rbp
ret
Function at 0x492f30
Capabilities:
Delete file

Disassembly:
push rbp
push rbx
sub rsp, 0xa8
mov rbp, rsp
mov qword [rbp + 0x30], rcx
mov qword [rbp + 0x38], rdx
mov dword [rbp + 0x40], r8d
mov qword [rbp + 0x50], 0
mov qword [rbp + 0x48], 0
mov qword [rbp + 0x68], 0
mov qword [rbp + 0x70], 0
mov qword [rbp + 0x78], 0
mov qword [rbp + 0x90], 0
mov qword [rbp + 0x88], 0
nop
mov byte [rbp + 0x9f], 0
mov rax, qword [rbp + 0x38]
lea rax, [rax + 0x18]
add dword [rax], 1
mov rcx, qword [rbp + 0x30]
lea rdx, [rbp + 0x78]
mov rax, qword [rbp + 0x38]
mov r8d, dword [rax + 0x18]
call fcn.00492d00
lea rcx, [rbp + 0x90]
mov rdx, qword [rbp + 0x78]
xor r8, r8
call fcn.0040bd40
mov rax, qword [rbp + 0x38]
lea rcx, [rax + 0x22]
mov rdx, qword [rbp + 0x90]
call fcn.00428a40
mov rcx, qword [rbp + 0x30]
lea rdx, [rbp + 0x70]
mov rax, qword [rbp + 0x38]
mov r8d, dword [rax + 0x14]
call fcn.00492ab0
lea rcx, [rbp + 0x90]
mov rdx, qword [rbp + 0x70]
xor r8, r8
call fcn.0040bd40
mov rax, qword [rbp + 0x38]
lea rcx, [rax + 0x122]
mov rdx, qword [rbp + 0x90]
call fcn.00428a40
mov rcx, qword [rbp + 0x30]
lea rdx, [rbp + 0x68]
mov rax, qword [rbp + 0x38]
mov r8d, dword [rax + 0x18]
call fcn.00492bf0
lea rcx, [rbp + 0x90]
mov rdx, qword [rbp + 0x68]
xor r8, r8
call fcn.0040bd40
mov rax, qword [rbp + 0x38]
lea rcx, [rax + 0x222]
mov rdx, qword [rbp + 0x90]
call fcn.00428a40
mov rax, qword [rbp + 0x30]
cmp qword [rax + 0x68], 0
je 0x493084
mov rax, qword [rbp + 0x30]
lea rbx, [rax + 0x68]
mov rcx, qword [rbx + 8]
mov rdx, qword [rbp + 0x30]
mov r8, qword [rbp + 0x38]
mov r9d, dword [rbp + 0x40]
lea rax, [rbp + 0x9f]
mov qword [rsp + 0x20], rax
call qword [rbx]
cmp byte [rbp + 0x9f], 0
jne 0x49312c
lea rcx, [rbp + 0x88]
mov rax, qword [rbp + 0x38]
lea rdx, [rax + 0x222]
mov r8d, pe_nt_image_headers64
call fcn.0040c3b0
mov rcx, qword [rbp + 0x88]
call fcn.00427bb0
lea rcx, [rbp + 0x50]
mov rax, qword [rbp + 0x38]
lea rdx, [rax + 0x222]
mov r8d, pe_nt_image_headers64
call fcn.0040c3b0
mov rax, qword [rbp + 0x50]
mov qword [rbp + 0x58], rax
lea rcx, [rbp + 0x48]
mov rax, qword [rbp + 0x38]
lea rdx, [rax + 0x122]
mov r8d, pe_nt_image_headers64
call fcn.0040c3b0
mov rax, qword [rbp + 0x48]
mov qword [rbp + 0x60], rax
lea rcx, [rbp + 0x88]
lea rdx, [rbp + 0x58]
mov r8d, 1
call fcn.004914c0
mov rcx, qword [rbp + 0x88]
call fcn.0040c300
mov rcx, rax
call sub.kernel32.dll_DeleteFileW
mov rax, qword [rbp + 0x30]
mov dword [rax + 0x3fc], 0
mov dword [rax + 0x400], 0
cmp byte [rbp + 0x9f], 0
sete al
mov byte [rbp + 0x47], al
nop
lea rcx, [rbp + 0x48]
mov edx, 2
call fcn.0040aae0
lea rcx, [rbp + 0x68]
mov edx, 3
call fcn.0040aae0
lea rcx, [rbp + 0x88]
call fcn.0040aa00
lea rcx, [rbp + 0x90]
call fcn.0040aa50
movzx rax, byte [rbp + 0x47]
lea rsp, [rbp + 0xa8]
pop rbx
pop rbp
ret
Function at 0x496d20
Capabilities:
Check for time delay via gettickcount

Disassembly:
push r13
push rdi
push rsi
push rbx
sub rsp, 0x28
mov rbx, rcx
mov esi, edx
mov rax, qword [0x00540318]
cmp dword [rax], 2
je 0x496d48
lea rcx, [rbx + 8]
call sub.kernel32.dll_EnterCriticalSection_1
mov dil, 1
jmp 0x496d97
cmp esi, 0xffffffff
jne 0x496d5b
lea rcx, [rbx + 8]
call sub.kernel32.dll_EnterCriticalSection_1
mov dil, 1
jmp 0x496d97
call sub.kernel32.dll_GetTickCount_1
mov r13d, eax
lea rcx, [rbx + 8]
call sub.kernel32.dll_TryEnterCriticalSection
test eax, eax
setne dil
test dil, dil
jne 0x496d96
call sub.kernel32.dll_GetCurrentProcess
mov rcx, rax
mov edx, 0xa
call sub.kernel32.dll_WaitForSingleObject
call sub.kernel32.dll_GetTickCount_1
sub eax, r13d
cmp eax, esi
jbe 0x496d63
nop
mov eax, edi
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r13
ret
Function at 0x498a00
Capabilities:
Get geographical location

Disassembly:
push rbp
sub rsp, 0x60
mov rbp, rsp
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], 0
mov qword [rbp + 0x38], 0
mov qword [rbp + 0x58], 0
nop
lea rcx, [rbp + 0x58]
lea rdx, [0x00498b8c]
call fcn.0040b0d0
mov ecx, 0x400
mov edx, 0x59
lea r8, [rbp + 0x44]
mov r9d, 0xa
call sub.kernel32.dll_GetLocaleInfoW_1
cmp eax, 3
sete al
test al, al
je 0x498a80
mov ecx, 0x400
mov edx, 0x5a
lea r8, [rbp + 0x4e]
mov r9d, 0xa
call sub.kernel32.dll_GetLocaleInfoW_1
cmp eax, 3
je 0x498a85
xor rax, rax
jmp 0x498a87
mov al, 1
test al, al
je 0x498aa5
lea rcx, [rbp + 0x58]
lea rdx, [rbp + 0x44]
call fcn.0040c380
mov rcx, qword [rbp + 0x28]
lea rdx, [rbp + 0x4e]
call fcn.0040c380
lea rcx, [rbp + 0x38]
mov rdx, qword [rbp + 0x58]
call fcn.00425d60
mov rcx, qword [rbp + 0x38]
lea rdx, [0x00498ba0]
call fcn.0040c920
test eax, eax
jne 0x498aff
lea rcx, [rbp + 0x30]
mov rax, qword [rbp + 0x28]
mov rdx, qword [rax]
call fcn.00425d60
mov rcx, qword [rbp + 0x30]
lea rdx, [0x00498bb4]
call fcn.0040c920
test eax, eax
jne 0x498aff
mov rcx, qword [rbp + 0x20]
mov rdx, qword [0x00532b48]
xor r8, r8
call fcn.0040bd40
jmp 0x498b0f
mov rcx, qword [rbp + 0x20]
mov rdx, qword [rbp + 0x58]
xor r8, r8
call fcn.0040bd40
nop
lea rcx, [rbp + 0x30]
mov edx, 2
call fcn.0040aae0
lea rcx, [rbp + 0x58]
call fcn.0040aa00
mov rax, qword [rbp + 0x20]
lea rsp, [rbp + 0x60]
pop rbp
ret

Function at 0x49e680
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
xor rbx, rbx
mov ecx, 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x49e69b
or ebx, 4
mov ecx, 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x49e6ae
or ebx, 8
mov ecx, 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x49e6c1
or ebx, 0x20
mov ecx, 0x5b
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x49e6d4
or ebx, 0x40
mov ecx, 0x5c
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x49e6e7
or ebx, 0x40
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x4a5930
Capabilities:
Capture screenshot

Disassembly:
push rbp
sub rsp, 0xe0
mov rbp, rsp
mov qword [rbp + 0x58], rbp
mov qword [rbp + 0xf0], rcx
mov qword [rbp + 0xf8], rdx
nop
mov rax, qword [rbp + 0xf0]
mov rcx, qword [rax + 0x61b]
lea rdx, [rbp + 0x60]
call sub.user32.dll_GetClientRect
mov qword [rbp + 0xc8], 0
mov qword [rbp + 0xd8], 0
mov qword [rbp + 0xd0], 0
mov rax, qword [rbp + 0xf8]
mov qword [rbp + 0xb8], rax
cmp qword [rbp + 0xb8], 0
jne 0x4a59be
mov rax, qword [rbp + 0xf0]
mov rcx, qword [rax + 0x61b]
lea rdx, [rbp + 0x70]
call sub.user32.dll_BeginPaint
mov qword [rbp + 0xb8], rax
jmp 0x4a59dd
mov rcx, qword [rbp + 0xf8]
call sub.user32.dll_WindowFromDC
test rax, rax
jne 0x4a59dd
mov rax, qword [rbp + 0xf8]
mov qword [rbp + 0xd0], rax
cmp qword [rbp + 0xd0], 0
jne 0x4a5a5b
mov rax, qword [rbp + 0xf0]
cmp qword [rax + 0x189], 0
jne 0x4a5a5b
xor rcx, rcx
call sub.user32.dll_GetDC
mov qword [rbp + 0xc0], rax
mov rcx, qword [rbp + 0xc0]
mov edx, dword [rbp + 0x68]
mov r8d, dword [rbp + 0x6c]
call sub.gdi32.dll_CreateCompatibleBitmap
mov qword [rbp + 0xd8], rax
xor rcx, rcx
mov rdx, qword [rbp + 0xc0]
call sub.user32.dll_ReleaseDC
xor rcx, rcx
call sub.gdi32.dll_CreateCompatibleDC
mov qword [rbp + 0xd0], rax
mov rcx, qword [rbp + 0xd0]
mov rdx, qword [rbp + 0xd8]
call sub.gdi32.dll_SelectObject
mov qword [rbp + 0xc8], rax
jmp 0x4a5a81
mov rax, qword [rbp + 0xf0]
cmp qword [rax + 0x189], 0
je 0x4a5a81
mov rax, qword [rbp + 0xf0]
mov rax, qword [rax + 0x189]
mov qword [rbp + 0xd0], rax
nop
mov rax, qword [rbp + 0xf0]
mov rcx, qword [rbp + 0xd0]
mov qword [rax + 0x189], rcx
mov rcx, qword [rbp + 0xf0]
mov edx, 0x14
mov r8, qword [rbp + 0xd0]
mov r9, qword [rbp + 0xd0]
call fcn.004a9610
cmp qword [0x0054a978], 0
je 0x4a5ad5
mov rcx, qword [rbp + 0xd0]
mov rdx, qword [rbp + 0xf0]
call qword [0x0054a978]
mov rcx, qword [rbp + 0xf0]
mov edx, 0xf
mov r8, qword [rbp + 0xd0]
xor r9, r9
call fcn.004a9610
mov rax, qword [rbp + 0xf0]
cmp qword [rax + 0x677], 0
je 0x4a5b18
mov rax, qword [rbp + 0xf0]
mov rcx, qword [rax + 0x677]
xor rdx, rdx
call fcn.0049f680
mov rcx, qword [rbp + 0xb8]
xor rdx, rdx
call sub.gdi32.dll_SelectClipRgn
mov rax, qword [rbp + 0xb8]
cmp rax, qword [rbp + 0xd0]
je 0x4a5b78
mov rcx, qword [rbp + 0xb8]
xor rdx, rdx
xor r8, r8
mov r9d, dword [rbp + 0x68]
mov eax, dword [rbp + 0x6c]
mov dword [rsp + 0x20], eax
mov rax, qword [rbp + 0xd0]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x40], 0xcc0020
call sub.gdi32.dll_BitBlt
cmp qword [rbp + 0xf8], 0
jne 0x4a5b99
mov rax, qword [rbp + 0xf0]
mov rcx, qword [rax + 0x61b]
lea rdx, [rbp + 0x70]
call sub.user32.dll_EndPaint
nop
cmp qword [rbp + 0xd8], 0
je 0x4a5be3
mov rcx, qword [rbp + 0xd0]
mov rdx, qword [rbp + 0xc8]
call sub.gdi32.dll_SelectObject
mov rcx, qword [rbp + 0xd0]
call sub.gdi32.dll_DeleteDC
mov rcx, qword [rbp + 0xd8]
call sub.gdi32.dll_DeleteObject
mov rax, qword [rbp + 0xf0]
mov qword [rax + 0x189], 0
jmp 0x4a5c0f
mov rax, qword [rbp + 0xd0]
cmp rax, qword [rbp + 0xf8]
jne 0x4a5c0f
mov rax, qword [rbp + 0xf0]
mov qword [rax + 0x189], 0
jmp 0x4a5c0f
lea rsp, [rbp + 0xe0]
pop rbp
ret
Function at 0x4a6be0
Capabilities:
Get graphical window text

Disassembly:
push r13
push rdi
push rsi
push rbx
sub rsp, 0x28
mov rbx, rcx
mov rsi, rdx
cmp qword [rbx + 0x61b], 0
je 0x4a6c58
cmp byte [rbx + 0x661], 0
jne 0x4a6c58
mov rcx, qword [rbx + 0x61b]
call sub.user32.dll_GetWindowTextLengthW
test eax, eax
jne 0x4a6c17
xor rdi, rdi
jmp 0x4a6c3e
mov r13d, eax
add r13d, 1
add r13d, r13d
movsxd rcx, r13d
call fcn.00405990
mov rdi, rax
mov rcx, qword [rbx + 0x61b]
mov rdx, rdi
mov r8d, r13d
call sub.user32.dll_GetWindowTextW
mov rcx, rsi
mov rdx, rdi
call fcn.0040c380
test rdi, rdi
je 0x4a6c67
mov rcx, rdi
call fcn.004059c0
jmp 0x4a6c67
mov rcx, rsi
mov rdx, qword [rbx + 0x649]
call fcn.0040c380
mov rax, rsi
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r13
ret
Function at 0x4adab0
Capabilities:
Check os version

Disassembly:
sub rsp, 0x148
mov dword [rsp + 0x24], 0x11c
lea rcx, [rsp + 0x24]
call sub.kernel32.dll_GetVersionExW
cmp dword [rsp + 0x34], 2
jne 0x4adaf1
mov al, 4
cmp dword [rsp + 0x28], 6
jne 0x4adadd
mov al, 7
jmp 0x4adb2d
cmp dword [rsp + 0x28], 5
jb 0x4adb2d
mov al, 5
cmp dword [rsp + 0x2c], 1
jb 0x4adb2d
mov al, 6
jmp 0x4adb2d
cmp dword [rsp + 0x34], 1
jne 0x4adb2a
mov al, 1
cmp dword [rsp + 0x28], 4
ja 0x4adb0f
cmp dword [rsp + 0x28], 4
jne 0x4adb11
cmp dword [rsp + 0x2c], 0xa
jb 0x4adb11
mov al, 2
cmp dword [rsp + 0x28], 4
ja 0x4adb26
cmp dword [rsp + 0x28], 4
jne 0x4adb2d
cmp dword [rsp + 0x2c], 0x5a
jb 0x4adb2d
mov al, 3
jmp 0x4adb2d
xor rax, rax
add rsp, 0x148
ret
Function at 0x4bdc70
Capabilities:
Create process on windows

Disassembly:
push rbp
push rsi
push rbx
sub rsp, 0x50
mov rbp, rsp
mov qword [rbp + 0x40], rcx
mov qword [rbp + 0x38], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x88], r9
mov rcx, qword [rbp + 0x88]
call fcn.0040ab90
nop
mov rcx, qword [rbp + 0x40]
call fcn.0040c300
mov rbx, rax
mov rcx, qword [rbp + 0x38]
call fcn.0040c300
mov rsi, rax
mov rcx, qword [rbp + 0x88]
call fcn.0040c300
mov rcx, qword [rbp + 0x30]
lea rdx, [0x004bdd34]
mov r8, rbx
mov r9, rsi
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], 5
call sub.shell32.dll_ShellExecuteW
cmp eax, 0x20
seta al
mov byte [rbp + 0x4f], al
nop
lea rcx, [rbp + 0x88]
call fcn.0040aa00
movzx rax, byte [rbp + 0x4f]
lea rsp, [rbp + 0x50]
pop rbx
pop rsi
pop rbp
ret

Function at 0x4bdee0
Capabilities:
Parse url

Disassembly:
push rbp
sub rsp, 0xa0
mov rbp, rsp
mov qword [rbp + 0x28], rbp
mov qword [rbp + 0xb0], rcx
mov rcx, qword [rbp + 0xb0]
call fcn.0040ab90
nop
lea rcx, [rbp + 0x38]
mov edx, 0x68
xor r8, r8
call fcn.00406de0
lea rcx, [rbp + 0x38]
call fcn.004bf2c0
nop
mov dword [rbp + 0x38], 0x68
mov rcx, qword [rbp + 0xb0]
call fcn.0040c300
mov rcx, rax
xor rdx, rdx
xor r8, r8
lea r9, [rbp + 0x38]
call sub.wininet.dll_InternetCrackUrlW
mov eax, dword [rbp + 0x4c]
mov dword [rbp + 0x34], eax
nop
lea rcx, [rbp + 0x38]
call fcn.004bf430
nop
lea rcx, [rbp + 0xb0]
call fcn.0040aa00
mov eax, dword [rbp + 0x34]
lea rsp, [rbp + 0xa0]
pop rbp
ret

Function at 0x4bfb70
Capabilities:
Enumerate gui resources

Disassembly:
sub rsp, 0x28
lea rax, [0x004bf910]
movsxd rdx, ecx
mov rcx, rax
call sub.user32.dll_EnumWindows
add rsp, 0x28
ret

Function at 0x4c0090
Capabilities:
Enumerate gui resources

Disassembly:
sub rsp, 0x28
lea rax, [0x004bfe50]
movsxd rdx, ecx
mov rcx, rax
call sub.user32.dll_EnumWindows
add rsp, 0x28
ret

Function at 0x4c04f0
Capabilities:
Initialize iwebbrowser2

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rdx
mov rcx, rbx
call fcn.0040fcb0
lea rcx, [0x005375a0]
xor rdx, rdx
mov r8d, 5
lea r9, [0x004c052c]
mov qword [rsp + 0x20], rax
call sub.ole32.dll_CoCreateInstance
mov rax, rbx
add rsp, 0x30
pop rbx
ret
Function at 0x4c09e0
Capabilities:
Get token privileges

Disassembly:
push rbp
push rbx
sub rsp, 0xa8
mov rbp, rsp
mov qword [rbp + 0x40], 0
mov qword [rbp + 0x48], rbp
mov qword [rbp + 0xc0], rcx
nop
mov rax, qword [rbp + 0xc0]
mov rax, qword [rax + 0x20]
mov rcx, rax
mov rbx, qword [rax]
call qword [rbx + 0x10]
call sub.kernel32.dll_GetCurrentProcess
mov rcx, rax
mov edx, 8
lea r8, [rbp + 0x88]
call sub.advapi32.dll_OpenProcessToken
test eax, eax
je 0x4c0c4a
nop
mov rcx, qword [rbp + 0x88]
mov edx, 1
xor r8, r8
xor r9, r9
lea rax, [rbp + 0x7c]
mov qword [rsp + 0x20], rax
call sub.advapi32.dll_GetTokenInformation
mov ecx, dword [rbp + 0x7c]
call fcn.00405960
mov rcx, qword [rbp + 0xc0]
mov qword [rcx + 0x18], rax
mov rcx, qword [rbp + 0x88]
mov edx, 1
mov rax, qword [rbp + 0xc0]
mov r8, qword [rax + 0x18]
mov r9d, dword [rbp + 0x7c]
lea rax, [rbp + 0x7c]
mov qword [rsp + 0x20], rax
call sub.advapi32.dll_GetTokenInformation
test eax, eax
jne 0x4c0abc
nop
mov rax, qword [rbp + 0xc0]
mov rcx, qword [rax + 0x18]
call fcn.004059c0
nop
mov rax, qword [rbp + 0xc0]
mov qword [rax + 0x18], 0
jmp 0x4c0ac8
mov rcx, qword [rbp + 0xc0]
call fcn.004c0900
mov rcx, qword [rbp + 0x88]
mov edx, 3
xor r8, r8
xor r9, r9
lea rax, [rbp + 0x7c]
mov qword [rsp + 0x20], rax
call sub.advapi32.dll_GetTokenInformation
mov ecx, dword [rbp + 0x7c]
call fcn.00405960
mov qword [rbp + 0x90], rax
nop
mov rcx, qword [rbp + 0x88]
mov edx, 3
mov r8, qword [rbp + 0x90]
mov r9d, dword [rbp + 0x7c]
lea rax, [rbp + 0x7c]
mov qword [rsp + 0x20], rax
call sub.advapi32.dll_GetTokenInformation
test eax, eax
je 0x4c0c30
mov rax, qword [rbp + 0x90]
cmp dword [rax], 0
jbe 0x4c0c30
xor rax, rax
mov rcx, qword [rbp + 0x90]
mov ecx, dword [rcx]
sub ecx, 1
mov dword [rbp + 0x3c], ecx
mov dword [rbp + 0x78], eax
mov eax, dword [rbp + 0x3c]
cmp dword [rbp + 0x78], eax
ja 0x4c0c2f
mov eax, dword [rbp + 0x3c]
add eax, 1
mov dword [rbp + 0x3c], eax
mov rax, qword [rbp + 0x90]
mov ecx, dword [rbp + 0x78]
lea rcx, [rcx + rcx*2]
mov rax, qword [rax + rcx*4 + 4]
mov qword [rbp + 0x80], rax
mov dword [rbp + 0x7c], 0
xor rcx, rcx
lea rdx, [rbp + 0x80]
xor r8, r8
lea r9, [rbp + 0x7c]
call sub.advapi32.dll_LookupPrivilegeNameW
mov ecx, dword [rbp + 0x7c]
add ecx, 1
add ecx, ecx
mov ecx, ecx
call fcn.00405960
mov qword [rbp + 0x98], rax
nop
xor rcx, rcx
lea rdx, [rbp + 0x80]
mov r8, qword [rbp + 0x98]
lea r9, [rbp + 0x7c]
call sub.advapi32.dll_LookupPrivilegeNameW
test eax, eax
je 0x4c0c12
mov rax, qword [rbp + 0xc0]
mov rax, qword [rax + 0x20]
mov qword [rbp + 0x68], rax
lea rcx, [rbp + 0x40]
mov rdx, qword [rbp + 0x98]
call fcn.0040c380
mov rcx, qword [0x004c0560]
mov dl, 1
mov r8, qword [rbp + 0x40]
call fcn.004c0820
mov qword [rbp + 0x60], rax
mov rcx, qword [rbp + 0x68]
mov rdx, qword [rbp + 0x60]
call fcn.004592c0
mov dword [rbp + 0x5c], eax
nop
mov rcx, qword [rbp + 0x98]
call fcn.004059c0
add dword [rbp + 0x78], 1
mov eax, dword [rbp + 0x3c]
cmp dword [rbp + 0x78], eax
jne 0x4c0b61
nop
nop
mov rcx, qword [rbp + 0x90]
call fcn.004059c0
nop
mov rcx, qword [rbp + 0x88]
call sub.kernel32.dll_CloseHandle_1
nop
lea rcx, [rbp + 0x40]
call fcn.0040aa00
lea rsp, [rbp + 0xa8]
pop rbx
pop rbp
ret
Function at 0x4e5db0
Capabilities:
Get graphical window text

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rsi, r8
mov rax, qword [rbx + 0x38]
mov rcx, qword [rax + 0x980]
call fcn.0040dcd0
test rax, rax
jl 0x4e5e95
cmp word [rsi], 0xd
jne 0x4e5e76
mov rax, qword [rbx + 0x30]
cmp byte [rax + 0x70b], 0
je 0x4e5e56
mov rcx, qword [rbx + 0x30]
call fcn.004a9370
mov edi, eax
mov rcx, qword [rbx + 0x30]
call fcn.004a8fe0
sub eax, 1
cmp edi, eax
jne 0x4e5e21
mov rcx, rbx
call fcn.004f7810
mov rcx, qword [rbx + 0x30]
xor rdx, rdx
call fcn.004a96a0
jmp 0x4e5ea6
mov rcx, qword [rbx + 0x30]
call fcn.004a9370
mov edi, eax
mov rcx, qword [rbx + 0x30]
call fcn.004a8fe0
sub eax, 2
cmp edi, eax
jne 0x4e5e4a
mov rcx, qword [rbx + 0x30]
xor rdx, rdx
call fcn.004a96a0
jmp 0x4e5ea6
mov rcx, qword [rbx + 0x30]
xor rdx, rdx
call fcn.004a96a0
mov rax, qword [rbx + 0x38]
mov rcx, qword [rax + 0x61b]
mov edx, 0x464
mov r8d, 0xd
xor r9, r9
call sub.user32.dll_SendMessageW
cmp word [rsi], 0x1b
jne 0x4e5e95
mov rax, qword [rbx + 0x30]
cmp byte [rax + 0x70b], 0
je 0x4e5e95
mov rcx, qword [rbx + 0x30]
xor rdx, rdx
call fcn.004a96a0
cmp word [rsi], 0x21
jae 0x4e5ea6
mov rax, qword [rbx + 0x30]
mov dword [rax + 0x5a], 3
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
Function at 0x505da0
Capabilities:
Parse url

Disassembly:
push rbp
sub rsp, 0xa0
mov rbp, rsp
mov qword [rbp + 0x28], rbp
mov qword [rbp + 0xb0], rcx
mov qword [rbp + 0xb8], rdx
mov qword [rbp + 0xc0], r8
mov qword [rbp + 0xc8], r9
mov rcx, qword [rbp + 0xb0]
call fcn.0040ab90
nop
lea rcx, [rbp + 0x38]
mov edx, 0x68
xor r8, r8
call fcn.00406de0
mov rcx, rbp
call fcn.00505bd0
nop
mov dword [rbp + 0x38], 0x68
mov rcx, qword [rbp + 0xb0]
call fcn.0040c300
mov rcx, rax
xor rdx, rdx
xor r8, r8
lea r9, [rbp + 0x38]
call sub.wininet.dll_InternetCrackUrlW
test eax, eax
setne al
mov byte [rbp + 0x37], al
mov rcx, qword [rbp + 0xb8]
mov rdx, qword [rbp + 0x50]
call fcn.0040c380
mov rcx, qword [rbp + 0xc0]
mov rdx, qword [rbp + 0x80]
call fcn.0040c380
mov rcx, qword [rbp + 0xc8]
mov rdx, qword [rbp + 0x90]
call fcn.0040c380
nop
mov rcx, rbp
call fcn.00505d00
nop
lea rcx, [rbp + 0xb0]
call fcn.0040aa00
movzx rax, byte [rbp + 0x37]
lea rsp, [rbp + 0xa0]
pop rbp
ret

Function at 0x508a70
Capabilities:
Hash data with md5

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, rbx
mov edx, 0x58
xor r8, r8
call fcn.00406de0
mov dword [rbx], 0x67452301
mov dword [rbx + 4], 0xefcdab89
mov dword [rbx + 8], 0x98badcfe
mov dword [rbx + 0xc], 0x10325476
add rsp, 0x20
pop rbx
ret
Function at 0x10000e094
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x30
lea rax, [rsp + 0x58]
lea rdx, [0x100076470]
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov ebx, 0x3200000
mov qword [rsp + 0x20], rax
call qword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegOpenKeyExW]
test eax, eax
jne 0x10000e116
and dword [rsp + 0x40], eax
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
lea r9, [rsp + 0x50]
lea rdx, str.MaxRpcSize
xor r8d, r8d
mov dword [rsp + 0x48], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x58]
test eax, eax
cmove ebx, dword [rsp + 0x40]
call qword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegCloseKey]
mov eax, ebx
add rsp, 0x30
pop rbx
ret