joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000bf00
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x30
mov rbp, rcx
lea r8, str.Fonts
xor ecx, ecx
mov esi, r9d
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
jne 0x14000bf68
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call fcn.140002cd0
xor edx, edx
mov dword [rsp + 0x28], ebx
mov rcx, rax
mov dword [rsp + 0x20], esi
lea r9, str.Failed_to_find_font_resource__d:_0x_x
lea r8d, [rdx + 3]
call fcn.140016a90
xor al, al
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
add rsp, 0x30
pop rsi
ret
mov rdx, rbx
mov qword [rsp + 0x40], rdi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rbx, qword [rbp + 8]
mov rdx, rdi
mov r8d, eax
mov rcx, qword [rbx + 8]
call qword [sym.imp.gdiplus.dll_GdipPrivateAddMemoryFont]
mov edi, eax
mov dword [rbx + 0x10], eax
call fcn.140002cd0
xor edx, edx
mov rcx, rax
test edi, edi
je 0x14000bfd2
mov dword [rsp + 0x28], edi
lea r9, str.Failed_to_load_font__d:__d
lea r8d, [rdx + 3]
mov dword [rsp + 0x20], esi
call fcn.140016a90
xor al, al
jmp 0x14000bfea
lea r9, str.Font_loaded:__d
mov dword [rsp + 0x20], esi
mov r8d, 1
call fcn.140016a90
mov al, 1
mov rdi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
add rsp, 0x30
pop rsi
ret
Function at 0x14000e830
Capabilities:
Create process on windows
Create process suspended

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x300
mov rax, qword [0x1401750a0]
xor rax, rsp
mov qword [rsp + 0x2f0], rax
mov rsi, rdx
mov rbp, rcx
call fcn.14000e0d0
xor edx, edx
lea rcx, [rsp + 0xe0]
mov r8d, 0x208
call fcn.1400dfb10
mov r8, rbp
lea rcx, [rsp + 0xe0]
mov edx, 0x104
call fcn.1400e6eec
lea rcx, [rsp + 0xe0]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov rcx, 0xffffffffffffffff
mov rax, rcx
nop
inc rax
cmp word [rsi + rax*2], 0
jne 0x14000e8a0
inc eax
movsxd rbx, eax
mov eax, 2
mul rbx
cmovo rax, rcx
mov rcx, rax
call fcn.1400ddb80
mov r8, rbx
xor edx, edx
mov rcx, rax
mov rdi, rax
call fcn.1400dfb10
mov r8, rsi
mov rdx, rbx
mov rcx, rdi
call fcn.1400e6eec
xor edx, edx
lea rcx, [rsp + 0x74]
lea r8d, [rdx + 0x64]
call fcn.1400dfb10
xor eax, eax
mov dword [rsp + 0x70], 0x68
mov qword [rsp + 0x50], rax
xor esi, esi
mov qword [rsp + 0x58], rax
xor r9d, r9d
mov qword [rsp + 0x60], rax
xor r8d, r8d
lea rax, [rsp + 0x50]
mov rdx, rdi
mov qword [rsp + 0x48], rax
mov rcx, rbp
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], esi
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov rcx, rdi
mov ebx, eax
call fcn.1400dd444
mov rax, qword [rsp + 0x50]
test ebx, ebx
cmove rax, rsi
mov rcx, qword [rsp + 0x2f0]
xor rcx, rsp
call fcn.1400dd420
mov rbx, qword [rsp + 0x330]
add rsp, 0x300
pop rdi
pop rsi
pop rbp
ret

Function at 0x14000ea40
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x260
mov rax, qword [0x1401750a0]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rdi, rdx
mov qword [rsp + 0x30], rcx
mov rsi, rcx
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x208
call fcn.1400dfb10
lea rdx, [rsp + 0x38]
mov rcx, rdi
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov ecx, eax
mov ebx, eax
call fcn.1400ddb80
mov r9, rax
mov r8d, ebx
xor edx, edx
mov rcx, rdi
mov rbp, rax
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test ebx, ebx
je 0x14000eb04
lea r9, [rsp + 0x3c]
mov rcx, rbp
lea r8, [rsp + 0x30]
lea rdx, [0x1401360cc]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
mov rax, qword [rsp + 0x30]
mov rcx, rbp
mov edi, dword [rax + 8]
mov ebx, dword [rax + 0xc]
call fcn.1400dd444
movzx eax, bx
lea rdx, str._d._d._d._d
movzx r9d, di
lea rcx, [rsp + 0x40]
shr edi, 0x10
shr ebx, 0x10
mov r8d, edi
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ebx
call qword [sym.imp.USER32.dll_wsprintfW]
xor eax, eax
mov qword [rsi + 0x18], 7
mov qword [rsi + 0x10], rax
mov r8, 0xffffffffffffffff
mov word [rsi], ax
lea rax, [rsp + 0x40]
inc r8
cmp word [rax + r8*2], 0
jne 0x14000eb21
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.140003d30
mov rax, rsi
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1400dd420
mov rbx, qword [rsp + 0x290]
add rsp, 0x260
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000eca0
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
mov r11, rsp
sub rsp, 0x278
mov rax, qword [0x1401750a0]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov qword [r11 + 0x10], rbx
xor edx, edx
mov rbx, rcx
mov qword [r11 - 8], rdi
lea rcx, [rsp + 0x50]
mov r8d, 0x208
call fcn.1400dfb10
xor r9d, r9d
lea rax, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x20], rax
xor ecx, ecx
lea edx, [r9 + 0x23]
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
movdqa xmm0, xmmword [0x140147cc0]
xor edi, edi
mov word [rsp + 0x30], di
movdqu xmmword [rsp + 0x40], xmm0
test eax, eax
jns 0x14000ed1a
xor r8d, r8d
lea rdx, [0x14013c890]
jmp 0x14000ed35
lea rax, [rsp + 0x50]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], di
jne 0x14000ed26
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.140003d30
lea rax, [rsp + 0x30]
cmp rbx, rax
je 0x14000ed75
mov rcx, rbx
call fcn.140003cc0
movups xmm0, xmmword [rsp + 0x30]
mov word [rsp + 0x30], di
movups xmm1, xmmword [rsp + 0x40]
movups xmmword [rbx], xmm0
movdqa xmm0, xmmword [0x140147cc0]
movdqu xmmword [rsp + 0x40], xmm0
movups xmmword [rbx + 0x10], xmm1
lea rcx, [rsp + 0x30]
call fcn.140003cc0
mov r8d, 0x10
lea rdx, str.OverwolfSetup_
mov rcx, rbx
call fcn.140007160
mov r8d, 0xd
lea rdx, str.ndp48_web.exe
mov rcx, rbx
call fcn.140007160
cmp qword [rbx + 0x18], 8
mov rdi, qword [rsp + 0x270]
jb 0x14000edbb
mov rbx, qword [rbx]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov rbx, qword [rsp + 0x288]
cmp eax, 0xffffffff
je 0x14000edef
test al, 0x10
jne 0x14000edef
mov al, 1
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1400dd420
add rsp, 0x278
ret
xor al, al
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1400dd420
add rsp, 0x278
ret

Function at 0x14000ee10
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
sub rsp, 0x50
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rax, qword [0x1401750a0]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rbx, r8
movdqa xmm0, xmmword [0x140147cc0]
movdqu xmmword [rsp + 0x38], xmm0
xor eax, eax
mov word [rsp + 0x28], ax
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rdx + r8*2], ax
jne 0x14000ee50
lea rcx, [rsp + 0x28]
call fcn.140003d30
nop
mov r8d, 1
lea rdx, [0x1401360cc]
lea rcx, [rsp + 0x28]
call fcn.140007160
mov r8d, reloc.SHLWAPI.dll_SHCreateMemStream
lea rdx, [0x1401364b8]
lea rcx, [rsp + 0x28]
call fcn.140007160
lea rcx, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000eedf
test al, 0x10
jne 0x14000eedf
lea rax, [rsp + 0x28]
cmp rbx, rax
je 0x14000eedb
lea rdx, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae rdx, qword [rsp + 0x28]
mov r8, qword [rsp + 0x38]
mov rcx, rbx
call fcn.140003d30
mov bl, 1
jmp 0x14000eee1
xor bl, bl
lea rcx, [rsp + 0x28]
call fcn.140003cc0
movzx eax, bl
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400dd420
add rsp, 0x50
pop rbx
ret
Function at 0x1400102d0
Capabilities:
Print debug messages
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rdx
test ecx, ecx
je 0x140010385
sub ecx, 1
je 0x140010361
sub ecx, 1
je 0x14001033d
sub ecx, 1
je 0x140010319
cmp ecx, 1
jne 0x1400103a9
lea rcx, str.5224
call fcn.14000f600
mov rdx, rbx
lea rcx, str.launcher_dotnet_installation_status
add rsp, 0x20
pop rbx
jmp fcn.14000fc00
lea rcx, str.5223
call fcn.14000f600
lea rcx, str.launcher_dotnet_user_unapproved
lea rdx, [0x140136580]
add rsp, 0x20
pop rbx
jmp fcn.14000fc00
lea rcx, str.5222
call fcn.14000f600
lea rcx, str.launcher_dotnet_user_approved
lea rdx, [0x140136580]
add rsp, 0x20
pop rbx
jmp fcn.14000fc00
lea rcx, str.5221
call fcn.14000f600
lea rcx, str.launcher_dotnet_silent_installer_missing
lea rdx, [0x140136580]
add rsp, 0x20
pop rbx
jmp fcn.14000fc00
lea rcx, str.5220
call fcn.14000f600
lea rcx, str.launcher_dotnet_nonsilent_installer_missing
lea rdx, [0x140136580]
add rsp, 0x20
pop rbx
jmp fcn.14000fc00
add rsp, 0x20
pop rbx
ret

Function at 0x140010510
Capabilities:
Get common file path
Get startup folder

Disassembly:
push rbx
sub rsp, 0x260
mov rax, qword [0x1401750a0]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rbx, rcx
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x40]
xor edx, edx
mov r8d, 0x208
call fcn.1400dfb10
xor r9d, r9d
lea rax, [rsp + 0x40]
xor r8d, r8d
mov qword [rsp + 0x20], rax
xor ecx, ecx
lea edx, [r9 + 0x1c]
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov qword [rbx + 0x18], 7
test eax, eax
jns 0x140010582
xor eax, eax
lea rdx, [0x14013c890]
mov qword [rbx + 0x10], rax
xor r8d, r8d
mov word [rbx], ax
jmp 0x1400105b0
xor eax, eax
mov r8, 0xffffffffffffffff
mov qword [rbx + 0x10], rax
mov word [rbx], ax
lea rax, [rsp + 0x40]
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x1400105a0
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.140003d30
mov rax, rbx
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1400dd420
add rsp, 0x260
pop rbx
ret
Function at 0x1400109b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
push rdi
sub rsp, 0x38
xor ebx, ebx
lea r8, [rcx + 0x10]
cmp qword [r8 + 0x18], 8
jb 0x1400109c7
mov r8, qword [r8]
mov rdx, qword [rcx + 8]
xor ecx, ecx
mov qword [rsp + 0x60], rbx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdi, rax
test rax, rax
je 0x140010a80
mov rdx, rax
mov qword [rsp + 0x68], rbp
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rdx, rdi
xor ecx, ecx
mov ebp, eax
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140010a7b
mov rcx, rax
mov qword [rsp + 0x30], rsi
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rsi, rax
test rax, rax
je 0x140010a76
mov edx, ebp
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rdi, rax
test rax, rax
je 0x140010a76
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x140010a6d
mov r8d, ebp
mov rdx, rsi
mov rcx, rax
call fcn.1400df6a0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea r8, [rsp + 0x60]
mov edx, 1
mov rcx, rdi
call qword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jns 0x140010a76
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rsi, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x60]
test rdi, rdi
je 0x140010b0e
xor edx, edx
mov qword [rsp + 0x58], rbx
lea rax, [rsp + 0x58]
mov qword [rsp + 0x50], rbx
lea r9, [0x1401189f0]
mov qword [rsp + 0x20], rax
lea rcx, [0x1401189d0]
lea r8d, [rdx + 1]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x140010b05
mov rcx, qword [rsp + 0x58]
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x20], rdx
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
mov rax, qword [rcx]
call qword [rax + 0x20]
test eax, eax
js 0x140010aef
mov rdx, qword [rsp + 0x50]
call fcn.14000d750
mov rbx, rax
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov rdx, qword [rdi]
mov rcx, rdi
call qword [rdx + 0x10]
mov rax, rbx
add rsp, 0x38
pop rdi
pop rbx
ret
Function at 0x140012e70
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rdi
sub rsp, 0x50
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov rax, qword [0x1401750a0]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rdi, rdx
lea rcx, [rsp + 0x28]
call fcn.140010510
nop
mov r8d, 0x16
lea rdx, str.OverwolfFirstRun.xml
lea rcx, [rsp + 0x28]
call fcn.140007160
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x14017d4f8], eax
jle 0x140012f23
lea rcx, [0x14017d4f8]
call fcn.1400dd664
cmp dword [0x14017d4f8], 0xffffffff
jne 0x140012f23
lea rcx, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140012f10
test al, 0x10
mov byte [0x14017d4fc], 1
je 0x140012f17
mov byte [0x14017d4fc], 0
lea rcx, [0x14017d4f8]
call fcn.1400dd604
movzx ebx, byte [0x14017d4fc]
test bl, bl
je 0x140012f62
test rdi, rdi
je 0x140012f62
lea rax, [rsp + 0x28]
cmp rdi, rax
je 0x140012f62
lea rdx, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae rdx, qword [rsp + 0x28]
mov r8, qword [rsp + 0x38]
mov rcx, rdi
call fcn.140003d30
movzx ebx, byte [0x14017d4fc]
lea rcx, [rsp + 0x28]
call fcn.140003cc0
movzx eax, bl
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400dd420
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
Function at 0x1400132b0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x1b8]
sub rsp, 0x2b0
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rdi
mov rax, qword [0x1401750a0]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
mov rdi, rcx
xor ebx, ebx
mov dword [rsp + 0x20], ebx
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x70]
call fcn.1400dfb10
cmp qword [rdi + 0x18], 8
jb 0x140013308
mov rdi, qword [rdi]
mov r8, rdi
mov edx, 0x104
lea rcx, [rbp - 0x70]
call fcn.1400e6eec
lea rcx, [rbp - 0x70]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], 7
mov word [rsp + 0x30], bx
lea rax, [rbp - 0x70]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], bx
jne 0x140013341
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x30]
call fcn.140003d30
nop
mov r8d, 1
lea rdx, [0x1401360cc]
lea rcx, [rsp + 0x30]
call fcn.140007160
mov r8d, 0x13
lea rdx, str.OverwolfUpdater.exe
lea rcx, [rsp + 0x30]
call fcn.140007160
lea rcx, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400134c3
test al, 0x10
jne 0x1400134c3
movdqa xmm0, xmmword [0x140147cc0]
movdqu xmmword [rbp - 0x80], xmm0
mov word [rsp + 0x70], bx
mov dword [rsp + 0x20], 1
mov rdx, qword [rsp + 0x40]
inc rdx
lea rcx, [rsp + 0x70]
call fcn.14000a3c0
mov r8d, 1
lea rdx, [0x14013d47c]
lea rcx, [rsp + 0x70]
call fcn.140007160
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae rdx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x40]
lea rcx, [rsp + 0x70]
call fcn.140007160
mov r8d, 1
lea rdx, [0x14013d47c]
lea rcx, [rsp + 0x70]
call fcn.140007160
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x60], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 7
mov word [rax], bx
lea rcx, [rsp + 0x70]
call fcn.140003cc0
mov r8d, 1
lea rdx, [0x14013d480]
lea rcx, [rsp + 0x50]
call fcn.140007160
mov r8d, 0x15
lea rdx, str._RunningFrom_Launcher
lea rcx, [rsp + 0x50]
call fcn.140007160
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae rcx, qword [rsp + 0x30]
call fcn.14000e830
test rax, rax
setne bl
lea rcx, [rsp + 0x50]
call fcn.140003cc0
nop
lea rcx, [rsp + 0x30]
call fcn.140003cc0
mov eax, ebx
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.1400dd420
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x140013500
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov rax, qword [0x1401750a0]
xor rax, rsp
mov qword [rsp + 0x50], rax
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
xor edi, edi
mov qword [rsp + 0x48], 7
mov qword [rsp + 0x40], rdi
mov r8, 0xffffffffffffffff
mov word [rsp + 0x30], di
nop dword [rax]
inc r8
cmp word [rax + r8*2], di
jne 0x140013550
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.140003d30
mov r15, qword [rsp + 0x30]
lea rax, [rsp + 0x30]
mov r12, qword [rsp + 0x48]
lea rbx, [rsp + 0x30]
mov r13, qword [rsp + 0x40]
lea r14, [rsp + 0x30]
cmp r12, 8
mov rsi, rdi
cmovae rax, r15
cmovae rbx, r15
cmovae r14, r15
lea rcx, [rax + r13*2]
mov rbp, rcx
sub rbp, rbx
inc rbp
shr rbp, 1
cmp rbx, rcx
cmova rbp, rdi
test rbp, rbp
je 0x1400135df
sub r14, rbx
movzx ecx, word [rbx]
call fcn.1400e737c
mov word [r14 + rbx], ax
inc rsi
add rbx, 2
cmp rsi, rbp
jne 0x1400135b7
mov r12, qword [rsp + 0x48]
mov r13, qword [rsp + 0x40]
mov r15, qword [rsp + 0x30]
mov rdx, qword [str._installapp]
test rdx, rdx
je 0x14001364d
lea rbx, str._installapp
nop dword [rax]
nop word [rax + rax]
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x140013610
mov r9, rdx
mov qword [rsp + 0x20], rax
cmp r12, 8
lea rcx, [rsp + 0x30]
mov rdx, r13
cmovae rcx, r15
xor r8d, r8d
call fcn.140009f50
cmp rax, 0xffffffffffffffff
jne 0x140013687
mov rdx, qword [rbx + rdi*8 + 8]
inc rdi
test rdx, rdx
jne 0x140013600
xor bl, bl
lea rcx, [rsp + 0x30]
call fcn.140003cc0
movzx eax, bl
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400dd420
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov bl, 1
jmp 0x14001364f
Function at 0x140013c90
Capabilities:
Hide graphical window

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x148]
mov rbx, rcx
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [rbx + 0x148]
mov rcx, qword [rbx]
call qword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [rbx + 0x140]
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [rbx + 0x144]
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [rbx + 0x2c]
mov rcx, qword [rbx + 0x20]
call qword [sym.imp.USER32.dll_ShowWindow]
cmp dword [rbx + 0x144], 0
jne 0x140013cf8
cmp dword [rbx + 0x2c], 0
jne 0x140013cf8
xor edx, edx
jmp 0x140013cfd
mov edx, 1
mov rcx, qword [0x14017c900]
call qword [sym.imp.USER32.dll_ShowWindow]
xor edx, edx
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.140012590
Function at 0x140015eb0
Capabilities:
Create directory
Get common file path

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x1a8]
sub rsp, 0x2a0
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov rax, qword [0x1401750a0]
xor rax, rsp
mov qword [rbp + 0x190], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x1c]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x14001606c
lea r8, str.OverwolfLogLauncher
mov edx, 0x104
lea rcx, [rbp - 0x80]
call fcn.1400e73d4
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x70], xmm0
movdqa xmm1, xmmword [0x140147cc0]
movdqu xmmword [rsp + 0x70], xmm1
xor eax, eax
mov word [rsp + 0x60], ax
lea rax, [rbp - 0x80]
mov rdi, 0xffffffffffffffff
mov r8, rdi
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140015f50
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x60]
call fcn.140003d30
nop
mov r8d, 0x11
lea rdx, [0x14013dee0]
lea rcx, [rsp + 0x60]
call fcn.140007160
lea rcx, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae rcx, qword [rsp + 0x60]
call fcn.140017e20
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x30], xmm0
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.140008010
nop
mov rcx, qword [rsp + 0x30]
add rcx, 0x68
call fcn.140002e40
mov rdx, rax
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
test eax, eax
je 0x140015fdc
cmp eax, 0xb7
je 0x140015fdc
mov rbx, qword [rsp + 0x38]
jmp 0x14001602d
lea rax, [rsp + 0x40]
mov qword [rsp + 0x58], rax
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x40], xmm0
mov rbx, qword [rsp + 0x38]
test rbx, rbx
je 0x140016002
lock inc dword [rbx + 8]
mov rbx, qword [rsp + 0x38]
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
call fcn.140002cd0
mov rcx, rax
lea rdx, [rsp + 0x40]
call fcn.1400167c0
call fcn.140002cd0
mov rcx, rax
call fcn.140016a80
nop
test rbx, rbx
je 0x140016061
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140016061
mov rbx, qword [rsp + 0x38]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x140016061
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
lea rcx, [rsp + 0x60]
call fcn.140003cc0
nop
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.1400dd420
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x140016400
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x18], r8
push rdi
sub rsp, 0x20
lea r8, [0x14013c9a8]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
je 0x14001651e
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test eax, eax
je 0x14001651e
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rsi, rax
test rax, rax
je 0x14001651e
xor ebx, ebx
mov qword [rsp + 0x30], rbp
mov edx, edi
mov ebp, edi
lea ecx, [rbx + 2]
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rdi, rax
test rax, rax
je 0x140016506
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x1400164fd
mov r8d, ebp
mov rdx, rsi
mov rcx, rax
call fcn.1400df6a0
lea r8, [rsp + 0x40]
mov qword [rsp + 0x40], rbx
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x1400164f4
mov rcx, qword [rsp + 0x40]
call fcn.14000a760
mov rcx, qword [rsp + 0x40]
mov rbx, rax
mov rdx, qword [rcx]
call qword [rdx + 0x10]
test rbx, rbx
je 0x1400164f4
mov ecx, dword [rbx + 0x10]
mov dword [rbx + 0x10], 0
test ecx, ecx
je 0x1400164f4
mov r8, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [r8]
xor ebx, ebx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rbp, qword [rsp + 0x30]
mov rax, rbx
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x38]
xor eax, eax
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret