joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140022f00
Capabilities:
Get thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, ecx
call fcn.140021cd0
mov ecx, dword [0x14003a148]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140022f40
test ebx, ebx
jle 0x140022f30
lock add dword [rax + 0x20], 1
add rsp, 0x20
pop rbx
ret
lock sub dword [rax + 0x20], 1
add rsp, 0x20
pop rbx
ret
call fcn.140021d80
test rax, rax
jne 0x140022f1d
add rsp, 0x20
pop rbx
ret

Function at 0x140023030
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
call fcn.140021cd0
mov ecx, dword [0x14003a148]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x1400230a8
test byte [rbx + 0x40], 0xc
jne 0x14002305f
mov eax, dword [0x1402fc568]
test eax, eax
jne 0x140023070
add rsp, 0x28
pop rbx
pop rsi
ret
lea rsi, [rbx + 0x38]
mov rcx, rsi
call fcn.140021000
movzx eax, byte [rbx + 0x40]
test al, 3
je 0x140023093
mov edx, dword [rbx + 0x44]
test dl, 1
je 0x140023093
mov ecx, dword [rbx + 0x20]
test ecx, ecx
jle 0x1400230bc
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp fcn.1400212d0
call fcn.140021d80
mov rbx, rax
test rax, rax
jne 0x14002304f
add rsp, 0x28
pop rbx
pop rsi
ret
and eax, 0xfffffff3
mov rcx, qword [rbx + 0x30]
and edx, 0xfffffffe
or eax, 4
mov dword [rbx + 0x44], edx
mov byte [rbx + 0x40], al
test rcx, rcx
je 0x1400230da
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rcx, rsi
call fcn.1400212d0
call fcn.140022f50
nop
nop dword [rax + rax]
push rdi
push rsi
push rbx
sub rsp, 0x20
test rcx, rcx
je 0x140023158
call fcn.140024370
mov rsi, rax
mov eax, 0xffffffff
cmp rsi, rax
cmovbe rax, rsi
mov rdi, rax
call fcn.140021cd0
mov ecx, dword [0x14003a148]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x1400231a0
test rsi, rsi
je 0x14002316e
call fcn.140023030
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x140023190
mov edx, edi
call fcn.140024440
call fcn.140023030
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.140021cd0
mov ecx, dword [0x14003a148]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400231b0
call fcn.140023030
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.140023030
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140023146
call fcn.140021d80
mov rbx, rax
jmp 0x14002312c
call fcn.140021d80
jmp 0x14002316e
Function at 0x1400230f0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
call fcn.140021cd0
mov ecx, dword [0x14003a148]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x1400230a8
test byte [rbx + 0x40], 0xc
jne 0x14002305f
mov eax, dword [0x1402fc568]
test eax, eax
jne 0x140023070
add rsp, 0x28
pop rbx
pop rsi
ret
lea rsi, [rbx + 0x38]
mov rcx, rsi
call fcn.140021000
movzx eax, byte [rbx + 0x40]
test al, 3
je 0x140023093
mov edx, dword [rbx + 0x44]
test dl, 1
je 0x140023093
mov ecx, dword [rbx + 0x20]
test ecx, ecx
jle 0x1400230bc
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp fcn.1400212d0
call fcn.140021d80
mov rbx, rax
test rax, rax
jne 0x14002304f
add rsp, 0x28
pop rbx
pop rsi
ret
and eax, 0xfffffff3
mov rcx, qword [rbx + 0x30]
and edx, 0xfffffffe
or eax, 4
mov dword [rbx + 0x44], edx
mov byte [rbx + 0x40], al
test rcx, rcx
je 0x1400230da
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rcx, rsi
call fcn.1400212d0
call fcn.140022f50
nop
nop dword [rax + rax]
push rdi
push rsi
push rbx
sub rsp, 0x20
test rcx, rcx
je 0x140023158
call fcn.140024370
mov rsi, rax
mov eax, 0xffffffff
cmp rsi, rax
cmovbe rax, rsi
mov rdi, rax
call fcn.140021cd0
mov ecx, dword [0x14003a148]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x1400231a0
test rsi, rsi
je 0x14002316e
call fcn.140023030
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x140023190
mov edx, edi
call fcn.140024440
call fcn.140023030
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.140021cd0
mov ecx, dword [0x14003a148]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400231b0
call fcn.140023030
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.140023030
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140023146
call fcn.140021d80
mov rbx, rax
jmp 0x14002312c
call fcn.140021d80
jmp 0x14002316e

