joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000b9ac
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x140016950], eax
call fcn.14000b730
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_UnhandledExceptionFilter]
cmp dword [0x140016950], 0
jne case.default.0x14000ba02
mov ecx, 1
call fcn.14000b730
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TerminateProcess]
mov dh, 0xa3
adc eax, 0xa482191
sal byte [rdx + 0x1d1937fa], 1
invalid
Function at 0x140004884
Capabilities:
Delete directory

Disassembly:
push rbp
push r15
xor rax, rax
push rax
push rax
sub rsp, 0x28
call fcn.140012b50
mov r15, qword [0x140020514]
cmp r15, 1
jne 0x140004953
push qword [0x140020604]
pop rcx
call fcn.14000dd04
mov r15, rax
and r15, r15
jle 0x1400048e9
mov rcx, qword [0x140020604]
call fcn.14000dd0c
mov rcx, qword [0x140020604]
call fcn.14000dd20
or rax, rax
je 0x1400048e9
mov rbp, qword [0x14002060c]
push qword [rbp + 0x10]
pop rcx
call fcn.14000e1bc
jmp 0x1400048c6
push qword [0x1400205f4]
pop rcx
call fcn.14000dd04
mov qword [rsp + 0x28], rax
mov r15, qword [rsp + 0x28]
and r15, r15
jle 0x140004953
push 5
push 0
push 1
push qword [0x1400205f4]
pop rcx
pop rdx
pop r8
pop r9
call fcn.140009060
mov rcx, qword [0x1400205f4]
call fcn.14000dd0c
mov rcx, qword [0x1400205f4]
call fcn.14000dd20
or rax, rax
je 0x140004953
mov rbp, qword [0x1400205fc]
push qword [rbp + 0x14]
pop rcx
call sub.KERNEL32.dll_RemoveDirectoryW
jmp 0x140004930
mov rax, 1
jmp 0x14000495f
add rsp, 0x38
pop r15
pop rbp
ret

Function at 0x140006b38
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x48
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rcx
call sub.KERNEL32.dll_GetLastError
mov qword [rsp + 0x38], rax
mov rcx, qword [0x14001f190]
call sub.KERNEL32.dll_TlsGetValue
mov rcx, qword [rsp + 0x30]
mov qword [rax + 0x10], rcx
mov rcx, qword [rsp + 0x38]
call sub.KERNEL32.dll_SetLastError
mov rax, qword [rsp + 0x28]
add rsp, 0x48
ret

Function at 0x140007204
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
call fcn.140007194
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateThread]
lea rcx, [0x140021210]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140020640]
jmp 0x140007240
cmp qword [rbx + 0x18], rdi
je 0x140007247
mov rbx, qword [rbx]
test rbx, rbx
jne 0x140007237
jmp 0x140007261
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbx + 0x10]
lea rcx, [0x140020640]
call fcn.1400123b8
lea rcx, [0x140021210]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x100035ad4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0x20
mov r12d, ecx
lea rcx, [0x1001552f0]
xor edx, edx
xor ebx, ebx
call fcn.10011ba5c
lea r13d, [rbx + 1]
mov ebp, r13d
jmp 0x100035bb2
test rbx, rbx
jne 0x100035bbe
mov ecx, r12d
lea edx, [rbx + 6]
xor r9d, r9d
shr ecx, 4
add cx, r13w
movzx r8d, cx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindResourceExW]
mov rbx, rax
test rax, rax
je 0x100035ba1
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
jne 0x100035b4e
xor ebx, ebx
jmp 0x100035b9c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
test rax, rax
je 0x100035b4a
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, r12d
mov r11d, eax
add r11, rdi
and ecx, 0xf
jbe 0x100035b8b
cmp rdi, r11
jae 0x100035b4a
add ecx, 0xffffffff
movzx eax, word [rdi]
lea rdi, [rdi + rax*2 + 2]
jne 0x100035b79
cmp rdi, r11
jae 0x100035b4a
movzx eax, word [rdi]
neg ax
sbb rbx, rbx
and rbx, rdi
test rbx, rbx
jne 0x100035bd9
lea rcx, [0x1001552f0]
mov edx, ebp
call fcn.10011ba5c
add ebp, r13d
mov rsi, rax
test rax, rax
jne 0x100035b0b
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r13
pop r12
pop rdi
ret
mov rax, rsi
jmp 0x100035bc0

