joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14030f160
Capabilities:
Move file

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x140516040]
xor rax, rsp
mov qword [rsp + 0x80], rax
movaps xmm0, xmmword [0x140484a40]
lea r14, [rsp + 0x40]
movaps xmmword [r14 + 0x30], xmm0
movaps xmmword [r14 + 0x20], xmm0
movaps xmmword [r14 + 0x10], xmm0
movaps xmmword [r14], xmm0
lea rdx, str.MoveUnsafe
lea r8, str....._base_files_file_util_win.cc
lea r15, [rsp + 0x20]
mov rcx, r15
mov r9d, 0x4e5
call fcn.140212f30
xor ebx, ebx
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.140205200
mov al, byte [rdi + 0x17]
test al, al
jns 0x14030e6a8
cmp qword [rdi + 8], 0x103
ja 0x14030e6bb
mov cl, byte [rsi + 0x17]
test cl, cl
jns 0x14030e6f1
cmp qword [rsi + 8], 0x103
jbe 0x14030e6f1
xor ebx, ebx
lea rcx, [rsp + 0x40]
call fcn.140205290
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
cmp rcx, qword [0x140516040]
je 0x14030e6df
call fcn.14029bbb0
int3
mov eax, ebx
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
mov rdx, rsi
test cl, cl
jns 0x14030e6fb
mov rdx, qword [rsi]
mov rcx, rdi
test al, al
jns 0x14030e705
mov rcx, qword [rdi]
mov r8d, 3
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
mov bl, 1
test eax, eax
jne 0x14030e6bb
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rcx, rdi
call fcn.140106eb0
test al, al
jne 0x14030e735
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x14030e6b9
mov rcx, rdi
mov rdx, rsi
call fcn.14030e750
test al, al
jne 0x14030e6bb
jmp 0x14030e72b
push rsi
push rdi
sub rsp, 0x28
mov rsi, rdx
mov rdi, rcx
call fcn.140215700
test al, al
jne 0x14030f181
mov rcx, rsi
call fcn.140215700
test al, al
je 0x14030f18a
xor eax, eax
add rsp, 0x28
pop rdi
pop rsi
ret
mov rcx, rdi
mov rdx, rsi
add rsp, 0x28
pop rdi
pop rsi
jmp 0x14030e620
Function at 0x1403107c0
Capabilities:
Access the windows event log
Check if file exists

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x860
mov rsi, rcx
mov rax, qword [0x140516040]
xor rax, rsp
mov qword [rsp + 0x858], rax
mov rdx, qword [0x14052b3e0]
test rdx, rdx
setne al
and al, byte [0x1405189c8]
cmp al, 1
jne 0x140310979
cmp byte [rdx + 0x17], 0
jns 0x14031080a
mov rdx, qword [rdx]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
test rax, rax
je 0x14031099b
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call fcn.140212f50
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rcx, [rsi + 0x18]
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r14, [rsp + 0x60]
mov qword [r14 + 0x10], rax
movaps xmm0, xmmword [0x140484a40]
movaps xmmword [r14], xmm0
lea rbx, [rsp + 0x80]
mov rdx, rbx
call fcn.1401ea680
lea r15, [rsp + 0x48]
mov rcx, r14
mov rdx, rbx
mov r8, r15
call fcn.1401e9560
mov eax, dword [rsi + 8]
mov bp, 1
lea ecx, [rax - 2]
cmp ecx, 2
jb 0x1403109c5
cmp eax, 1
je 0x14031089a
test eax, eax
jne 0x14031089e
mov bp, 4
jmp 0x14031089e
mov bp, 2
cmp byte [rsp + 0x77], 0
jns 0x1403108aa
mov r14, qword [rsp + 0x60]
mov qword [rsp + 0x80], r14
mov qword [rsp + 0x48], 0
mov rcx, qword [0x14052b3f0]
cmp byte [rcx + 0x17], 0
jns 0x1403108cb
mov rcx, qword [rcx]
lea rdx, [rsp + 0x48]
call sub.ADVAPI32.dll_ConvertStringSidToSidW
test eax, eax
jne 0x1403108ef
lea rcx, [rsi + 0x10]
lea rdx, str.___ERROR_GETTING_USER_SID__
mov r8d, 0x1b
call fcn.1401e8c50
mov rax, qword [rsp + 0x48]
mov r9d, dword [0x14052b3ec]
movzx r8d, word [0x14052b3e8]
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x30], 0
mov word [rsp + 0x28], 1
mov rcx, rdi
mov edx, ebp
call qword [sym.imp.ADVAPI32.dll_ReportEventA]
test eax, eax
jne 0x14031094a
lea rcx, [rsi + 0x10]
lea rdx, str.___NOT_ADDED_TO_EVENTLOG__
mov r8d, 0x1a
call fcn.1401e8c50
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14031095a
call qword [sym.imp.KERNEL32.dll_LocalFree]
cmp byte [rsp + 0x77], 0
jns 0x14031096b
mov rcx, qword [rsp + 0x60]
call fcn.14029a668
call fcn.140212f50
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov rcx, rsi
call fcn.140116bd0
mov rcx, qword [rsp + 0x858]
xor rcx, rsp
cmp rcx, qword [0x140516040]
je 0x1403109b3
call fcn.14029bbb0
int3
lea rcx, [rsi + 0x10]
lea rdx, str.___NOT_ADDED_TO_EVENTLOG__
mov r8d, 0x1a
call fcn.1401e8c50
jmp 0x140310979
add rsp, 0x860
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea r12, [rsp + 0x80]
mov r8d, 0x7d8
mov rcx, r12
mov dl, 0xaa
call fcn.1402d9b60
mov rcx, r12
call fcn.140157550
mov rcx, r12
mov rdx, r15
call fcn.1403aa7a0
movsx r8, byte [rsp + 0x5f]
test r8, r8
jns 0x140310a05
mov r8, qword [rsp + 0x50]
mov r15, qword [rsp + 0x48]
lea rcx, [rsp + 0x60]
mov rdx, r15
call fcn.1401fc800
cmp byte [rsp + 0x5f], 0
jns 0x14031089e
mov rcx, qword [rsp + 0x48]
call fcn.14029a668
jmp 0x14031089e
Function at 0x140313420
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x250
mov rax, qword [0x140516040]
xor rax, rsp
mov qword [rsp + 0x248], rax
mov sil, 1
cmp qword [0x14052b568], 0
je 0x140313470
mov rcx, qword [rsp + 0x248]
xor rcx, rsp
cmp rcx, qword [0x140516040]
je 0x140313463
call fcn.14029bbb0
int3
mov eax, esi
add rsp, 0x250
pop rbx
pop rdi
pop rsi
ret
mov rdi, qword [0x14052b570]
test rdi, rdi
jne 0x14031353d
mov ecx, 0x18
call fcn.14029a62c
mov rdi, rax
lea rbx, [rsp + 0x40]
mov r8d, 0x208
mov rcx, rbx
mov dl, 0xaa
call fcn.1402d9b60
xor ecx, ecx
mov rdx, rbx
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
movaps xmm0, xmmword [0x140484a40]
movups xmmword [rdi], xmm0
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rdi + 0x10], rax
mov rcx, rdi
mov rdx, rbx
call fcn.1401f3df0
movsx rax, byte [rdi + 0x17]
mov rcx, rdi
test rax, rax
jns 0x1403134ea
mov rax, qword [rdi + 8]
mov rcx, qword [rdi]
test rax, rax
je 0x140313521
add rax, rax
test rax, rax
je 0x140313521
lea rdx, [rax - 2]
cmp word [rcx + rax - 2], 0x5c
mov rax, rdx
jne 0x1403134f2
cmp rdx, 0xfffffffffffffffe
je 0x140313521
sar rdx, 1
inc rdx
mov rcx, rdi
mov r8, 0xffffffffffffffff
call fcn.1401f70c0
lea rdx, str.debug.log
mov r8d, 9
mov rcx, rdi
call fcn.1401fd2f0
mov qword [0x14052b570], rdi
test byte [0x1405189cc], 1
je 0x140313449
cmp byte [rdi + 0x17], 0
jns 0x140313553
mov rdi, qword [rdi]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
mov rcx, rdi
mov edx, 4
mov r8d, 3
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [0x14052b568], rax
inc rax
cmp rax, 1
ja 0x140313449
lea rdi, [rsp + 0x40]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.1402d9b60
mov word [rdi], 0
mov ecx, 0x104
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
add eax, 0xfffffefb
cmp eax, 0xfffffefc
jb 0x14031368f
mov rcx, qword [0x14052b570]
lea rdx, [rsp + 0x40]
call fcn.1400e6750
mov rcx, qword [0x14052b570]
movsx rax, byte [rcx + 0x17]
test rax, rax
js 0x140313696
test al, al
je 0x1403136a7
mov rdx, rcx
cmp word [rdx + rax*2 - 2], 0x5c
je 0x140313621
lea rdx, [0x140490864]
mov r8d, 1
call fcn.1401fd2f0
mov rcx, qword [0x14052b570]
lea rdx, str.debug.log
mov r8d, 9
call fcn.1401fd2f0
mov rcx, qword [0x14052b570]
cmp byte [rcx + 0x17], 0
jns 0x140313643
mov rcx, qword [rcx]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
mov edx, 4
mov r8d, 3
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [0x14052b568], rax
inc rax
cmp rax, 1
ja 0x140313449
mov qword [0x14052b568], 0
xor esi, esi
jmp 0x140313449
mov rax, qword [rcx + 8]
test rax, rax
je 0x1403136a7
mov rdx, qword [rcx]
jmp 0x140313600
ud2
Function at 0x14031b020
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
cmp rdx, r9
mov r10, r9
cmovb r10, rdx
xor eax, eax
test r10, r10
je 0x14031b07f
xor r11d, r11d
mov rsi, qword [r8 + r11*8]
mov rdi, qword [rcx + r11*8]
mov rbx, rdi
xor rbx, rsi
lea r14, [rbx - 1]
mov r15, rdi
sub r15, rsi
xor r15, rdi
or r15, rbx
not rbx
and r14, rbx
sar r14, 0x3f
xor r15, rdi
sar r15, 0x3f
or r15, 1
xor rax, r15
and rax, r14
xor rax, r15
inc r11
cmp r10, r11
jne 0x14031b03b
cmp rdx, r9
jb 0x14031b08e
ja 0x14031b0b2
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
xor ecx, ecx
or rcx, qword [r8 + rdx*8]
inc rdx
cmp r9, rdx
jne 0x14031b090
mov rdx, rcx
not rdx
dec rcx
and rcx, rdx
sar rcx, 0x3f
not ecx
or eax, ecx
jmp 0x14031b086
xor r8d, r8d
or r8, qword [rcx + r9*8]
inc r9
cmp rdx, r9
jne 0x14031b0b5
mov rcx, r8
not rcx
dec r8
and r8, rcx
sar r8, 0x3f
xor eax, 1
and eax, r8d
xor eax, 1
jmp 0x14031b086
Function at 0x140324730
Capabilities:
Hash data using sha512

Disassembly:
movabs rax, 0x6a09e667f3bcc908
mov qword [rcx], rax
movabs rax, 0xbb67ae8584caa73b
mov qword [rcx + 8], rax
movabs rax, 0x3c6ef372fe94f82b
mov qword [rcx + 0x10], rax
movabs rax, 0xa54ff53a5f1d36f1
mov qword [rcx + 0x18], rax
movabs rax, 0x510e527fade682d1
mov qword [rcx + 0x20], rax
movabs rax, 0x9b05688c2b3e6c1f
mov qword [rcx + 0x28], rax
movabs rax, 0x1f83d9abfb41bd6b
mov qword [rcx + 0x30], rax
movabs rax, 0x5be0cd19137e2179
mov qword [rcx + 0x38], rax
movabs rax, 0x4000000000
mov qword [rcx + 0xd0], rax
xorps xmm0, xmm0
movups xmmword [rcx + 0x40], xmm0
mov eax, 1
ret

Function at 0x14033ae70
Capabilities:
Create process on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xd0
mov rdi, rcx
mov rax, qword [0x140516040]
xor rax, rsp
mov qword [rsp + 0xc8], rax
call fcn.1401202a0
test al, al
jne 0x14033aebf
xor eax, eax
mov rcx, qword [rsp + 0xc8]
xor rcx, rsp
cmp rcx, qword [0x140516040]
je 0x14033aeb4
call fcn.14029bbb0
int3
add rsp, 0xd0
pop rbx
pop rdi
pop rsi
ret
xorps xmm0, xmm0
lea rsi, [rsp + 0x90]
movaps xmmword [rsi], xmm0
mov qword [rsi + 0x10], 0
mov rcx, rdi
mov rdx, rsi
xor r8d, r8d
call fcn.14033b590
mov ebx, eax
cmp byte [rsi + 0x17], 0
jns 0x14033aef8
mov rcx, qword [rsp + 0x90]
call fcn.14029a668
test bl, bl
je 0x14033ae98
call fcn.140138db0
mov ebx, eax
call fcn.1400fecc0
cmp ebx, 2
je 0x14033af33
cmp eax, 0x16
jge 0x14033af47
lea rax, str.http
lea rcx, [rsp + 0x38]
mov qword [rcx], rax
mov qword [rcx + 8], 4
call fcn.1403b6ea0
jmp 0x14033ae9a
mov ecx, 1
mov rdx, rdi
call fcn.14033a820
mov al, 1
jmp 0x14033ae9a
call fcn.14013a050
movabs rcx, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x70], rcx
movaps xmm0, xmmword [0x140484a40]
movaps xmmword [rsp + 0x60], xmm0
lea rcx, [0x1404a8ee8]
mov qword [rsp + 0x90], rcx
mov qword [rsp + 0x98], 0x18
lea rcx, str.registeredAppUser
lea rdx, str.registeredAppMachine
test al, al
cmovne rdx, rcx
mov qword [rsp + 0xa0], rdx
xor al, 1
movzx eax, al
lea rax, [rax + rax*2]
add rax, 0x12
mov qword [rsp + 0xa8], rax
lea rbx, [rsp + 0x48]
mov rcx, rbx
mov rdx, rdi
call fcn.14033a700
movsx rax, byte [rbx + 0x17]
test rax, rax
jns 0x14033afd7
mov rax, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x48]
mov qword [rsp + 0xb0], rbx
mov qword [rsp + 0xb8], rax
test rax, rax
js 0x14033b089
sete al
test rbx, rbx
setne cl
or cl, al
je 0x14033b089
lea rdx, [rsp + 0x80]
mov qword [rdx], rsi
mov qword [rdx + 8], 3
lea rsi, [rsp + 0x60]
mov rcx, rsi
call fcn.1401025c0
cmp byte [rsp + 0x5f], 0
jns 0x14033b032
mov rcx, qword [rsp + 0x48]
call fcn.14029a668
cmp byte [rsp + 0x77], 0
jns 0x14033b03e
mov rsi, qword [rsp + 0x60]
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], 0
lea rdx, str.open
xor ecx, ecx
mov r8, rsi
xor r9d, r9d
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov rsi, rax
cmp byte [rsp + 0x77], 0
jns 0x14033b078
mov rcx, qword [rsp + 0x60]
call fcn.14029a668
mov al, 1
cmp rsi, 0x20
jg 0x14033ae9a
jmp 0x14033af12
ud2
Function at 0x140345930
Capabilities:
Get token membership

Disassembly:
push rsi
sub rsp, 0x1c0
mov rax, qword [0x140516040]
xor rax, rsp
mov qword [rsp + 0x1b8], rax
lea r9, [rsp + 0x16c]
mov dword [r9], 0x44
xorps xmm0, xmm0
lea r8, [rsp + 0x170]
movaps xmmword [r8 + 0x30], xmm0
movaps xmmword [r8 + 0x20], xmm0
movaps xmmword [r8 + 0x10], xmm0
movaps xmmword [r8], xmm0
mov dword [r8 + 0x40], 0
mov ecx, ntohl
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CreateWellKnownSid]
test eax, eax
je 0x1403459be
lea r8, [rsp + 0x2c]
mov dword [r8], 0
lea rdx, [rsp + 0x170]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
je 0x140345a39
cmp dword [rsp + 0x2c], 0
setne al
jmp 0x140345a16
mov ecx, 2
call fcn.140212c30
test al, al
je 0x140345a14
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str.....chromeinstallerutilinstall_util.cc
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0x159
mov r9d, 2
call fcn.140313cd0
lea rcx, [rsp + 0x40]
lea rdx, str.Failed_to_create_well_known_SID
mov r8d, 0x1f
call fcn.1401e8c50
mov rcx, rsi
call fcn.140313d40
xor eax, eax
mov rcx, qword [rsp + 0x1b8]
xor rcx, rsp
cmp rcx, qword [0x140516040]
je 0x140345a30
call fcn.14029bbb0
int3
add rsp, 0x1c0
pop rsi
ret
mov ecx, 2
call fcn.140212c30
test al, al
je 0x140345a14
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str.....chromeinstallerutilinstall_util.cc
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0x15f
mov r9d, 2
call fcn.140313cd0
lea rcx, [rsp + 0x40]
lea rdx, str.Failed_to_check_token_membership_for_WinInteractiveSid
mov r8d, 0x36
jmp 0x140345a07
Function at 0x140348110
Capabilities:
Query environment variable

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x258
movaps xmmword [rsp + 0x240], xmm6
mov edi, edx
mov rsi, rcx
mov rax, qword [0x140516040]
xor rax, rsp
mov qword [rsp + 0x238], rax
movabs rbx, 0xaaaaaaaaaaaaaaaa
mov qword [rcx + 0x10], rbx
movaps xmm6, xmmword [0x140484a40]
movups xmmword [rcx], xmm6
call fcn.140213ec0
mov ecx, edi
mov rdx, rsi
call fcn.140109ce0
test al, al
je 0x140348189
movsx rax, byte [rsi + 0x17]
test rax, rax
jns 0x140348174
mov rax, qword [rsi + 8]
test rax, rax
je 0x140348189
mov rcx, rsi
call fcn.140106eb0
test al, al
jne 0x140348276
mov rcx, rsi
call fcn.140214060
mov ecx, 4
lea r14, [0x1404aa230]
mov rax, rcx
jmp 0x1403481b8
not rax
add rax, rcx
lea r14, [r14 + rdx*8]
add r14, 0x18
mov rcx, rax
test rax, rax
je 0x1403481c7
shr rax, 1
lea rdx, [rax + rax*2]
cmp dword [r14 + rdx*8], edi
jge 0x1403481b0
jmp 0x1403481a2
lea rax, str.PROGRAMFILES
cmp r14, rax
je 0x14034826e
cmp dword [r14], edi
jg 0x14034826e
lea rdi, [rsp + 0x32]
mov r8d, 0x206
mov rcx, rdi
mov dl, 0xaa
call fcn.1402d9b60
mov word [rdi - 2], 0
mov rcx, qword [r14 + 8]
lea rdi, [rsp + 0x30]
mov rdx, rdi
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
dec eax
cmp eax, 0x102
ja 0x14034826e
mov qword [rsi + 0x10], rbx
movups xmmword [rsi], xmm6
lea rbx, [rsp + 0x20]
mov qword [rbx], rdi
mov rcx, rdi
call fcn.1402bdc14
mov qword [rbx + 8], rax
mov rcx, rsi
mov rdx, rbx
call fcn.140213f20
mov rcx, rsi
call fcn.14011b2d0
test al, al
je 0x140348266
mov rcx, rsi
call fcn.140215700
test al, al
jne 0x140348266
mov rcx, rsi
call fcn.140106eb0
test al, al
jne 0x140348276
mov rcx, rsi
call fcn.140214060
mov rcx, rsi
call fcn.140213ec0
mov rcx, qword [rsp + 0x238]
xor rcx, rsp
cmp rcx, qword [0x140516040]
je 0x140348290
call fcn.14029bbb0
int3
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x240]
add rsp, 0x258
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x14034acf0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rsi
sub rsp, 0x20
lea rax, [0x14052c480]
xor ecx, ecx
mov edx, 0xedb88320
mov r9d, ecx
shr r9d, 1
mov r8d, ecx
and r8d, 1
neg r8d
and r8d, edx
xor r8d, r9d
mov r10d, r8d
shr r10d, 1
mov r9d, ecx
shl r9d, 0x1e
sar r9d, 0x1f
and r9d, edx
xor r9d, r10d
mov r10d, r9d
shr r10d, 6
mov r11d, ecx
shl r11d, 0x1d
sar r11d, 0x1f
and r11d, 0x76dc419
mov esi, ecx
shl esi, 0x1c
sar esi, 0x1f
and esi, 0xedb8832
xor esi, r11d
mov r11d, ecx
shl r11d, 0x1b
sar r11d, 0x1f
and r11d, 0x1db71064
xor r11d, esi
mov esi, ecx
shl esi, 0x1a
sar esi, 0x1f
and esi, 0x3b6e20c8
xor esi, r11d
xor esi, r10d
shl r8d, 0x1a
sar r8d, 0x1f
and r8d, 0x76dc4190
xor r8d, esi
shl r9d, 0x1a
sar r9d, 0x1f
and r9d, edx
xor r9d, r8d
mov dword [rax], r9d
inc rcx
add rax, 4
cmp rcx, 0x100
jne 0x14034ad03
mov eax, 0x100
lea rcx, [0x14052c480]
mov edx, dword [rcx + rax*4 - 0x400]
movzx r8d, dl
shr edx, 8
xor edx, dword [rcx + r8*4]
mov dword [rcx + rax*4], edx
inc rax
cmp rax, 0x800
jne 0x14034adc6
lea rax, [0x14029ad70]
mov qword [0x14052e480], rax
mov qword [0x14052c478], rax
lea rsi, [0x14029ac80]
mov qword [0x14052e488], rsi
call fcn.1403bc2d0
test eax, eax
jne 0x14034ae19
mov qword [0x14052c478], rsi
add rsp, 0x20
pop rsi
ret
Function at 0x14034fb10
Capabilities:
Terminate process

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rsi, rcx
mov rax, qword [0x140516040]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rax, qword [0x14052e670]
test rax, rax
jne 0x14034fb54
mov rdi, qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 1
call rdi
mov rax, qword [0x14052e670]
test rax, rax
je 0x14034fb41
cmp eax, 2
je 0x14034fbf2
mov eax, 1
lock xadd qword [0x14052e6a8], rax
inc rax
cmp rax, 2
jl 0x14034fb81
mov ecx, 0xffffffff
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SleepEx]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [0x14052e630], eax
mov qword [0x14052e628], rsi
mov rcx, qword [0x140518c90]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, 0xea60
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 2
call fcn.140212c30
test al, al
je 0x14034fc3f
lea rdx, str....._third_partycrashpadcrashpadclientcrashpad_client_win.cc
lea rsi, [rsp + 0x20]
mov rcx, rsi
mov r8d, ILCreateFromPathW
mov r9d, 2
call fcn.1401165d0
lea rcx, [rsp + 0x30]
lea rdx, str.crash_server_did_not_respond__self_terminating
mov r8d, 0x2e
jmp 0x14034fc32
mov ecx, 2
call fcn.140212c30
test al, al
je 0x14034fc3f
lea rdx, str....._third_partycrashpadcrashpadclientcrashpad_client_win.cc
lea rsi, [rsp + 0x20]
mov rcx, rsi
mov r8d, 0x90
mov r9d, 2
call fcn.1401165d0
lea rcx, [rsp + 0x30]
lea rdx, str.crash_server_failed_to_launch__self_terminating
mov r8d, 0x2f
call fcn.1401e8c50
mov rcx, rsi
call fcn.140116bd0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xffff7001
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
cmp rcx, qword [0x140516040]
je 0x14034fc6d
call fcn.14029bbb0
int3
xor eax, eax
add rsp, 0x158
pop rdi
pop rsi
ret
Function at 0x14039e9f0
Capabilities:
Initialize winhttp library

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x158
mov r10d, r8d
mov rsi, rcx
mov rax, qword [rsp + 0x1a0]
mov rcx, qword [0x140516040]
xor rcx, rsp
mov qword [rsp + 0x150], rcx
movabs rcx, 0xaaaaaaaaaaaaaaaa
mov qword [rsi + 0x10], rcx
movaps xmm0, xmmword [0x140484a40]
movups xmmword [rsi], xmm0
cmp qword [rax + 8], 0
je 0x14039ebb0
mov rax, qword [rax]
cmp qword [r9 + 8], 0
je 0x14039ebb7
mov r8, qword [r9]
mov rcx, qword [rdx]
mov dword [rsp + 0x20], 0x10000000
mov edx, r10d
mov r9, rax
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov rdi, rax
lea rax, str.P_f__
mov qword [rsi], rax
mov qword [rsi + 8], rdi
mov byte [rsi + 0x10], 0
test rdi, rdi
je 0x14039eb96
lea rbx, [rsp + 0x40]
mov r8d, 0x110
mov rcx, rbx
xor edx, edx
call fcn.1402d9b60
mov dword [rbx - 0xc], 0x11c
mov r14, qword [sym.imp.KERNEL32.dll_VerSetConditionMask]
xor ecx, ecx
mov edx, 2
mov r8b, 3
call r14
mov rcx, rax
mov edx, 1
mov r8b, 3
call r14
mov rcx, rax
mov edx, 0x20
mov r8b, 3
call r14
movabs rcx, 0x100000006
mov qword [rbx - 8], rcx
mov word [rbx + 0x108], 0
lea rcx, [rsp + 0x34]
mov edx, 0x23
mov r8, rax
call qword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
test eax, eax
je 0x14039eb96
lea rbx, [rsp + 0x40]
mov r8d, 0x110
mov rcx, rbx
xor edx, edx
call fcn.1402d9b60
mov dword [rbx - 0xc], 0x11c
xor ecx, ecx
mov edx, 2
mov r8b, 3
call r14
mov rcx, rax
mov edx, 1
mov r8b, 3
call r14
mov rcx, rax
mov edx, 0x20
mov r8b, 3
call r14
movabs rcx, 0x300000006
mov qword [rbx - 8], rcx
mov word [rbx + 0x108], 0
lea rcx, [rsp + 0x34]
mov edx, 0x23
mov r8, rax
call qword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
test eax, eax
jne 0x14039eb96
lea r8, [rsp + 0x34]
mov dword [r8], 0xa80
mov rcx, rdi
mov edx, 0x54
mov r9d, 4
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
cmp rcx, qword [0x140516040]
je 0x14039ebbf
call fcn.14029bbb0
int3
xor eax, eax
jmp 0x14039ea42
xor r8d, r8d
jmp 0x14039ea50
mov rax, rsi
add rsp, 0x158
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x1403a0630
Capabilities:
Prepare http request

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x140516040]
xor rax, rsp
mov qword [rsp + 0x60], rax
movzx ebp, byte [rcx + 0xd0]
movsx rax, byte [rcx + 0x10f]
test rax, rax
js 0x1403a0719
lea rcx, [rdi + 0xf8]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x40], rax
test rax, rax
sete al
test rcx, rcx
setne cl
or cl, al
je 0x1403a073a
shl ebp, 0x17
or ebp, 0x100
lea rbx, [rsp + 0x48]
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.14014d480
cmp byte [rbx + 0x17], 0
jns 0x1403a06b0
mov rbx, qword [rsp + 0x48]
mov rcx, qword [rdi + 0x28]
mov rdx, qword [rdi + 0x110]
mov dword [rsp + 0x30], ebp
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov r8, rbx
xor r9d, r9d
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
lea rcx, str.P_f__
mov qword [rsi], rcx
mov qword [rsi + 8], rax
mov byte [rsi + 0x10], 0
cmp byte [rsp + 0x5f], 0
jns 0x1403a06f6
mov rcx, qword [rsp + 0x48]
call fcn.14029a668
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
cmp rcx, qword [0x140516040]
je 0x1403a070d
call fcn.14029bbb0
int3
mov rax, rsi
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
ret
mov rcx, qword [rdi + 0xf8]
mov rax, qword [rdi + 0x100]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x40], rax
test rax, rax
jns 0x1403a0676
ud2

Function at 0x1403a0c00
Capabilities:
Receive http response

Disassembly:
push rsi
sub rsp, 0x20
cmp qword [rcx + 0x40], 0
je 0x1403a0c9c
mov rsi, rcx
mov rdx, qword [rcx + 0x160]
mov r8, qword [rcx + 0x168]
mov rax, r8
sub rax, rdx
cmp rax, 0x3fff
jbe 0x1403a0c55
cmp rax, 0x4000
je 0x1403a0c77
add rax, 0xffffffffffffc000
dec r8
cmp rax, r8
ja 0x1403a0ca9
lea r8, [rdx + 0x4000]
mov qword [rsi + 0x168], r8
jmp 0x1403a0c7c
lea rcx, [rsi + 0x160]
mov edx, 0x4000
sub rdx, rax
call fcn.1401f3ec0
mov rdx, qword [rsi + 0x160]
mov r8, qword [rsi + 0x168]
cmp rdx, r8
je 0x1403a0ca9
sub r8d, edx
mov rcx, qword [rsi + 0x40]
xor esi, esi
xor r9d, r9d
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
jne 0x1403a0ca1
add rsp, 0x20
pop rsi
jmp fcn.1403d1e60
mov esi, 0x800704c7
mov eax, esi
add rsp, 0x20
pop rsi
ret
ud2

Function at 0x1403a2ea0
Capabilities:
Get common file path

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x268
mov rsi, rdx
mov edi, ecx
mov rax, qword [0x140516040]
xor rax, rsp
mov qword [rsp + 0x260], rax
lea rbx, [rsp + 0x50]
mov r8d, 0x208
mov rcx, rbx
mov dl, 0xaa
call fcn.1402d9b60
mov word [rbx], 0
mov qword [rsp + 0x20], rbx
xor ecx, ecx
mov edx, edi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov edi, eax
test eax, eax
js 0x1403a2f2f
lea r14, [rsp + 0x28]
mov qword [r14], rbx
mov rcx, rbx
call fcn.1402bdc14
mov qword [r14 + 8], rax
lea rbx, [rsp + 0x38]
mov rcx, rbx
mov rdx, r14
call fcn.140213f20
mov rcx, rsi
mov rdx, rbx
call fcn.140119a00
mov rcx, rbx
call fcn.140214060
test edi, edi
setns al
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
cmp rcx, qword [0x140516040]
je 0x1403a2f4e
call fcn.14029bbb0
int3
add rsp, 0x268
pop rbx
pop rdi
pop rsi
pop r14
ret