joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400189ac
Capabilities:
Clear file content

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 r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14000cbcc
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14000cbcc
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140018afc
cmp rax, 0xffffffffffffffff
je 0x140018afc
xor edi, edi
test rbp, rbp
jle 0x140018aa7
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14000dfd0
mov rbx, rax
test rax, rax
jne 0x140018a34
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140018a9d
mov edx, 0x8000
mov ecx, r14d
call fcn.14000bf84
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.140015690
cmp eax, 0xffffffff
je 0x140018a7d
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140018a44
mov edx, r15d
mov ecx, r14d
call fcn.14000bf84
jmp 0x140018a9d
cmp byte [rsi + 0x38], dil
je 0x140018a94
cmp dword [rsi + 0x34], 5
jne 0x140018a94
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140018a9d
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14000e5fc
jmp 0x140018b10
jns 0x140018b10
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14000cbcc
cmp rax, 0xffffffffffffffff
jne 0x140018ac8
cmp byte [rsi + 0x30], dil
je 0x140018b10
mov edi, dword [rsi + 0x2c]
jmp 0x140018b10
mov ecx, r14d
call fcn.140013004
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140018b10
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x140018b10
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140018b09
mov eax, dword [rsi + 0x2c]
jmp 0x140018b0e
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14000cbcc
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x10000fa38
Capabilities:
Create process on windows
Get common file path

Disassembly:
test r8, r8
je 0x10000fb58
sub rsp, 0x478
mov rax, qword [0x10001e110]
xor rax, rsp
mov qword [rsp + 0x460], rax
cmp dword [r8 + 0x10], 0xfffffffe
je 0x10000fa6c
cmp dword [r8 + 0x10], 0xfffffffc
jne 0x10000fb41
movzx ecx, dx
sub ecx, 0x13a
je 0x10000fadc
cmp ecx, 0x12
jne 0x10000fb41
and qword [rsp + 0x30], 0
lea rax, [rsp + 0x30]
lea r8d, [rcx + 5]
lea rcx, [0x100001b70]
lea r9, [0x100002a48]
xor edx, edx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x10000faca
mov rcx, qword [rsp + 0x30]
lea r8, [0x1000029a8]
lea rdx, [0x1000029c8]
mov rax, qword [rcx]
xor r9d, r9d
call qword [rax + 0x18]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x10000fb41
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x10000fb41
lea rcx, [rsp + 0x40]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x10000fb41
lea rax, [0x100001e48]
lea r9, [rsp + 0x40]
lea r8, [0x100002998]
lea rcx, [rsp + 0x250]
mov edx, 0x104
mov qword [rsp + 0x20], rax
call fcn.1000102c8
test eax, eax
js 0x10000fb41
lea r8, [rsp + 0x250]
xor r9d, r9d
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x28], 1
and qword [rsp + 0x20], 0
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.1000192d0
add rsp, 0x478
ret
Function at 0x10000fcac
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
sub rsp, 0x110
mov rax, qword [0x10001e110]
xor rax, rsp
mov qword [rsp + 0x100], rax
xor r12d, r12d
lea r11, [0x100002a08]
mov r13d, 0x1000
mov rsi, r8
mov bpl, dl
mov r9, r8
sub r11, r8
mov r10, r13
mov ecx, r12d
lea rax, [r10 + 0x7fffeffe]
cmp rax, r12
je 0x10000fd20
movzx eax, word [r11 + r9]
cmp ax, r12w
je 0x10000fd20
mov word [r9], ax
add r9, 2
sub r10, 1
jne 0x10000fcfb
cmp r10, r12
jne 0x10000fd2e
sub r9, 2
mov ecx, 0x8007007a
mov word [r9], r12w
mov edi, r12d
jmp 0x10000fef6
cmp edi, 0x5a
ja 0x10000feff
mov ebx, edi
cmp bpl, r12b
je 0x10000fd51
mov ebx, 0x5a
sub ebx, edi
xor edx, edx
lea rcx, [rsp + 0x42]
add ebx, 0xa
lea r8d, [rdx + 0x3e]
mov word [rsp + 0x40], r12w
call sub.msvcrt.dll_memset
lea r8, [rsp + 0x30]
mov r9d, 2
mov edx, 0x20000075
mov ecx, 0x400
mov word [rsp + 0x30], r12w
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov r9d, 4
lea r8, [rsp + 0x38]
lea edx, [r9 + 0x72]
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
movzx r11d, word [rsp + 0x30]
sub r11d, 1
je 0x10000fdf0
sub r11d, 1
je 0x10000fdcf
cmp r11d, 1
je 0x10000fdc6
lea r8, [0x100002918]
jmp 0x10000fdf7
lea r8, [0x100002948]
jmp 0x10000fdd6
lea r8, [0x100002938]
lea r9, [rsp + 0x38]
lea rcx, [rsp + 0x40]
mov edx, 0x20
mov dword [rsp + 0x20], ebx
call fcn.1000102c8
jmp 0x10000fe13
lea r8, [0x100002928]
lea rax, [rsp + 0x38]
lea rcx, [rsp + 0x40]
mov r9d, ebx
mov edx, 0x20
mov qword [rsp + 0x20], rax
call fcn.1000102c8
cmp eax, r12d
mov ecx, eax
jl 0x10000fef4
xor edx, edx
lea rcx, [rsp + 0x82]
mov word [rsp + 0x80], r12w
lea r8d, [rdx + 0x7e]
call sub.msvcrt.dll_memset
lea r11, [rsp + 0x40]
lea r8, [0x100002a18]
lea rcx, [rsp + 0x80]
mov r9d, edi
mov edx, 0x40
mov qword [rsp + 0x20], r11
call fcn.1000102c8
cmp eax, r12d
mov ecx, eax
jl 0x10000fef4
mov rax, r13
mov rdx, rsi
mov ecx, r12d
cmp word [rdx], r12w
je 0x10000fe84
add rdx, 2
sub rax, 1
jne 0x10000fe74
cmp rax, r12
jne 0x10000fe93
mov ecx, 0x80070057
mov rdx, r12
jmp 0x10000fe99
mov rdx, r13
sub rdx, rax
cmp ecx, r12d
jl 0x10000fef4
mov r8, r13
lea rax, [rsi + rdx*2]
mov ecx, r12d
sub r8, rdx
je 0x10000fee7
lea r10, [rsp + 0x80]
lea r9, [r8 + rdx + 0x7fffefff]
sub r10, rax
cmp r9, r12
je 0x10000fee2
movzx edx, word [r10 + rax]
cmp dx, r12w
je 0x10000fee2
dec r8
mov word [rax], dx
dec r9
add rax, 2
cmp r8, r12
jne 0x10000fec0
cmp r8, r12
jne 0x10000fef0
sub rax, 2
mov ecx, 0x8007007a
mov word [rax], r12w
inc edi
cmp ecx, r12d
jge 0x10000fd3a
mov eax, ecx
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.1000192d0
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r13
pop r12
pop rdi
ret
Function at 0x10001850c
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov edi, edx
mov rbx, rcx
mov rax, qword [0x10001e120]
lea rcx, [0x10001e120]
cmp rax, rcx
je 0x100018560
test byte [rax + 0x1c], 0x10
je 0x100018560
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [0x10001e120]
lea r8, [0x100001cf8]
sub eax, dword [rbx + 0x30]
mov rcx, qword [rcx + 0x10]
mov edx, 0xc
mov r9d, edi
mov dword [rsp + 0x20], eax
call fcn.100010338
cmp dword [rbx + 0x1c], 2
jne 0x100018576
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [rbx + 0x30]
cmp eax, 0xc8
jbe 0x100018579
mov dword [rbx + 0x1c], edi
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x14021f970
Capabilities:
Execute syscall

Disassembly:
mov rax, qword [rsp + 0x28]
mov qword [rax + 8], rbx
mov rbx, rax
pop qword [rax]
mov eax, dword [rax + 0x10]
mov r10, rcx
syscall
mov rcx, rbx
push qword [rcx]
mov rbx, qword [rcx + 8]
ret

Function at 0x14021fc10
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 0x14021fc4a
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x14021fc4f
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 0x14021fc98
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x140293ce0]
cmp byte [rcx + rax], 0
je 0x14021fc98
dec r8
sub rdx, 1
jne 0x14021fc7e
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

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

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rdx, rcx
mov ecx, 0x105
call fcn.14021fd74
mov ebx, eax
test eax, eax
jne 0x14022038c
and dword [rsp + 0x38], eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x3c], eax
jmp 0x1402203e8
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1402203df
test al, 0x10
je 0x1402203df
bt eax, 0xa
jae 0x1402203d8
mov r9d, 0x2000000
lea rcx, [rsp + 0x38]
mov r8d, 0x80
mov rdx, rdi
call fcn.140220400
mov rcx, qword [rsp + 0x38]
mov edi, eax
cmp rcx, 0xffffffffffffffff
je 0x1402203d4
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x1402203f8
test edi, edi
jne 0x1402203df
and dword [rsp + 0x3c], 0
jmp 0x1402203e4
or dword [rsp + 0x3c], 0xffffffff
mov dword [rsp + 0x38], ebx
mov rax, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
call fcn.140230340
int3

Function at 0x14022147c
Capabilities:
Parse pe header

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

Function at 0x1402308d4
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1402306c4
Function at 0x140234d64
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.140220d10
sub rsp, rax
mov rax, qword [0x1402b2140]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.140232d8c
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x140234db3
mov rax, rbp
jmp 0x140234ebb
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 + 0x2b3e10]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.140234a14
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x2b3e10]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x140234eb7
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 0x140234eb7
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.140234a14
test rax, rax
js 0x140234eb7
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x140234eb7
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x140234ea9
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x140234ea9
cmp byte [rcx], 0xd
jne 0x140234e8f
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x140234e9e
cmp byte [rcx + 1], 0xa
jne 0x140234e9e
inc rcx
jmp 0x140234e9e
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x2b2aa0]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x140234e71
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x140234ebb
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.140221090
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 0x140236bec
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x140236c73
mov rsi, rbx
cmp word [rax], bp
je 0x140236c32
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x140236c1c
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x140236c18
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.1402319d8
mov rdi, rax
test rax, rax
je 0x140236c60
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.14023d7c0
mov rbp, rdi
xor ecx, ecx
call fcn.14023199c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14023a964
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x30
movsxd rbp, ecx
mov r9, r8
mov rax, rbp
lea rcx, [0x1402b3e10]
and eax, 0x3f
mov r10, rbp
sar r10, 6
xor edi, edi
mov rsi, rdx
mov r14, rbp
lea r8, [rax + rax*8]
mov rax, qword [rcx + r10*8]
mov ecx, 4
mov qword [rsp + 0x78], rcx
mov r11, qword [rax + r8*8 + 0x28]
lea r12d, [rcx + 6]
test r9, r9
je 0x14023a9c2
cmp word [rdx], r12w
jne 0x14023a9c2
or byte [rax + r8*8 + 0x38], cl
jmp 0x14023a9c8
and byte [rax + r8*8 + 0x38], 0xfb
lea rdx, [rdx + r9*2]
mov rcx, rsi
mov rbx, rsi
cmp rsi, rdx
jae 0x14023ab23
mov r9d, 0x1a
lea r13d, [r9 - 0xd]
movzx eax, word [rcx]
cmp ax, r9w
je 0x14023aafe
lea r9, [rcx + 2]
cmp ax, r13w
je 0x14023aa01
mov rcx, r9
jmp 0x14023aa24
cmp r9, rdx
jae 0x14023aa3b
cmp word [r9], r12w
mov eax, 2
cmove rax, qword [rsp + 0x78]
add rcx, rax
mov eax, r12d
cmp word [r9], r12w
cmovne ax, r13w
mov word [rbx], ax
mov r9d, 0x1a
add rbx, 2
cmp rcx, rdx
jb 0x14023a9e5
jmp 0x14023ab23
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rdi
mov r8d, 2
lea rdx, [rsp + 0x70]
mov rcx, r11
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14023aaf8
cmp dword [rsp + 0x80], edi
je 0x14023aaf8
mov rdx, r14
lea r11, [0x1402b3e10]
sar rdx, 6
and r14d, 0x3f
mov rax, qword [r11 + rdx*8]
lea r8, [r14 + r14*8]
test byte [rax + r8*8 + 0x38], 0x48
je 0x14023aad1
movzx eax, word [rsp + 0x70]
cmp ax, r12w
jne 0x14023aaa4
mov word [rbx], r12w
jmp 0x14023ab1f
mov word [rbx], r13w
mov word [rsp + 0x78], ax
mov rax, qword [r11 + rdx*8]
lea rcx, [rax + r8*8]
mov al, byte [rsp + rdi + 0x78]
mov byte [rcx + rdi + 0x3a], al
inc rdi
cmp rdi, 2
jl 0x14023aaad
mov rax, qword [r11 + rdx*8]
mov byte [rax + r8*8 + 0x3c], r12b
jmp 0x14023ab1f
cmp word [rsp + 0x70], r12w
jne 0x14023aade
cmp rbx, rsi
je 0x14023aa9e
mov rdx, 0xfffffffffffffffe
mov ecx, ebp
lea r8d, [rdx + 3]
call fcn.140234a1c
cmp word [rsp + 0x70], r12w
je 0x14023ab23
mov word [rbx], r13w
jmp 0x14023ab1f
lea r11, [0x1402b3e10]
mov rcx, qword [r11 + r10*8]
mov al, byte [rcx + r8*8 + 0x38]
test al, 0x40
jne 0x14023ab1b
or al, 2
mov byte [rcx + r8*8 + 0x38], al
jmp 0x14023ab23
mov word [rbx], r9w
add rbx, 2
sub rbx, rsi
sar rbx, 1
lea eax, [rbx + rbx]
add rsp, 0x30
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14023d470
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14023d498
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14023d498
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1400065c0
Capabilities:
Parse pe header

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

Function at 0x14000e918
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14000e714
Function at 0x140015f3c
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 0x140015f6c
xor eax, eax
jmp 0x14001602f
mov rbp, rbx
cmp word [rax], si
je 0x140015f91
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140015f78
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140015f74
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.140014514
movsxd r14, eax
test eax, eax
jne 0x140015fcf
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140015f65
mov rcx, r14
call fcn.140012220
mov rdi, rax
test rax, rax
jne 0x140015fe8
xor ecx, ecx
call fcn.1400111ac
jmp 0x140015fc4
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.140014514
test eax, eax
jne 0x140016019
mov rcx, rdi
call fcn.1400111ac
jmp 0x140016023
xor ecx, ecx
call fcn.1400111ac
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 0x1400188b0
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.140011560
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 0x140018951
cmp ebx, dword [rsp + 0x30]
je 0x14001894a
test esi, esi
je 0x14001894a
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x140018925
sub r8w, 0x61
cmp r8w, 0x19
ja 0x140018932
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x14001890f
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x140018936
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x140018953
mov eax, 1
jmp 0x140018953
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14001c7a0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14001c7c8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14001c7c8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140002d80
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push r14
sub rsp, 0x70
mov rbp, qword [0x140117800]
mov rbx, rcx
movaps xmmword [rsp + 0x60], xmm6
mov r14, rbp
movaps xmmword [rsp + 0x50], xmm7
movaps xmm6, xmm1
movaps xmm7, xmm2
lea rax, [rbp + 8]
cmp rax, rcx
je 0x140002f97
mov r8d, 0x590
lea rdx, str.C:UsershenryDownloadsimgui_dx11_loader_by_james_mainimgui_dx11_loader_by_james_mainimgui.cpp
lea rcx, str.g.IO__this___Can_only_add_events_to_current_context._
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rbp, qword [0x140117800]
cmp byte [rbx + 0x37a1], 0
je 0x140003141
movss xmm1, dword [0x1400bc94c]
xorps xmm2, xmm2
comiss xmm7, xmm1
mov qword [rsp + 0x80], rsi
mov qword [rsp + 0x88], rdi
jbe 0x140002fe4
comiss xmm7, xmm2
cvttss2si eax, xmm7
jae 0x140002fdd
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, xmm7
jp 0x140002fdb
je 0x140002fdd
dec eax
movd xmm7, eax
cvtdq2ps xmm7, xmm7
comiss xmm6, xmm1
jbe 0x140003009
comiss xmm6, xmm2
cvttss2si eax, xmm6
jae 0x140003002
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, xmm6
jp 0x140003000
je 0x140003002
dec eax
movd xmm6, eax
cvtdq2ps xmm6, xmm6
mov esi, dword [rbp + 0x37c0]
sub esi, 1
movsxd rdi, esi
js 0x14000305f
lea rbx, [rdi + rdi*2]
shl rbx, 3
nop
cmp esi, dword [rbp + 0x37c0]
jl 0x140003042
mov r8d, 0x6fe
lea rdx, str.C:UsershenryDownloadsimgui_dx11_loader_by_james_mainimgui_dx11_loader_by_james_mainimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rbp + 0x37c8]
cmp dword [rbx + rax], 1
je 0x1400030e9
dec esi
sub rbx, 0x18
sub rdi, 1
jns 0x140003020
movsd xmm0, qword [r14 + 0xdfc]
lea rax, [rsp + 0x28]
movsd qword [rsp + 0x28], xmm0
movss xmm0, dword [rax]
ucomiss xmm0, xmm6
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x80]
movss xmm1, dword [rax + 4]
jp 0x14000309e
jne 0x14000309e
ucomiss xmm1, xmm7
jp 0x14000309e
je 0x140003141
lea rbx, [r14 + 0x37c0]
movss dword [rsp + 0x38], xmm6
mov ecx, dword [rbx]
mov r8d, dword [rbx + 4]
movss dword [rsp + 0x3c], xmm7
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x34], 1
cmp ecx, r8d
jne 0x14000311f
inc ecx
test r8d, r8d
je 0x14000310b
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x140003110
movss xmm0, dword [rbx + rax + 8]
movss xmm1, dword [rbx + rax + 0xc]
lea rax, [rsp + 0x20]
movss dword [rsp + 0x20], xmm0
movss dword [rsp + 0x24], xmm1
jmp 0x140003073
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rbx
call fcn.14001e120
movsxd rax, dword [rbx]
movups xmm0, xmmword [rsp + 0x30]
movsd xmm1, qword [rsp + 0x40]
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 8]
movups xmmword [rax + rcx*8], xmm0
movsd qword [rax + rcx*8 + 0x10], xmm1
inc dword [rbx]
movaps xmm6, xmmword [rsp + 0x60]
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
movaps xmm7, xmmword [rsp + 0x50]
mov rsp, r11
pop r14
ret