joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000263cc
Capabilities:
Hide graphical window

Disassembly:
mov rax, rsp
push r12
sub rsp, 0x70
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov r12, r8
mov rsi, rcx
mov ebx, 0x408
mov edx, ebx
mov rcx, r8
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rdi, rax
test rax, rax
je 0x100026552
lea rdx, [rsp + 0x60]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowRect]
mov r9d, 2
lea r8, [rsp + 0x60]
mov rdx, r12
xor ecx, ecx
call qword [sym.imp.USER32.dll_MapWindowPoints]
mov qword [rsp + 0x58], rbx
and qword [rsp + 0x38], 0
mov qword [rsp + 0x30], rbx
and dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x54008080
xor r9d, r9d
lea r8, [rsp + 0x60]
mov rdx, r12
mov rcx, rsi
call fcn.100020df8
test rax, rax
je 0x100026552
call qword [sym.imp.PhotoBase.dll_public:_static_class_ATL::CAtlStringMgr____ptr64___cdecl_Base::String::GetBaseStringManager_void_]
mov r11, rax
xor ecx, ecx
test rax, rax
setne cl
test ecx, ecx
jne 0x10002648a
mov ecx, 0x80004005
call qword [sym.imp.PhotoBase.dll_void___cdecl_ATL::BaseAtlThrow_long_int_]
int3
mov rax, qword [rax]
mov rcx, r11
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rdi
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x48]
call fcn.100025c40
mov rbx, qword [rsp + 0x40]
mov rdx, rbx
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_SetWindowTextW]
test eax, eax
jne 0x1000264e5
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1000264e1
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
xor al, al
jmp 0x100026552
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x100026501
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov dword [rsp + 0x30], 3
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_SetWindowPos]
xor r8d, r8d
lea edx, [r8 - 0xc]
mov rcx, rdi
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
xor edx, edx
mov rcx, rdi
call qword [sym.imp.USER32.dll_EnableWindow]
xor edx, edx
mov rcx, rdi
call qword [sym.imp.USER32.dll_ShowWindow]
mov al, 1
jmp 0x100026552
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop r12
ret
Function at 0x100026bbc
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
sub rsp, 0x690
mov rax, qword [0x10003c108]
xor rax, rsp
mov qword [rsp + 0x680], rax
mov rbp, rdx
lea rdx, [0x100008ab8]
xor ebx, ebx
call sub.msvcrt.dll_wcstok
mov rdi, rax
test rax, rax
je 0x100026d03
lea r12d, [rbx + 1]
test ebx, ebx
js 0x100026d03
lea r8, [0x100009c50]
lea rcx, [rsp + 0x270]
mov r9, rdi
mov edx, 0x208
xor sil, sil
call fcn.10000fa7c
test eax, eax
js 0x100026ce9
and qword [rsp + 0x38], 0
lea rax, [rsp + 0x38]
lea rdx, [rsp + 0x270]
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100026ce9
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x40]
lea r9, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
lea rdx, [0x100007c1c]
xor r8d, r8d
mov dword [rsp + 0x30], r12d
mov dword [rsp + 0x40], 0x208
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100026cc9
cmp dword [rsp + 0x30], r12d
jne 0x100026cc9
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x60]
call qword [sym.imp.ole32.dll_CLSIDFromString]
movzx esi, sil
test eax, eax
cmovns esi, r12d
mov rcx, qword [rsp + 0x38]
call qword [entry0]
test sil, sil
je 0x100026ce9
mov r8d, r12d
mov rdx, rdi
mov rcx, rbp
call fcn.100026a64
mov ebx, eax
lea rdx, [0x100008ab8]
xor ecx, ecx
call sub.msvcrt.dll_wcstok
mov rdi, rax
test rax, rax
jne 0x100026c04
mov eax, ebx
mov rcx, qword [rsp + 0x680]
xor rcx, rsp
call fcn.10002c840
lea r11, [rsp + 0x690]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret

Function at 0x100026e54
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
lea rax, [rsp + 0x50]
mov r9, rcx
lea r8, [0x100026e08]
mov qword [rsp + 0x28], rax
and dword [rsp + 0x20], 0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdi, rax
test rax, rax
je 0x100026ec7
or edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [rsp + 0x48], eax
test eax, eax
jne 0x100026eb5
lea rdx, [rsp + 0x48]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x100026eb5
mov ebx, dword [rsp + 0x48]
jmp 0x100026ebc
call fcn.100026b8c
mov ebx, eax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x100026ece
call fcn.100026b8c
mov ebx, eax
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x100026ee4
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x2a0
mov rax, qword [0x10003c108]
xor rax, rsp
mov qword [rsp + 0x290], rax
mov rsi, rdx
lea rax, [rsp + 0x68]
xor ebp, ebp
lea rdx, [0x100009bc0]
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
mov ebx, ebp
mov qword [rsp + 0x68], rbp
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebp
jne 0x100027054
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x40], rbp
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbp
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rbp
mov dword [rsp + 0x60], 0x104
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
cmp eax, ebp
jne 0x100027039
mov edi, ebp
cmp dword [rsp + 0x60], ebp
jbe 0x100027047
cmp ebx, ebp
jl 0x100027047
lea rcx, [rsp + 0x82]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x80], bp
call sub.msvcrt.dll_memset
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x30], rbp
lea r9, [rsp + 0x70]
lea r8, [rsp + 0x80]
mov edx, edi
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x70], 0x104
mov qword [rsp + 0x20], rbp
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, ebp
jne 0x10002701d
lea rdx, [rsp + 0x80]
mov r8d, 4
mov rcx, rsi
call fcn.100026a64
mov ebx, eax
jmp 0x10002702b
movzx ebx, ax
or ebx, 0x80070000
cmp eax, ebp
cmovle ebx, eax
inc edi
cmp edi, dword [rsp + 0x60]
jb 0x100026fa4
jmp 0x100027047
movzx ebx, ax
or ebx, 0x80070000
cmp eax, ebp
cmovle ebx, eax
mov rcx, qword [rsp + 0x68]
call qword [entry0]
jmp 0x100027060
cmp eax, 2
je 0x100027060
call fcn.100026b8c
mov ebx, eax
mov eax, ebx
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.10002c840
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x1000277e4
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, rdx
mov rdi, rcx
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov ebx, eax
test eax, eax
jg 0x10002780c
mov eax, 0x80004005
jmp 0x100027837
mov edx, eax
xor ecx, ecx
call qword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov qword [rsi], rax
test rax, rax
jne 0x100027825
mov eax, 0x8007000e
jmp 0x100027837
lea r8d, [rbx + 1]
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowTextW]
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x100029bcc
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x20], r9
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x10
mov ebx, dword [rsp + 0x70]
mov eax, dword [rsp + 0x78]
mov r11d, 0x100
cmp ecx, r11d
mov ebp, r11d
mov r12d, ebx
cmovb ebp, ecx
shr r12d, 2
and ebx, 3
sub r11d, ebp
mov dword [rsp + 0x70], r12d
mov rsi, r8
test eax, eax
je 0x100029d3d
xor r13d, r13d
xor r14d, r14d
mov r8, rax
xor r15d, r15d
mov qword [rsp], rax
mov edi, r14d
mov r10d, r15d
add rdi, rsi
mov esi, r13d
add r10, rdx
add rsi, r9
test r12d, r12d
je 0x100029cdf
mov eax, r12d
mov r12, rax
mov edx, dword [rdi]
mov r8d, dword [r10]
add r10, 4
mov r9d, r8d
mov ecx, r8d
mov eax, edx
shr r9d, 8
shr eax, 8
and ecx, 0xff00ff
and r9d, 0xffff00ff
and eax, 0xffff00ff
shr r8d, 8
imul ecx, ebp
add rdi, 4
imul eax, r11d
imul r9d, ebp
add r9d, eax
mov eax, edx
shr edx, 8
and eax, 0xff00ff
imul eax, r11d
add ecx, eax
mov eax, 0xff00ff
and r8d, eax
and edx, eax
shr ecx, 8
xor r9d, ecx
and r9d, eax
imul r8d, ebp
imul edx, r11d
add r8d, edx
xor r9d, r8d
mov dword [rsi], r9d
add rsi, 4
sub r12, 1
jne 0x100029c53
mov r12d, dword [rsp + 0x70]
mov r8, qword [rsp]
mov r9, qword [rsp + 0x68]
test ebx, ebx
je 0x100029d0d
sub rdi, r10
mov edx, ebx
sub rsi, r10
movzx ecx, byte [rdi + r10]
movzx eax, byte [r10]
imul ecx, r11d
imul eax, ebp
add ecx, eax
shr ecx, 8
mov byte [rsi + r10], cl
inc r10
sub rdx, 1
jne 0x100029ceb
add r15d, dword [rsp + 0x80]
add r14d, dword [rsp + 0x88]
add r13d, dword [rsp + 0x90]
mov rsi, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x58]
sub r8, 1
mov qword [rsp], r8
jne 0x100029c32
mov rbx, qword [rsp + 0x50]
add rsp, 0x10
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x10002acf8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push r12
sub rsp, 0x30
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rdi
mov r12, r9
mov rbx, rcx
lea r8, [0x100009338]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdi, rax
test rax, rax
jne 0x10002ad3b
mov eax, 0x80004005
jmp 0x10002adf6
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
jne 0x10002ad56
mov eax, 0x80004005
jmp 0x10002adf6
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rsi, rax
test rax, rax
jne 0x10002ad71
mov eax, 0x80004005
jmp 0x10002adf6
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
jne 0x10002ad88
mov eax, 0x80004005
jmp 0x10002adf6
and qword [rsp + 0x20], 0
lea r8, [rsp + 0x20]
mov edx, eax
mov rcx, rsi
call fcn.10002bd8c
test eax, eax
jns 0x10002adbc
mov rax, qword [rsp + 0x20]
test rax, rax
je 0x10002adb5
lea rcx, [rax + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov eax, 0x80004005
jmp 0x10002adf6
mov rbx, qword [rsp + 0x20]
add rbx, 0x10
mov rax, qword [rbx]
mov r8, r12
lea rdx, [0x1000020e0]
mov rcx, rbx
call qword [rax]
mov edi, eax
test eax, eax
jns 0x10002adea
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx + 0x10]
mov eax, edi
jmp 0x10002adf6
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
nop
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r12
ret

Function at 0x10002c3c8
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0xd0
mov rax, qword [0x10003c108]
xor rax, rsp
mov qword [rsp + 0xc0], rax
xor edx, edx
mov rbx, rcx
lea r8d, [rdx + 0x28]
add rcx, r8
call sub.msvcrt.dll_memset
and qword [rbx + 0x50], 0
and dword [rbx + 0x58], 0
and dword [rbx + 0x5c], 0
lea rax, [0x100000000]
mov esi, 0x94
lea rcx, [rsp + 0x20]
mov r8, rsi
xor edx, edx
mov qword [rbx + 0x10], rax
mov qword [rbx + 8], rax
mov dword [rbx], 0x60
mov byte [rbx + 0x18], 0
call sub.msvcrt.dll_memset
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], esi
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [rsp + 0x30], 2
mov esi, 1
jne 0x10002c45b
cmp dword [rsp + 0x24], 5
jb 0x10002c475
jmp 0x10002c471
cmp dword [rsp + 0x30], esi
jne 0x10002c475
cmp dword [rsp + 0x24], 4
ja 0x10002c471
jne 0x10002c475
cmp dword [rsp + 0x28], 0
jbe 0x10002c475
mov byte [rbx + 0x18], sil
lea rax, [0x100001d30]
lea rcx, [rbx + 0x28]
mov dword [rbx + 0x1c], 0x800
mov qword [rbx + 0x20], rax
call fcn.10000d618
movzx ecx, byte [0x10003e3f8]
test eax, eax
mov rax, rbx
cmovs ecx, esi
mov byte [0x10003e3f8], cl
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.10002c840
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x10002c840
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x10003c108]
jne 0x10002c85b
rol rcx, 0x10
test cx, 0xffff
jne 0x10002c857
ret 0
ror rcx, 0x10
jmp 0x10002cec0
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x10003ccc0]
call qword [sym.imp.ntdll.dll_RtlCaptureContext]
mov r11, qword [0x10003cdb8]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.ntdll.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x10002cf45
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x10003ccc0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.ntdll.dll_RtlVirtualUnwind
jmp 0x10002cf67
mov rax, qword [rsp + 0x88]
mov qword [0x10003cdb8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x10003cd58], rax
mov rax, qword [0x10003cdb8]
mov qword [0x10003cc30], rax
mov rax, qword [rsp + 0x90]
mov qword [0x10003cd40], rax
mov dword [0x10003cc20], 0xc0000409
mov dword [0x10003cc24], 1
mov rax, qword [0x10003c108]
mov qword [rsp + 0x68], rax
mov rax, qword [0x10003c110]
mov qword [rsp + 0x70], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x100001db8]
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, 0x88
ret

Function at 0x10002cd5c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
cmp rcx, rdx
je 0x10002cda9
cmp rcx, 0xffffffffffffffff
je 0x10002cda9
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x10002cda1
cmp dword [rcx + 0x3c], edx
jl 0x10002cda1
cmp dword [rcx + 0x3c], 0x10000000
jae 0x10002cda1
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 0x10002cda9
mov rax, rdx
add rsp, 0x18
ret

Function at 0x10002cff4
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x530
lea rcx, [rsp + 0x60]
call qword [sym.imp.ntdll.dll_RtlCaptureContext]
mov rbx, qword [rsp + 0x158]
lea rdx, [rsp + 0x40]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.ntdll.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x10002d05f
and qword [rsp + 0x38], 0
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x50]
mov r9, rax
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x60]
mov r8, rbx
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call qword [sym.imp.ntdll.dll_RtlVirtualUnwind]
jmp 0x10002d07f
mov rax, qword [rsp + 0x538]
mov qword [rsp + 0x158], rax
lea rax, [rsp + 0x538]
mov qword [rsp + 0xf8], rax
lea rcx, [0x100001dc8]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
add rsp, 0x530
pop rbx
ret
Function at 0x1400037a0
Capabilities:
Create http request
Download and write a file
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x660
mov rax, qword [0x14007c040]
xor rax, rsp
mov qword [rsp + 0x650], rax
mov rsi, rdx
mov rbx, rcx
xor ebp, ebp
lea rcx, str.Download
mov edx, 1
mov dword [rsp + 0x20], ebp
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.WININET.dll_InternetOpenA]
mov rdi, rax
test rax, rax
jne 0x140003807
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str.Failed_to_open_internet_connection._n
call fcn.14000a090
xor al, al
jmp 0x140003982
mov qword [rsp + 0x38], rbp
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rbp
mov r9d, 0xffffffff
mov dword [rsp + 0x28], 0x100
mov r8, rbx
xor edx, edx
mov qword [rsp + 0x20], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
xor r9d, r9d
mov qword [rsp + 0x28], rbp
xor r8d, r8d
mov dword [rsp + 0x20], ebp
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov rbx, rax
test rax, rax
jne 0x14000387e
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str.Failed_to_open_URL._n
call fcn.14000a090
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor al, al
jmp 0x140003982
mov qword [rsp + 0x38], rbp
lea rax, [rsp + 0x150]
mov qword [rsp + 0x30], rbp
mov r9d, 0xffffffff
mov dword [rsp + 0x28], 0x100
mov r8, rsi
xor edx, edx
mov qword [rsp + 0x20], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea r8, [0x140062b68]
mov rdx, rsi
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__wfopen_s]
test eax, eax
je 0x1400038f5
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str.Failed_to_create_file._n
call fcn.14000a090
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor al, al
jmp 0x140003982
lea r9, [rsp + 0x48]
mov dword [rsp + 0x48], ebp
mov r8d, 0x400
lea rdx, [rsp + 0x250]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x140003963
nop dword [rax]
mov eax, dword [rsp + 0x48]
test eax, eax
je 0x140003963
mov r9, qword [rsp + 0x40]
lea rcx, [rsp + 0x250]
mov r8d, eax
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
lea r9, [rsp + 0x48]
mov r8d, 0x400
lea rdx, [rsp + 0x250]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x140003920
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov al, 1
mov rcx, qword [rsp + 0x650]
xor rcx, rsp
call fcn.14005ea90
mov rbx, qword [rsp + 0x690]
add rsp, 0x660
pop rdi
pop rsi
pop rbp
ret
Function at 0x140005080
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
mov eax, 0x1070
call fcn.14005fd90
sub rsp, rax
mov rax, qword [0x14007c040]
xor rax, rsp
mov qword [rsp + 0x1060], rax
mov rdi, rdx
mov rbx, rcx
mov qword [rsp + 0x38], rcx
xor ebp, ebp
mov dword [rsp + 0x20], ebp
xor r9d, r9d
xor r8d, r8d
mov edx, 1
lea rcx, str.HTTPGET
call qword [sym.imp.WININET.dll_InternetOpenA]
mov rsi, rax
test rax, rax
je 0x140005112
cmp qword [rdi + 0x18], 0xf
jbe 0x1400050e2
mov rdi, qword [rdi]
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov rdi, rax
test rax, rax
jne 0x140005137
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x18], rbp
xor r8d, r8d
lea rdx, [0x140062a48]
mov rcx, rbx
call fcn.14000ad90
jmp 0x1400051ee
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
movdqa xmm1, xmmword [0x1400713a0]
movdqu xmmword [rsp + 0x50], xmm1
mov byte [rsp + 0x40], bpl
lea r9, [rsp + 0x38]
mov r8d, 0xfff
lea rdx, [rsp + 0x60]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x1400051cb
nop
mov eax, dword [rsp + 0x38]
test eax, eax
je 0x1400051cb
cmp rax, 0x1000
jae 0x140005214
mov byte [rsp + rax + 0x60], 0
lea rax, [rsp + 0x60]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x140005195
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.140009930
lea r9, [rsp + 0x38]
mov r8d, 0xfff
lea rdx, [rsp + 0x60]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x140005170
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rsp + 0x50]
movups xmmword [rbx + 0x10], xmm1
mov rax, rbx
mov rcx, qword [rsp + 0x1060]
xor rcx, rsp
call fcn.14005ea90
mov rbx, qword [rsp + 0x10a0]
add rsp, 0x1070
pop rdi
pop rsi
pop rbp
ret
call fcn.14005ecd8
nop
int3
Function at 0x14000cfe0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x14000d03d
lea rbx, [0x140063440]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x14000d024
cmp r10, 2
jb 0x14000d024
cmp byte [r9], r8b
jne 0x14000d024
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x14000d000
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14000d07f
lea rbx, [0x140063440]
cmp r8b, 0x23
jne 0x14000d063
cmp byte [r9], r8b
jne 0x14000d063
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x14000d050
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x14000d240
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov rdi, r8
mov rbx, rcx
test rcx, rcx
jne 0x14000d26f
mov r8d, 0x645
lea rdx, str.E:oblivionimguiimgui.cpp
lea rcx, str.filename__mode
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
test rdi, rdi
je 0x14000d27b
mov qword [rdi], 0
lea rdx, [0x14006b978]
mov rcx, rbx
call fcn.14000d090
mov rbx, rax
test rax, rax
jne 0x14000d29d
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 0x30], rbp
mov rcx, rbx
mov qword [rsp + 0x38], rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x14000d376
xor edx, edx
mov r8d, 2
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14000d376
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x14000d376
xor r8d, r8d
mov edx, ebp
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14000d376
cmp rsi, 0xffffffffffffffff
je 0x14000d376
mov rax, qword [0x1400c12c0]
test rax, rax
je 0x14000d313
inc dword [rax + 0x3b0]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbp, rax
test rax, rax
je 0x14000d376
mov r9, rbx
mov r8, rsi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rsi
je 0x14000d363
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1400c12c0]
test rax, rax
je 0x14000d358
dec dword [rax + 0x3b0]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14000d37f
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rdi, rdi
je 0x14000d371
mov qword [rdi], rsi
mov rax, rbp
jmp 0x14000d381
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret