joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800e35a3
Capabilities:
Create thread
Terminate thread

Disassembly:
jmp 0x18027fdd0
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xf8
lea rbp, [rsp + 0x30]
lea rcx, [0x18036b54b]
call fcn.1800e5c4f
cmp dword [rbp + 0xe8], 1
jne 0x18027fe48
mov rcx, qword [rbp + 0xe0]
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
mov rax, qword [rbp + 0xe0]
mov qword [0x180350b10], rax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x1800e18a2]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [0x180350ae0], rax
cmp dword [rbp + 0xe8], 0
jne 0x18027fe60
xor edx, edx
mov rcx, qword [0x180350ae0]
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, 1
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret

Function at 0x1800e363e
Capabilities:
Reference http user-agent string

Disassembly:
jmp 0x180289700
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
sub rsp, 0x1b0
lea rbp, [rsp + 0x20]
mov rax, qword [rbp + 0x1b0]
lea rdx, str.Mozilla_5.0__Windows_NT_6.1__Win64__x64__rv:89.0__Gecko_20100101_Firefox_89.0
mov rcx, rax
call fcn.1800e3305
nop
mov rax, qword [rbp + 0x1b0]
add rax, 0x28
mov rcx, rax
call fcn.1800e5c09
nop
mov rax, qword [rbp + 0x1b0]
add rax, 0x50
mov rcx, rax
call fcn.1800e5c09
nop
mov rax, qword [rbp + 0x1b0]
add rax, 0x78
mov rcx, rax
call fcn.1800e5c09
nop
mov rax, qword [rbp + 0x1b0]
add rax, 0xa0
lea rdx, [0x1803184c0]
mov rcx, rax
call fcn.1800e3305
nop
mov rax, qword [rbp + 0x1b0]
add rax, 0xc8
mov rcx, rax
call fcn.1800e5c09
nop
mov rax, qword [rbp + 0x1b0]
add rax, 0xf0
lea rdx, str.www.example.com
mov rcx, rax
call fcn.1800e3305
nop
mov rax, qword [rbp + 0x1b0]
add rax, 0x118
mov rcx, rax
call fcn.1800e36f2
nop
mov rax, qword [rbp + 0x1b0]
add rax, 0x190
mov rcx, rax
call fcn.1800e12ad
nop
mov rax, qword [rbp + 0x1b0]
mov byte [rax + 0x1a8], 1
mov rax, qword [rbp + 0x1b0]
mov byte [rax + 0x1a9], 1
mov rax, qword [rbp + 0x1b0]
mov byte [rax + 0x1aa], 1
mov rax, qword [rbp + 0x1b0]
mov qword [rax + 0x1b0], 0
lea r8, [0x1802bdc65]
lea rdx, [0x1802bdc65]
lea rcx, [rbp + 0x130]
call fcn.1800e4e3a
nop
lea rax, [rbp + 0x180]
mov r8, rax
lea rdx, [rbp + 0x130]
lea rcx, [rbp + 0xc8]
call fcn.1800e3c83
lea rcx, [rbp + 0x100]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rbp + 0x1b0]
add rax, 0x1b8
lea rdx, [rbp + 0x100]
mov rcx, rax
call fcn.1800e60be
nop
lea r9, [fcn.1800e4b10]
mov r8d, 1
mov edx, 0x50
lea rcx, [rbp + 0x130]
call fcn.1800e2347
mov rax, qword [rbp + 0x1b0]
mov dword [rax + 0x1d0], 0
mov rax, qword [rbp + 0x1b0]
mov dword [rax + 0x1d4], 0
mov rax, qword [rbp + 0x1b0]
mov dword [rax + 0x1d8], 1
mov rax, qword [rbp + 0x1b0]
lea rsp, [rbp + 0x190]
pop rdi
pop rsi
pop rbp
ret
Function at 0x1800e3a7b
Capabilities:
Terminate process

Disassembly:
jmp 0x18029f080
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 0x1800e407a
Capabilities:
Write file on windows

Disassembly:
jmp 0x18017cea0
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xe8
lea rbp, [rsp + 0x20]
lea rcx, [0x18036b22f]
call fcn.1800e5c4f
mov r9, qword [rbp + 0xf8]
mov r8, qword [rbp + 0xf0]
mov rdx, qword [rbp + 0xe8]
mov rcx, qword [rbp + 0xe0]
call qword [sym.imp.ucrtbased.dll_fwrite]
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret

Function at 0x1800e42c3
Capabilities:
Read file on windows

Disassembly:
jmp 0x18017ce30
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xe8
lea rbp, [rsp + 0x20]
lea rcx, [0x18036b22f]
call fcn.1800e5c4f
mov r9, qword [rbp + 0xf8]
mov r8, qword [rbp + 0xf0]
mov rdx, qword [rbp + 0xe8]
mov rcx, qword [rbp + 0xe0]
call qword [sym.imp.ucrtbased.dll_fread]
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret
Function at 0x1800e42d7
Capabilities:
Hash data with crc32

Disassembly:
jmp 0x18017db00
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x198
lea rbp, [rsp + 0x20]
lea rcx, [0x18036b22f]
call fcn.1800e5c4f
mov eax, dword [rbp + 0x1a0]
not eax
mov dword [rbp + 0x1a0], eax
mov eax, dword [rbp + 0x1a0]
mov dword [rbp + 4], eax
mov rax, qword [rbp + 0x190]
mov qword [rbp + 0x28], rax
lea rax, [0x1802c4190]
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x198], 0
je 0x18017dc38
mov rax, qword [rbp + 0x198]
mov qword [rbp + 0x158], rax
mov rax, qword [rbp + 0x198]
dec rax
mov qword [rbp + 0x198], rax
cmp qword [rbp + 0x158], 0
je 0x18017db99
mov dword [rbp + 0x160], 1
jmp 0x18017dba3
mov dword [rbp + 0x160], 0
cmp dword [rbp + 0x160], 0
je 0x18017dc33
mov rax, qword [rbp + 0x28]
movzx eax, byte [rax]
mov byte [rbp + 0x64], al
mov rax, qword [rbp + 0x28]
inc rax
mov qword [rbp + 0x28], rax
movzx eax, byte [rbp + 0x64]
cmp eax, 0x23
jne 0x18017dc0d
cmp qword [rbp + 0x198], 2
jb 0x18017dc0d
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x18017dc0d
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x18017dc0d
mov eax, dword [rbp + 0x1a0]
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shr eax, 8
mov ecx, dword [rbp + 4]
and ecx, 0xff
movzx edx, byte [rbp + 0x64]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rbp + 0x48]
xor eax, dword [rdx + rcx*4]
mov dword [rbp + 4], eax
jmp 0x18017db64
jmp 0x18017dcc5
mov rax, qword [rbp + 0x28]
movzx eax, byte [rax]
mov byte [rbp + 0x84], al
mov rax, qword [rbp + 0x28]
inc rax
mov qword [rbp + 0x28], rax
movzx eax, byte [rbp + 0x84]
test eax, eax
je 0x18017dcc5
movzx eax, byte [rbp + 0x84]
cmp eax, 0x23
jne 0x18017dc9c
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x18017dc9c
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x18017dc9c
mov eax, dword [rbp + 0x1a0]
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shr eax, 8
mov ecx, dword [rbp + 4]
and ecx, 0xff
movzx edx, byte [rbp + 0x84]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rbp + 0x48]
xor eax, dword [rdx + rcx*4]
mov dword [rbp + 4], eax
jmp 0x18017dc38
mov eax, dword [rbp + 4]
not eax
lea rsp, [rbp + 0x178]
pop rdi
pop rbp
ret
Function at 0x1800e4674
Capabilities:
Reference http user-agent string

Disassembly:
jmp 0x18029a8b0
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
sub rsp, 0x1e0
lea rbp, [rsp + 0x20]
lea rcx, [0x18036b753]
call fcn.1800e5c4f
mov rax, qword [rbp + 0x1e0]
lea rdx, str.Mozilla_5.0__Windows_NT_6.1__Win64__x64__rv:89.0__Gecko_20100101_Firefox_89.0
mov rcx, rax
call fcn.1800e12b2
mov rax, qword [rbp + 0x1e0]
add rax, 0x28
lea rdx, [0x1802bdc65]
mov rcx, rax
call fcn.1800e12b2
mov rax, qword [rbp + 0x1e0]
add rax, 0x50
lea rdx, [0x1802bdc65]
mov rcx, rax
call fcn.1800e12b2
mov rax, qword [rbp + 0x1e0]
add rax, 0x78
lea rdx, [0x1802bdc65]
mov rcx, rax
call fcn.1800e12b2
mov rax, qword [rbp + 0x1e0]
add rax, 0xa0
lea rdx, [0x1803184c0]
mov rcx, rax
call fcn.1800e12b2
mov rax, qword [rbp + 0x1e0]
add rax, 0xc8
lea rdx, [0x1802bdc65]
mov rcx, rax
call fcn.1800e12b2
mov rax, qword [rbp + 0x1e0]
add rax, 0xf0
lea rdx, str.www.example.com
mov rcx, rax
call fcn.1800e12b2
lea r8, [0x1802bdc65]
lea rdx, [0x1802bdc65]
lea rcx, [rbp + 0x160]
call fcn.1800e4e3a
nop
lea rax, [rbp + 0x1b0]
mov r8, rax
lea rdx, [rbp + 0x160]
lea rcx, [rbp + 0xf8]
call fcn.1800e3c83
lea rcx, [rbp + 0x130]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rdx, [rbp + 0x130]
lea rcx, [rbp + 0xc8]
call fcn.1800e60be
mov rax, qword [rbp + 0x1e0]
add rax, 0x1b8
lea rdx, [rbp + 0xc8]
mov rcx, rax
call fcn.1800e2c3e
lea rcx, [rbp + 0xc8]
call fcn.1800e2856
nop
lea r9, [fcn.1800e4b10]
mov r8d, 1
mov edx, 0x50
lea rcx, [rbp + 0x160]
call fcn.1800e2347
mov rax, qword [rbp + 0x1e0]
mov dword [rax + 0x1d0], 0
mov rax, qword [rbp + 0x1e0]
mov dword [rax + 0x1d4], 0
mov rax, qword [rbp + 0x1e0]
mov byte [rax + 0x1aa], 0
mov rax, qword [rbp + 0x1e0]
mov byte [rax + 0x1a8], 1
mov rax, qword [rbp + 0x1e0]
mov byte [rax + 0x1a9], 1
lea rsp, [rbp + 0x1c0]
pop rdi
pop rsi
pop rbp
ret
Function at 0x1800e56e6
Capabilities:
Hash data with crc32

Disassembly:
jmp 0x18017d9f0
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x158
lea rbp, [rsp + 0x20]
lea rcx, [0x18036b22f]
call fcn.1800e5c4f
mov eax, dword [rbp + 0x160]
not eax
mov dword [rbp + 4], eax
mov rax, qword [rbp + 0x150]
mov qword [rbp + 0x28], rax
lea rax, [0x1802c4190]
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0x158]
mov qword [rbp + 0x118], rax
mov rax, qword [rbp + 0x158]
dec rax
mov qword [rbp + 0x158], rax
cmp qword [rbp + 0x118], 0
je 0x18017da6f
mov dword [rbp + 0x120], 1
jmp 0x18017da79
mov dword [rbp + 0x120], 0
cmp dword [rbp + 0x120], 0
je 0x18017dab3
mov eax, dword [rbp + 4]
shr eax, 8
mov ecx, dword [rbp + 4]
and ecx, 0xff
mov rdx, qword [rbp + 0x28]
movzx edx, byte [rdx]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rbp + 0x48]
xor eax, dword [rdx + rcx*4]
mov dword [rbp + 4], eax
mov rax, qword [rbp + 0x28]
inc rax
mov qword [rbp + 0x28], rax
jmp 0x18017da3a
mov eax, dword [rbp + 4]
not eax
lea rsp, [rbp + 0x138]
pop rdi
pop rbp
ret
Function at 0x1800e5b91
Capabilities:
Write file on windows

Disassembly:
jmp 0x18028f180
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1a8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x2e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1c8]
mov rax, qword [0x180344d00]
xor rax, rbp
mov qword [rbp + 0x168], rax
lea rcx, [0x18036b751]
call fcn.1800e5c4f
mov rax, qword [rbp + 0x190]
cmp qword [rax + 0x68], 0
je 0x18028f1e6
mov rax, qword [rbp + 0x190]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x18028f1ed
mov al, 1
jmp 0x18028f33d
call fcn.1800e2509
mov rcx, qword [rbp + 0x190]
mov rcx, qword [rcx]
mov qword [rbp + 0x158], rcx
mov edx, eax
mov rcx, qword [rbp + 0x190]
mov rax, qword [rbp + 0x158]
call qword [rax + 0x18]
mov dword [rbp + 0x160], eax
call fcn.1800e2509
mov ecx, dword [rbp + 0x160]
mov edx, ecx
mov ecx, eax
call fcn.1800e4c5a
movzx eax, al
test eax, eax
je 0x18028f23e
xor al, al
jmp 0x18028f33d
mov qword [rbp + 8], 0x20
lea rax, [rbp + 0x48]
mov rcx, qword [rbp + 0x190]
add rcx, 0x74
lea rdx, [rbp + 0x68]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rbp + 0x28]
mov rdx, rcx
mov rax, qword [rbp + 0x190]
mov rcx, qword [rax + 0x68]
call qword [sym.imp.MSVCP140D.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
mov dword [rbp + 0x154], eax
cmp dword [rbp + 0x154], 0
je 0x18028f2a3
cmp dword [rbp + 0x154], 1
je 0x18028f2ae
cmp dword [rbp + 0x154], 3
je 0x18028f32c
jmp 0x18028f33b
mov rax, qword [rbp + 0x190]
mov byte [rax + 0x71], 0
lea rax, [rbp + 0x28]
mov rcx, qword [rbp + 0x68]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0
jbe 0x18028f2fe
mov rax, qword [rbp + 0x190]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x88]
mov edx, 1
lea rcx, [rbp + 0x28]
call qword [sym.imp.ucrtbased.dll_fwrite]
cmp qword [rbp + 0x88], rax
je 0x18028f2fe
xor al, al
jmp 0x18028f33d
mov rax, qword [rbp + 0x190]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x18028f319
mov dword [rbp + 0x154], 1
jmp 0x18028f323
mov dword [rbp + 0x154], 0
movzx eax, byte [rbp + 0x154]
jmp 0x18028f33d
mov rax, qword [rbp + 0x190]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x18028f33d
xor al, al
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x180317320]
call fcn.1800e4f75
mov rax, rdi
mov rcx, qword [rbp + 0x168]
xor rcx, rbp
call fcn.1800e34fe
lea rsp, [rbp + 0x178]
pop rdi
pop rbp
ret
Function at 0x1800e5ec0
Capabilities:
Print debug messages

Disassembly:
jmp 0x18029d208
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor edx, edx
mov rdi, rcx
lea r8d, [rdx + 0x28]
add rcx, r8
call fcn.1800e4962
and qword [rdi + 0x50], 0
lea rax, [0x180000000]
and dword [rdi + 0x58], 0
lea rcx, [rdi + 0x28]
and dword [rdi + 0x5c], 0
xor r8d, r8d
mov qword [rdi + 0x10], rax
xor edx, edx
mov qword [rdi + 8], rax
lea rax, [0x180319958]
mov qword [rdi + 0x20], rax
mov dword [rdi], 0x60
mov dword [rdi + 0x18], 0xe00
call fcn.1800e3422
test eax, eax
jne 0x18029d29f
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
test ecx, ecx
jns 0x18029d29f
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x18029d298
lea rcx, str.ERROR_:_Unable_to_initialize_critical_section_in_CAtlBaseModule_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov byte [0x180348a10], 1
mov rbx, qword [rsp + 0x30]
mov rax, rdi
add rsp, 0x20
pop rdi
ret
Function at 0x180294680
Capabilities:
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 + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x778
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x146
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x798]
mov rax, qword [0x180344d00]
xor rax, rbp
mov qword [rbp + 0x740], rax
mov dword [rbp + 0x724], 0
lea rcx, [0x18036b754]
call fcn.1800e5c4f
mov rcx, qword [rbp + 0x770]
call fcn.1800e5c09
mov qword [rbp + 0x738], rax
mov eax, dword [rbp + 0x724]
or eax, 1
mov dword [rbp + 0x724], eax
mov dword [rbp + 0x44], 0x400
mov qword [rbp + 0x488], 0
mov rax, qword [rbp + 0x788]
add rax, 0x78
lea rdx, [0x1802bdc65]
mov rcx, rax
call fcn.1800e23b0
movzx eax, al
test eax, eax
je 0x180294761
mov rax, qword [rbp + 0x788]
add rax, 0x78
mov rcx, rax
call fcn.1800e16ae
lea rdx, [0x1803186a0]
mov rcx, rax
call qword [sym.imp.ucrtbased.dll_fopen]
mov qword [rbp + 0x488], rax
mov dword [rbp + 0x4a4], 1
mov dword [rbp + 0x4c4], 0xffffffff
cmp dword [rbp + 0x4a4], 0
je 0x180294828
cmp dword [rbp + 0x4c4], 0
je 0x180294828
lea r9, [rbp + 0x4c4]
mov r8d, 0x400
lea rdx, [rbp + 0x70]
mov rax, qword [rbp + 0x778]
mov rcx, qword [rax]
call qword [sym.imp.WININET.dll_InternetReadFile]
mov dword [rbp + 0x4a4], eax
cmp dword [rbp + 0x4c4], 0
je 0x1802947df
mov rax, qword [rbp + 0x780]
mov eax, dword [rax + 0x12c]
add eax, dword [rbp + 0x4c4]
mov rcx, qword [rbp + 0x780]
mov dword [rcx + 0x12c], eax
cmp qword [rbp + 0x488], 0
je 0x18029480a
mov eax, dword [rbp + 0x4c4]
mov r9, qword [rbp + 0x488]
mov r8d, eax
mov edx, 1
lea rcx, [rbp + 0x70]
call qword [sym.imp.ucrtbased.dll_fwrite]
jmp 0x180294823
mov eax, dword [rbp + 0x4c4]
mov r8d, eax
lea rdx, [rbp + 0x70]
mov rcx, qword [rbp + 0x770]
call fcn.1800e606e
jmp 0x180294775
cmp qword [rbp + 0x488], 0
je 0x18029484c
mov rcx, qword [rbp + 0x488]
call qword [sym.imp.ucrtbased.dll_fflush]
mov rcx, qword [rbp + 0x488]
call qword [sym.imp.ucrtbased.dll_fclose]
mov rax, qword [rbp + 0x770]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x180315cb0]
call fcn.1800e4f75
mov rax, rdi
mov rcx, qword [rbp + 0x740]
xor rcx, rbp
call fcn.1800e34fe
lea rsp, [rbp + 0x758]
pop rdi
pop rbp
ret
Function at 0x180295ce0
Capabilities:
Check http status code

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1e8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x3e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x208]
mov rax, qword [0x180344d00]
xor rax, rbp
mov qword [rbp + 0x1a0], rax
mov dword [rbp + 0x184], 0
lea rcx, [0x18036b754]
call fcn.1800e5c4f
mov dword [rbp + 4], 0
mov dword [rbp + 0x24], 4
lea rdx, [0x1802bdc65]
mov rcx, qword [rbp + 0x1d0]
call fcn.1800e3305
mov qword [rbp + 0x198], rax
mov eax, dword [rbp + 0x184]
or eax, 1
mov dword [rbp + 0x184], eax
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0x24]
lea r8, [rbp + 4]
mov edx, 0x20000013
mov rax, qword [rbp + 0x1d8]
mov rcx, qword [rax]
call qword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x180295e2c
cmp dword [rbp + 4], 0x12b
jbe 0x180295db4
cmp dword [rbp + 4], 0x190
jb 0x180295dbd
cmp dword [rbp + 4], 0xc9
jne 0x180295dee
lea rdx, [0x1803186a4]
mov rcx, qword [rbp + 0x1d0]
call fcn.1800e12b2
mov rax, qword [rbp + 0x1e0]
mov eax, dword [rax + 0x130]
inc eax
mov rcx, qword [rbp + 0x1e0]
mov dword [rcx + 0x130], eax
jmp 0x180295e2c
mov edx, dword [rbp + 4]
lea rcx, [rbp + 0x148]
call fcn.1800e2ba8
mov qword [rbp + 0x198], rax
mov rax, qword [rbp + 0x1e0]
add rax, 0xd8
mov rdx, qword [rbp + 0x198]
mov rcx, rax
call fcn.1800e24af
lea rcx, [rbp + 0x148]
call fcn.1800e1e10
mov rax, qword [rbp + 0x1d0]
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x180315df0]
call fcn.1800e4f75
mov rax, rdi
mov rcx, qword [rbp + 0x1a0]
xor rcx, rbp
call fcn.1800e34fe
lea rsp, [rbp + 0x1b8]
pop rdi
pop rbp
ret
Function at 0x14004e470
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r14, rdx
mov rdi, rcx
je 0x14004e4a7
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
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 + 0x30], rbp
mov qword [rsp + 0x38], rsi
mov rsi, rbx
mov r9, qword [rax]
test r9, r9
je 0x14004e4c8
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x14004e4ca
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x14004e523
test ecx, ecx
jle 0x14004e4fe
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r14, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x14004e523
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x14004e523
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov rbp, qword [rsp + 0x30]
sub rsi, rbx
mov rbx, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x14004e550
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x14004e581
xor eax, eax
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
cmp qword [rcx + 0x68], 0
je 0x14004e59f
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
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 + 0x38], rdi
mov rdi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x14004e5bb
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14004e5bd
xor ecx, ecx
mov qword [rsp + 0x30], rbx
movsxd rax, ecx
test ecx, ecx
je 0x14004e5f7
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
sub rdi, rbx
add r14, rbx
mov r8, rdi
sub dword [rax], ebx
mov rcx, qword [rsi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x14004e697
mov r9, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r9], rax
jne 0x14004e632
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r9], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
mov rbx, r8
cmp r8, 0xfff
jbe 0x14004e671
nop
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]
sub rdi, rax
add r14, rax
mov rbx, rdi
cmp rax, 0xfff
jne 0x14004e6b8
cmp rdi, rax
ja 0x14004e640
mov r8, rbx
test rbx, rbx
je 0x14004e697
mov r9, qword [rsi + 0x80]
mov r8, rdi
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov r8, rbx
sub r8, rax
sub rbp, r8
mov rbx, qword [rsp + 0x30]
mov rax, rbp
mov rbp, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
sub rbp, rdi
jmp 0x14004e69a
Function at 0x14004ea80
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x14033d010]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14004eaad
xor eax, eax
jmp 0x14004ec02
mov rdx, qword [rcx + 0x40]
mov rax, qword [rdx]
test rax, rax
je 0x14004ead8
mov rdx, qword [rcx + 0x58]
movsxd r8, dword [rdx]
add r8, rax
cmp rax, r8
jae 0x14004ead8
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void____ptr64]
mov byte [rax], dil
mov eax, edi
jmp 0x14004ec02
cmp qword [rcx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14004ebf5
mov r8, qword [rcx + 0x18]
lea rax, [rcx + 0x70]
cmp qword [r8], rax
jne 0x14004eb1b
mov rdx, qword [rcx + 0x90]
mov rcx, qword [rcx + 0x88]
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 0x14004eb46
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 0x14004ebfa
lea rax, [rsp + 0x48]
mov byte [rsp + 0x40], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x41]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x40]
lea rax, [rsp + 0x50]
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
js 0x14004ebf5
cmp eax, 1
jle 0x14004ebb5
cmp eax, 3
jne 0x14004ebf5
movsx ecx, byte [rsp + 0x40]
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 0x14004ebfa
mov rsi, qword [rsp + 0x48]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x14004ebe3
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 0x14004ebf5
lea rax, [rsp + 0x40]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x50], rax
mov eax, edi
jne 0x14004ebfa
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14022d970
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret