joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140014920
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x68], 0
je 0x140014959
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
jmp 0x140014a48
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const___ptr64]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x50], 0
jle 0x1400149f0
cmp qword [rsp + 0x20], 0
jle 0x1400149f0
mov rax, qword [rsp + 0x20]
cmp qword [rsp + 0x50], rax
jge 0x140014999
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov r8, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x48]
mov rcx, rax
call fcn.140011270
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
nop
cmp qword [rsp + 0x50], 0
jle 0x140014a38
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x80], 0
je 0x140014a38
mov rax, qword [rsp + 0x40]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x50]
mov edx, 1
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x28]
sub rcx, rax
mov rax, rcx
add rsp, 0x38
ret
Function at 0x140026088
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 0x1400260c2
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1400260c7
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 0x140026110
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x14002c2d0]
cmp byte [rcx + rax], 0
je 0x140026110
dec r8
sub rdx, 1
jne 0x1400260f6
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x14002735c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400273a6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400273a6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400273a6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400273a6
cmp dword [rcx + 0x84], 0xe
jbe 0x1400273a6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400273a8
xor al, al
add rsp, 0x28
ret
Function at 0x140001378
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x1400c7ea0]
mov dword [rax], 1
mov rax, qword [0x1400c7eb0]
mov dword [rax], 1
mov rax, qword [0x1400c7ec0]
mov dword [rax], 1
mov rax, qword [0x1400c7e50]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400013c9
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x1400013f5
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
movzx eax, ax
cmp eax, 0x10b
je 0x14000141b
cmp eax, 0x20b
je 0x140001442
jmp 0x140001471
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x14000142e
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x14000145d
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x14002f1a0
Capabilities:
Query environment variable

Disassembly:
push r15
mov eax, 0x10088
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
call fcn.1400a83f0
sub rsp, rax
xor edx, edx
mov rbp, rcx
xor ecx, ecx
mov word [rsp + 0x80], dx
lea r15, [rsp + 0x30]
movzx eax, byte [rbp]
mov word [rsp + 0x30], cx
test al, al
je 0x14002f265
xor edi, edi
lea r15, [rsp + 0x30]
lea r14, [rsp + 0x2a]
mov r12d, 0x28
lea r13, [rsp + 0x2c]
nop dword [rax]
mov rsi, r12
mov r8d, 2
mov rdx, r14
mov rcx, r13
sub rsi, rdi
mov byte [rsp + 0x2a], al
lea rbx, [r15 + rdi*2]
mov byte [rsp + 0x2b], 0
call sub.msvcrt.dll_mbstowcs
cmp rax, 1
jne 0x1400b92ca
cmp word [r15 + rdi*2], 0
movzx eax, word [rsp + 0x2c]
je 0x14002f246
nop dword [rax + rax]
add rbx, 2
sub rsi, 1
cmp word [rbx], 0
jne 0x14002f238
test rsi, rsi
je 0x1400b92ca
mov word [rbx], ax
add rdi, 1
xor eax, eax
mov word [rbx + 2], ax
movzx eax, byte [rbp + rdi]
test al, al
jne 0x14002f1f8
lea rbx, [rsp + 0x80]
mov r8d, 0x10000
mov rcx, r15
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea edx, [rax - 1]
xor eax, eax
cmp edx, 0xffff
ja 0x14002f294
mov rcx, rbx
call sub.msvcrt.dll__wcsdup
add rsp, 0x10088
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x14002f3a0
Capabilities:
Set environment variable

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x88
xor edx, edx
movzx eax, byte [rcx]
mov word [rsp + 0x30], dx
mov rbp, rcx
lea r15, [rsp + 0x30]
test al, al
je 0x14002f455
xor edi, edi
lea r15, [rsp + 0x30]
lea r14, [rsp + 0x2a]
mov r12d, 0x28
lea r13, [rsp + 0x2c]
nop dword [rax]
mov rsi, r12
mov r8d, 2
mov rdx, r14
mov rcx, r13
sub rsi, rdi
mov byte [rsp + 0x2a], al
lea rbx, [r15 + rdi*2]
mov byte [rsp + 0x2b], 0
call sub.msvcrt.dll_mbstowcs
cmp rax, 1
jne 0x1400b92d6
cmp word [r15 + rdi*2], 0
movzx eax, word [rsp + 0x2c]
je 0x14002f436
nop dword [rax + rax]
add rbx, 2
sub rsi, 1
cmp word [rbx], 0
jne 0x14002f428
test rsi, rsi
je 0x1400b92d6
mov word [rbx], ax
add rdi, 1
xor eax, eax
mov word [rbx + 2], ax
movzx eax, byte [rbp + rdi]
test al, al
jne 0x14002f3e8
xor edx, edx
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
nop
add rsp, 0x88
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1400a4c30
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
cmp byte [0x1400d8f39], 0
mov rbp, rcx
mov r12, rdx
mov rdi, r8
je 0x1400a4cb8
lea rdx, [0x1400c3f72]
mov rcx, rdi
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x1400a4d20
mov rbx, qword [0x1400d8dc0]
jmp 0x1400a4c75
lea rbx, [rdx + rax + 4]
mov rdx, rbx
mov rcx, rdi
call sub.msvcrt.dll_strcmp
mov rcx, rbx
mov esi, eax
call sub.msvcrt.dll_strlen
lea rdx, [rbx + rax + 1]
mov eax, dword [rdx]
test esi, esi
jne 0x1400a4c70
movzx r9d, word [rdx + 4]
lea r8, [rdx + 6]
mov rcx, rbp
mov rdx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp fcn.140094c70
mov r8d, 0xa
xor ecx, ecx
mov edx, 3
call qword [sym.imp.KERNEL32.dll_FindResourceA]
xor ecx, ecx
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
xor ecx, ecx
lea rdx, [rax + 4]
mov qword [0x1400d8dc0], rax
mov ebx, dword [rax]
mov qword [0x1400d8dc0], rdx
mov r8d, dword [rax + 4]
lea rdx, [rax + 8]
mov qword [0x1400d8dc0], rdx
call fcn.1400a3d60
cmp eax, ebx
jne 0x1400a4d88
mov byte [0x1400d8f39], 1
jmp 0x1400a4c4c
cmp byte [0x1400d8f38], 0
jne 0x1400a4c63
mov rbx, qword [sym.imp.python312.dll_PyDict_New]
call rbx
mov qword [0x1400d9890], rax
call rbx
mov qword [0x1400d9888], rax
call rbx
mov qword [0x1400d9880], rax
call rbx
mov qword [0x1400d9878], rax
call rbx
mov qword [0x1400d9870], rax
call rbx
mov qword [0x1400d9868], rax
call rbx
mov qword [0x1400d9860], rax
call rbx
mov byte [0x1400d8f38], 1
mov qword [0x1400d9858], rax
jmp 0x1400a4c63
lea rcx, str.Error__corrupted_constants_object
call sub.msvcrt.dll_puts
call sub.msvcrt.dll_abort
nop
nop word [rax + rax]

Function at 0x1400a70d0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call fcn.1400b8850
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call fcn.1400b8850
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
Function at 0x1400a7da2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x1400d9d48]
test eax, eax
je 0x1400a7e3a
lea rax, [0x1400d9d20]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x1400d9d50]
mov qword [rbp - 8], rax
jmp 0x1400a7e1e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x1400a7e12
cmp qword [rbp - 0x10], 0
je 0x1400a7e12
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x1400a7dd8
lea rax, [0x1400d9d20]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x1400a7e3b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x1400a7f40
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400a7f68
mov eax, 0
jmp 0x1400a7fb6
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x1400a7f91
mov eax, 0
jmp 0x1400a7fb6
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x1400a7fb1
mov eax, 0
jmp 0x1400a7fb6
mov eax, 1
add rsp, 0x20
pop rbp
ret

Function at 0x1400a7fbc
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x1400a803a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x1400a8031
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x1400a8031
mov rax, qword [rbp - 8]
jmp 0x1400a804f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x1400a8004
mov eax, 0
add rsp, 0x20
pop rbp
ret
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.1401b6f40
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.1401c7994
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.140036188
int3
call fcn.1400361ac
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.1400364cc
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.1401c7994
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.140036188
int3
call fcn.1400361ac
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.140036ad4
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.1400355ec
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.1400355e4
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, [0x1402a6058]
lea rcx, [rsp + 0x30]
call fcn.1401bd090
mov dword [rsp + 0x34], 1
lea rdx, [0x1402a6058]
lea rcx, [rsp + 0x34]
call fcn.1401bd090
mov dword [rsp + 0x38], 1
lea rdx, [0x1402a6058]
lea rcx, [rsp + 0x38]
call fcn.1401bd090
mov dword [rsp + 0x3c], 1
lea rdx, [0x1402a6058]
lea rcx, [rsp + 0x3c]
call fcn.1401bd090
int3
Function at 0x14000c2a0
Capabilities:
Check internet connectivity via wininet
Read data from internet
Receive data

Disassembly:
push rdi
mov eax, 0x18700
call fcn.1401b79c0
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 [0x140394908], 0
je 0x14000c435
xor edx, edx
lea rcx, [rsp + 0x38]
call qword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
je 0x14000c435
call fcn.140036ad4
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, [0x1403a1750]
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.1401bcf00
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.1401b6f40
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