joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400a3440
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
push rsi
push rdi
push r12
sub rsp, 0x38
mov rsi, qword [rcx + 0xa0]
mov rbx, rcx
mov rdi, qword [rcx + 0x10]
mov r12, qword [rcx]
test rsi, rsi
je 0x1400a3634
mov qword [rsp + 0x68], r13
xor r13d, r13d
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x60], rbp
nop dword [rax + rax]
movsxd r14, dword [rsi + 0x10]
movzx eax, byte [rbx + 0x1f]
mov r15d, dword [rsi + 0x14]
shl r14, 5
add r14, qword [r12 + 0x20]
test al, al
jne 0x1400a34a1
inc dword [rbx + 0x38]
mov ebp, dword [rbx + 0x38]
jmp 0x1400a34b0
dec al
movzx eax, al
mov byte [rbx + 0x1f], al
mov ebp, dword [rbx + rax*4 + 0xe0]
movsxd rcx, dword [rdi + 0x90]
lea r8d, [r15 + 2]
lea edx, [rcx + 7]
cmp dword [rdi + 0x94], ecx
jg 0x1400a34dd
mov r9d, edx
mov dword [rsp + 0x20], r15d
mov edx, 0x37
mov rcx, rdi
call fcn.14005c540
jmp 0x1400a350b
lea eax, [rcx + 1]
mov dword [rdi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rdi + 0x88]
mov dword [rax + rcx*8], 0x37
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r15d
mov qword [rax + rcx*8 + 0x10], r13
mov r9, qword [r14 + 0x18]
xor edx, edx
mov r8d, dword [rsi + 0x10]
mov rcx, rbx
mov dword [rsp + 0x20], 0x71
mov r9, qword [r9 + 0x68]
call fcn.1400a2740
mov eax, dword [rdi + 0x90]
add eax, 5
cmp eax, dword [rdi + 0x94]
jle 0x1400a354a
mov rcx, rdi
call fcn.14005c400
test eax, eax
jne 0x1400a3620
movsxd rax, dword [rdi + 0x90]
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 0x88]
mov dword [rax + rcx*8 + 8], 2
mov byte [rax + rcx*8], 0x33
mov dword [rax + rcx*8 + 4], r13d
lea rax, [rax + rcx*8]
mov ecx, dword [rdi + 0x90]
mov dword [rax + 0xc], r13d
add ecx, 2
mov dword [rax + 8], ecx
mov byte [rax + 1], r13b
mov qword [rax + 0x10], r13
mov word [rax + 2], r13w
mov qword [rax + 0x18], 0x7f
mov qword [rax + 0x20], r13
mov qword [rax + 0x28], r13
mov qword [rax + 0x30], 0x61
mov qword [rax + 0x38], 2
mov qword [rax + 0x40], r13
mov qword [rax + 0x48], 0x80
mov qword [rax + 0x50], r13
mov qword [rax + 0x58], r13
mov qword [rax + 0x60], 0x7a
mov qword [rax + 0x68], r13
mov qword [rax + 0x70], r13
add dword [rdi + 0x90], 5
test rax, rax
je 0x1400a3620
mov dword [rax + 0x3c], ebp
lea edx, [r15 + 1]
mov dword [rax + 4], edx
lea ecx, [r15 - 1]
mov dword [rax + 0x20], edx
mov dword [rax + 0x34], ecx
mov dword [rax + 0x54], edx
mov dword [rax + 0x50], ebp
mov word [rax + 0x4a], 8
test ebp, ebp
je 0x1400a3614
movzx eax, byte [rbx + 0x1f]
cmp al, 8
jae 0x1400a3614
mov dword [rbx + rax*4 + 0xe0], ebp
inc byte [rbx + 0x1f]
mov rsi, qword [rsi]
test rsi, rsi
jne 0x1400a3480
mov rbp, qword [rsp + 0x60]
mov r13, qword [rsp + 0x68]
mov r14, qword [rsp + 0x70]
mov r15, qword [rsp + 0x30]
add rsp, 0x38
pop r12
pop rdi
pop rsi
pop rbx
ret
Function at 0x14010029c
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 0x1401002d6
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1401002db
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 0x140100324
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1401049e0]
cmp byte [rcx + rax], 0
je 0x140100324
dec r8
sub rdx, 1
jne 0x14010030a
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x140101110
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14010115a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14010115a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14010115a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14010115a
cmp dword [rcx + 0x84], 0xe
jbe 0x14010115a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14010115c
xor al, al
add rsp, 0x28
ret
Function at 0x1400078c0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x410
mov rax, qword [0x1402ad7a8]
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.1401b72a0
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.1401c7cf4
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.1400364e8
int3
call fcn.14003650c
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.14003682c
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.1401c7cf4
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.1400364e8
int3
call fcn.14003650c
int3
mov ecx, 0x80070057
call fcn.140008d10
int3
Function at 0x14000a2c0
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.140036e34
mov rcx, rax
test rax, rax
je 0x14000a450
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 0x14000a45b
mov rcx, rdi
call fcn.14003594c
mov rbx, rax
test rax, rax
je 0x14000a474
mov r9, rbx
mov r8d, edi
xor edx, edx
mov rcx, r14
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x14000a48d
lea r9, [rsp + 0x98]
lea r8, [rsp + 0x48]
lea rdx, [0x140265fa4]
mov rcx, rbx
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x14000a4a6
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 0x14000a3be
test ecx, ecx
jne 0x14000a3be
test r8d, r8d
jne 0x14000a3ab
test r9d, r9d
je 0x14000a3d7
lea rdx, str._d._d
lea rcx, [rsp + 0x40]
call fcn.14000cb40
jmp 0x14000a3d7
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], eax
lea rdx, str._d._d._d._d
lea rcx, [rsp + 0x40]
call fcn.14000cb40
mov rcx, rbx
call fcn.140035944
mov rbx, qword [rsp + 0x40]
lea rcx, [rbx - 0x18]
call fcn.14000cd80
add rax, 0x18
mov qword [rsi], rax
mov eax, 0xffffffff
lock xadd dword [rbx - 8], eax
sub eax, 1
jg 0x14000a411
mov rcx, qword [rbx - 0x18]
mov rax, qword [rcx]
lea rdx, [rbx - 0x18]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, rsi
jmp 0x14000a43f
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, [0x1402a70a8]
lea rcx, [rsp + 0x30]
call fcn.1401bd3f0
mov dword [rsp + 0x34], 1
lea rdx, [0x1402a70a8]
lea rcx, [rsp + 0x34]
call fcn.1401bd3f0
mov dword [rsp + 0x38], 1
lea rdx, [0x1402a70a8]
lea rcx, [rsp + 0x38]
call fcn.1401bd3f0
mov dword [rsp + 0x3c], 1
lea rdx, [0x1402a70a8]
lea rcx, [rsp + 0x3c]
call fcn.1401bd3f0
int3
Function at 0x14000c250
Capabilities:
Check internet connectivity via wininet
Read data from internet
Receive data

