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

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x40
mov qword [rbp + 0x10], rcx
mov dword [rbp - 0x14], 0
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
call sym._fpreset
lea rax, [0x1400496b0]
mov rcx, rax
call sym.pthread_mutex_lock
mov rax, qword [rbp - 8]
add rax, 0x38
mov rcx, rax
call sym.pthread_mutex_lock
lea rax, [sym.pthread_tls_init]
mov rdx, rax
lea rax, [0x140059f70]
mov rcx, rax
call sym._pthread_once_raw
mov eax, dword [0x1400496a0]
mov rdx, qword [rbp - 8]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsSetValue]
call rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
call rax
mov rdx, qword [rbp - 8]
mov dword [rdx + 0x70], eax
mov rax, qword [rbp - 8]
add rax, 0x38
mov rcx, rax
call sym.pthread_mutex_unlock
mov rdx, rbp
mov rax, qword [rbp - 8]
add rax, 0xd0
mov rcx, rax
call sym._setjmp
test eax, eax
jne 0x140040b8a
mov qword [rbp - 0x10], pe_nt_image_headers64
lea rax, [0x1400496b0]
mov rcx, rax
call sym.pthread_mutex_unlock
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
test rax, rax
je 0x140040b58
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 0x10]
mov rax, qword [rbp - 8]
mov rax, qword [rax + 8]
mov rcx, rax
call rdx
mov qword [rbp - 0x10], rax
nop
nop
lea rax, [0x1400496b0]
mov rcx, rax
call sym.pthread_mutex_lock
mov rdx, qword [rbp - 0x10]
mov rax, qword [rbp - 8]
mov qword [rax + 8], rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x1d8]
mov rcx, rax
call sym._pthread_cleanup_dest
jmp 0x140040b99
lea rax, [0x1400496b0]
mov rcx, rax
call sym.pthread_mutex_lock
mov rax, qword [rbp - 8]
add rax, 0x38
mov rcx, rax
call sym.pthread_mutex_lock
mov rax, qword [rbp - 8]
mov rax, qword [rax + 8]
mov dword [rbp - 0x14], eax
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x30]
test rax, rax
je 0x140040bd5
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x30]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov rax, qword [rbp - 8]
mov qword [rax + 0x30], 0
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x28]
test rax, rax
jne 0x140040c43
mov rax, qword [rbp - 8]
mov dword [rax], 0xdeadbeef
mov rax, qword [rbp - 8]
add rax, 0x38
mov rcx, rax
call sym.pthread_mutex_unlock
mov rax, qword [rbp - 8]
add rax, 0x38
mov rcx, rax
call sym.pthread_mutex_destroy
mov rax, qword [rbp - 8]
mov rcx, rax
call sym.push_pthread_mem
mov qword [rbp - 8], 0
mov eax, dword [0x1400496a0]
mov rdx, qword [rbp - 8]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsSetValue]
call rax
jmp 0x140040c8d
mov rax, qword [rbp - 8]
add rax, 0x38
mov rcx, rax
call sym.pthread_mutex_unlock
mov rax, qword [rbp - 8]
add rax, 0x38
mov rcx, rax
call sym.pthread_mutex_destroy
mov rax, qword [rbp - 8]
mov qword [rax + 0x38], 0xffffffffffffffff
mov rax, qword [rbp - 8]
mov dword [rax + 0xbc], 1
jmp 0x140040c8d
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
lea rax, [0x1400496b0]
mov rcx, rax
call sym.pthread_mutex_unlock
test eax, eax
je 0x140040c7f
mov eax, dword [rbp - 0x14]
mov ecx, eax
mov rax, qword [sym.imp.msvcrt.dll__endthreadex]
call rax
nop
Function at 0x1400027bc
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
movsxd rsi, edx
mov ecx, 0x1e240
call fcn.14000e7ec
mov rdi, rsi
test esi, esi
jle 0x1400027fa
xor byte [rbx], 0x40
call fcn.14000e7c0
cdq
idiv esi
inc dl
xor byte [rbx], dl
inc rbx
sub rdi, 1
jne 0x1400027e2
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x14000280c
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, rcx
movsxd rsi, edx
mov ecx, 0x1e240
call fcn.14000e7ec
mov rbx, rsi
test esi, esi
jle 0x14000284c
call fcn.14000e7c0
cdq
idiv esi
inc dl
xor dl, byte [rdi]
xor dl, 0x40
mov byte [rdi], dl
inc rdi
sub rbx, 1
jne 0x140002832
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1400185ec
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400183e8
Function at 0x14001f700
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.140008cb0
sub rsp, rax
mov rax, qword [0x140041020]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.14001d65c
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x14001f74f
mov rax, rbp
jmp 0x14001f857
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x43450]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.140020820
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x43450]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x14001f853
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14001f853
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.140020820
test rax, rax
js 0x14001f853
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x14001f853
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x14001f845
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x14001f845
cmp byte [rcx], 0xd
jne 0x14001f82b
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x14001f83a
cmp byte [rcx + 1], 0xa
jne 0x14001f83a
inc rcx
jmp 0x14001f83a
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x41430]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x14001f80d
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x14001f857
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.140008640
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x14001fa78
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14001fa8e
mov al, 1
jmp 0x14001faee
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x14001fa9f
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x14001faec
mov ecx, dword [rcx + 0x18]
nop
call fcn.140024648
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14001faec
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14001faec
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14001faec
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14001faee
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x14001fbc0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x140043450]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x14001fc17
cmp word [rdx], r13w
jne 0x14001fc17
or byte [rax + rdi*8 + 0x38], cl
jmp 0x14001fc1c
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x14001fd41
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x14001fd62
lea r9, [rdx + 2]
cmp cx, r11w
je 0x14001fc55
mov rdx, r9
mov word [rbx], cx
jmp 0x14001fc7c
cmp r9, r8
jae 0x14001fc8c
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x14001fc36
jmp 0x14001fd41
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14001fd36
cmp dword [rsp + 0x80], esi
je 0x14001fd36
lea r8, [0x140043450]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x14001fd0e
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x14001fcde
mov word [rbx], r13w
jmp 0x14001fd3e
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x14001fceb
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x14001fd3e
cmp word [rsp + 0x70], r13w
jne 0x14001fd1b
cmp rbx, r14
je 0x14001fcd8
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.140020828
cmp word [rsp + 0x70], r13w
je 0x14001fd41
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x140043450]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x14001fd3b
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x14001fd41
Function at 0x140023de0
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x140023e10
xor eax, eax
jmp 0x140023ed3
mov rbp, rbx
cmp word [rax], si
je 0x140023e35
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140023e1c
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140023e18
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.1400223e0
movsxd r14, eax
test eax, eax
jne 0x140023e73
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140023e09
mov rcx, r14
call fcn.14001c400
mov rdi, rax
test rax, rax
jne 0x140023e8c
xor ecx, ecx
call fcn.14001b60c
jmp 0x140023e68
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.1400223e0
test eax, eax
jne 0x140023ebd
mov rcx, rdi
call fcn.14001b60c
jmp 0x140023ec7
xor ecx, ecx
call fcn.14001b60c
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x140026b9c
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.14001b2ac
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x140026c3d
cmp ebx, dword [rsp + 0x30]
je 0x140026c36
test esi, esi
je 0x140026c36
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x140026c11
sub r8w, 0x61
cmp r8w, 0x19
ja 0x140026c1e
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x140026bfb
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x140026c22
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x140026c3f
mov eax, 1
jmp 0x140026c3f
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140029ea4
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.14001473c
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x140029f2e
cmp byte [rbp - 0x21], r15b
je 0x140029f29
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x140029f64
call fcn.14001b910
test eax, eax
jne 0x140029f50
cmp byte [rbp - 0x21], r15b
je 0x140029f48
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x140029f64
cmp byte [rbp - 0x21], r15b
je 0x140029f61
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.140017290
test eax, eax
jne 0x14002a004
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14001473c
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x140029fa3
cmp byte [rbp - 0x21], r15b
je 0x140029fd8
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140029fd8
call fcn.14001b910
test eax, eax
jne 0x140029fc4
cmp byte [rbp - 0x21], r15b
je 0x140029fbd
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140029fd8
cmp byte [rbp - 0x21], r15b
je 0x140029fd5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.140017290
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14002a004
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14002a007
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14002a015
mov rcx, rdi
call fcn.14001b60c
cmp byte [rbp + 0x3f], r15b
je 0x14002a024
mov rcx, qword [rbp + 0x27]
call fcn.14001b60c
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x140003f70
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140003fba
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140003fba
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140003fba
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140003fba
cmp dword [rcx + 0x84], 0xe
jbe 0x140003fba
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140003fbc
xor al, al
add rsp, 0x28
ret
Function at 0x4472a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
cmp rsp, qword [rcx + 0x10]
jbe 0x447426
sub rsp, 0x50
mov qword [rsp + 0x48], rbp
lea rbp, [rsp + 0x48]
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x4473f2
mov ecx, dword [rax + 0x18]
mov dword [rsp + 0x10], ecx
mov qword [rsp], rax
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 8], rcx
mov rdx, qword [rsp + 0x68]
mov qword [rsp + 0x18], rdx
mov qword [rsp + 0x20], 0
movzx ebx, byte [rsp + 0x70]
mov byte [rsp + 0x28], bl
call fcn.00446b10
movsxd rax, dword [rsp + 0x30]
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x58]
mov edx, dword [rcx + 0x1c]
mov dword [rsp + 0x10], edx
mov qword [rsp], rcx
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 8], rcx
mov rdx, qword [rsp + 0x68]
mov qword [rsp + 0x18], rdx
mov qword [rsp + 0x20], 0
movzx edx, byte [rsp + 0x70]
mov byte [rsp + 0x28], dl
call fcn.00446b10
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x40]
cmp rcx, 0xffffffffffffffff
jne 0x44738d
lea rax, [0x006fa8f6]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], 1
mov dword [rsp + 0x88], 0
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
cmp eax, 0xffffffff
je 0x447360
mov rdx, qword [rsp + 0x60]
mov rbx, qword [rdx + 0x38]
mov rsi, qword [rdx + 0x30]
cmp rcx, rbx
jge 0x447360
mov rbx, qword [rdx + 8]
mov rdx, qword [rdx]
jae 0x44741f
mov ecx, dword [rsi + rcx*4]
cmp rcx, rbx
jae 0x44741f
mov dword [rsp + 0x3c], eax
lea rax, [rdx + rcx]
mov qword [rsp], rax
call fcn.00444d80
mov rax, qword [rsp + 0x10]
mov rcx, qword [rsp + 8]
mov qword [rsp + 0x78], rcx
mov qword [rsp + 0x80], rax
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x88], eax
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
lea rax, [0x006fa8f6]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], 1
mov dword [rsp + 0x88], 0
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
call fcn.0042b800
ud2
call fcn.004557b0
jmp fcn.004472a0
Function at 0x4474b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
cmp rsp, qword [rcx + 0x10]
jbe 0x447612
sub rsp, 0x68
mov qword [rsp + 0x60], rbp
lea rbp, [rsp + 0x60]
mov rax, qword [rsp + 0x70]
mov ecx, dword [rax + 0x14]
mov dword [rsp + 0x10], ecx
mov qword [rsp], rax
mov rcx, qword [rsp + 0x78]
mov qword [rsp + 8], rcx
mov rdx, qword [rsp + 0x80]
mov qword [rsp + 0x18], rdx
mov rbx, qword [rsp + 0x88]
mov qword [rsp + 0x20], rbx
mov byte [rsp + 0x28], 1
call fcn.00446b10
mov eax, dword [rsp + 0x30]
test eax, 7
jne 0x447532
mov dword [rsp + 0x90], eax
mov rbp, qword [rsp + 0x60]
add rsp, 0x68
ret
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0x70]
mov qword [rsp], rax
mov rcx, qword [rsp + 0x78]
mov qword [rsp + 8], rcx
call fcn.004470b0
mov rax, qword [rsp + 0x18]
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x10]
mov qword [rsp + 0x58], rcx
mov rdx, qword [rsp + 0x70]
mov rbx, qword [rdx]
mov qword [rsp + 0x50], rbx
movsxd rdx, dword [rdx + 0x14]
mov qword [rsp + 0x48], rdx
call fcn.0042d970
lea rax, [0x006fdf56]
mov qword [rsp], rax
mov qword [rsp + 8], 0x10
call fcn.0042e310
mov rax, qword [rsp + 0x58]
mov qword [rsp], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 8], rax
call fcn.0042e310
call fcn.0042dbc0
mov rax, qword [rsp + 0x50]
mov qword [rsp], rax
call fcn.0042e1b0
call fcn.0042dbc0
mov rax, qword [rsp + 0x80]
mov qword [rsp], rax
call fcn.0042e1b0
call fcn.0042dbc0
mov rax, qword [rsp + 0x48]
mov qword [rsp], rax
call fcn.0042e1b0
call fcn.0042dbc0
mov eax, dword [rsp + 0x3c]
movsxd rcx, eax
mov qword [rsp], rcx
call fcn.0042e140
call fcn.0042dc10
call fcn.0042da00
mov eax, dword [rsp + 0x3c]
jmp 0x447521
call fcn.004557b0
jmp fcn.004474b0

Function at 0x44eb40
Capabilities:
Access peb ldr_data

Disassembly:
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
cmp rsp, qword [rcx + 0x10]
jbe 0x44ec20
sub rsp, 0x60
mov qword [rsp + 0x58], rbp
lea rbp, [rsp + 0x58]
mov rax, qword gs:[0x28]
mov rax, qword [rax]
mov qword [rsp + 8], 0
mov qword [rsp + 0x10], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x18], xmm0
movups xmmword [rsp + 0x28], xmm0
movups xmmword [rsp + 0x38], xmm0
movups xmmword [rsp + 0x48], xmm0
lea rcx, [0x00455100]
mov qword [rsp + 0x10], rcx
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x18], rcx
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 8]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call fcn.00455660
mov rax, qword [rsp + 8]
mov qword [rsp + 0x88], rax
mov rbp, qword [rsp + 0x58]
add rsp, 0x60
ret
call fcn.004557b0
jmp fcn.0044eb40
Function at 0x140001930
Capabilities:
Enumerate gui resources

Disassembly:
sub rsp, 0x28
xor r8d, r8d
lea rdx, [0x1400011c0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_EnumResourceTypesW]
xor eax, eax
add rsp, 0x28
ret
Function at 0x140002274
Capabilities:
Parse pe header

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

Function at 0x140005e10
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140005c3c

Function at 0x140012840
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140012868
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140012868
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140007204
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
call fcn.140007194
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateThread]
lea rcx, [0x140021210]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140020640]
jmp 0x140007240
cmp qword [rbx + 0x18], rdi
je 0x140007247
mov rbx, qword [rbx]
test rbx, rbx
jne 0x140007237
jmp 0x140007261
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbx + 0x10]
lea rcx, [0x140020640]
call fcn.1400123b8
lea rcx, [0x140021210]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xchg ecx, eax
push 0xffffffffc6de2228
jb 0x14003f627
test al, 0x94
fcom dword [rbx + 0x2e257760]
wait
sub al, 2
add al, byte [rdi + 0x2e8986f6]
sbb eax, 0xd7940def
insd dword [rdi], dx
mov bl, 0xa7
mov dword [rbx + 0x44], ebx
pop rbx
invalid
invalid
movabs eax, dword [0x3a70e9d0be6dcd9f]
jo 0x14003f66a
jle 0x14003f67b
sbb byte [rdx], dh
invalid
sub eax, 0xb7981248
xchg ecx, eax
jne 0x14003f5d2
in al, 9
mov edx, 0x651882d4
sbb ecx, dword [rcx + 0x23225638]
cmp byte [rsi + 0x22], dl
and ebp, dword [rax + 0x5a]
invalid
add al, 0xa
adc al, dh
outsd dx, dword [rsi]
rcr dword [rdx + rbx*4 + 0x61], cl
sub dword [rbp - 0x576dbb14], 0x9f1681d8
rcr r10d, 0xbe
push 0x3503d9bc
adc eax, 0xd36d7d67
jge 0x14003f6ed
shl dword [rax], cl
push rdx
out 0xc9, eax
or dl, byte [rdx]
invalid
xor eax, 0x6d7d6715
jge 0x14003f6ed
shl dword [rax], cl
push rdx
out 0xc9, eax
movsd dword [rdi], dword [rsi]
or byte [rax - 0x7577ebad], cl
push 0x3a95cd30
pop rbx
mov edx, 0x4dc24c30
ret 0x364d
cld
sub ah, byte [rdx + rcx*4 - 0x773e36eb]
xchg ecx, eax
jnp 0x14003f71a
ret 0x364d
jbe 0x14003f646
cwde
int1
invalid
insb byte [rdi], dx
sbb al, al
shr byte [rbp + 0x262a3335], 0x8c
out 0xa3, al
jge 0x14003f661
movsd dword [rdi], dword [rsi]
mov ebp, 0x7a6aec3f
fcomp qword [rcx + 0x38]
push 0xffffffffc3d8b5e1
or eax, 0x9d92b90e
mov al, byte [rax - 0x44]
cdq
lahf
mov ah, byte [rbx]
mov bl, 0x81
add dword [rcx + 0x30], 0xde5f5e96
invalid
and esi, dword [rbx - 0x69cfbe7f]
pop rsi
pop rdi
fsubrp st(2)
add dword [rcx + 0x30], 0xde5f5e96
loop 0x14003f6d8
cmc
scasd eax, dword [rdi]
lea eax, [rax - 0x53]
xor ebp, edx
cmc
pop rcx
imul ebp, edx, 0xb3a793d3
enter 0x285b, 4
pop rbx
sub byte [rdi + rbx*4], al
rcl dword [rbx + 0x5bc8b3a7], cl
pop rbx
sub byte [rdi + rbx*4], al
in eax, 0xcf
push rbp
invalid
xor byte [rax - 0x8bec93], ah
push rbp
push rsp
cmpsb byte [rsi], byte [rdi]
xor byte [rdi - 0x5d332d3e], al
xchg edx, eax
ror ah, cl
movabs byte [0xde24fcf65da136a2], al
retf 0x50e3
ror ah, cl
movabs byte [0xde24fcf65da136a2], al
pop rbp
idiv ah
and al, 0xde
retf 0x50e3
pop rbp
out 0xa9, eax
movabs eax, dword [0x45d35461a162809c]
and ebx, eax
fcmovu st(0), st(6)
retf 0x33ba
invalid