Function at 0x1400231c0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov esi, ecx
call fcn.140021cd0
mov ecx, dword [0x14003a148]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x140023230
test esi, esi
je 0x140023210
call fcn.140023030
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x140023240
mov edx, esi
call fcn.140024440
call fcn.140023030
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
ret
call fcn.140023030
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.140023030
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
ret
call fcn.140021d80
mov rbx, rax
jmp 0x1400231e1
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400231fa
Function at 0x140024740
Capabilities:
Terminate process

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x30
lea rdi, [0x14003a158]
mov rbx, rcx
mov rcx, rdi
mov esi, edx
call fcn.1400253a0
mov rax, qword [rbx]
cmp dword [rax], 0xbab1f0ed
jne 0x140024789
mov rax, qword [rbx]
mov eax, dword [rax + 4]
test eax, eax
jle 0x140024789
mov rax, qword [rbx]
mov rcx, rdi
sub dword [rax + 4], 1
call fcn.1400253f0
mov eax, esi
add rsp, 0x30
pop rbx
pop rsi
pop rdi
ret
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov dword [rsp + 0x20], 0x28
lea r9, str..._mingw_w64_mingw_w64_libraries_winpthreads_src_rwlock.c
lea r8, str.___rwlock_t__rwl___valid__LIFE_RWLOCK______rwlock_t__rwl___busy___0_
mov rcx, rax
lea rdx, str.Assertion_failed:___s___file__s__line__d_n
call fcn.140020a90
mov ecx, 1
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
nop
nop word cs:[rax + rax]
nop
push rbx
sub rsp, 0x20
mov eax, dword [rcx + 0x10]
neg eax
mov dword [rcx + 0xc], eax
mov rbx, rcx
lea rcx, [rcx + 0x20]
mov dword [rcx - 0x10], 0
call fcn.1400212d0
lea rcx, [rbx + 0x18]
add rsp, 0x20
pop rbx
jmp fcn.1400212d0

Function at 0x140024bf0
Capabilities:
Terminate process

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rbx, rcx
call fcn.140024a10
test eax, eax
je 0x140024c18
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rsi, qword [rbx]
lea rdi, [rsi + 0x18]
mov rcx, rdi
call fcn.140021000
test eax, eax
jne 0x140024c41
lock add dword [rsi + 0xc], 1
cmp dword [rsi + 0xc], 0x7fffffff
je 0x140024c58
mov rcx, rdi
call fcn.1400212d0
mov edx, eax
mov rcx, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp fcn.140024740
lea r12, [rsi + 0x20]
mov rcx, r12
call fcn.140021000
mov ebp, eax
test eax, eax
je 0x140024c80
mov rcx, rdi
call fcn.1400212d0
mov edx, ebp
jmp 0x140024c43
mov eax, dword [rsi + 0x10]
sub dword [rsi + 0xc], eax
mov rcx, r12
mov dword [rsi + 0x10], 0
call fcn.1400212d0
mov rcx, rdi
mov esi, eax
call fcn.1400212d0
test esi, esi
mov edx, esi
cmove edx, eax
jmp 0x140024c43

Function at 0x140024f20
Capabilities:
Terminate process

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x30
mov rbx, rcx
call fcn.1400246d0
test eax, eax
jne 0x140024fa0
mov rsi, qword [rbx]
mov edx, dword [rsi + 8]
test edx, edx
je 0x140024f70
lock sub dword [rsi + 8], 1
lea rcx, [rsi + 0x20]
call fcn.1400212d0
lea rcx, [rsi + 0x18]
mov edi, eax
call fcn.1400212d0
test edi, edi
cmove edi, eax
mov edx, edi
mov rcx, rbx
add rsp, 0x30
pop rbx
pop rsi
pop rdi
jmp fcn.140024740
lea rdi, [rsi + 0x20]
mov rcx, rdi
call fcn.140021000
mov edx, eax
test eax, eax
jne 0x140024f5d
lock add dword [rsi + 0x10], 1
mov eax, dword [rsi + 0x10]
test eax, eax
je 0x140024fb0
mov rcx, rdi
call fcn.1400212d0
mov edx, eax
jmp 0x140024f5d
add rsp, 0x30
pop rbx
pop rsi
pop rdi
ret
lea rcx, [rsi + 0x28]
call fcn.140025d10
mov rcx, rdi
mov dword [rsp + 0x2c], eax
call fcn.1400212d0
mov edx, dword [rsp + 0x2c]
test edx, edx
cmove edx, eax
jmp 0x140024f5d
Function at 0x1400078c0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x410
mov rax, qword [0x1402ac7a8]
xor rax, rsp
mov qword [rsp + 0x400], rax
mov r10, rcx
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], 0
jne 0x1400078e5
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 0x140007900
test ax, ax
je 0x1400079f4
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 0x1400079d0
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.1401b6fc0
add rsp, 0x410
pop rbx
ret

Function at 0x140008710
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 0x140008785
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x140008785
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x140008775
nop
cmp rbx, rcx
jae 0x140008785
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
add edi, 0xffffffff
jne 0x140008760
cmp rbx, rcx
jae 0x140008785
cmp word [rbx], 0
je 0x140008785
mov rax, rbx
jmp 0x140008787
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 0x1400087a0
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 0x1400088c0
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x1400088c0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x1400088c0
mov rdx, rbp
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x140008849
nop word [rax + rax]
cmp rbx, rcx
jae 0x1400088c0
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
add edi, 0xffffffff
jne 0x140008830
cmp rbx, rcx
jae 0x1400088c0
movzx edi, word [rbx]
test di, di
je 0x1400088c0
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 0x140008882
mov edx, esi
mov rcx, r14
call fcn.140008c00
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.1401c7a14
xor edx, edx
test eax, eax
je 0x1400088a7
cmp eax, 0xc
je 0x1400088e3
cmp eax, 0x50
jne 0x1400088dd
mov rcx, qword [r14]
cmp esi, dword [rcx - 0xc]
jg 0x1400088e9
mov dword [rcx - 0x10], esi
mov eax, 1
mov rcx, qword [r14]
mov word [rcx + rbx*2], dx
jmp 0x1400088c2
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.140036208
int3
call fcn.14003622c
int3
mov ecx, 0x80070057
call fcn.140008d10
int3
Function at 0x140008900
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.14003654c
mov rsi, rax
test rax, rax
jne 0x140008935
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 0x140008a32
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140008a32
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x140008a32
mov rdx, rbp
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x1400089be
cmp rbx, rcx
jae 0x140008a32
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
add edi, 0xffffffff
jne 0x1400089a5
cmp rbx, rcx
jae 0x140008a32
movzx edi, word [rbx]
test di, di
je 0x140008a32
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 0x1400089f9
mov edx, esi
mov rcx, r14
call fcn.140008c00
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.1401c7a14
xor ecx, ecx
test eax, eax
je 0x140008a1e
cmp eax, 0xc
je 0x140008a59
cmp eax, 0x50
jne 0x140008a53
mov rax, qword [r14]
cmp esi, dword [rax - 0xc]
jg 0x140008a5f
mov dword [rax - 0x10], esi
mov rax, qword [r14]
mov word [rax + rbx*2], cx
jmp 0x140008a36
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.140036208
int3
call fcn.14003622c
int3
mov ecx, 0x80070057
call fcn.140008d10
int3
Function at 0x14000a310
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.140036b54
mov rcx, rax
test rax, rax
je 0x14000a4a0
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 0x14000a4ab
mov rcx, rdi
call fcn.14003566c
mov rbx, rax
test rax, rax
je 0x14000a4c4
mov r9, rbx
mov r8d, edi
xor edx, edx
mov rcx, r14
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x14000a4dd
lea r9, [rsp + 0x98]
lea r8, [rsp + 0x48]
lea rdx, [0x140265014]
mov rcx, rbx
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x14000a4f6
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 0x14000a40e
test ecx, ecx
jne 0x14000a40e
test r8d, r8d
jne 0x14000a3fb
test r9d, r9d
je 0x14000a427
lea rdx, str._d._d
lea rcx, [rsp + 0x40]
call fcn.14000cb90
jmp 0x14000a427
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], eax
lea rdx, str._d._d._d._d
lea rcx, [rsp + 0x40]
call fcn.14000cb90
mov rcx, rbx
call fcn.140035664
mov rbx, qword [rsp + 0x40]
lea rcx, [rbx - 0x18]
call fcn.14000cdd0
add rax, 0x18
mov qword [rsi], rax
mov eax, 0xffffffff
lock xadd dword [rbx - 8], eax
sub eax, 1
jg 0x14000a461
mov rcx, qword [rbx - 0x18]
mov rax, qword [rcx]
lea rdx, [rbx - 0x18]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, rsi
jmp 0x14000a48f
mov rbx, qword [rsp + 0x90]
add rsp, 0x60
pop r14
pop rdi
pop rsi
ret
mov ecx, 0x80004005
call fcn.140008d10
nop
mov dword [rsp + 0x30], 1
lea rdx, [0x1402a6158]
lea rcx, [rsp + 0x30]
call fcn.1401bd110
mov dword [rsp + 0x34], 1
lea rdx, [0x1402a6158]
lea rcx, [rsp + 0x34]
call fcn.1401bd110
mov dword [rsp + 0x38], 1
lea rdx, [0x1402a6158]
lea rcx, [rsp + 0x38]
call fcn.1401bd110
mov dword [rsp + 0x3c], 1
lea rdx, [0x1402a6158]
lea rcx, [rsp + 0x3c]
call fcn.1401bd110
int3
Function at 0x14000c2a0
Capabilities:
Check internet connectivity via wininet
Read data from internet
Receive data

Disassembly:
push rdi
mov eax, 0x18700
call fcn.1401b7a40
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 [0x1402ac7a8]
xor rax, rsp
mov qword [rsp + 0x186f0], rax
mov rbx, r8
cmp qword [0x140399da8], 0
je 0x14000c435
xor edx, edx
lea rcx, [rsp + 0x38]
call qword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
je 0x14000c435
call fcn.140036b54
mov rcx, rax
test rax, rax
je 0x14000c463
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 0x14000c35c
cmp rbx, 0x10000
jae 0x14000c34e
movzx edx, bx
lea rcx, [rsp + 0x28]
call fcn.140008900
jmp 0x14000c36f
mov rax, rdi
inc rax
cmp word [rbx + rax*2], si
jne 0x14000c351
jmp 0x14000c35e
mov eax, esi
mov r8d, eax
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.140008d30
nop
lea r8, [rsp + 0x28]
lea rdx, [0x1403a6bf0]
lea rcx, [rsp + 0x30]
call fcn.14000c470
nop
mov rdx, qword [rsp + 0x28]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14000c3a4
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.14000a200
mov rbp, rax
test rax, rax
jne 0x14000c3c2
lea esi, [rax + 2]
jmp 0x14000c414
xor edx, edx
mov r8d, 0x186a0
lea rcx, [rsp + 0x50]
call fcn.1401bcf80
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 0x14000c400
cmp dword [rsp + 0x20], 0
jbe 0x14000c400
mov bl, 1
jmp 0x14000c402
xor bl, bl
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetCloseHandle]
test bl, bl
jne 0x14000c414
mov esi, 3
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x14000c431
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov eax, esi
jmp 0x14000c43a
mov eax, 1
mov rcx, qword [rsp + 0x186f0]
xor rcx, rsp
call fcn.1401b6fc0
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.140008d10
int3
Function at 0x140014f40
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.1401b7a40
sub rsp, rax
mov rax, qword [0x1402ac7a8]
xor rax, rsp
mov qword [rbp + 0x9270], rax
mov rdi, rcx
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x8000
call fcn.1401bcf80
xor esi, esi
mov eax, esi
mov dword [rsp + 0x40], eax
lea ebx, [rsi + 0x14]
test rdi, rdi
je 0x1400151bb
nop
test ebx, ebx
jle 0x140014fdc
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 0x140014fa0
jmp 0x140014ffd
test eax, eax
jne 0x140014ffd
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 0x1400151bb
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 0x1400151aa
lea rcx, [rbp + 0x8060]
mov rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], si
jne 0x140015043
test rax, rax
je 0x1400151aa
lea rdx, [0x140266c68]
lea rcx, [rbp + 0x8060]
call fcn.1401bc490
test rax, rax
jne 0x140015089
lea rdx, [0x140266c70]
lea rcx, [rbp + 0x8060]
call fcn.1401bc490
test rax, rax
je 0x1400151aa
xor edx, edx
lea rcx, [rbp + 0x8670]
mov r8d, 0x400
call fcn.1401bcf80
xor edx, edx
lea rcx, [rbp + 0x8a70]
mov r8d, 0x800
call fcn.1401bcf80
xor edx, edx
lea rcx, [rbp + 0x7f50]
mov r8d, 0x104
call fcn.1401bcf80
xor edx, edx
lea rcx, [rbp + 0x8270]
mov r8d, 0x400
call fcn.1401bcf80
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, [0x140266c78]
lea rcx, [rbp + 0x7f50]
call fcn.1401bc204
test rax, rax
jne 0x1400151aa
lea rdx, [rbp + 0x8670]
lea rcx, [rbp + 0x7f50]
call fcn.140021b80
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.140014d80
lea rax, [rbp + 0x8270]
mov r9, 0xffffffffffffffff
nop dword [rax]
inc r9
cmp byte [rax + r9], sil
jne 0x140015170
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.140024850
mov eax, dword [rsp + 0x40]
inc ebx
shr eax, 3
cmp ebx, eax
jb 0x140015010
mov eax, 1
mov rcx, qword [rbp + 0x9270]
xor rcx, rsp
call fcn.1401b6fc0
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