Disassembly:
push rdi
mov eax, 0x18700
call fcn.1401b7d20
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 [0x1402ad7a8]
xor rax, rsp
mov qword [rsp + 0x186f0], rax
mov rbx, r8
cmp qword [0x1403a8fb8], 0
je 0x14000c3e5
xor edx, edx
lea rcx, [rsp + 0x38]
call qword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
je 0x14000c3e5
call fcn.140036e34
mov rcx, rax
test rax, rax
je 0x14000c413
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 0x14000c30c
cmp rbx, 0x10000
jae 0x14000c2fe
movzx edx, bx
lea rcx, [rsp + 0x28]
call fcn.140008900
jmp 0x14000c31f
mov rax, rdi
inc rax
cmp word [rbx + rax*2], si
jne 0x14000c301
jmp 0x14000c30e
mov eax, esi
mov r8d, eax
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.140008d30
nop
lea r8, [rsp + 0x28]
lea rdx, [0x1403b5e00]
lea rcx, [rsp + 0x30]
call fcn.14000c420
nop
mov rdx, qword [rsp + 0x28]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14000c354
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.14000a1b0
mov rbp, rax
test rax, rax
jne 0x14000c372
lea esi, [rax + 2]
jmp 0x14000c3c4
xor edx, edx
mov r8d, 0x186a0
lea rcx, [rsp + 0x50]
call fcn.1401bd260
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 0x14000c3b0
cmp dword [rsp + 0x20], 0
jbe 0x14000c3b0
mov bl, 1
jmp 0x14000c3b2
xor bl, bl
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetCloseHandle]
test bl, bl
jne 0x14000c3c4
mov esi, 3
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x14000c3e1
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov eax, esi
jmp 0x14000c3ea
mov eax, 1
mov rcx, qword [rsp + 0x186f0]
xor rcx, rsp
call fcn.1401b72a0
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 0x1400150c0
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.1401b7d20
sub rsp, rax
mov rax, qword [0x1402ad7a8]
xor rax, rsp
mov qword [rbp + 0x9270], rax
mov rdi, rcx
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x8000
call fcn.1401bd260
xor esi, esi
mov eax, esi
mov dword [rsp + 0x40], eax
lea ebx, [rsi + 0x14]
test rdi, rdi
je 0x14001533b
nop
test ebx, ebx
jle 0x14001515c
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 0x140015120
jmp 0x14001517d
test eax, eax
jne 0x14001517d
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 0x14001533b
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 0x14001532a
lea rcx, [rbp + 0x8060]
mov rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], si
jne 0x1400151c3
test rax, rax
je 0x14001532a
lea rdx, [0x140267cc8]
lea rcx, [rbp + 0x8060]
call fcn.1401bc770
test rax, rax
jne 0x140015209
lea rdx, [0x140267cd0]
lea rcx, [rbp + 0x8060]
call fcn.1401bc770
test rax, rax
je 0x14001532a
xor edx, edx
lea rcx, [rbp + 0x8670]
mov r8d, 0x400
call fcn.1401bd260
xor edx, edx
lea rcx, [rbp + 0x8a70]
mov r8d, 0x800
call fcn.1401bd260
xor edx, edx
lea rcx, [rbp + 0x7f50]
mov r8d, 0x104
call fcn.1401bd260
xor edx, edx
lea rcx, [rbp + 0x8270]
mov r8d, 0x400
call fcn.1401bd260
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, [0x140267cd8]
lea rcx, [rbp + 0x7f50]
call fcn.1401bc4e4
test rax, rax
jne 0x14001532a
lea rdx, [rbp + 0x8670]
lea rcx, [rbp + 0x7f50]
call fcn.140021e00
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.140014f00
lea rax, [rbp + 0x8270]
mov r9, 0xffffffffffffffff
nop dword [rax]
inc r9
cmp byte [rax + r9], sil
jne 0x1400152f0
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.140024b30
mov eax, dword [rsp + 0x40]
inc ebx
shr eax, 3
cmp ebx, eax
jb 0x140015190
mov eax, 1
mov rcx, qword [rbp + 0x9270]
xor rcx, rsp
call fcn.1401b72a0
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 0x140016800
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 [0x1402ad7a8]
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.1401bd260
xor edx, edx
mov r8d, 0xfa
lea rcx, [rsp + 0x280]
call fcn.1401bd260
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 0x1400168a4
xor edi, edi
test esi, esi
je 0x140016a52
movsxd rcx, esi
call fcn.14003594c
mov r14, rax
xor edx, edx
test rax, rax
setne dl
test edx, edx
je 0x140016a52
mov r9, rax
mov r8d, esi
xor edx, edx
mov rcx, r15
call qword [sym.imp.VERSION.dll_GetFileVersionInfoA]
test eax, eax
je 0x140016a4a
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 0x14001696e
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x70]
lea rdx, [0x140267e6c]
mov rcx, r14
call qword [sym.imp.VERSION.dll_VerQueryValueA]
mov esi, eax
test eax, eax
je 0x14001696e
lea rax, [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x4e40409
mov r15d, 0x4e4
lea r8, [0x140267e70]
mov edx, 0xfa
lea rcx, [rsp + 0x180]
call fcn.1401c9a9c
lea r8, [0x140267e80]
mov edx, 0xfa
lea rcx, [rsp + 0x280]
call fcn.1401c9a9c
jmp 0x140016974
mov r15d, 0x4e4
test esi, esi
je 0x140016a4a
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.1400175b0
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 0x140016a01
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.1400175b0
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 0x140016a29
test rbx, rbx
je 0x140016a33
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.1401c9b64
test rbx, rbx
je 0x140016a33
cmp byte [rbx], dil
jne 0x140016a45
mov rax, qword [rsp + 0x30]
mov word [rax + 2], r15w
test r12d, r12d
jmp 0x140016976
mov edi, 1
mov rcx, r14
call fcn.1401bf408
mov eax, edi
mov rcx, qword [rsp + 0x380]
xor rcx, rsp
call fcn.1401b72a0
mov rbx, qword [rsp + 0x3d0]
add rsp, 0x390
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x140018ea0
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
mov eax, 0x24d0
call fcn.1401b7d20
sub rsp, rax
mov rax, qword [0x1402ad7a8]
xor rax, rsp
mov qword [rsp + 0x24c0], rax
mov r14, qword [rsp + 0x2518]
mov rbx, r8
mov rsi, rcx
mov r8d, 0x208
lea rcx, [rsp + 0x1e90]
xor edx, edx
call fcn.1401bd260
xor edx, edx
lea rcx, [rsp + 0x22b0]
mov r8d, 0x208
call fcn.1401bd260
xor edx, edx
lea rcx, [rsp + 0x1d80]
mov r8d, 0x104
mov ebp, 1
call fcn.1401bd260
xor edx, edx
lea rcx, [rsp + 0x1c70]
mov r8d, 0x104
call fcn.1401bd260
xor edx, edx
lea rcx, [rsp + 0x20a0]
mov r8d, 0x208
call fcn.1401bd260
lea r9, [0x1403c0320]
mov edx, 0x104
lea r8, str._s.JPG
lea rcx, [rsp + 0x1e90]
call fcn.140008670
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x1d80]
mov qword [rsp + 0x30], 0
mov rdi, 0xffffffffffffffff
mov dword [rsp + 0x28], 0x104
mov r9d, edi
mov r8, rsi
mov qword [rsp + 0x20], rax
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea rdx, [rsp + 0x1c70]
lea rcx, [rsp + 0x1d80]
call fcn.140021e00
lea rax, [rsp + 0x1c70]
inc rdi
cmp byte [rax + rdi], 0
jne 0x140018fc4
test rdi, rdi
je 0x140018ffe
lea rax, [rsp + 0x20a0]
mov dword [rsp + 0x28], 0x400
mov r9d, edi
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x1c70]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
jmp 0x14001901c
lea r8, str.SHA_Failed_r_n
mov edx, 0x104
mov rcx, rbx
call fcn.140008670
mov rcx, rbx
call fcn.140024b30
xor ebp, ebp
mov r8, rsi
lea rdx, [rsp + 0x1e90]
call fcn.1400347c0
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, 0x1c24
lea rdi, [rsp + 0x40]
lea rsi, [0x1403b6600]
rep movsb byte [rdi], byte [rsi]
lea rcx, vtable.CAutoUpdater.0
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x22b0]
call fcn.14000b430
mov edi, dword [rsp + 0x2510]
lea rax, [rsp + 0x20a0]
mov qword [rsp + 0x38], rax
lea r8, str._s_:_Each__d_at__s_file:__s__Zip_CRC:__s___r_n
lea rax, [rsp + 0x1e90]
mov r9, r14
mov qword [rsp + 0x30], rax
mov edx, 0x104
lea rax, [rsp + 0x22b0]
mov rcx, rbx
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], edi
call fcn.140008670
mov rcx, rbx
call fcn.140024b30
mov eax, ebp
mov rcx, qword [rsp + 0x24c0]
xor rcx, rsp
call fcn.1401b72a0
lea r11, [rsp + 0x24d0]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret