joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000314c
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0xa0
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoA]
nop
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x1400031d5
movsxd rax, dword [0x14000003c]
lea rdi, [0x140000000]
add rax, rdi
cmp dword [rax], 0x4550
je 0x140003197
xor ebx, ebx
mov dword [rsp + 0xb0], ebx
jmp 0x1400031e5
mov ecx, 0x20b
cmp word [rax + 0x18], cx
je 0x1400031ad
xor ebx, ebx
mov dword [rsp + 0xb0], ebx
jmp 0x1400031e5
cmp dword [rax + 0x84], 0xe
ja 0x1400031c1
xor ebx, ebx
mov dword [rsp + 0xb0], ebx
jmp 0x1400031e5
xor ebx, ebx
cmp dword [rax + 0xf8], ebx
setne bl
mov dword [rsp + 0xb0], ebx
jmp 0x1400031e5
xor ebx, ebx
mov dword [rsp + 0xb0], ebx
lea rdi, [0x140000000]
mov ecx, 1
call fcn.1400a9000
test eax, eax
jne 0x140003215
cmp dword [0x140018690], 1
jne 0x140003201
call fcn.140006e24
mov ecx, 0x1c
call fcn.140006bfc
mov ecx, 0xff
call fcn.140006880
call fcn.140007c9c
test eax, eax
jne 0x140003240
cmp dword [0x140018690], 1
jne 0x14000322c
call fcn.140006e24
mov ecx, 0x10
call fcn.140006bfc
mov ecx, 0xff
call fcn.140006880
call fcn.140007954
nop
call fcn.140007664
test eax, eax
jns 0x140003259
mov ecx, 0x1b
call fcn.140006814
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov qword [0x14001a830], rax
call fcn.1400074b0
mov qword [0x140018680], rax
call fcn.1400073b8
test eax, eax
jns 0x140003285
mov ecx, 8
call fcn.140006814
call fcn.1400070b8
test eax, eax
jns 0x140003298
mov ecx, 9
call fcn.140006814
mov ecx, 1
call fcn.140006920
test eax, eax
je 0x1400032ad
mov ecx, eax
call fcn.140006814
call fcn.14000703c
test byte [rsp + 0x6c], 1
movzx edx, word [rsp + 0x70]
mov r9d, 0xa
cmovne r9d, edx
mov r8, rax
xor edx, edx
mov rcx, rdi
call fcn.14000e570
mov edi, eax
mov dword [rsp + 0x20], eax
test ebx, ebx
jne 0x1400032e4
mov ecx, eax
call fcn.140006b5c
call fcn.140006b74
jmp 0x140003305
mov eax, edi
jmp 0x14000330e
mov rbx, qword [rsp + 0xb8]
add rsp, 0xa0
pop rdi
ret
sub rsp, 0x28
call fcn.140007d20
add rsp, 0x28
jmp 0x14000314c

Function at 0x140006b68
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x1400069d0
Function at 0x14000adf0
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
mov ebp, r8d
mov r13, rdx
mov r14, rcx
call fcn.1400079cc
xor ebx, ebx
mov rdi, rax
cmp qword [0x140018ea8], rbx
jne 0x14000aef6
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x14000afcb
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14000afcb
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x140018ea8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x140018eb0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetUserObjectInformationA
mov rcx, rsi
mov qword [0x140018eb8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x140018ec8], rax
test rax, rax
je 0x14000aeed
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x140018ec0], rax
jmp 0x14000aefd
mov rax, qword [0x140018ec0]
jmp 0x14000af04
mov rax, qword [0x140018ec0]
mov r11, qword [0x140018ec8]
cmp rax, rdi
je 0x14000af6c
cmp r11, rdi
je 0x14000af6c
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x140018ec8]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x14000af6c
test rax, rax
je 0x14000af6c
call rsi
test rax, rax
je 0x14000af66
lea rcx, [rsp + 0x88]
mov r9d, 0xc
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x14000af66
test byte [rsp + 0x38], 1
jne 0x14000af6c
bts ebp, 0x15
jmp 0x14000afaa
mov rcx, qword [0x140018eb0]
cmp rcx, rdi
je 0x14000afaa
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14000afaa
call rax
mov rbx, rax
test rax, rax
je 0x14000afaa
mov rcx, qword [0x140018eb8]
cmp rcx, rdi
je 0x14000afaa
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14000afaa
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x140018ea8]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14000afcb
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x14000afcd
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x14000c6ab
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x140017e90]
jne 0x140009e3a
rol rcx, 0x10
test cx, 0xffff
jne 0x140009e36
repz ret
ror rcx, 0x10
jmp 0x14000c604
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x140018f90]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x140019088]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x14000c689
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, [0x140018f90]
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.KERNEL32.dll_RtlVirtualUnwind
jmp 0x14000c6ab
mov rax, qword [rsp + 0x88]
mov qword [0x140019088], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140019028], rax
mov rax, qword [0x140019088]
mov qword [0x140018f00], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140019010], rax
mov dword [0x140018ef0], 0xc0000409
mov dword [0x140018ef4], 1
mov rax, qword [0x140017e90]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140017e98]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x140018f88], eax
mov ecx, 1
call fcn.140009e40
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x140013f68]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140018f88], 0
jne 0x14000c732
mov ecx, 1
call fcn.140009e40
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 0x1400010d0
Capabilities:
Encode data using xor

Disassembly:
push rsi
sub rsp, 0x70
mov qword [rsp + 0x50], rcx
mov rcx, rdx
mov qword [rsp + 0x48], rdx
call fcn.1400017e0
xor r8d, r8d
mov ecx, r8d
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rcx
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
mov edx, dword [rsp + 0x6c]
add edx, dword [rsp + 0x6c]
mov r8d, dword [rcx + 0xc]
mov dword [rsp + 0x6c], edx
mov edx, dword [rcx + 0x14]
mov r9d, edx
mov r10, qword [rsp + 0x48]
add r10, r9
mov edx, r8d
mov r9d, edx
mov r11, qword [rsp + 0x50]
add r11, r9
mov edx, dword [rcx + 0x10]
mov r8d, edx
mov qword [rsp + 0x30], rcx
mov rcx, r11
mov rdx, r10
mov qword [rsp + 0x28], rax
call fcn.140002a20
mov si, word [rsp + 0x5c]
xor si, word [rsp + 0x5c]
mov word [rsp + 0x5c], si
mov rax, qword [rsp + 0x28]
add rax, 1
mov rcx, qword [rsp + 0x30]
add rcx, 0x28
cmp rax, 5
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], rax
jne 0x1400010f7
mov rcx, qword [rsp + 0x48]
call fcn.140001c00
mov edx, dword [rax + 0x54]
mov r8d, edx
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
call fcn.140002a20
nop
add rsp, 0x70
pop rsi
ret

Function at 0x1400024b0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0xb8
lea rdx, [0x1400040ab]
lea rax, [rsp + 0x60]
lea rcx, [rsp + 0x40]
mov dword [rsp + 0xb4], 0x201c9f1d
mov r8w, word [rsp + 0xae]
mov r9w, r8w
sub r9w, 0x8886
mov word [rsp + 0xae], r9w
mov qword [rsp + 0xa0], 0x7f92b344
mov r10d, dword [rsp + 0xb4]
mov r11d, r10d
add r11d, 0xdfe360f1
mov word [rsp + 0x3e], r8w
mov r8d, r11d
mov dword [rsp + 0x38], r10d
mov qword [rsp + 0x30], rax
call fcn.140001e20
xor r8d, r8d
mov eax, r8d
mov r8d, dword [rsp + 0x38]
imul r10d, r8d, 0x753812d8
mov dword [rsp + 0xb0], r10d
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov dx, word [rsp + 0x3e]
mov cx, dx
xor ecx, 0x3b02
mov r8w, cx
mov word [rsp + 0xae], r8w
mov ecx, dword [rsp + 0x38]
xor ecx, 0x494e30e1
mov dword [rsp + 0xb0], ecx
mov r9, qword [rsp + 0xa0]
mov r10b, byte [rsp + rax + 0x40]
movsx ecx, r10b
mov r8w, cx
xor r9, 0x7f92b364
mov word [rsp + rax*2 + 0x60], r8w
add rax, 1
mov dword [rsp + 0xb0], 0xd7f5e461
cmp rax, r9
mov qword [rsp + 0x28], rax
jne 0x140002544
lea rcx, [rsp + 0x60]
call fcn.140002710
mov edx, dword [rsp + 0x38]
add edx, edx
mov dword [rsp + 0xb0], edx
add rsp, 0xb8
ret
Function at 0x1400037c4
Capabilities:
Encode data using xor

Disassembly:
mov dword [rsp + 0x5c], 0
jmp 0x1400035f1
mov ax, word [rsp + 0x44]
xor ax, 0x68ed
mov word [rsp + 0x76], ax
mov rax, qword [rsp + 0xb8]
add rsp, 0xc8
pop rbx
pop rsi
ret
mov eax, dword [rsp + 0x2c]
imul ecx, eax, 0x632e97ab
mov rdx, qword [rsp + 0x50]
cmp rdx, 0
setne r8b
mov dword [rsp + 0x70], ecx
and r8b, 1
mov byte [rsp + 0x6f], r8b
mov r9w, word [rsp + 0x44]
mov word [rsp + 0x76], r9w
mov r10, qword [rsp + 0x60]
mov qword [rsp + 0xc0], r10
jmp 0x14000367f
mov al, byte [rsp + 0x47]
or al, al
mov byte [rsp + 0x9f], al
mov rcx, qword [rsp + 0x78]
add rcx, 0xfffffffffffffff0
mov qword [rsp + 0xb8], rcx
jmp 0x14000356c
invalid
mov eax, dword [rsp + 0x5c]
mov ecx, eax
mov edx, ecx
mov r8, qword [rsp + 0x80]
mov r9w, word [r8 + rdx*2]
mov r10w, r9w
add r10w, 0xffbf
mov r11w, r9w
add r11w, 0x20
cmp r10w, 0x1a
cmovb r9w, r11w
mov r8, qword [rsp + 0x48]
cmp word [r8 + rdx*2], r9w
sete bl
and bl, 1
mov byte [rsp + 0x8f], bl
mov r10w, word [rsp + 0x44]
xor r10w, 0xffff
mov bl, byte [rsp + 0x8f]
add eax, 1
mov ecx, dword [rsp + 0x58]
cmp r9w, 0
setne sil
and bl, sil
mov word [rsp + 0x76], r10w
cmp eax, ecx
setb sil
and bl, sil
mov dword [rsp + 0x5c], eax
test bl, 1
jne 0x1400035f1
jmp 0x140003773
movabs rax, 0x1a1e114c715c1fa2
mov rcx, qword [rsp + 0xc0]
mov qword [rsp + 0x78], rcx
mov dx, word [rsp + 0x44]
add dx, 0x4aa2
mov word [rsp + 0x76], dx
mov rcx, qword [rsp + 0x78]
mov r8d, dword [rsp + 0x2c]
xor r8d, 0x282cadb6
mov dword [rsp + 0x70], r8d
mov rcx, qword [rcx + 0x50]
mov qword [rsp + 0x90], 0x4355b145
mov qword [rsp + 0x80], rcx
mov rcx, qword [rsp + 0x78]
mov qword [rsp + 0x90], rax
mov rax, qword [rcx + 0x20]
mov byte [rsp + 0x9f], 0xe0
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0x30]
xor rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0xa0]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x50]
cmp rcx, rax
sete r9b
mov r10b, byte [rsp + 0x6f]
mov byte [rsp + 0x9f], 0xea
mov r11b, byte [rsp + 0x47]
sub r11b, 0xaa
and r10b, r9b
mov byte [rsp + 0x9f], r11b
test r10b, 1
jne 0x1400035ce
mov qword [rsp + 0x90], 0x1975387b
mov rax, qword [rsp + 0x78]
mov cx, word [rax + 0x48]
shr cx, 1
movzx edx, cx
mov dword [rsp + 0x58], edx
cmp cx, 0
je 0x1400037f9
jmp 0x14000355f
mov rax, qword [rsp + 0xa0]
mov cl, byte [rsp + 0x8f]
mov qword [rsp + 0xb8], rax
test cl, 1
jne 0x14000356c
jmp 0x1400037f9
mov ecx, dword [rcx]
mov byte [rsp + 0x9f], dl
mov qword [rsp + 0x60], rcx
mov rcx, qword [rsp + 0x60]
mov r8, qword [rsp + 0xb0]
mov qword [rsp + 0xb8], 0
cmp rcx, r8
je 0x14000356c
jmp 0x14000358c
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0xb0]
mov rax, qword [rax]
mov qword [rsp + 0xc0], rax
mov qword [rsp + 0xb8], 0
cmp rax, rcx
je 0x14000356c
jmp 0x14000367f
Function at 0x1390e70
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x1390e7d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x1390e8d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x1390e75
lea eax, [rcx + 1]
jmp 0x1390e9b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x1390eae
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x1390e94
sub eax, 3
jb 0x1390ece
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x1390f1d
sar eax, 1
movsxd rbp, eax
jb 0x1390f04
jmp 0x1390edc
add ebx, ebx
jne 0x1390eda
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1390f04
inc ecx
add ebx, ebx
jne 0x1390eea
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1390f04
call r11
adc ecx, ecx
add ebx, ebx
jne 0x1390efd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x1390eec
add ecx, 2
jmp 0x1390f09
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.01390e32
jmp 0x1390e7d
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0xf80000]
mov eax, dword [rdi]
or eax, eax
je 0x1390f79
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0xf91000]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x1390f29
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x1390f73
mov qword [rbx], rax
add rbx, 8
jmp 0x1390f49
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x1390fbd
cmp al, 0xef
ja 0x1390fa5
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x1390f85
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0x1390f94
mov eax, dword [rdi]
add rdi, 4
jmp 0x1390f94
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x1391011
sub rsp, 0xffffffffffffff80
jmp 0x46c940
Function at 0x140004f24
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
mov r14, rdx
mov rbx, rcx
mov rax, qword [0x140049040]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor edi, edi
mov dword [rsp + 0x3c], edi
mov dword [rsp + 0x20], edi
lea rcx, str.WinHTTP_Example
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.WININET.dll_InternetOpenA]
test rax, rax
je 0x140005025
mov rsi, rax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x80000000
xor edi, edi
mov rcx, rax
mov rdx, rbx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
test rax, rax
je 0x140005045
mov rbx, rax
mov qword [r14], 0
mov ecx, 0x400
call fcn.14001ce8c
test rax, rax
je 0x14000506b
mov r15, rax
xor edi, edi
lea r12, [rsp + 0x3c]
mov rbp, qword [sym.imp.WININET.dll_InternetReadFile]
mov rcx, rbx
mov rdx, r15
mov r8d, 0x400
mov r9, r12
call rbp
test eax, eax
je 0x140005088
mov edx, dword [rsp + 0x3c]
test edx, edx
je 0x140005088
add edx, edi
mov rcx, qword [r14]
call fcn.14001ce94
test rax, rax
je 0x1400050a5
mov qword [r14], rax
mov ecx, edi
add rcx, rax
mov r13d, dword [rsp + 0x3c]
mov rdx, r15
mov r8, r13
call fcn.140006a60
add edi, r13d
jmp 0x140004fd0
lea rcx, [0x14004a4a0]
lea rdx, str.Error:_InternetOpenA_failed
call fcn.1400050fb
mov rcx, rax
call fcn.1400052df
jmp 0x1400050db
lea rcx, [0x14004a4a0]
lea rdx, str.Error:_InternetOpenUrlA_failed
call fcn.1400050fb
mov rcx, rax
call fcn.1400052df
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x1400050db
lea rcx, [0x14004a4a0]
lea rdx, str.Error:_Failed_to_allocate_memory_for_buffer
call fcn.1400050fb
mov rcx, rax
call fcn.1400052df
jmp 0x1400050c8
mov rcx, r15
call fcn.14001c740
mov r14, qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rbx
call r14
mov rcx, rsi
call r14
jmp 0x1400050db
lea rcx, [0x14004a4a0]
lea rdx, str.Error:_Failed_to_reallocate_memory_for_payload
call fcn.1400050fb
mov rcx, rax
call fcn.1400052df
mov rcx, r15
call fcn.14001c740
mov rdi, qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rbx
call rdi
mov rcx, rsi
call rdi
xor edi, edi
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140010430
mov eax, edi
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x14000ef1c
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
mov rdi, rcx
test r8, r8
jg 0x14000ef4a
xor eax, eax
jmp 0x14000f030
cmp qword [rcx + 0x68], 0
je 0x14000ef5b
call fcn.14000e698
jmp 0x14000f030
mov rax, qword [rcx + 0x38]
mov rsi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x14000ef72
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14000ef74
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14000efa6
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call fcn.140034210
mov rax, qword [rdi + 0x50]
add r14, rbx
sub rsi, rbx
sub dword [rax], ebx
mov rcx, qword [rdi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rdi + 0x80], 0
je 0x14000f02a
mov r8, qword [rdi + 0x18]
lea rax, [rdi + 0x70]
cmp qword [r8], rax
jne 0x14000efdd
mov rcx, qword [rdi + 0x88]
mov rdx, qword [rdi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rdi + 0x38]
mov qword [rax], rcx
mov rax, qword [rdi + 0x50]
mov dword [rax], edx
mov ebx, 0xfff
jmp 0x14000f006
mov r9, qword [rdi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call fcn.14001c4c0
add r14, rax
sub rsi, rax
cmp rax, rbx
jne 0x14000f02a
cmp rsi, rbx
ja 0x14000efe4
test rsi, rsi
je 0x14000f02a
mov r9, qword [rdi + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.14001c4c0
sub rsi, rax
sub rbp, rsi
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x14001094c
Capabilities:
Parse pe header

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

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14001877c
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x1400187eb
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400187eb
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400187eb
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400187eb
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400187eb
cmp dword [rcx + 0x84], 0xe
jbe 0x1400187eb
cmp dword [rcx + 0xf8], 0
je 0x1400187eb
mov ecx, ebx
call fcn.1400186a8
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.140018910
nop
cmp dword [rbp + 0x20], 0
je 0x140018839
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140018748
int3

Function at 0x14001877c
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14001877c
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x1400187eb
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400187eb
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400187eb
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400187eb
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400187eb
cmp dword [rcx + 0x84], 0xe
jbe 0x1400187eb
cmp dword [rcx + 0xf8], 0
je 0x1400187eb
mov ecx, ebx
call fcn.1400186a8
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.140018910
nop
cmp dword [rbp + 0x20], 0
je 0x140018839
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140018748
int3

Function at 0x14001ded0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14001def8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14001def8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140029254
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.140010e20
sub rsp, rax
mov rax, qword [0x140049040]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.140025878
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x1400292a3
mov rax, rbp
jmp 0x1400293ab
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x4be60]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.140028f7c
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x4be60]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x1400293a7
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400293a7
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.140028f7c
test rax, rax
js 0x1400293a7
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x1400293a7
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x140029399
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x140029399
cmp byte [rcx], 0xd
jne 0x14002937f
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x14002938e
cmp byte [rcx + 1], 0xa
jne 0x14002938e
inc rcx
jmp 0x14002938e
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x49b70]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x140029361
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x1400293ab
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.140010430
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret