joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x00404500]
xor edx, edx
mov dword [rax], 1
mov rax, qword [0x00404510]
mov dword [rax], 1
mov rax, qword [0x00404520]
mov dword [rax], 1
mov rax, qword [0x004044f0]
mov dword [rax], 1
mov rax, qword [0x004043e0]
cmp word [rax], 0x5a4d
je 0x4010b0
mov rax, qword [0x004044e0]
mov dword [0x00407008], edx
mov eax, dword [rax]
test eax, eax
je 0x4010a0
mov ecx, 2
call sym.__set_app_type
call sym.__p__fmode
mov rdx, qword [0x004044a0]
mov edx, dword [rdx]
mov dword [rax], edx
call sym._setargv
mov rax, qword [0x00404360]
cmp dword [rax], 1
je 0x4010f0
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x401075
movsxd rcx, dword [rax + 0x3c]
add rax, rcx
cmp dword [rax], 0x4550
jne 0x401058
movzx ecx, word [rax + 0x18]
cmp cx, 0x10b
je 0x401103
cmp cx, 0x20b
jne 0x401058
cmp dword [rax + 0x84], 0xe
jbe 0x401058
mov ecx, dword [rax + 0xf8]
xor edx, edx
test ecx, ecx
setne dl
jmp 0x401058
lea rcx, [sym._matherr]
call sym.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x401058
mov r8d, dword [rax + 0xe8]
xor edx, edx
test r8d, r8d
setne dl
jmp 0x401058
Function at 0x401d30
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x00407624]
test esi, esi
mov rbx, rcx
mov rbp, rdx
mov rdi, r8
jle 0x401eb8
mov rax, qword [0x00407628]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp rbx, rdx
jb 0x401d7c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rbx, rdx
jb 0x401e05
add ecx, 1
add rax, 0x28
cmp ecx, esi
jne 0x401d60
mov rcx, rbx
call sym.__mingw_GetSectionForAddress
test rax, rax
mov r12, rax
je 0x401eed
mov rax, qword [0x00407628]
lea rsi, [rsi + rsi*4]
shl rsi, 3
add rax, rsi
mov qword [rax + 0x20], r12
mov dword [rax], 0
call sym._GetPEImageBase
mov ecx, dword [r12 + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x00407628]
mov qword [rax + rsi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x401ed0
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x401dfe
sub eax, 0x40
and eax, 0xffffffbf
jne 0x401e60
add dword [0x00407624], 1
cmp edi, 8
jae 0x401e33
test dil, 4
jne 0x401ea4
test edi, edi
je 0x401e28
movzx eax, byte [rbp]
test dil, 2
mov byte [rbx], al
jne 0x401ebf
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov eax, edi
sub edi, 1
mov rdx, qword [rbp + rax - 8]
cmp edi, 8
mov qword [rbx + rax - 8], rdx
jb 0x401e28
and edi, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov rcx, qword [rbp + rdx]
cmp eax, edi
mov qword [rbx + rdx], rcx
jb 0x401e4c
jmp 0x401e28
add rsi, qword [0x00407628]
mov r8d, 0x40
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r9, rsi
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x401dfe
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call sym.__report_error
mov eax, dword [rbp]
mov edi, edi
mov dword [rbx], eax
mov eax, dword [rbp + rdi - 4]
mov dword [rbx + rdi - 4], eax
jmp 0x401e28
xor esi, esi
jmp 0x401d87
mov edi, edi
movzx eax, word [rbp + rdi - 2]
mov word [rbx + rdi - 2], ax
jmp 0x401e28
mov rax, qword [0x00407628]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [r12 + 8]
mov r8, qword [rax + rsi + 0x18]
call sym.__report_error
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call sym.__report_error
nop
nop dword [rax]

Function at 0x402640
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x00407900]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x004078e0]
test rbx, rbx
je 0x402694
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x40268b
test rsi, rsi
je 0x40268b
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x402670
lea rcx, [0x00407900]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x4028d0
Capabilities:
Parse pe header

Disassembly:
cmp word [rcx], 0x5a4d
je 0x4028e0
xor eax, eax
ret
jmp sym._ValidateImageBase.part.0

Function at 0x4028f0
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
lea rax, [rcx + rax + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x402931
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
mov r8d, dword [rax + 0xc]
cmp r8, rdx
mov rcx, r8
ja 0x402928
add ecx, dword [rax + 8]
cmp rcx, rdx
ja 0x402933
add rax, 0x28
cmp rax, r9
jne 0x402914
xor eax, eax
ret

Function at 0x4029d0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x004043e0]
cmp word [r8], 0x5a4d
mov rdx, rcx
jne 0x402a3d
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x402a3d
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x402a3d
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x402a34
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x402a3f
add rax, 0x28
cmp rax, r9
jne 0x402a20
xor eax, eax
add rsp, 0x28
ret

Function at 0x402b40
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x004043e0]
xor eax, eax
cmp word [r8], 0x5a4d
mov rdx, rcx
je 0x402b60
add rsp, 0x28
ret
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x402b58
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x402bbd
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x402bb4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x402bc4
add rax, 0x28
cmp rax, r9
jne 0x402ba0
xor eax, eax
add rsp, 0x28
ret
mov eax, dword [rax + 0x24]
not eax
shr eax, 0x1f
add rsp, 0x28
ret

Function at 0x402be0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r11, qword [0x004043e0]
cmp word [r11], 0x5a4d
mov r9d, ecx
jne 0x402c4e
mov rcx, r11
call sym._ValidateImageBase.part.0
test eax, eax
je 0x402c4e
movsxd rax, dword [r11 + 0x3c]
add rax, r11
mov edx, dword [rax + 0x90]
test edx, edx
je 0x402c4e
movzx ecx, word [rax + 0x14]
lea rcx, [rax + rcx + 0x18]
movzx eax, word [rax + 6]
test eax, eax
je 0x402c4e
sub eax, 1
lea rax, [rax + rax*4]
lea rax, [rcx + rax*8 + 0x28]
mov r10d, dword [rcx + 0xc]
cmp rdx, r10
mov r8, r10
jb 0x402c45
add r8d, dword [rcx + 8]
cmp rdx, r8
jb 0x402c55
add rcx, 0x28
cmp rcx, rax
jne 0x402c30
xor eax, eax
add rsp, 0x28
ret
add rdx, r11
jne 0x402c68
jmp 0x402c4e
sub r9d, 1
add rdx, 0x14
mov ecx, dword [rdx + 4]
test ecx, ecx
jne 0x402c76
mov eax, dword [rdx + 0xc]
test eax, eax
je 0x402c4e
test r9d, r9d
jg 0x402c60
mov eax, dword [rdx + 0xc]
add rax, r11
add rsp, 0x28
ret
Function at 0x140005820
Capabilities:
Accept command line arguments

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp - 0x38], 0xfffffffffffffffe
mov qword [rsp + 0xa0], rbx
mov rax, qword [0x1401a5020]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov r15, rcx
lea rcx, [rbp - 0x30]
call fcn.1400075a0
nop
lea rax, [rbp - 0x30]
mov rcx, qword [rbp - 0x30]
mov r8, qword [rbp - 0x18]
cmp r8, 8
cmovae rax, rcx
mov r9, qword [rbp - 0x20]
lea rbx, [rax + r9*2]
lea rdi, [rbp - 0x30]
cmovae rdi, rcx
cmp rdi, rbx
je 0x1400058a4
movzx ecx, word [rdi]
call fcn.1400922b0
test eax, eax
je 0x140005898
add rdi, 2
cmp rdi, rbx
jne 0x140005883
mov r8, qword [rbp - 0x18]
mov r9, qword [rbp - 0x20]
mov rcx, qword [rbp - 0x30]
lea r10, [rbp - 0x30]
cmp r8, 8
cmovae r10, rcx
lea rax, [rbp - 0x30]
cmovae rax, rcx
mov rdx, r10
sub rdx, rax
sar rdx, 1
cmp r9, rdx
jb 0x140005a70
sub rdi, r10
sar rdi, 1
mov rax, r9
sub rax, rdx
cmp rax, rdi
cmovb rdi, rax
lea rax, [rbp - 0x30]
cmp r8, 8
cmovae rax, rcx
lea rcx, [rax + rdx*2]
sub r9, rdi
mov qword [rbp - 0x20], r9
sub r9, rdx
lea r8, [r9*2 + 2]
lea rdx, [rcx + rdi*2]
call fcn.140081290
lea rax, [rbp - 0x30]
mov rcx, qword [rbp - 0x30]
mov r9, qword [rbp - 0x18]
cmp r9, 8
cmovae rax, rcx
mov r8, qword [rbp - 0x20]
lea rsi, [rax + r8*2]
lea r14, [rbp - 0x30]
cmovae r14, rcx
lea rax, [rbp - 0x30]
cmovae rax, rcx
lea rbx, [rax + r8*2]
cmp rbx, r14
je 0x140005964
nop dword [rax]
lea rdi, [rbx - 2]
movzx ecx, word [rdi]
call fcn.1400922b0
test eax, eax
je 0x140005958
mov rbx, rdi
cmp rdi, r14
jne 0x140005940
mov r9, qword [rbp - 0x18]
mov r8, qword [rbp - 0x20]
mov rcx, qword [rbp - 0x30]
lea rax, [rbp - 0x30]
cmp r9, 8
cmovae rax, rcx
mov rdx, rbx
sub rdx, rax
sar rdx, 1
cmp r8, rdx
jb 0x140005a76
sub rsi, rbx
sar rsi, 1
mov rax, r8
sub rax, rdx
cmp rax, rsi
cmovb rsi, rax
lea rax, [rbp - 0x30]
cmp r9, 8
cmovae rax, rcx
lea rcx, [rax + rdx*2]
sub r8, rsi
mov qword [rbp - 0x20], r8
sub r8, rdx
lea r8, [r8*2 + 2]
lea rdx, [rcx + rsi*2]
call fcn.140081290
xor edi, edi
cmp qword [rbp - 0x20], rdi
je 0x1400059fe
mov dword [rbp - 0x40], edi
lea rcx, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rcx, qword [rbp - 0x30]
lea rdx, [rbp - 0x40]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov rbx, rax
mov r8, rax
mov edx, dword [rbp - 0x40]
mov rcx, r15
call fcn.1400043d0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x140005a3a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005a35
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005a6a
call fcn.1400514f4
mov qword [rbp - 0x20], rdi
mov qword [rbp - 0x18], 7
mov word [rbp - 0x30], di
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140050f90
mov rbx, qword [rsp + 0xa0]
add rsp, 0x60
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.140090478
nop
call fcn.140008e20
nop
call fcn.140008e20
int3
Function at 0x14000e110
Capabilities:
Copy file

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0xe18]
sub rsp, 0xf00
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1401a5020]
xor rax, rsp
mov qword [rbp + 0xdf0], rax
mov rbx, rcx
xor edi, edi
mov r8d, 0x104
lea rdx, [rbp + 0x9d0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], 0x104
lea rax, [rbp + 0x5b0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x104
lea r9, [rbp + 0x190]
mov r8d, 0x104
lea rdx, [rbp + 0x3a0]
lea rcx, [rbp + 0x9d0]
call fcn.14009349c
lea rdx, str.overwolf
lea rcx, [rbp + 0x5b0]
call fcn.140092568
test eax, eax
je 0x14000e1db
lea rdx, str.Overwolf.Overlay.Testers.WPF
lea rcx, [rbp + 0x5b0]
call fcn.140092568
test eax, eax
jne 0x14000e3c0
lea rsi, str.OWLog.cfg
mov qword [rsp + 0x28], rsi
lea r14, [0x14015c32c]
mov qword [rsp + 0x20], r14
lea r9, [rbp + 0x190]
lea r8, [rbp + 0x3a0]
lea rdx, [0x14015c330]
lea rcx, [rbp - 0x80]
call fcn.140012060
lea r8, [rbx + 0x28]
cmp qword [r8 + 0x18], 8
jb 0x14000e21f
mov r8, qword [r8]
mov qword [rsp + 0x20], rsi
mov r9, r14
lea rdx, [0x14015c348]
lea rcx, [rbp + 0x7c0]
call fcn.140012060
mov r8d, 0x40
lea rdx, [0x14015ed10]
lea rcx, [rbp - 0x80]
call fcn.1400937d8
test rax, rax
je 0x14000e262
mov rcx, rax
call fcn.14009412c
jmp 0x14000e321
lea rcx, [rsp + 0x60]
call fcn.140014fb0
nop
lea r8, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae r8, qword [rsp + 0x60]
mov r9, rsi
lea rdx, [0x14015c358]
lea rcx, [rbp - 0x80]
call fcn.140012060
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], 0x104
lea r9, [rbp + 0x190]
mov r8d, 0x104
lea rdx, [rbp + 0x3a0]
lea rcx, [rbp - 0x80]
call fcn.14009349c
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x14000e30e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000e309
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000e3e9
call fcn.1400514f4
movdqa xmm0, xmmword [0x1401627f0]
movdqu xmmword [rsp + 0x70], xmm0
mov word [rsp + 0x60], di
xor r8d, r8d
lea rdx, [rbp + 0x7c0]
lea rcx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x14000e3c0
mov r8d, 0x40
lea rdx, [0x14015c364]
lea rcx, [rbp + 0x7c0]
call fcn.1400937d8
mov rbx, rax
test rax, rax
je 0x14000e3b9
lea rax, [rbp + 0x190]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x3a0]
lea r8, [rbp + 0x5b0]
lea rdx, str.__s__t_t_s_s
lea rcx, [rbp + 0xbe0]
call fcn.140012060
mov rdx, rbx
lea rcx, [rbp + 0xbe0]
call fcn.140093994
mov rdx, rbx
lea rcx, [0x14015c388]
call fcn.140093994
mov rcx, rbx
call fcn.140094028
mov rcx, rbx
call fcn.14009412c
mov eax, 1
jmp 0x14000e3c2
xor eax, eax
mov rcx, qword [rbp + 0xdf0]
xor rcx, rsp
call fcn.140050f90
lea r11, [rsp + 0xf00]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.140090478
int3
Function at 0x14000e930
Capabilities:
Create directory

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x270
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rax, qword [0x1401a5020]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rbx, rcx
xor ebp, ebp
lea rdi, [rbp - 1]
cmp qword [rcx + 0x18], rbp
je 0x14000e9a0
lea r8, [rcx + 8]
add rbx, 0x28
cmp rbx, r8
je 0x14000ea9f
mov rdx, r8
cmp qword [r8 + 0x18], 8
jb 0x14000e98f
mov rdx, qword [r8]
mov r8, qword [r8 + 0x10]
mov rcx, rbx
call fcn.140002170
jmp 0x14000ea9f
mov ecx, 0x208
call fcn.1400517e4
mov rsi, rax
mov rdx, rax
call fcn.1400140a0
lea r8, str.OverWolfLog
mov edx, 0x104
mov rcx, rsi
call fcn.140094218
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
movdqa xmm1, xmmword [0x1401627f0]
movdqu xmmword [rsp + 0x38], xmm1
mov word [rsp + 0x28], bp
mov r8, rdi
nop dword [rax + rax]
inc r8
cmp word [rsi + r8*2], bp
jne 0x14000e9f0
mov rdx, rsi
lea rcx, [rsp + 0x28]
call fcn.140002170
nop
add rbx, 0x28
lea rax, [rsp + 0x28]
cmp rbx, rax
je 0x14000ea42
mov rcx, rbx
call fcn.1400020c0
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rsp + 0x38]
movups xmmword [rbx + 0x10], xmm1
movdqa xmm0, xmmword [0x1401627f0]
movdqu xmmword [rsp + 0x38], xmm0
mov word [rsp + 0x28], bp
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x14000ea84
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ea7f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000eb5c
call fcn.1400514f4
movdqa xmm0, xmmword [0x1401627f0]
movdqu xmmword [rsp + 0x38], xmm0
mov word [rsp + 0x28], bp
mov rcx, rsi
call fcn.1400517ec
cmp qword [rbx + 0x18], 8
jb 0x14000eab0
mov rbx, qword [rbx]
nop dword [rax]
inc rdi
cmp word [rbx + rdi*2], 0
jne 0x14000eab0
cmp rdi, 0x104
jae 0x14000ead5
mov r8, rbx
mov edx, 0x104
lea rcx, [rsp + 0x50]
call fcn.1400948d4
mov edi, 0x5c
mov edx, edi
lea rcx, [rsp + 0x50]
call fcn.140080f1c
lea rcx, [rax + 2]
mov edx, edi
call fcn.140080f1c
mov rbx, rax
test rax, rax
je 0x14000eb26
nop dword [rax]
mov word [rbx], bp
xor edx, edx
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov word [rbx], di
mov edx, edi
lea rcx, [rbx + 2]
call fcn.140080f1c
mov rbx, rax
test rax, rax
jne 0x14000eb00
xor edx, edx
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140050f90
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call fcn.140090478
int3
Function at 0x1400140a0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0xe0
mov rax, qword [0x1401a5020]
xor rax, rsp
mov qword [rsp + 0xd0], rax
xor edi, edi
lea r8, str.Local_AppData
mov rbx, rdx
mov word [rdx], di
lea rcx, [rsp + 0x50]
mov word [rsp + 0x50], di
lea edx, [rdi + 0x40]
call fcn.1400948d4
lea rax, [rsp + 0x40]
mov dword [rsp + 0x40], 0x104
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x50]
mov qword [rsp + 0x28], rbx
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionExplorerUser_Shell_Folders
mov r9d, 0xffff
mov qword [rsp + 0x20], rdi
mov rcx, 0xffffffff80000001
call qword [sym.imp.SHLWAPI.dll_SHRegGetValueW]
lea eax, [rdi + 1]
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.140050f90
mov rbx, qword [rsp + 0xf0]
add rsp, 0xe0
pop rdi
ret

Function at 0x140014230
Capabilities:
Enumerate files on windows

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x2d0
mov rax, qword [0x1401a5020]
xor rax, rsp
mov qword [rsp + 0x2c0], rax
lea rdx, [rsp + 0x70]
mov rsi, r9
mov rdi, r8
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x1400142c0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindClose]
lea rcx, str.Failed____FindFirstFile_was_failed
mov r9d, 0xffcc
mov qword [rsp + 0x38], rcx
lea edx, [rbx + 9]
lea rcx, str.FolderHandler::enumFiles
mov dword [rsp + 0x30], 0xf1
mov qword [rsp + 0x28], rcx
lea r8d, [rbx + 5]
mov ecx, dword [0x1401a5ebc]
mov dword [rsp + 0x20], ecx
lea rcx, vtable.FlushLogger.0
call fcn.140010300
mov eax, ebx
jmp 0x140014348
mov eax, dword [rsp + 0x90]
lea rdx, [rsp + 0x48]
mov dword [rsp + 0x40], eax
lea rcx, [rsp + 0x84]
mov eax, dword [rsp + 0x8c]
mov dword [rsp + 0x44], eax
call qword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
lea r8, [rsp + 0x58]
xor ecx, ecx
lea rdx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_SystemTimeToTzSpecificLocalTime]
mov rdx, qword [rsp + 0x40]
lea r8, [rsp + 0x58]
mov r9, rsi
lea rcx, [rsp + 0x9c]
call rdi
cmp eax, 0xffffffff
je 0x14001433d
test eax, eax
je 0x14001432d
lea rdx, [rsp + 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1400142c0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
mov eax, 1
jmp 0x140014348
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
mov rcx, qword [rsp + 0x2c0]
xor rcx, rsp
call fcn.140050f90
add rsp, 0x2d0
pop rdi
pop rsi
pop rbx
ret
Function at 0x14001bb20
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
sub rsp, 0x70
mov rax, qword [0x1401a5020]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rsi, rcx
mov ecx, 0x20
call qword [sym.imp.d3d9.dll_Direct3DCreate9]
mov qword [rsi + 0x1e0], rax
test rax, rax
jne 0x14001bba9
mov ebx, dword [0x1401a5ebc]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x40], eax
lea rax, str.Create_d3d9_error_0x_x
mov qword [rsp + 0x38], rax
lea rax, [0x140158f80]
mov dword [rsp + 0x30], 0x81
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ebx
mov edx, 8
lea rcx, vtable.FlushLogger.0
mov r9d, 0xffffff
lea r8d, [rdx - 4]
call fcn.140010300
xor al, al
jmp 0x14001bc9d
cmp qword [rsi + 0x1b0], 0
mov qword [rsp + 0x88], rdi
mov edi, 0xa
mov ebx, edi
je 0x14001bc0a
mov rcx, qword [rsi + 0x1b8]
test rcx, rcx
je 0x14001bc0a
mov rax, qword [rcx]
lea rdx, [rsp + 0x50]
mov r8b, 1
call qword [rax + 0x10]
test eax, eax
je 0x14001bc0a
mov ebx, dword [rsp + 0x5c]
sub ebx, dword [rsp + 0x54]
mov edi, dword [rsp + 0x58]
sub edi, dword [rsp + 0x50]
jne 0x14001bc0a
test ebx, ebx
jne 0x14001bc0a
mov edi, 0xa
lea rcx, str.Zero_Size_Window____Reset_to_default_size_____n
mov ebx, edi
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov r8d, ebx
mov edx, edi
mov rcx, rsi
call fcn.14001ba90
mov rdi, qword [rsp + 0x88]
test al, al
je 0x14001bba2
mov rcx, qword [rsi + 0x1e0]
lea rax, [rsi + 0x1f0]
mov r9, qword [rsi + 0x68]
lea rbx, [rsi + 0x1e8]
xor edx, edx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rax
mov r10, qword [rcx]
mov dword [rsp + 0x20], 0x20
lea r8d, [rdx + 1]
call qword [r10 + 0x80]
cmp qword [rbx], 0
jne 0x14001bc9b
mov dword [rsp + 0x40], eax
lea rax, str.Create_device_error_0x_x
mov qword [rsp + 0x38], rax
lea rax, str.D3D9OOPManager::InitD3D
mov dword [rsp + 0x30], 0x9a
mov qword [rsp + 0x28], rax
mov eax, dword [0x1401a5ebc]
mov dword [rsp + 0x20], eax
jmp 0x14001bb87
mov al, 1
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140050f90
mov rbx, qword [rsp + 0x90]
add rsp, 0x70
pop rsi
ret
Function at 0x14001bd30
Capabilities:
Print debug messages

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x430
mov rax, qword [0x1401a5020]
xor rax, rsp
mov qword [rsp + 0x420], rax
mov edi, r8d
mov ebx, edx
mov rsi, rcx
xor edx, edx
mov r8d, 0x400
lea rcx, [rsp + 0x20]
call fcn.140081700
mov r9d, edi
lea rdx, str.ResetD3D_width_d___height_d_n
mov r8d, ebx
lea rcx, [rsp + 0x20]
call fcn.14001b910
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov r8d, edi
mov edx, ebx
mov rcx, rsi
call fcn.14001ba90
test al, al
je 0x14001bdd6
mov rcx, qword [rsi + 0x1e8]
lea rdx, [rsi + 0x1f0]
mov rax, qword [rcx]
call qword [rax + 0x80]
test eax, eax
je 0x14001bdda
cmp eax, 0x88760868
jne 0x14001bdc9
lea rcx, str.D3D9_Reset____D3DERR_DEVICELOST_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea rcx, str.D3D9_Reset_failed_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor al, al
jmp 0x14001bde9
lea rcx, str.D3D9_Reset_OK_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov al, 1
mov rcx, qword [rsp + 0x420]
xor rcx, rsp
call fcn.140050f90
add rsp, 0x430
pop rdi
pop rsi
pop rbx
ret
Function at 0x140024670
Capabilities:
Get graphical window text

Disassembly:
push rbx
sub rsp, 0x890
mov rax, qword [0x1401a5020]
xor rax, rsp
mov qword [rsp + 0x880], rax
lea rdx, [rsp + 0x70]
mov rbx, rcx
call qword [sym.imp.USER32.dll_GetClientRect]
xor eax, eax
lea r9, [rsp + 0x80]
mov qword [rsp + 0x30], rax
mov r8d, 0x400
mov dword [rsp + 0x28], 0x64
mov rcx, rbx
mov dword [rsp + 0x20], eax
lea edx, [rax + 0xd]
call qword [sym.imp.USER32.dll_SendMessageTimeoutW]
test rax, rax
jne 0x1400246e2
mov r8d, 0x104
lea rdx, [rsp + 0x80]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowTextW]
lea rax, [rsp + 0x80]
mov edx, 2
mov qword [rsp + 0x68], rax
lea rcx, vtable.FlushLogger.0
mov eax, dword [rsp + 0x7c]
mov r9d, 0xffffff
mov dword [rsp + 0x60], eax
mov r8d, edx
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x58], eax
mov eax, dword [rsp + 0x74]
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x48], eax
lea rax, str.Game_window_detect:_0x_x___d__d__d__d_:__s
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], rax
lea rax, str._anonymous_namespace::PrintGameWindowInfo
mov dword [rsp + 0x30], 0x26
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 1
call fcn.140010300
mov rcx, qword [rsp + 0x880]
xor rcx, rsp
call fcn.140050f90
add rsp, 0x890
pop rbx
ret
Function at 0x140024f80
Capabilities:
Get graphical window text

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x260
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1401a5020]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rbx, r8
mov rdi, rdx
mov qword [rsp + 0x30], rdx
xor esi, esi
mov dword [rsp + 0x20], esi
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x40]
call fcn.140081700
mov r8d, 0x104
lea rdx, [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], 7
mov word [rdi], si
lea rax, [rsp + 0x40]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], si
jne 0x140025000
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.140002170
nop
mov dword [rsp + 0x20], 1
mov rax, rdi
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140050f90
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret