joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180017c00
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x180056040]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rdi, rdx
mov rbp, rcx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x28], rdx
xor r15d, r15d
mov rcx, rdx
cmp qword [rdx + 0x18], 0xf
jbe 0x180017c3f
mov rcx, qword [rdx]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
mov r14d, eax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r15
test eax, eax
je 0x180017cbc
cmp r14, 0x1000
jb 0x180017c94
lea rcx, [r14 + 0x27]
cmp rcx, r14
jbe 0x180017dc2
call fcn.1800279a8
mov rcx, rax
test rax, rax
je 0x180017d38
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x180017c9c
mov rcx, r14
call fcn.1800279a8
mov qword [rsp + 0x30], rax
lea rbx, [rax + r14]
mov qword [rsp + 0x40], rbx
mov r8, r14
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov qword [rsp + 0x38], rbx
mov rcx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x180017cc9
mov rcx, qword [rdi]
mov r8d, r14d
mov rdx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
mov qword [rbp + 0x10], r15
mov qword [rbp + 0x18], r15
mov rdx, qword [rsp + 0x30]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x180017cf2
mov rcx, rbp
call fcn.180005f50
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x180017d52
mov rdx, qword [rsp + 0x40]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180017d3f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180017d3f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180027d5c
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r15
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x180017d88
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x180017d83
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180017dbb
mov rcx, r8
call fcn.180027d5c
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov rax, rbp
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.180027920
mov rbx, qword [rsp + 0x90]
add rsp, 0x50
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.180001fe0
nop
int3

Function at 0x18001a0d0
Capabilities:
Initialize winhttp library

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
mov dword [rsp + 0x20], 0
lea rcx, str.A_WinHTTP_Example_Program_1.0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
test rax, rax
mov qword [rbx + 0x30], rax
setne al
add rsp, 0x30
pop rbx
ret
Function at 0x180026f84
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x180026fbe
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x180026fc3
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x18002700c
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x18002c700]
cmp byte [rcx + rax], 0
je 0x18002700c
dec r8
sub rdx, 1
jne 0x180026ff2
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x140004000
Capabilities:
Encode data using xor

Disassembly:
push rsp
xor rdi, rdi
pop r9
movabs r15, 0x7033a266f12e3737
mov di, 0x56f
fldz
and r9w, 0xf410
fxsave64 [r9]
mov rcx, qword [r9 + 8]
dec rdi
xor qword [rcx + rdi*8 + 0x1d], r15
test rdi, rdi
jne 0x140004024
jg 0x140004039
out 0xb8, eax
fisub dword [rsi + 0x36ebf860]
mov ebp, 0xe9f6ffcd
movsd dword [rdi], dword [rsi]
push rcx
mov es, word [rsi - 0xc]
cmp esp, eax
mov dl, 0x97
out 0xc7, eax
dec al
movsd dword [rdi], dword [rsi]
jnp 0x140004044
jmp 0x140004071
hlt
invalid
invalid

Function at 0x1405d6058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1405d61df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1405d6089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1405d606f
add dl, dl
jne 0x1405d6096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1405d60f6
xor eax, eax
add dl, dl
jne 0x1405d60a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1405d61ad
add dl, dl
jne 0x1405d60b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1405d60c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1405d60d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1405d60dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1405d60ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1405d607e
mov eax, 1
add dl, dl
jne 0x1405d6106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1405d6113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1405d60fb
sub eax, ebx
mov ebx, 1
jne 0x1405d614c
mov ecx, 1
add dl, dl
jne 0x1405d612e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1405d613b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1405d6123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1405d607e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1405d6168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1405d6175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1405d615d
cmp eax, 0x7d00
jae 0x1405d619b
cmp eax, 0x500
jb 0x1405d6196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1405d607e
cmp eax, 0x7f
ja 0x1405d619e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1405d607e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1405d61d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x1405d607e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140007800
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x410
mov rax, qword [0x14029f7a8]
xor rax, rsp
mov qword [rsp + 0x400], rax
mov r10, rcx
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], 0
jne 0x140007825
xor r9d, r9d
lea rbx, [rsp]
mov r11d, r9d
nop dword [rax + rax]
mov ecx, r11d
lea rbx, [rbx + 4]
mov edx, r11d
shr edx, 1
mov r8d, edx
xor r8d, 0xedb88320
and cl, 1
cmove r8d, edx
mov ecx, r8d
shr ecx, 1
mov edx, ecx
xor edx, 0xedb88320
and r8b, 1
cmove edx, ecx
mov ecx, edx
shr ecx, 1
mov r8d, ecx
xor r8d, 0xedb88320
and dl, 1
cmove r8d, ecx
mov ecx, r8d
shr ecx, 1
mov edx, ecx
xor edx, 0xedb88320
and r8b, 1
cmove edx, ecx
mov ecx, edx
shr ecx, 1
mov r8d, ecx
xor r8d, 0xedb88320
and dl, 1
cmove r8d, ecx
mov ecx, r8d
shr ecx, 1
mov edx, ecx
xor edx, 0xedb88320
and r8b, 1
cmove edx, ecx
mov ecx, edx
shr ecx, 1
mov r8d, ecx
xor r8d, 0xedb88320
and dl, 1
cmove r8d, ecx
mov edx, r8d
shr edx, 1
mov ecx, edx
xor ecx, 0xedb88320
and r8b, 1
cmove ecx, edx
inc r11d
mov dword [rbx - 4], ecx
cmp r11d, 0xff
jle 0x140007840
test ax, ax
je 0x140007934
mov r8d, 0xffff
nop word [rax + rax]
movzx ecx, byte [r10]
lea r10, [r10 + 1]
xor ecx, r9d
movzx ecx, cx
movzx edx, cl
mov ecx, r9d
shr ecx, 8
mov r9d, dword [rsp + rdx*4]
xor r9d, ecx
add ax, r8w
jne 0x140007910
not r9d
cmp r9d, 0x7fffffff
lea ecx, [r9 - 0x7fffffff]
cmovbe ecx, r9d
cmp ecx, 0x7fffffff
lea eax, [rcx - 0x7fffffff]
cmovbe eax, ecx
mov rcx, qword [rsp + 0x400]
xor rcx, rsp
call fcn.1401b1a60
add rsp, 0x410
pop rbx
ret

Function at 0x140007bb0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140007c25
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x140007c25
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x140007c15
nop
cmp rbx, rcx
jae 0x140007c25
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
add edi, 0xffffffff
jne 0x140007c00
cmp rbx, rcx
jae 0x140007c25
cmp word [rbx], 0
je 0x140007c25
mov rax, rbx
jmp 0x140007c27
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140007c40
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov eax, r8d
mov rsi, rdx
shr eax, 4
mov edi, r8d
inc ax
mov r14, rcx
movzx edx, ax
mov r8d, 6
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbp, rax
test rax, rax
je 0x140007d60
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140007d60
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x140007d60
mov rdx, rbp
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x140007ce9
nop word [rax + rax]
cmp rbx, rcx
jae 0x140007d60
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
add edi, 0xffffffff
jne 0x140007cd0
cmp rbx, rcx
jae 0x140007d60
movzx edi, word [rbx]
test di, di
je 0x140007d60
mov r10, qword [r14]
mov ecx, 1
movzx esi, di
movzx edx, di
mov eax, dword [r10 - 0xc]
sub ecx, dword [r10 - 8]
sub eax, esi
or ecx, eax
jge 0x140007d22
mov edx, esi
mov rcx, r14
call fcn.1400080a0
mov r10, qword [r14]
movzx edx, word [rbx]
lea r8, [rbx + 2]
movzx r9d, dx
movzx ebx, di
mov rcx, r10
mov edx, ebx
call fcn.1401be9e0
xor edx, edx
test eax, eax
je 0x140007d47
cmp eax, 0xc
je 0x140007d83
cmp eax, 0x50
jne 0x140007d7d
mov rcx, qword [r14]
cmp esi, dword [rcx - 0xc]
jg 0x140007d89
mov dword [rcx - 0x10], esi
mov eax, 1
mov rcx, qword [r14]
mov word [rcx + rbx*2], dx
jmp 0x140007d62
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
call fcn.140030ca8
int3
call fcn.140030ccc
int3
mov ecx, 0x80070057
call fcn.1400081b0
int3
Function at 0x140007da0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov r14, rcx
mov edi, edx
mov ecx, edx
call fcn.140030fec
mov rsi, rax
test rax, rax
jne 0x140007dd5
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov eax, edi
mov qword [rsp + 0x30], rbx
shr eax, 4
mov r8d, 6
inc ax
mov qword [rsp + 0x38], rbp
movzx edx, ax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbp, rax
test rax, rax
je 0x140007ed2
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140007ed2
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x140007ed2
mov rdx, rbp
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x140007e5e
cmp rbx, rcx
jae 0x140007ed2
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
add edi, 0xffffffff
jne 0x140007e45
cmp rbx, rcx
jae 0x140007ed2
movzx edi, word [rbx]
test di, di
je 0x140007ed2
mov r10, qword [r14]
mov ebp, 1
movzx esi, di
mov ecx, ebp
movzx edx, di
mov eax, dword [r10 - 0xc]
sub ecx, dword [r10 - 8]
sub eax, esi
or ecx, eax
jge 0x140007e99
mov edx, esi
mov rcx, r14
call fcn.1400080a0
mov r10, qword [r14]
movzx edx, word [rbx]
lea r8, [rbx + 2]
movzx r9d, dx
movzx ebx, di
mov rcx, r10
mov edx, ebx
call fcn.1401be9e0
xor ecx, ecx
test eax, eax
je 0x140007ebe
cmp eax, 0xc
je 0x140007ef9
cmp eax, 0x50
jne 0x140007ef3
mov rax, qword [r14]
cmp esi, dword [rax - 0xc]
jg 0x140007eff
mov dword [rax - 0x10], esi
mov rax, qword [r14]
mov word [rax + rbx*2], cx
jmp 0x140007ed6
xor ecx, ecx
mov ebp, ecx
mov rbx, qword [rsp + 0x30]
mov eax, ebp
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
call fcn.140030ca8
int3
call fcn.140030ccc
int3
mov ecx, 0x80070057
call fcn.1400081b0
int3
Function at 0x1400096b0
Capabilities:
Get file version info

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rsi
push rdi
push r14
sub rsp, 0x60
mov qword [rax - 0x28], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov r14, r8
mov rsi, rdx
call fcn.1400315f4
mov rcx, rax
test rax, rax
je 0x140009840
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 0
lea rdx, [rsp + 0x80]
mov rcx, r14
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
test eax, eax
je 0x14000984b
mov rcx, rdi
call fcn.14003010c
mov rbx, rax
test rax, rax
je 0x140009864
mov r9, rbx
mov r8d, edi
xor edx, edx
mov rcx, r14
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x14000987d
lea r9, [rsp + 0x98]
lea r8, [rsp + 0x48]
lea rdx, [0x1402599d4]
mov rcx, rbx
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x140009896
mov rax, qword [rsp + 0x48]
mov ecx, dword [rax + 8]
mov edx, dword [rax + 0xc]
mov r8d, ecx
shr r8d, 0x10
movzx r9d, cx
mov eax, edx
shr eax, 0x10
movzx ecx, dx
test eax, eax
jne 0x1400097ae
test ecx, ecx
jne 0x1400097ae
test r8d, r8d
jne 0x14000979b
test r9d, r9d
je 0x1400097c7
lea rdx, str._d._d
lea rcx, [rsp + 0x40]
call fcn.14000bf30
jmp 0x1400097c7
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], eax
lea rdx, str._d._d._d._d
lea rcx, [rsp + 0x40]
call fcn.14000bf30
mov rcx, rbx
call fcn.140030104
mov rbx, qword [rsp + 0x40]
lea rcx, [rbx - 0x18]
call fcn.14000c170
add rax, 0x18
mov qword [rsi], rax
mov eax, 0xffffffff
lock xadd dword [rbx - 8], eax
sub eax, 1
jg 0x140009801
mov rcx, qword [rbx - 0x18]
mov rax, qword [rcx]
lea rdx, [rbx - 0x18]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, rsi
jmp 0x14000982f
mov rbx, qword [rsp + 0x90]
add rsp, 0x60
pop r14
pop rdi
pop rsi
ret
mov ecx, 0x80004005
call fcn.1400081b0
nop
mov dword [rsp + 0x30], 1
lea rdx, [0x140298ae8]
lea rcx, [rsp + 0x30]
call fcn.1401b5ed0
mov dword [rsp + 0x34], 1
lea rdx, [0x140298ae8]
lea rcx, [rsp + 0x34]
call fcn.1401b5ed0
mov dword [rsp + 0x38], 1
lea rdx, [0x140298ae8]
lea rcx, [rsp + 0x38]
call fcn.1401b5ed0
mov dword [rsp + 0x3c], 1
lea rdx, [0x140298ae8]
lea rcx, [rsp + 0x3c]
call fcn.1401b5ed0
int3
Function at 0x14000b640
Capabilities:
Check internet connectivity via wininet
Read data from internet
Receive data

Disassembly:
push rdi
mov eax, 0x18700
call fcn.1401b24e0
sub rsp, rax
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x18710], rbx
mov qword [rsp + 0x18718], rbp
mov qword [rsp + 0x18728], rsi
mov rax, qword [0x14029f7a8]
xor rax, rsp
mov qword [rsp + 0x186f0], rax
mov rbx, r8
cmp qword [0x14036fb78], 0
je 0x14000b7d5
xor edx, edx
lea rcx, [rsp + 0x38]
call qword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
je 0x14000b7d5
call fcn.1400315f4
mov rcx, rax
test rax, rax
je 0x14000b803
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x28], rax
mov rdi, 0xffffffffffffffff
xor esi, esi
test rbx, rbx
je 0x14000b6fc
cmp rbx, 0x10000
jae 0x14000b6ee
movzx edx, bx
lea rcx, [rsp + 0x28]
call fcn.140007da0
jmp 0x14000b70f
mov rax, rdi
inc rax
cmp word [rbx + rax*2], si
jne 0x14000b6f1
jmp 0x14000b6fe
mov eax, esi
mov r8d, eax
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.1400081d0
nop
lea r8, [rsp + 0x28]
lea rdx, [0x14037d420]
lea rcx, [rsp + 0x30]
call fcn.14000b810
nop
mov rdx, qword [rsp + 0x28]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14000b744
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rdx, [rsp + 0x30]
lea rcx, vtable.CAutoUpdater.0
call fcn.1400095a0
mov rbp, rax
test rax, rax
jne 0x14000b762
lea esi, [rax + 2]
jmp 0x14000b7b4
xor edx, edx
mov r8d, 0x186a0
lea rcx, [rsp + 0x50]
call fcn.1401b5d40
mov dword [rsp + 0x20], esi
lea r9, [rsp + 0x20]
mov r8d, 0x186a0
lea rdx, [rsp + 0x50]
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x14000b7a0
cmp dword [rsp + 0x20], 0
jbe 0x14000b7a0
mov bl, 1
jmp 0x14000b7a2
xor bl, bl
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetCloseHandle]
test bl, bl
jne 0x14000b7b4
mov esi, 3
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x14000b7d1
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov eax, esi
jmp 0x14000b7da
mov eax, 1
mov rcx, qword [rsp + 0x186f0]
xor rcx, rsp
call fcn.1401b1a60
lea r11, [rsp + 0x18700]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
mov ecx, 0x80004005
call fcn.1400081b0
int3
Function at 0x1400142e0
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x9280]
mov eax, 0x9380
call fcn.1401b24e0
sub rsp, rax
mov rax, qword [0x14029f7a8]
xor rax, rsp
mov qword [rbp + 0x9270], rax
mov rdi, rcx
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x8000
call fcn.1401b5d40
xor esi, esi
mov eax, esi
mov dword [rsp + 0x40], eax
lea ebx, [rsi + 0x14]
test rdi, rdi
je 0x14001455b
nop
test ebx, ebx
jle 0x14001437c
lea r9, [rsp + 0x40]
mov dword [rsp + 0x20], 3
mov r8d, 0x8000
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.PSAPI.DLL_EnumProcessModulesEx]
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [rsp + 0x40]
dec ebx
test eax, eax
je 0x140014340
jmp 0x14001439d
test eax, eax
jne 0x14001439d
lea r9, [rsp + 0x40]
mov r8d, 0x8000
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.PSAPI.DLL_EnumProcessModules]
mov eax, dword [rsp + 0x40]
mov ebx, esi
test eax, 0xfffffff8
jbe 0x14001455b
nop word [rax + rax]
mov edx, ebx
lea r8, [rbp + 0x8060]
mov r9d, 0x104
mov rcx, rdi
mov rdx, qword [rsp + rdx*8 + 0x50]
call qword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
test eax, eax
je 0x14001454a
lea rcx, [rbp + 0x8060]
mov rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], si
jne 0x1400143e3
test rax, rax
je 0x14001454a
lea rdx, [0x14025b448]
lea rcx, [rbp + 0x8060]
call fcn.1401b5250
test rax, rax
jne 0x140014429
lea rdx, [0x14025b450]
lea rcx, [rbp + 0x8060]
call fcn.1401b5250
test rax, rax
je 0x14001454a
xor edx, edx
lea rcx, [rbp + 0x8670]
mov r8d, 0x400
call fcn.1401b5d40
xor edx, edx
lea rcx, [rbp + 0x8a70]
mov r8d, 0x800
call fcn.1401b5d40
xor edx, edx
lea rcx, [rbp + 0x7f50]
mov r8d, 0x104
call fcn.1401b5d40
xor edx, edx
lea rcx, [rbp + 0x8270]
mov r8d, 0x400
call fcn.1401b5d40
mov qword [rsp + 0x38], rsi
lea rax, [rbp + 0x7f50]
mov qword [rsp + 0x30], rsi
lea r8, [rbp + 0x8060]
mov dword [rsp + 0x28], 0x104
mov r9d, 0xffffffff
xor edx, edx
mov qword [rsp + 0x20], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea rdx, [0x14025b458]
lea rcx, [rbp + 0x7f50]
call fcn.1401b4fc4
test rax, rax
jne 0x14001454a
lea rdx, [rbp + 0x8670]
lea rcx, [rbp + 0x7f50]
call fcn.14001e6c0
lea r9, [rbp + 0x7f50]
lea r8, [rbp + 0x8670]
lea rdx, str.in_GAME_SHAS2:__s_process:__s_r_n
lea rcx, [rbp + 0x8270]
call fcn.140014120
lea rax, [rbp + 0x8270]
mov r9, 0xffffffffffffffff
nop dword [rax]
inc r9
cmp byte [rax + r9], sil
jne 0x140014510
lea rax, [rbp + 0x8a70]
mov dword [rsp + 0x28], 0x400
lea r8, [rbp + 0x8270]
mov qword [rsp + 0x20], rax
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea rcx, [rbp + 0x8a70]
call fcn.140020970
mov eax, dword [rsp + 0x40]
inc ebx
shr eax, 3
cmp ebx, eax
jb 0x1400143b0
mov eax, 1
mov rcx, qword [rbp + 0x9270]
xor rcx, rsp
call fcn.1401b1a60
lea r11, [rsp + 0x9380]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x1400159f0
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x390
mov rax, qword [0x14029f7a8]
xor rax, rsp
mov qword [rsp + 0x380], rax
mov rbx, rdx
mov r15, rcx
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x60], rdx
mov dword [rsp + 0x24], 0
mov dword [rsp + 0x38], 0
xor edx, edx
mov r8d, 0xfa
lea rcx, [rsp + 0x180]
call fcn.1401b5d40
xor edx, edx
mov r8d, 0xfa
lea rcx, [rsp + 0x280]
call fcn.1401b5d40
mov r12d, 2
mov dword [rsp + 0x3c], r12d
lea rdx, [rsp + 0x38]
mov rcx, r15
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeA]
mov esi, eax
mov dword [rsp + 0x24], eax
jmp 0x140015a94
xor edi, edi
test esi, esi
je 0x140015c42
movsxd rcx, esi
call fcn.14003010c
mov r14, rax
xor edx, edx
test rax, rax
setne dl
test edx, edx
je 0x140015c42
mov r9, rax
mov r8d, esi
xor edx, edx
mov rcx, r15
call qword [sym.imp.VERSION.dll_GetFileVersionInfoA]
test eax, eax
je 0x140015c3a
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x30]
lea rdx, str.VarFileInfoTranslation
mov rcx, r14
call qword [sym.imp.VERSION.dll_VerQueryValueA]
mov esi, eax
test eax, eax
jne 0x140015b5e
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x70]
lea rdx, [0x14025b5ec]
mov rcx, r14
call qword [sym.imp.VERSION.dll_VerQueryValueA]
mov esi, eax
test eax, eax
je 0x140015b5e
lea rax, [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x4e40409
mov r15d, 0x4e4
lea r8, [0x14025b5f0]
mov edx, 0xfa
lea rcx, [rsp + 0x180]
call fcn.1401c0788
lea r8, [0x14025b600]
mov edx, 0xfa
lea rcx, [rsp + 0x280]
call fcn.1401c0788
jmp 0x140015b64
mov r15d, 0x4e4
test esi, esi
je 0x140015c3a
dec r12d
mov rax, qword [rsp + 0x30]
movzx r9d, word [rax + 2]
movzx r8d, word [rax]
lea rdx, str.StringFileInfo_04x_04xCompanyName
lea rcx, [rsp + 0x80]
call fcn.1400166b0
lea r9, [rsp + 0x20]
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x80]
mov rcx, r14
call qword [sym.imp.VERSION.dll_VerQueryValueA]
test eax, eax
jne 0x140015bf1
mov rax, qword [rsp + 0x30]
movzx r9d, word [rax + 2]
movzx r8d, word [rax]
lea rdx, str.StringFileInfo_04x_04xLegalCopyright
lea rcx, [rsp + 0x80]
call fcn.1400166b0
lea r9, [rsp + 0x20]
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x80]
mov rcx, r14
call qword [sym.imp.VERSION.dll_VerQueryValueA]
test eax, eax
je 0x140015c19
test rbx, rbx
je 0x140015c23
mov r9d, 0x32
cmp dword [rsp + 0x20], r9d
cmovb r9d, dword [rsp + 0x20]
mov r8, qword [rsp + 0x48]
mov edx, 0xfa
mov rcx, rbx
call fcn.1401c0850
test rbx, rbx
je 0x140015c23
cmp byte [rbx], dil
jne 0x140015c35
mov rax, qword [rsp + 0x30]
mov word [rax + 2], r15w
test r12d, r12d
jmp 0x140015b66
mov edi, 1
mov rcx, r14
call fcn.1401b7ee8
mov eax, edi
mov rcx, qword [rsp + 0x380]
xor rcx, rsp
call fcn.1401b1a60
mov rbx, qword [rsp + 0x3d0]
add rsp, 0x390
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret