joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400070e0
Capabilities:
Contain obfuscated stackstrings
Resolve function by parsing pe exports

Disassembly:
mov r11, rsp
push rbp
push r13
lea rbp, [r11 - 0x5f]
sub rsp, 0xa8
mov rax, qword [0x14001f040]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov dword [rbp + 0xf], 0x74726956
xor r13d, r13d
mov dword [rbp + 0x13], 0x416c6175
mov dword [rbp + 0x17], 0x636f6c6c
mov byte [rbp + 0x1b], 0
mov rax, qword gs:[0x30]
mov qword [rbp - 1], rcx
mov qword [r11 - 0x28], r12
mov r12d, r13d
mov qword [r11 - 0x30], r14
mov rcx, qword [rax + 0x60]
mov qword [r11 - 0x38], r15
mov r11d, r13d
mov dword [rbp - 0x25], edx
mov qword [rbp + 7], r8
mov rax, qword [rcx + 0x18]
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx]
mov rcx, qword [rax]
mov r14, qword [rcx + 0x30]
movsxd rax, dword [r14 + 0x3c]
mov ecx, dword [rax + r14 + 0x88]
add rcx, r14
mov r8d, dword [rcx + 0x14]
mov r15d, dword [rcx + 0x1c]
mov edx, dword [rcx + 0x20]
add r15, r14
mov eax, dword [rcx + 0x24]
add rdx, r14
mov r9d, dword [rcx + 0x18]
add rax, r14
mov dword [rbp - 0x29], r9d
mov qword [rbp - 0x11], rdx
mov qword [rbp - 0x21], rax
mov qword [rbp - 9], r8
test r8, r8
je 0x140007094
mov qword [rsp + 0xd8], rbx
mov qword [rsp + 0xa0], rsi
mov qword [rsp + 0x98], rdi
cmp dword [r15 + r12*4], r13d
je 0x14000705e
mov ecx, r9d
mov rsi, r13
mov qword [rbp - 0x19], rcx
test r9d, r9d
je 0x14000705e
nop
movzx edi, word [rax + rsi*2]
cmp rdi, r12
jne 0x14000704a
mov ebx, dword [rdx + rsi*4]
lea r8, [rbp - 0x39]
add rbx, r14
mov dword [rbp - 0x39], 0x50746547
mov dword [rbp - 0x35], 0x41636f72
mov rax, 0xffffffffffffffff
mov dword [rbp - 0x31], 0x65726464
mov word [rbp - 0x2d], 0x7373
mov byte [rbp - 0x2b], r13b
nop dword [rax]
inc rax
cmp byte [r8 + rax], r13b
jne 0x140006ff0
mov r10d, r13d
mov r9, r13
test rax, rax
je 0x140007046
lea rcx, [rbp - 0x39]
sub rbx, rcx
nop dword [rax + rax]
mov r8d, r10d
lea rcx, [rbp - 0x39]
add rcx, r9
inc r10d
movzx edx, byte [rcx + rbx]
cmp dl, byte [rcx]
cmovne r10d, r8d
movsxd rcx, r10d
cmp rcx, rax
jne 0x140007036
mov r11d, dword [r15 + rdi*4]
add r11, r14
inc r9
cmp r9, rax
jb 0x140007010
mov rcx, qword [rbp - 0x19]
mov rdx, qword [rbp - 0x11]
mov rax, qword [rbp - 0x21]
inc rsi
cmp rsi, rcx
jb 0x140006fb0
mov r8, qword [rbp - 9]
mov r9d, dword [rbp - 0x29]
inc r12
cmp r12, r8
jb 0x140006f92
mov rdi, qword [rsp + 0x98]
mov rsi, qword [rsp + 0xa0]
mov rbx, qword [rsp + 0xd8]
test r11, r11
je 0x140007094
lea rdx, [rbp + 0xf]
mov rcx, r14
call r11
mov r13, rax
mov rax, qword [rbp - 1]
mov r15, qword [rsp + 0x80]
mov r14, qword [rsp + 0x88]
mov r12, qword [rsp + 0x90]
test rax, rax
je 0x1400070c9
mov r9d, dword [rbp - 0x25]
mov r8d, 0x3000
mov rcx, qword [rbp + 7]
mov rdx, rax
call r13
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.140008cd0
add rsp, 0xa8
pop r13
pop rbp
ret
jmp 0x140006ec0
Function at 0x14000982c
Capabilities:
Parse pe header

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

Function at 0x140009da0
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x40
mov rbp, r9
mov r14, r8
mov rbx, rdx
mov rsi, rcx
call fcn.14000a740
mov rdi, qword [rsp + 0x70]
mov qword [rax + 0x138], rbx
mov rbx, qword [rdi + 8]
call fcn.14000a740
mov qword [rax + 0x128], rbx
mov rax, qword [rsi]
mov rbx, qword [rax + 0x38]
call fcn.14000a740
mov ecx, dword [0x140020560]
mov r9, rdi
mov byte [rsp + 0x38], 1
mov r8, rbp
mov edx, 0x10
mov qword [rax + 0x130], rbx
xor ebx, ebx
mov rax, qword gs:[0x58]
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov rcx, qword [rax + rcx*8]
mov eax, dword [rsp + 0x80]
mov dword [rdx + rcx], eax
mov rdx, r14
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsi]
mov qword [rsp + 0x20], rax
call fcn.14000bab0
call fcn.14000a740
mov rcx, qword [rsp + 0x88]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
mov qword [rax + 0x138], rbx
lea eax, [rbx + 1]
mov rbx, qword [rsp + 0x50]
mov dword [rcx], 1
add rsp, 0x40
pop r14
ret
Function at 0x14000f540
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x4f0]
sub rsp, 0x5f0
mov rax, qword [0x14001f040]
xor rax, rsp
mov qword [rbp + 0x4e0], rax
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x14000f57c
mov ecx, 5
int 0x29
mov ecx, 2
call fcn.1400096d4
xorps xmm0, xmm0
lea rcx, [rbp + 0x10]
xor eax, eax
xor edx, edx
mov r8d, 0x4d0
mov qword [rbp], rax
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
call sub.msvcrt.dll_memset
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
lea rcx, [rbp + 0x10]
lea rax, [rbp + 0x10]
mov qword [rsp + 0x50], rax
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rbx, qword [rbp + 0x108]
lea rdx, [rsp + 0x40]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x14000f638
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x38], 0
mov r9, rax
mov qword [rsp + 0x30], rcx
mov r8, rbx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp + 0x10]
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_RtlVirtualUnwind]
mov rax, qword [rbp + 0x4f8]
mov qword [rbp + 0x108], rax
lea rax, [rbp + 0x4f8]
add rax, 8
mov dword [rsp + 0x70], 0xc0000417
mov qword [rbp + 0xa8], rax
mov rax, qword [rbp + 0x4f8]
mov qword [rbp - 0x80], rax
mov dword [rsp + 0x74], 1
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
xor ecx, ecx
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
test eax, eax
jne 0x14000f69e
test ebx, ebx
jne 0x14000f69e
lea ecx, [rax + 2]
call fcn.1400096d4
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000417
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rbp + 0x4e0]
xor rcx, rsp
call fcn.140008cd0
mov rbx, qword [rsp + 0x600]
add rsp, 0x5f0
pop rbp
ret

Function at 0x14000fed0
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x40
mov ebx, ecx
mov dword [rsp + 0x60], 0
xor ecx, ecx
mov dword [rsp + 0x68], 2
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000ff32
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000ff32
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
jne 0x14000ff32
mov eax, 0x20b
cmp word [rdx + 0x18], ax
jne 0x14000ff32
cmp dword [rdx + 0x84], 0xe
jbe 0x14000ff32
cmp dword [rdx + 0xf8], 0
je 0x14000ff32
mov ecx, ebx
call fcn.14000fd90
lea rax, [rsp + 0x68]
mov byte [rsp + 0x58], 0
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x20]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rcx, [0x14001fe80]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
call fcn.14000fc10
cmp dword [rsp + 0x60], 0
jne 0x14000ff75
mov ecx, ebx
call fcn.14000fd40
int3
add rsp, 0x40
pop rbx
ret
Function at 0x14000ffc0
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x40
xor eax, eax
mov ebx, ecx
xor ecx, ecx
mov dword [rsp + 0x60], eax
mov dword [rsp + 0x68], eax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14001001c
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14001001c
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14001001c
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14001001c
cmp dword [rcx + 0x84], 0xe
jbe 0x14001001c
cmp dword [rcx + 0xf8], 0
je 0x14001001c
mov ecx, ebx
call fcn.14000fd90
lea rax, [rsp + 0x68]
mov byte [rsp + 0x58], 0
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x20]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rcx, [0x14001fe80]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
call fcn.14000fc10
cmp dword [rsp + 0x60], 0
jne 0x14001005f
mov ecx, ebx
call fcn.14000fd40
int3
add rsp, 0x40
pop rbx
ret

Function at 0x140010130
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x530
mov rax, qword [0x14001f040]
xor rax, rsp
mov qword [rsp + 0x520], rax
xor ebx, ebx
mov rdi, rdx
mov esi, ecx
test rdx, rdx
je 0x14001019c
lea edx, [rbx + 0x2d]
mov rcx, rdi
call sub.msvcrt.dll_strchr
test rax, rax
je 0x14001019c
mov ecx, ebx
lea r8, [rsp + 0x120]
mov rdx, rdi
nop dword [rax]
movsx eax, byte [rdx]
test al, al
je 0x1400101ef
mov word [r8], ax
inc ecx
add r8, 2
inc rdx
cmp ecx, 0x100
jne 0x140010180
mov rcx, qword [0x14001fe88]
test rcx, rcx
jne 0x1400101d2
call fcn.140011a40
mov rcx, rax
lea rdx, str.setlocale
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
mov rcx, 0xffffffffffffffff
cmovne rcx, rax
mov qword [0x14001fe88], rcx
cmp rcx, 0xffffffffffffffff
cmovne rbx, rcx
test rbx, rbx
je 0x1400102d3
mov rdx, rdi
mov ecx, esi
call rbx
jmp 0x1400102d5
movsxd rax, ecx
add rax, rax
cmp rax, 0x200
jae 0x1400102fa
mov edx, 0x2d
mov word [rsp + rax + 0x120], bx
lea rcx, [rsp + 0x120]
call sub.msvcrt.dll_wcsrchr
test rax, rax
je 0x14001019c
mov r9d, 0xff
lea r8, [rsp + 0x320]
mov edx, 0x1001
lea rcx, [rsp + 0x120]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
je 0x14001019c
lea ecx, [rax - 1]
mov r9d, 0x100
movsxd rdx, ecx
lea r8, [rsp + 0x320]
sub r9d, eax
mov ecx, 0x5f
cdqe
mov word [rsp + rdx*2 + 0x320], cx
mov edx, 0x1002
lea rcx, [rsp + 0x120]
lea r8, [r8 + rax*2]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
je 0x14001019c
lea rcx, [rsp + 0x320]
mov eax, ebx
lea rdx, [rsp + 0x20]
movzx r8d, word [rcx]
test r8w, r8w
je 0x1400102c3
mov byte [rdx], r8b
inc eax
inc rdx
add rcx, 2
cmp eax, 0x100
jne 0x1400102a1
jmp 0x14001019c
cdqe
lea rdi, [rsp + 0x20]
mov byte [rsp + rax + 0x20], bl
jmp 0x14001019c
xor eax, eax
mov rcx, qword [rsp + 0x520]
xor rcx, rsp
call fcn.140008cd0
lea r11, [rsp + 0x530]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call fcn.1400091e0
int3
Function at 0x140015b6c
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 0x140015b9a
xor eax, eax
jmp 0x140015c80
cmp qword [rcx + 0x68], 0
je 0x140015bab
call fcn.140008b40
jmp 0x140015c80
mov rax, qword [rcx + 0x38]
mov rsi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x140015bc2
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140015bc4
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140015bf6
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call sub.msvcrt.dll_memcpy
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 0x140015c7a
mov r8, qword [rdi + 0x18]
lea rax, [rdi + 0x70]
cmp qword [r8], rax
jne 0x140015c2d
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 0x140015c56
mov r9, qword [rdi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call sub.msvcrt.dll_fread
add r14, rax
sub rsi, rax
cmp rax, rbx
jne 0x140015c7a
cmp rsi, rbx
ja 0x140015c34
test rsi, rsi
je 0x140015c7a
mov r9, qword [rdi + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call sub.msvcrt.dll_fread
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 0x140006a40
Capabilities:
Read file on windows

Disassembly:
push rbx
push rsi
push r14
sub rsp, 0x30
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x140006a62
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rdi
je 0x140006adc
mov rdi, r14
mov rcx, rbx
call fcn.140007f60
test rax, rax
jle 0x140006ab4
mov rdx, qword [rbx + 0x38]
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov r8, rbp
mov rdx, qword [rdx]
call fcn.14004a380
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x140006acc
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x140006ad4
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x140006a76
sub r14, rdi
jmp 0x140006bbf
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x140006af3
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140006af5
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140006b27
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.14004a380
mov rax, qword [rbx + 0x50]
add rsi, rdi
sub rbp, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x140006bbc
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140006b62
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
cmp rbp, 0xfff
jbe 0x140006b9d
nop dword [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.14002c4ec
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x140006bbc
cmp rbp, rax
ja 0x140006b70
test rbp, rbp
je 0x140006bbc
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.14002c4ec
sub rbp, rax
sub r14, rbp
mov rbp, qword [rsp + 0x28]
mov rax, r14
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
Function at 0x140010ef0
Capabilities:
Initialize winhttp library

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0xa0
mov rax, qword [0x140067080]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, str.Gaming_Mode_Api
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov r14, rax
test rax, rax
jne 0x140011122
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea r9, [rsp + 0x8d]
nop dword [rax]
dec r9
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx ecx, dl
shl cl, 2
lea eax, [rcx + rdx]
add al, al
sub r8b, al
add r8b, 0x30
mov byte [r9], r8b
mov r8d, edx
test edx, edx
jne 0x140010f60
lea r8, [rsp + 0x8d]
mov rdx, r9
lea rcx, [rsp + 0x30]
call fcn.140002d60
nop
mov r8, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
sub rax, r8
mov ebp, 0x14
lea rdi, str.WinHttpOpen_failed:
cmp rax, rbp
jb 0x14001103c
lea rax, [r8 + 0x14]
mov qword [rsp + 0x40], rax
lea rbx, [rsp + 0x30]
cmp rcx, 0xf
cmova rbx, qword [rsp + 0x30]
lea rax, [0x14005b8cc]
cmp rax, rbx
jbe 0x140010fff
lea rax, [rbx + r8]
cmp rdi, rax
ja 0x140010fff
cmp rbx, rdi
ja 0x140010ff7
xor esi, esi
jmp 0x140011002
mov rsi, rbx
sub rsi, rdi
jmp 0x140011002
mov rsi, rbp
lea rcx, [rbx + 0x14]
inc r8
mov rdx, rbx
call fcn.14004a380
mov r8, rsi
mov rdx, rdi
mov rcx, rbx
call fcn.14004a380
lea rcx, [rbx + rsi]
sub rbp, rsi
lea rdx, [rdi + 0x14]
add rdx, rsi
mov r8, rbp
call fcn.14004a380
lea rax, [rsp + 0x30]
jmp 0x140011053
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rdi
mov rdx, rbp
lea rcx, [rsp + 0x30]
call fcn.14000fe00
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x60], xmm1
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov r8d, 2
lea rdx, [rsp + 0x50]
call fcn.140012800
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x1400110d6
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400110d1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140011159
call fcn.140022abc
movdqa xmm0, xmmword [0x14005ce60]
movdqu xmmword [rsp + 0x60], xmm0
mov byte [rsp + 0x50], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x140011122
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001111d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140011153
call fcn.140022abc
mov rax, r14
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.140022a60
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
call fcn.14002994c
nop
call fcn.14002994c
nop
int3
Function at 0x140011160
Capabilities:
Prepare http request

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0xb0
mov rax, qword [0x140067080]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov rax, r8
xor r15d, r15d
mov dword [rsp + 0x30], r15d
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
xor r9d, r9d
mov r8, rdx
mov rdx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov r14, rax
test rax, rax
jne 0x14001138f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea r9, [rsp + 0x9d]
nop word [rax + rax]
dec r9
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx ecx, dl
shl cl, 2
lea eax, [rcx + rdx]
add al, al
sub r8b, al
add r8b, 0x30
mov byte [r9], r8b
mov r8d, edx
test edx, edx
jne 0x1400111d0
lea r8, [rsp + 0x9d]
mov rdx, r9
lea rcx, [rsp + 0x40]
call fcn.140002d60
nop
mov r8, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
sub rax, r8
mov ebp, 0x1b
lea rdi, str.WinHttpOpenRequest_failed:
cmp rax, rbp
jb 0x1400112ad
lea rax, [r8 + 0x1b]
mov qword [rsp + 0x50], rax
lea rbx, [rsp + 0x40]
cmp rcx, 0xf
cmova rbx, qword [rsp + 0x40]
lea rax, [0x14005b8eb]
cmp rax, rbx
jbe 0x140011270
lea rax, [rbx + r8]
cmp rdi, rax
ja 0x140011270
cmp rbx, rdi
ja 0x140011268
mov rsi, r15
jmp 0x140011273
mov rsi, rbx
sub rsi, rdi
jmp 0x140011273
mov rsi, rbp
lea rcx, [rbx + 0x1b]
inc r8
mov rdx, rbx
call fcn.14004a380
mov r8, rsi
mov rdx, rdi
mov rcx, rbx
call fcn.14004a380
lea rcx, [rbx + rsi]
sub rbp, rsi
lea rdx, [rdi + 0x1b]
add rdx, rsi
mov r8, rbp
call fcn.14004a380
lea rax, [rsp + 0x40]
jmp 0x1400112c4
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rdi
mov rdx, rbp
lea rcx, [rsp + 0x40]
call fcn.14000fe00
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x70], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x70], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov r8d, 2
lea rdx, [rsp + 0x60]
call fcn.140012800
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x140011343
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001133e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400113bf
call fcn.140022abc
movdqa xmm0, xmmword [0x14005ce60]
movdqu xmmword [rsp + 0x70], xmm0
mov byte [rsp + 0x60], 0
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x14001138f
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001138a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400113b9
call fcn.140022abc
mov rax, r14
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.140022a60
mov rbx, qword [rsp + 0xf8]
add rsp, 0xb0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.14002994c
nop
call fcn.14002994c
nop
int3
Function at 0x1400113d0
Capabilities:
Set http header

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0xb0
mov rax, qword [0x140067080]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov rbx, rdx
mov rdi, rcx
mov r9d, 0x20000000
mov r8d, 0xffffffff
lea rdx, str.Content_Type:_application_json
call qword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
mov eax, dword [rbx + 0x10]
cmp qword [rbx + 0x18], 0xf
jbe 0x140011423
mov rbx, qword [rbx]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
mov r9, rbx
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
mov r14d, eax
test eax, eax
jne 0x140011623
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea r9, [rsp + 0x9d]
dec r9
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx ecx, dl
shl cl, 2
lea eax, [rcx + rdx]
add al, al
sub r8b, al
add r8b, 0x30
mov byte [r9], r8b
mov r8d, edx
test edx, edx
jne 0x140011461
lea r8, [rsp + 0x9d]
mov rdx, r9
lea rcx, [rsp + 0x40]
call fcn.140002d60
nop
mov r8, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
sub rax, r8
mov ebp, 0x1b
lea rdi, str.WinHttpSendRequest_failed:
cmp rax, rbp
jb 0x14001153d
lea rax, [r8 + 0x1b]
mov qword [rsp + 0x50], rax
lea rbx, [rsp + 0x40]
cmp rcx, 0xf
cmova rbx, qword [rsp + 0x40]
lea rax, [0x14005b94b]
cmp rax, rbx
jbe 0x140011500
lea rax, [rbx + r8]
cmp rdi, rax
ja 0x140011500
cmp rbx, rdi
ja 0x1400114f8
xor esi, esi
jmp 0x140011503
mov rsi, rbx
sub rsi, rdi
jmp 0x140011503
mov rsi, rbp
lea rcx, [rbx + 0x1b]
inc r8
mov rdx, rbx
call fcn.14004a380
mov r8, rsi
mov rdx, rdi
mov rcx, rbx
call fcn.14004a380
lea rcx, [rbx + rsi]
sub rbp, rsi
lea rdx, [rdi + 0x1b]
add rdx, rsi
mov r8, rbp
call fcn.14004a380
lea rax, [rsp + 0x40]
jmp 0x140011554
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rdi
mov rdx, rbp
lea rcx, [rsp + 0x40]
call fcn.14000fe00
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x70], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x70], xmm1
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov r8d, 2
lea rdx, [rsp + 0x60]
call fcn.140012800
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x1400115d7
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400115d2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140011657
call fcn.140022abc
movdqa xmm0, xmmword [0x14005ce60]
movdqu xmmword [rsp + 0x70], xmm0
mov byte [rsp + 0x60], 0
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x140011623
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001161e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140011651
call fcn.140022abc
test r14d, r14d
setne al
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.140022a60
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
call fcn.14002994c
nop
call fcn.14002994c
nop
int3