Function at 0x100035be4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
sub rsp, 0x20
mov eax, edx
mov esi, edx
mov r8d, 6
shr eax, 4
mov rbp, rcx
inc ax
movzx edx, ax
call qword [sym.imp.KERNEL32.dll_FindResourceW]
xor ebx, ebx
mov r12, rax
cmp rax, rbx
jne 0x100035c27
xor eax, eax
jmp 0x100035c86
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LoadResource]
cmp rax, rbx
je 0x100035c83
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
cmp rax, rbx
je 0x100035c83
mov rdx, r12
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov r11d, eax
add r11, rdi
and esi, 0xf
jbe 0x100035c72
cmp rdi, r11
jae 0x100035c83
add esi, 0xffffffff
movzx eax, word [rdi]
lea rdi, [rdi + rax*2 + 2]
jne 0x100035c60
cmp rdi, r11
jae 0x100035c83
movzx eax, word [rdi]
neg ax
sbb rbx, rbx
and rbx, rdi
mov rax, rbx
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r12
ret
Function at 0x100037b68
Capabilities:
Check for time delay via gettickcount
Query service status

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov ebp, r8d
mov rdi, rdx
mov r12, rcx
mov r10, qword [0x100153eb8]
lea r14, [0x100153eb8]
mov esi, 0x7530
lea r15, [0x10001e638]
cmp r10, r14
je 0x100037bdb
test byte [r10 + 0x1c], 1
je 0x100037bdb
cmp byte [r10 + 0x19], 5
jb 0x100037bdb
mov dword [rax - 0x38], esi
mov dword [rax - 0x40], r8d
mov r9, rcx
mov rcx, qword [r10 + 0x10]
mov edx, 0x33
mov r8, r15
mov qword [rax - 0x48], rdi
call fcn.100036714
mov r10, qword [0x100153eb8]
xor ebx, ebx
mov dword [rsp + 0x78], ebx
cmp r10, r14
je 0x100037ca8
test byte [r10 + 0x1c], 2
je 0x100037ca8
cmp byte [r10 + 0x19], 5
jb 0x100037ca8
mov rcx, qword [r10 + 0x10]
lea edx, [rbx + 0x34]
mov r8, r15
call fcn.100034784
jmp 0x100037ca1
mov ecx, dword [rdi + 0x18]
mov eax, esi
cmp ecx, esi
cmovb eax, ecx
cmp eax, 0x1f4
jae 0x100037c2c
mov esi, 0x1f4
jmp 0x100037c35
cmp ecx, 0x7530
cmovb esi, ecx
cmp r10, r14
je 0x100037c5c
test byte [r10 + 0x1c], 2
je 0x100037c5c
cmp byte [r10 + 0x19], 5
jb 0x100037c5c
mov rcx, qword [r10 + 0x10]
mov edx, 0x35
mov r9d, esi
mov r8, r15
call fcn.100036510
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_Sleep]
lea r11, [rsp + 0x78]
mov r9d, 0x24
mov r8, rdi
xor edx, edx
mov rcx, r12
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
cmp eax, ebx
je 0x100037d3e
cmp dword [rdi + 4], 1
je 0x100037d0d
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, 0x7530
sub eax, ebp
cmp eax, esi
ja 0x100037cb7
mov r10, qword [0x100153eb8]
cmp dword [rdi + 4], 1
jne 0x100037c14
jmp 0x100037d7b
mov ebx, 0x5b4
mov r10, qword [0x100153eb8]
cmp r10, r14
je 0x100037db0
test byte [r10 + 0x1c], 2
je 0x100037d7b
cmp byte [r10 + 0x19], 2
jb 0x100037d7b
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [0x100153eb8]
mov edx, 0x38
mov rcx, qword [rcx + 0x10]
mov r9d, ebp
mov r8, r15
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], eax
call fcn.100036318
jmp 0x100037d74
mov r10, qword [0x100153eb8]
cmp r10, r14
je 0x100037db0
test byte [r10 + 0x1c], 2
je 0x100037d7b
cmp byte [r10 + 0x19], 5
jb 0x100037d7b
mov rcx, qword [r10 + 0x10]
mov edx, 0x37
mov r8, r15
call fcn.100034784
jmp 0x100037d74
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov r10, qword [0x100153eb8]
cmp r10, r14
je 0x100037db0
test byte [r10 + 0x1c], 2
je 0x100037d7b
cmp byte [r10 + 0x19], 2
jb 0x100037d7b
mov rcx, qword [r10 + 0x10]
mov edx, 0x36
mov r9d, eax
mov r8, r15
call fcn.100036510
mov r10, qword [0x100153eb8]
cmp r10, r14
je 0x100037db0
test byte [r10 + 0x1c], 1
je 0x100037db0
movzx edx, byte [r10 + 0x19]
mov eax, ebx
neg eax
sbb ecx, ecx
and ecx, 0xfffffffd
add ecx, 5
cmp edx, ecx
jl 0x100037db0
mov rcx, qword [r10 + 0x10]
mov edx, 0x39
mov r9d, ebx
mov r8, r15
call fcn.100036510
lea r11, [rsp + 0x40]
mov eax, ebx
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x100037dd4
Capabilities:
Query service status
Stop service

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
push rsi
push rdi
push r12
sub rsp, 0x60
mov rdi, rdx
mov r9, rcx
mov rcx, qword [0x100153eb8]
lea rbp, [0x100153eb8]
lea r12, [0x10001e638]
cmp rcx, rbp
je 0x100037e2f
test byte [rcx + 0x1c], 1
je 0x100037e2f
cmp byte [rcx + 0x19], 5
jb 0x100037e2f
mov rcx, qword [rcx + 0x10]
mov dword [rax - 0x50], 0x7530
mov edx, 0x3a
mov r8, r12
mov qword [rax - 0x58], rdi
call fcn.1000366a8
xor ebx, ebx
lea rcx, [rsp + 0x34]
xor edx, edx
lea r8d, [rbx + 0x20]
mov dword [rsp + 0x30], ebx
call sub.msvcrt.dll_memset
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea r9d, [rbx + 0x24]
mov esi, eax
lea rax, [rsp + 0x98]
lea r8, [rsp + 0x30]
xor edx, edx
mov rcx, rdi
mov dword [rsp + 0x98], ebx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
cmp eax, ebx
jne 0x100037ec0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov r10, qword [0x100153eb8]
cmp r10, rbp
je 0x100037f80
test byte [r10 + 0x1c], 2
je 0x100037f4b
cmp byte [r10 + 0x19], 2
jb 0x100037f4b
mov rcx, qword [r10 + 0x10]
mov edx, 0x3b
mov r9d, eax
mov r8, r12
call fcn.100036510
jmp 0x100037f44
cmp dword [rsp + 0x34], 1
jne 0x100037ef8
mov r10, qword [0x100153eb8]
cmp r10, rbp
je 0x100037f80
test byte [r10 + 0x1c], 2
je 0x100037f4b
cmp byte [r10 + 0x19], 5
jb 0x100037f4b
mov rcx, qword [r10 + 0x10]
mov edx, 0x3c
mov r8, r12
call fcn.100034784
jmp 0x100037f44
cmp dword [rsp + 0x34], 3
jne 0x100037f97
mov rcx, qword [0x100153eb8]
cmp rcx, rbp
je 0x100037f2c
test byte [rcx + 0x1c], 2
je 0x100037f2c
cmp byte [rcx + 0x19], 5
jb 0x100037f2c
mov rcx, qword [rcx + 0x10]
mov edx, 0x3d
mov r8, r12
call fcn.100034784
lea rdx, [rsp + 0x30]
mov r9d, 0x7530
mov r8d, esi
mov rcx, rdi
call fcn.100037b68
mov ebx, eax
mov r10, qword [0x100153eb8]
cmp r10, rbp
je 0x100037f80
test byte [r10 + 0x1c], 1
je 0x100037f80
movzx edx, byte [r10 + 0x19]
mov eax, ebx
neg eax
sbb ecx, ecx
and ecx, 0xfffffffd
add ecx, 5
cmp edx, ecx
jl 0x100037f80
mov rcx, qword [r10 + 0x10]
mov edx, 0x3f
mov r9d, ebx
mov r8, r12
call fcn.100036510
lea r11, [rsp + 0x60]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret
mov rcx, qword [0x100153eb8]
cmp rcx, rbp
je 0x100037fc0
test byte [rcx + 0x1c], 2
je 0x100037fc0
cmp byte [rcx + 0x19], 5
jb 0x100037fc0
mov rcx, qword [rcx + 0x10]
mov edx, 0x3e
mov r8, r12
call fcn.100034784
lea r8, [rsp + 0x30]
mov edx, 1
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_ControlService]
cmp eax, ebx
jne 0x100037f2c
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x100037f42
Function at 0x10004b944
Capabilities:
Get session information
Get session user name

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov rcx, qword [0x100153eb8]
lea rsi, [0x100153eb8]
mov r15d, 1
cmp rcx, rsi
je 0x10004b98c
test byte [rcx + 0x1c], r15b
je 0x10004b98c
mov rcx, qword [rcx + 0x10]
lea r8, [0x10001e5a0]
mov edx, 0x13e
call fcn.100034784
xor r14d, r14d
lea rax, [rsp + 0x98]
lea r9, [rsp + 0xa8]
mov r8d, r15d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rax
mov ebx, r15d
mov qword [rsp + 0xa8], r14
mov dword [rsp + 0x98], r14d
call sub.WTSAPI32.dll_WTSEnumerateSessionsW
mov edi, eax
mov rcx, qword [0x100153eb8]
cmp rcx, rsi
je 0x10004ba14
test byte [rcx + 0x1c], 2
je 0x10004ba14
cmp byte [rcx + 0x19], 5
jb 0x10004ba14
mov eax, dword [rsp + 0x98]
mov rcx, qword [rcx + 0x10]
lea r8, [0x10001e5a0]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0xa8]
mov edx, 0x13f
mov r9d, edi
mov qword [rsp + 0x20], rax
call fcn.1000586c8
mov rcx, qword [0x100153eb8]
cmp edi, r14d
je 0x10004bb58
cmp dword [rsp + 0x98], r14d
jne 0x10004ba2f
mov ebx, r14d
jmp 0x10004bb3c
mov edi, r14d
mov r12d, r14d
mov ebp, r14d
mov rsi, r14
lea rbx, [0x100153eb8]
cmp ebp, dword [rsp + 0x98]
jae 0x10004bb26
mov rcx, qword [rsp + 0xa8]
mov eax, dword [rsi + rcx + 0x10]
cmp eax, r14d
je 0x10004ba72
cmp eax, 2
jle 0x10004bb16
cmp eax, 4
jg 0x10004bb16
mov qword [rsp + 0x40], r14
mov dword [rsp + 0xa0], r14d
mov edx, dword [rsi + rcx]
lea rax, [rsp + 0xa0]
lea r9, [rsp + 0x40]
mov r8d, 5
xor ecx, ecx
mov qword [rsp + 0x20], rax
call sub.WTSAPI32.dll_WTSQuerySessionInformationW
mov r13d, eax
mov rcx, qword [0x100153eb8]
cmp rcx, rbx
je 0x10004baf4
test byte [rcx + 0x1c], 2
je 0x10004baf4
cmp byte [rcx + 0x19], 5
jb 0x10004baf4
mov rax, qword [rsp + 0x40]
mov rcx, qword [rcx + 0x10]
mov edx, 0x140
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0xa8]
mov dword [rsp + 0x28], r13d
mov r8d, dword [rsi + rax]
mov r9d, ebp
mov dword [rsp + 0x20], r8d
lea r8, [0x10001e5a0]
call fcn.10003bd18
cmp r13d, r14d
je 0x10004bb13
mov rcx, qword [rsp + 0x40]
cmp rcx, r14
je 0x10004bb13
cmp r14w, word [rcx]
je 0x10004bb0c
add edi, r15d
call sub.WTSAPI32.dll_WTSFreeMemory
jmp 0x10004bb16
mov r12d, r15d
add ebp, r15d
add rsi, 0x18
cmp edi, r14d
je 0x10004ba42
mov ebx, r15d
lea rsi, [0x100153eb8]
cmp r12d, r14d
jne 0x10004bb3c
cmp edi, r14d
cmove ebx, r14d
mov rcx, qword [rsp + 0xa8]
call sub.WTSAPI32.dll_WTSFreeMemory
mov rcx, qword [0x100153eb8]
mov qword [rsp + 0xa8], r14
cmp rcx, rsi
je 0x10004bb81
test byte [rcx + 0x1c], r15b
je 0x10004bb81
cmp byte [rcx + 0x19], 5
jb 0x10004bb81
mov rcx, qword [rcx + 0x10]
lea r8, [0x10001e5a0]
mov edx, 0x141
mov r9d, ebx
call fcn.100036510
mov eax, ebx
mov rbx, qword [rsp + 0x90]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x10006a43c
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rdx, rcx
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
test eax, eax
jne 0x10006a478
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x10006a46d
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x10006a47a
test al, 0x10
jne 0x10006a478
mov eax, 0x10b
jmp 0x10006a47a
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x10006aa20
Capabilities:
Delete directory
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x290
mov rax, qword [0x100152198]
xor rax, rsp
mov qword [rsp + 0x280], rax
xor r13d, r13d
mov rbx, rcx
mov rbp, r13
mov rsi, r13
mov r12d, r13d
call fcn.100077474
cmp eax, r13d
je 0x10006ac63
call fcn.100077850
cmp eax, r13d
je 0x10006ac63
cmp rbx, r13
je 0x10006ac5c
lea edx, [r13 + 0x1c]
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
mov word [rbx], r13w
mov qword [rsp + 0x20], rbx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
cmp eax, r13d
mov edi, eax
jl 0x10006ac14
mov r14d, 0x104
lea r8, [0x1000213a0]
mov rcx, rbx
mov rdx, r14
call fcn.10006ad10
cmp eax, r13d
mov edi, eax
jl 0x10006ac14
mov rcx, rbx
call fcn.10006a43c
mov edi, eax
cmp eax, r13d
jne 0x10006ac4e
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rbx
repne scasw ax, word [rdi]
lea r8, [0x1000213b8]
mov rdx, r14
not rcx
lea rbp, [rbx + rcx*2 - 2]
mov rcx, rbx
call fcn.10006ad10
cmp eax, r13d
mov edi, eax
jl 0x10006ac14
lea r9d, [r14 + 0x20]
lea rax, [rsp + 0x30]
mov r8, rbx
lea rcx, [rsp + 0x30]
mov edi, r13d
mov rdx, r9
sub r8, rax
lea rax, [rdx + 0x7ffffeda]
cmp rax, r13
je 0x10006ab4a
movzx eax, word [r8 + rcx]
cmp ax, r13w
je 0x10006ab4a
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x10006ab26
cmp rdx, r13
jne 0x10006ab58
sub rcx, 2
mov edi, 0x8007007a
cmp edi, r13d
mov word [rcx], r13w
jl 0x10006ac19
lea r8, [0x1000213f8]
lea rcx, [rsp + 0x30]
mov rdx, r9
call fcn.10006ad10
cmp eax, r13d
mov edi, eax
jl 0x10006ac14
mov rcx, rbx
call fcn.10006a43c
mov edi, eax
cmp eax, r13d
jne 0x10006ac3b
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rbx
repne scasw ax, word [rdi]
not rcx
lea rsi, [rbx + rcx*2 - 2]
mov rcx, rbx
call fcn.10006a840
mov edi, eax
cmp eax, r13d
jne 0x10006ac29
lea r8, [0x100021410]
mov rdx, r14
mov rcx, rbx
call fcn.10006ad10
cmp eax, r13d
mov edi, eax
jl 0x10006ac14
mov rcx, rbx
call fcn.10006a43c
mov edi, eax
cmp eax, r13d
jne 0x10006ac29
mov rcx, rbx
call fcn.10006a664
mov edi, eax
cmp eax, r13d
jne 0x10006ac29
lea rcx, [rsp + 0x30]
call fcn.10006a43c
mov edi, eax
cmp eax, r13d
jne 0x10006ac29
lea rcx, [rsp + 0x30]
mov r12d, 1
call fcn.10006a488
mov edi, eax
cmp edi, r13d
je 0x10006ac54
cmp r12d, r13d
je 0x10006ac29
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
cmp rsi, r13
je 0x10006ac3b
mov rcx, rbx
mov word [rsi], r13w
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
cmp rbp, r13
je 0x10006ac4e
mov rcx, rbx
mov word [rbp], r13w
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov word [rbx], r13w
jmp 0x10006ac58
mov word [rsi], r13w
mov eax, edi
jmp 0x10006ac68
mov eax, 0x57
jmp 0x10006ac68
mov eax, 0x8000ffff
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.10011be80
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x10007268c
Capabilities:
Monitor local ipv4 address changes

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
sub rsp, 0x30
xor ebp, ebp
mov esi, ebp
mov edi, ebp
call fcn.100077474
cmp eax, ebp
je 0x100072815
call fcn.100077850
cmp eax, ebp
je 0x100072815
lea r12, [0x100155b18]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea r8d, [rbp + 0x20]
lea rcx, [0x100155af8]
xor edx, edx
mov dword [0x1001588c8], ebp
call sub.msvcrt.dll_memset
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [0x100155b10], rax
cmp rax, rbp
je 0x100072730
lea r8, [0x1000719c8]
lea rcx, [0x1001588c0]
xor r9d, r9d
mov rdx, rax
mov dword [rsp + 0x28], ebp
or dword [rsp + 0x20], 0xffffffff
call qword [sym.imp.KERNEL32.dll_RegisterWaitForSingleObject]
cmp eax, ebp
jne 0x10007273a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x100072777
lea rdx, [0x100155af8]
lea rcx, [0x1001588b8]
mov esi, 1
call sub.IPHLPAPI.DLL_NotifyAddrChange
mov ebx, eax
cmp eax, 0x3e5
jne 0x100072777
lea rcx, [0x1001588b0]
mov edi, esi
call fcn.10007194c
mov ebx, eax
cmp eax, ebp
jne 0x10007277f
mov ebx, ebp
mov dword [0x1001588e4], esi
cmp ebx, ebp
je 0x100072808
mov rcx, r12
mov dword [0x1001588c8], 1
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov r11, qword [0x1001588c0]
cmp esi, ebp
cmovne r11, rbp
mov rcx, r12
mov qword [0x1001588c0], r11
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp edi, ebp
je 0x1000727bf
lea rcx, [0x100155af8]
call sub.IPHLPAPI.DLL_CancelIPChangeNotify
mov rcx, qword [0x100155b10]
cmp rcx, rbp
je 0x1000727d1
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor edx, edx
lea rcx, [0x100155af8]
lea r8d, [rdx + 0x20]
call sub.msvcrt.dll_memset
mov rcx, qword [0x1001588b0]
cmp rcx, rbp
je 0x1000727fb
call sub.msvcrt.dll_free
mov qword [0x1001588b0], rbp
mov qword [0x1001588b8], rbp
mov dword [0x1001588e4], ebp
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, ebx
jmp 0x10007284e
mov rcx, qword [0x100153eb8]
lea rax, [0x100153eb8]
cmp rcx, rax
je 0x100072849
test byte [rcx + 0x1c], 4
je 0x100072849
cmp byte [rcx + 0x19], 2
jb 0x100072849
mov rcx, qword [rcx + 0x10]
lea r8, [0x10001e430]
mov edx, 0x88
call fcn.100034784
mov eax, 0x8000ffff
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r12
ret
Function at 0x1000788e4
Capabilities:
Parse credit card information

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov ebx, edx
mov rdi, rcx
mov rcx, qword [0x100153eb8]
lea rsi, [0x100153eb8]
cmp rcx, rsi
je 0x100078936
test byte [rcx + 0x1c], 1
je 0x100078936
cmp byte [rcx + 0x19], 5
jb 0x100078936
mov rcx, qword [rcx + 0x10]
lea r8, [0x10001e400]
mov edx, 0x1f
mov r9d, ebx
call fcn.100036510
mov rcx, qword [0x100153eb8]
cmp ebx, 0x40
je 0x100078a36
mov edx, ebx
mov rcx, rdi
call fcn.100078a6c
cmp ebx, 0x39
je 0x10007898a
cmp ebx, 0x38
je 0x10007898a
cmp ebx, 0x37
je 0x10007898a
cmp ebx, 0x36
je 0x10007898a
cmp ebx, 0x35
je 0x10007898a
cmp ebx, 0x34
je 0x10007898a
cmp ebx, 0x3a
je 0x10007898a
cmp ebx, 0x3b
je 0x10007898a
cmp ebx, 0x3c
je 0x10007898a
cmp ebx, 0x3d
je 0x10007898a
cmp ebx, 0x3e
je 0x10007898a
cmp ebx, 0x3f
je 0x10007898a
cmp ebx, 0x41
jne 0x100078997
mov edx, 0x4b
mov rcx, rdi
call fcn.100078a6c
cmp ebx, 0x4b
jne 0x100078a2f
lea edx, [rbx - 0x12]
mov rcx, rdi
call fcn.100078a6c
lea edx, [rbx - 0x13]
mov rcx, rdi
call fcn.100078a6c
lea edx, [rbx - 0x14]
mov rcx, rdi
call fcn.100078a6c
lea edx, [rbx - 0x15]
mov rcx, rdi
call fcn.100078a6c
lea edx, [rbx - 0x16]
mov rcx, rdi
call fcn.100078a6c
lea edx, [rbx - 0x17]
mov rcx, rdi
call fcn.100078a6c
lea edx, [rbx - 0x11]
mov rcx, rdi
call fcn.100078a6c
lea edx, [rbx - 0x10]
mov rcx, rdi
call fcn.100078a6c
lea edx, [rbx - 0xf]
mov rcx, rdi
call fcn.100078a6c
lea edx, [rbx - 0xe]
mov rcx, rdi
call fcn.100078a6c
lea edx, [rbx - 0xd]
mov rcx, rdi
call fcn.100078a6c
lea edx, [rbx - 0xc]
mov rcx, rdi
call fcn.100078a6c
lea edx, [rbx - 0xa]
mov rcx, rdi
call fcn.100078a6c
mov rcx, qword [0x100153eb8]
cmp rcx, rsi
je 0x100078a56
test byte [rcx + 0x1c], 1
je 0x100078a56
mov rcx, qword [rcx + 0x10]
lea r8, [0x10001e400]
mov edx, 0x20
call fcn.100034784
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x10008ad30
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
cmp qword [rcx + 0x10], 0
mov rbx, rcx
je 0x10008ad53
mov eax, 0x8000ffff
jmp 0x10008ae9e
add rcx, 0x38
call fcn.1000356cc
test eax, eax
js 0x10008ae9e
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov byte [rbx + 0x60], 1
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbx + 0x68], rax
test rax, rax
jne 0x10008ad9d
cmp byte [rbx + 0x60], al
je 0x10008ad93
lea rcx, [rbx + 0x38]
mov byte [rbx + 0x60], al
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
call fcn.10004f74c
jmp 0x10008ae9e
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov rdi, rax
test rax, rax
jne 0x10008addb
call fcn.10004f74c
mov edx, 0x2710
mov rcx, rbx
mov edi, eax
call fcn.10008b2e0
test eax, eax
jns 0x10008ae9c
test edi, edi
cmovns edi, eax
jmp 0x10008ae9c
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, rbx
call fcn.10008aeb4
mov esi, eax
test eax, eax
jns 0x10008ae0f
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, 0x2710
mov rcx, rbx
call fcn.10008b2e0
mov eax, esi
jmp 0x10008ae9e
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov rsi, rax
test rax, rax
je 0x10008adb5
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, rbx
call fcn.10008aeb4
mov edi, eax
test eax, eax
jns 0x10008ae56
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, 0x2710
mov rcx, rbx
call fcn.10008b2e0
jmp 0x10008ae9c
lea rax, [rbx + 8]
lea r8, [0x10008b3c8]
mov r9, rbx
mov qword [rsp + 0x28], rax
and dword [rsp + 0x20], 0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx], rax
test rax, rax
je 0x10008adb5
mov rcx, qword [rbx + 0x68]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x10008ae9c
call fcn.10004f74c
mov edi, eax
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret