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

Disassembly:
cmp dword [0x14009ffe0], 0
jne 0x140041f75
xor edx, edx
mov ecx, 0x10001
jmp fcn.140039200
mov dword [rcx + 0x20], edx
ret

Function at 0x140041f80
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
cmp dword [0x14009ffe0], 0
jne 0x140041f95
xor edx, edx
mov ecx, 0x10001
jmp fcn.140039200
mov dword [rcx + 0x34], edx
mov dword [rcx + 0x38], r8d
jmp qword [0x1400a0128]

Function at 0x140041ff0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
cmp dword [0x14009ffe0], 0
jne 0x140042005
xor edx, edx
mov ecx, 0x10001
jmp fcn.140039200
cmp dword [rcx + 0x208], 0
jne 0x14004201f
lea rdx, str.Cannot_swap_buffers_of_a_window_that_has_no_OpenGL_or_OpenGL_ES_context
mov ecx, 0x1000a
jmp fcn.140039200
jmp qword [rcx + 0x258]

Function at 0x140042030
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [0x14009ffe0], 0
mov ebx, ecx
jne 0x140042052
xor edx, edx
mov ecx, 0x10001
add rsp, 0x20
pop rbx
jmp fcn.140039200
mov ecx, dword [0x1400a1988]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
jne 0x140042079
lea rdx, str.Cannot_set_swap_interval_without_a_current_OpenGL_or_OpenGL_ES_context
mov ecx, 0x10002
add rsp, 0x20
pop rbx
jmp fcn.140039200
mov ecx, ebx
add rsp, 0x20
pop rbx
jmp qword [rax + 0x260]

Function at 0x1400420a0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
cmp dword [0x14009ffe0], 0
jne 0x1400420b5
xor edx, edx
mov ecx, 0x10001
jmp fcn.140039200
jmp qword [0x1400a0200]
Function at 0x1400420c0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
cmp dword [0x14009ffe0], 0
jne 0x1400420d5
xor edx, edx
mov ecx, 0x10001
jmp fcn.140039200
cmp ecx, 0x21001
jg 0x1400421bb
je 0x1400421b4
lea eax, [rcx - 0x20001]
cmp eax, 0xe
ja case.0x1400422ac.139268
cdqe
lea r8, [0x140000000]
mov eax, dword [r8 + rax*4 + 0x42360]
add rax, r8
jmp rax
xor eax, eax
test edx, edx
setne al
mov dword [0x1400a02ac], eax
ret
xor eax, eax
test edx, edx
setne al
mov dword [0x1400a02d0], eax
ret
xor eax, eax
test edx, edx
setne al
mov dword [0x1400a02d8], eax
ret
xor eax, eax
test edx, edx
setne al
mov dword [0x1400a02dc], eax
ret
xor eax, eax
test edx, edx
setne al
mov dword [0x1400a02e0], eax
ret
xor eax, eax
test edx, edx
setne al
mov dword [0x1400a02e4], eax
ret
xor eax, eax
test edx, edx
setne al
mov dword [0x1400a02e8], eax
ret
xor eax, eax
test edx, edx
setne al
mov dword [0x1400a02d4], eax
ret
mov dword [0x1400a02b8], edx
ret
mov dword [0x1400a02bc], edx
ret
xor eax, eax
test edx, edx
setne al
mov dword [0x1400a02ec], eax
ret
xor eax, eax
test edx, edx
setne al
mov dword [0x1400a02f0], eax
ret
xor eax, eax
test edx, edx
setne al
mov dword [0x1400a02f4], eax
ret
mov dword [0x1400a0270], edx
ret
cmp ecx, 0x22001
jg 0x140042277
je 0x140042270
lea eax, [rcx - 0x21002]
cmp eax, 0xe
ja case.0x1400422ac.139268
cdqe
lea r8, [0x140000000]
mov eax, dword [r8 + rax*4 + 0x4239c]
add rax, r8
jmp rax
mov dword [0x1400a0274], edx
ret
mov dword [0x1400a0278], edx
ret
mov dword [0x1400a027c], edx
ret
mov dword [0x1400a0280], edx
ret
mov dword [0x1400a0284], edx
ret
mov dword [0x1400a0288], edx
ret
mov dword [0x1400a028c], edx
ret
mov dword [0x1400a0290], edx
ret
mov dword [0x1400a0294], edx
ret
mov dword [0x1400a0298], edx
ret
xor eax, eax
test edx, edx
setne al
mov dword [0x1400a029c], eax
ret
xor eax, eax
test edx, edx
setne al
mov dword [0x1400a02a8], eax
ret
mov dword [0x1400a02a0], edx
ret
xor eax, eax
test edx, edx
setne al
mov dword [0x1400a02a4], eax
ret
mov dword [0x1400a0740], edx
ret
mov dword [0x1400a0708], edx
ret
cmp ecx, 0x23001
jg 0x14004231e
je 0x140042310
lea eax, [rcx - 0x22002]
cmp eax, 0xa
ja case.0x1400422ac.139268
cdqe
lea r8, [0x140000000]
mov eax, dword [r8 + rax*4 + 0x423d8]
add rax, r8
jmp rax
xor eax, eax
test edx, edx
setne al
mov dword [0x1400a02f8], eax
ret
mov dword [0x1400a070c], edx
ret
mov dword [0x1400a0710], edx
ret
mov dword [0x1400a0714], edx
ret
mov dword [0x1400a0728], edx
ret
xor eax, eax
test edx, edx
setne al
mov dword [0x1400a0718], eax
ret
xor eax, eax
test edx, edx
setne al
mov dword [0x1400a071c], eax
ret
xor eax, eax
test edx, edx
setne al
mov dword [0x1400a0720], eax
ret
mov dword [0x1400a0724], edx
ret
mov dword [0x1400a072c], edx
ret
xor eax, eax
test edx, edx
setne al
mov dword [0x1400a02fc], eax
ret
cmp ecx, 0x23003
je 0x140042350
cmp ecx, 0x25001
je 0x140042342
mov r8d, ecx
lea rdx, str.Invalid_window_hint_0x_08X
mov ecx, 0x10003
jmp fcn.140039200
xor eax, eax
test edx, edx
setne al
mov dword [0x1400a0600], eax
ret
xor eax, eax
test edx, edx
setne al
mov dword [0x1400a0738], eax
ret
Function at 0x140045e10
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140045e5a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140045e5a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140045e5a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140045e5a
cmp dword [rcx + 0x84], 0xe
jbe 0x140045e5a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140045e5c
xor al, al
add rsp, 0x28
ret
Function at 0x14000e8b0
Capabilities:
Connect to http server
Create http request
Read data from internet
Receive data
Send data
Send http request

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x88
mov qword [rsp + 0x70], 0
cmp qword [rsp + 0xa0], 0
jne 0x14000e904
mov eax, 2
imul rax, rax, 0
mov rcx, qword [rsp + 0xa0]
movzx eax, word [rcx + rax]
test eax, eax
jne 0x14000e904
jmp 0x14000eb1a
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, str.WinInet_Test_Program
call qword [sym.imp.WININET.dll_InternetOpenW]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jne 0x14000e938
jmp 0x14000eb1a
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8w, 0x1bb
mov rdx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.WININET.dll_InternetConnectW]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x14000e98c
jmp 0x14000eb0f
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0x80800000
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rsp + 0xa8]
lea rdx, str.POST
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.WININET.dll_HttpOpenRequestW]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jne 0x14000e9e3
jmp 0x14000eb04
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [rsp + 0xc0]
mov dword [rsp + 0x20], ecx
mov r9, qword [rsp + 0xb8]
mov r8d, eax
mov rdx, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
jne 0x14000ea28
jmp 0x14000eaf9
mov edx, 1
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x40], 0
lea r9, [rsp + 0x44]
mov r8d, 0x1000
lea rdx, [0x140036450]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x14000ea6d
cmp dword [rsp + 0x44], 0
jne 0x14000ea6f
jmp 0x14000eae2
mov eax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x44]
lea eax, [rax + rcx + 1]
mov eax, eax
mov r8d, 2
mov edx, eax
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GlobalReAlloc]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
jne 0x14000ea9f
jmp 0x14000eae2
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
add rdx, rcx
mov rcx, rdx
lea rdx, [0x140036450]
mov rdi, rcx
mov rsi, rdx
mov ecx, eax
rep movsb byte [rdi], byte [rsi]
mov eax, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x40]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x40], eax
jmp 0x14000ea45
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
mov byte [rcx + rax], 0
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rax, qword [rsp + 0x70]
add rsp, 0x88
pop rdi
pop rsi
ret
Function at 0x14000f770
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x120
xor edx, edx
lea rcx, str.26E639E3_13CB_493E_9887_F1FECA0E1BE2
call qword [sym.imp.USER32.dll_FindWindowW]
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0
je 0x14000f899
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea rdx, [rsp + 0x68]
mov rcx, rax
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov qword [rsp + 0x70], rax
cmp dword [rsp + 0x68], 2
jne 0x14000f87f
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0x70]
mov rax, qword [rcx + rax]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
movzx eax, word [rax]
test eax, eax
je 0x14000f810
mov rax, qword [rsp + 0x60]
movzx eax, word [rax]
cmp eax, 0x3d
je 0x14000f810
mov rax, qword [rsp + 0x60]
add rax, 2
mov qword [rsp + 0x60], rax
jmp 0x14000f7e7
mov rax, qword [rsp + 0x60]
movzx eax, word [rax]
test eax, eax
je 0x14000f87f
mov rax, qword [rsp + 0x60]
add rax, 2
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x88]
mov rdi, rax
xor eax, eax
mov ecx, 0x18
rep stosb byte [rdi], al
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cdqe
shl rax, 1
mov dword [rsp + 0x90], eax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x98], rax
lea r9, [rsp + 0x88]
xor r8d, r8d
mov edx, 0x4a
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.USER32.dll_SendMessageW]
cmp qword [rsp + 0x70], 0
je 0x14000f892
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
jmp 0x14000f9fb
mov dword [rsp + 0xa0], 3
lea rax, [0x14000ef60]
mov qword [rsp + 0xa8], rax
mov dword [rsp + 0xb0], 0
mov dword [rsp + 0xb4], 0
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0xb8], rax
mov qword [rsp + 0xc0], 0
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorW]
mov qword [rsp + 0xc8], rax
mov qword [rsp + 0xd0], 6
mov qword [rsp + 0xd8], 0
lea rax, str.26E639E3_13CB_493E_9887_F1FECA0E1BE2
mov qword [rsp + 0xe0], rax
lea rcx, [rsp + 0xa0]
call qword [sym.imp.USER32.dll_RegisterClassW]
mov qword [rsp + 0x58], 0
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0x80000000
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x80000000
mov r9d, 0xcf0000
lea r8, str.Mastodon__authorization_code
lea rdx, str.26E639E3_13CB_493E_9887_F1FECA0E1BE2
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov qword [rsp + 0x80], rax
mov edx, 0xa
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.USER32.dll_UpdateWindow]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0xf0]
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x14000f9f4
lea rcx, [rsp + 0xf0]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0xf0]
call qword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x14000f9bc
mov eax, dword [rsp + 0x100]
add rsp, 0x120
pop rdi
ret
Function at 0x140019078
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140018ddc
Function at 0x140001250
Capabilities:
Create directory

Disassembly:
imul eax, dword [rcx - 0x77], 0x4c542444
mov eax, dword [rsp + 0x20]
and al, 0x20

Function at 0x14000126c
Capabilities:
Terminate process

Disassembly:
add byte [rax], al
add byte [rax], al
mov rax, qword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, 0xfffffffe
invalid
invalid
add rsp, 0x28
ret

Function at 0x140001270
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
add byte [r8], r8b
invalid

Function at 0x140001278
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
add byte [r8], r8b
invalid

Function at 0x1400012a0
Capabilities:
Terminate process

Disassembly:
push rsi
push rdi
sub rsp, 0x2a8
xor eax, eax
mov ecx, eax
invalid
invalid
xchg esp, eax

Function at 0x1400012b8
Capabilities:
Terminate process

Disassembly:
and al, 0x7c
invalid
test byte [rsp + riz*4], ah
and al, 0xa4
add al, byte [rax]

Function at 0x1400012c4
Capabilities:
Terminate process

Disassembly:
push rsi
mov qword [rsp + 0x288], 0x943ca17
mov r9, rdx

Function at 0x140001308
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x60], rdx
mov qword [rsp + 0x58], r9
and al, 0x58

Function at 0x14000131c
Capabilities:
Terminate process

Disassembly:
add al, byte [rax]
add byte [rax - 0x75], cl
mov ecx, dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]

Function at 0x140001344
Capabilities:
Terminate process

Disassembly:
lea rcx, [rsp + 0x7c]
mov rdx, qword [sym.imp.KERNEL32.dll_GetBinaryTypeW]
lea r9, [rsp + 0x7c]
jl 0x1400013a2
mov edx, dword [rsp + 0x60]
mov qword [rsp + 0x38], rcx
mov rcx, r10
mov qword [rsp + 0x30], rdx
mov rdx, r9
mov r9, qword [rsp + 0x30]
and al, 0x30
mov dword [rsp + 0x2c], eax
call r9
cmp eax, 0
je 0x1400013d7
invalid

Function at 0x140001358
Capabilities:
Terminate process

Disassembly:
lea rcx, [rsp + 0x7c]
mov rdx, qword [sym.imp.KERNEL32.dll_GetBinaryTypeW]
lea r9, [rsp + 0x7c]
jl 0x1400013a2
mov edx, dword [rsp + 0x60]
mov qword [rsp + 0x38], rcx
mov rcx, r10
mov qword [rsp + 0x30], rdx
mov rdx, r9
mov r9, qword [rsp + 0x30]
and al, 0x30
mov dword [rsp + 0x2c], eax
call r9
cmp eax, 0
je 0x1400013d7
invalid

Function at 0x1400013ec
Capabilities:
Terminate process

Disassembly:
and al, 0x60
mov dword [rsp + 0x294], 0x3db98b20
mov rax, qword [sym.imp.KERNEL32.dll_ExitProcess]
add byte [rcx + 7], bh
call rax

Function at 0x140001670
Capabilities:
Create directory

Disassembly:
movsb byte [rdi], byte [rsi]
add byte [r8], al
jmp qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
Function at 0x1400037f0
Capabilities:
Encode data using xor

Disassembly:
push rsi
sub rsp, 0x80
xor eax, eax
mov dword [rsp + 0x6c], 0x6669cab2
mov r9d, dword [rsp + 0x6c]
xor r9d, 0x6669cab2
mov r10d, r8d
xor r10d, 0xffffffff
mov dword [rsp + 0x7c], r10d
cmp r8d, r9d
mov qword [rsp + 0x60], rdx
mov dword [rsp + 0x5c], r8d
mov qword [rsp + 0x50], rcx
mov dword [rsp + 0x4c], eax
je 0x1400038a4
mov eax, dword [rsp + 0x4c]
lea rcx, [0x1400252c0]
mov edx, eax
and edx, 0xf
mov edx, edx
mov r8d, edx
mov edx, dword [rsp + 0x6c]
xor edx, 0x6669cab3
mov r9, qword [rsp + 0x50]
mov qword [rsp + 0x40], rcx
mov rcx, r9
mov r10, qword [rsp + 0x60]
mov dword [rsp + 0x3c], edx
mov rdx, r10
mov qword [rsp + 0x30], r8
mov r8d, eax
mov r11, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x30]
movzx r9d, byte [r11 + rsi]
mov dword [rsp + 0x2c], eax
call sym.TAPI32.dll_phoneSetHookSwitch
mov eax, dword [rsp + 0x2c]
mov r8d, dword [rsp + 0x3c]
add eax, r8d
mov r8d, dword [rsp + 0x5c]
cmp eax, r8d
mov dword [rsp + 0x4c], eax
jne 0x140003832
add rsp, 0x80
pop rsi
ret

Function at 0x140003980
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x48
mov eax, 0x173a69d7
mov edx, 0x4223d576
mov dword [rsp + 0x3c], 0x25b1be8b
sub edx, dword [rsp + 0x3c]
mov dword [rsp + 0x38], edx
mov edx, dword [rsp + 0x38]
add edx, 0x496e9615
mov r8d, dword [rcx + 0x3c]
mov qword [rsp + 0x40], 0x3a880ee1
movsxd r9, r8d
mov r10, rcx
add r10, r9
mov r8d, dword [rcx + r9]
cmp eax, edx
mov qword [rsp + 0x30], r10
mov dword [rsp + 0x2c], r8d
jae 0x1400039f3
xor eax, eax
mov ecx, dword [rsp + 0x2c]
sub ecx, 0x4550
mov edx, eax
mov r8, qword [rsp + 0x30]
cmove rdx, r8
mov rax, rdx
mov dword [rsp + 0x28], ecx
add rsp, 0x48
ret
mov rax, qword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, 0x3a59ad19
call rax
xor ecx, ecx
mov eax, ecx
add rsp, 0x48
ret
Function at 0x14000af80
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je case.default.0x14000afa1
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x14000afce
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x14000afd0
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x14000b029
test ecx, ecx
jle 0x14000b009
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x14000b029
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x14000b029
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret
invalid
Function at 0x14000b050
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x14000b072
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je case.default.0x14000b081
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x14000b0a4
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14000b0a6
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14000b0e2
mov qword [rsp + 0x20], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x14000b17e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x14000b11d
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x14000b15e
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x14000b17e
cmp rbx, rax
ja 0x14000b130
test rbx, rbx
je 0x14000b17e
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
invalid
Function at 0x14000b5f0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x1400dc040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14000b61d
xor eax, eax
jmp 0x14000b789
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x14000b657
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x14000b657
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x14000b789
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14000b77c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14000b69a
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x14000b6c5
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x14000b781
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x14000b734
sub eax, 1
je 0x14000b734
cmp eax, 2
jne 0x14000b77c
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x14000b781
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x14000b762
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x14000b77c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x14000b781
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14009aa20
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x14000d880
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x1400dc040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x14000d953
cmp byte [rcx + 0x71], 0
je 0x14000d953
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14000d94f
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x14000d914
sub eax, 1
je 0x14000d918
cmp eax, 2
jne 0x14000d94f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14009aa20
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x14000d946
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x14000d94f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14000d8fc
xor al, al
jmp 0x14000d8fc
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14009aa20
add rsp, 0x60
pop rbx
ret