joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6523a0
Capabilities:
Hide graphical window from taskbar

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rbx, rcx
mov esi, edx
cmp sil, byte [rbx + 0x193]
je 0x652561
mov byte [rbx + 0x193], sil
mov rax, qword [rbx + 0xa8]
test rax, rax
je 0x6524cb
mov rcx, rax
call fcn.005803b0
test al, al
je 0x6524cb
mov rax, qword [rbx + 0xa8]
movzx rax, word [rax + 0x34]
test ax, 0x10
jne 0x6524cb
mov rax, qword [rbx + 0xa8]
movzx rax, word [rax + 0x34]
test ax, 2
jne 0x6524cb
test sil, sil
je 0x65244a
mov rcx, qword [rbx + 0x2e0]
xor edx, edx
xor r8, r8
call fcn.0063b8b0
mov rcx, qword [rbx + 0xa8]
call fcn.0057fd40
mov rcx, rax
mov dl, 1
mov rax, qword [rbx + 0xa8]
movzx r8, byte [rax + 0xa9]
call fcn.0063b8b0
jmp 0x6524b4
call sub.user32.dll_GetForegroundWindow
mov rdi, rax
mov rcx, qword [rbx + 0xa8]
call fcn.0057fd40
cmp rdi, rax
sete dil
mov rcx, qword [rbx + 0xa8]
call fcn.0057fd40
mov rcx, rax
xor edx, edx
mov rax, qword [rbx + 0xa8]
movzx r8, byte [rax + 0xa9]
call fcn.0063b8b0
mov rcx, qword [rbx + 0x2e0]
mov dl, 1
mov r8b, 1
call fcn.0063b8b0
test dil, dil
je 0x6524b4
mov rcx, qword [rbx + 0xa8]
call fcn.0057fd40
mov rcx, rax
call sub.user32.dll_SetForegroundWindow
mov rcx, qword [rbx + 0xa8]
mov edx, 0xb033
xor r8, r8
xor r9, r9
call fcn.00573a90
test sil, sil
je 0x652510
mov rcx, qword [rbx + 0x2e0]
mov rax, rcx
mov rsi, rcx
mov rcx, rax
mov edx, 0xffffffec
call sub.user32.dll_GetWindowLongPtrW
or rax, 0x80
mov rcx, rsi
mov edx, 0xffffffec
mov r8, rax
call sub.user32.dll_SetWindowLongPtrW
mov rcx, qword [rbx + 0x2e0]
xor edx, edx
call sub.user32.dll_SetWindowTextW
jmp 0x652561
mov rcx, qword [rbx + 0x2e0]
mov rax, rcx
mov rsi, rcx
mov rcx, rax
mov edx, 0xffffffec
call sub.user32.dll_GetWindowLongPtrW
and rax, 0xffffffffffffff7f
mov rcx, rsi
mov edx, 0xffffffec
mov r8, rax
call sub.user32.dll_SetWindowLongPtrW
mov rsi, qword [rbx + 0x2e0]
mov rax, qword [rbx + 0x118]
mov rcx, rax
call fcn.004116f0
mov rcx, rsi
mov rdx, rax
call sub.user32.dll_SetWindowTextW
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
Function at 0x65d310
Capabilities:
Hide graphical window

Disassembly:
push r13
push rdi
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
cmp qword [rbx + 0xd0], 0
jne 0x65d3cb
mov rcx, qword [rbx + 0x10]
call fcn.0057fd40
mov rcx, qword [0x005987c0]
mov dl, 1
mov r8, rax
call fcn.00576b30
mov qword [rbx + 0xd0], rax
mov rsi, qword [rbx + 0xd0]
mov rcx, rsi
xor edx, edx
call fcn.005a63e0
lea rax, [rsi + 0x4d8]
mov qword [rax + 8], rbx
lea rcx, [0x0065c990]
mov qword [rax], rcx
mov rcx, qword [rbx + 0xd0]
call fcn.0057fd40
mov rdi, rax
mov rcx, rsi
mov edx, 3
mov rax, qword [rsi]
call qword [rax + 0x1c0]
mov rcx, rdi
xor edx, edx
xor r8, r8
xor r9, r9
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x30], 8
call sub.user32.dll_SetWindowPos
mov rcx, qword [rbx + 0xd0]
call fcn.0057fd40
mov rcx, rax
xor edx, edx
call sub.user32.dll_ShowWindow
cmp qword [rbx + 0xf0], 0
jne 0x65d47a
mov rcx, qword [rbx + 0x10]
call fcn.0057fd40
mov rcx, qword [0x005987c0]
mov dl, 1
mov r8, rax
call fcn.00576b30
mov qword [rbx + 0xf0], rax
mov rsi, qword [rbx + 0xf0]
mov rcx, rsi
mov dl, 1
call fcn.005a63e0
lea rax, [rsi + 0x4d8]
mov qword [rax + 8], rbx
lea rcx, [0x0065c9f0]
mov qword [rax], rcx
mov rcx, qword [rbx + 0xf0]
call fcn.0057fd40
mov rdi, rax
mov rcx, rsi
mov edx, 2
mov rax, qword [rsi]
call qword [rax + 0x1c0]
mov rcx, rdi
xor edx, edx
xor r8, r8
xor r9, r9
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x30], 8
call sub.user32.dll_SetWindowPos
mov rcx, qword [rbx + 0xf0]
call fcn.0057fd40
mov rcx, rax
xor edx, edx
call sub.user32.dll_ShowWindow
cmp qword [rbx + 0xe0], 0
jne 0x65d522
mov rcx, qword [rbx + 0x10]
call fcn.0057fd40
mov rcx, qword [0x00599868]
mov dl, 1
mov r8, rax
call fcn.00576b30
mov qword [rbx + 0xe0], rax
mov rsi, qword [rbx + 0xe0]
mov byte [rsi + 0x4a8], 1
mov rcx, qword [rbx + 0xe0]
call fcn.0057fd40
mov rdi, rax
mov rcx, rsi
mov edx, 2
mov rax, qword [rsi]
call qword [rax + 0x1c0]
mov r13d, eax
mov rcx, rsi
mov edx, 3
mov rax, qword [rsi]
call qword [rax + 0x1c0]
mov rcx, rdi
xor edx, edx
xor r8, r8
xor r9, r9
mov dword [rsp + 0x20], r13d
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x30], 8
call sub.user32.dll_SetWindowPos
mov rcx, qword [rbx + 0xe0]
call fcn.0057fd40
mov rcx, rax
xor edx, edx
call sub.user32.dll_ShowWindow
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop r13
ret
Function at 0x667640
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
mov byte [rsp - 0x48], 0
mov byte [rsp - 0x1048], 0
sub rsp, 0x1048
mov rbp, rsp
mov rbx, rcx
mov rcx, rbx
call fcn.00410350
lea rcx, [rbp + 0x30]
mov edx, 0x1000
xor r8, r8
call fcn.0040bed0
mov qword [rbp + 0x1038], 0xffffffffffffffff
mov rcx, 0xffffffff80000002
lea rdx, [0x00667724]
xor r8, r8
mov r9d, 0x20019
lea rax, [rbp + 0x1038]
mov qword [rsp + 0x20], rax
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x66770b
mov dword [rbp + 0x1030], 0x1000
mov dword [rbp + 0x1034], 1
mov rcx, qword [rbp + 0x1038]
lea rdx, [0x00667750]
xor r8, r8
lea r9, [rbp + 0x1034]
lea rax, [rbp + 0x30]
mov qword [rsp + 0x20], rax
lea rax, [rbp + 0x1030]
mov qword [rsp + 0x28], rax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x66770b
cmp dword [rbp + 0x1034], 1
jne 0x66770b
mov rcx, rbx
lea rdx, [rbp + 0x30]
call fcn.00411780
mov rcx, qword [rbp + 0x1038]
call sub.advapi32.dll_RegCloseKey
mov rax, rbx
lea rsp, [rbp + 0x1048]
pop rbx
pop rbp
ret

Function at 0x66ed70
Capabilities:
Parse pe header

Disassembly:
push rbp
push rbx
sub rsp, 0x88
mov rbp, rsp
mov qword [rbp + 0xa0], rcx
mov rcx, qword [rbp + 0xa0]
call fcn.00410520
nop
or eax, 0xffffffff
mov dword [rbp + 0x2c], eax
mov rcx, qword [rbp + 0xa0]
xor edx, edx
call fcn.00431f20
mov rbx, rax
cmp rbx, 0xffffffffffffffff
je 0x66ee6c
xor eax, eax
mov dword [rbp + 0x2c], eax
mov rcx, rbx
lea rdx, [rbp + 0x40]
mov r8d, 0x40
call fcn.00432010
cmp eax, 0x40
jne 0x66ee64
cmp word [rbp + 0x40], 0x5a4d
jne 0x66ee64
mov rcx, rbx
mov edx, dword [rbp + 0x7c]
xor r8, r8
call fcn.00432070
cmp eax, dword [rbp + 0x7c]
jne 0x66ee64
mov rcx, rbx
lea rdx, [rbp + 0x3c]
mov r8d, 4
call fcn.00432010
cmp eax, 4
jne 0x66ee64
cmp dword [rbp + 0x3c], 0x4550
jne 0x66ee64
mov rcx, rbx
lea rdx, [rbp + 0x3a]
mov r8d, 2
call fcn.00432010
cmp eax, 2
jne 0x66ee64
movzx rax, word [rbp + 0x3a]
sub ax, 0x14c
test ax, ax
je 0x66ee52
sub ax, 0xb4
test ax, ax
je 0x66ee5c
sub ax, 0x84
test ax, ax
je 0x66ee5c
sub ax, 0x83e0
test ax, ax
jne 0x66ee64
jmp 0x66ee5c
mov eax, 0x20
mov dword [rbp + 0x2c], eax
jmp 0x66ee64
mov eax, 0x40
mov dword [rbp + 0x2c], eax
mov rcx, rbx
call sub.kernel32.dll_CloseHandle
nop
lea rcx, [rbp + 0xa0]
call fcn.00410350
mov eax, dword [rbp + 0x2c]
lea rsp, [rbp + 0x88]
pop rbx
pop rbp
ret
Function at 0x66eeb0
Capabilities:
Get file version info

Disassembly:
push rbp
push rbx
sub rsp, 0xb8
mov rbp, rsp
mov qword [rbp + 0x30], 0
mov qword [rbp + 0xa0], 0
mov qword [rbp + 0x80], 0
mov qword [rbp + 0x58], rbp
mov qword [rbp + 0xd0], rcx
mov qword [rbp + 0xd8], rdx
mov qword [rbp + 0xe0], r8
nop
mov rcx, qword [rbp + 0xd0]
call fcn.00410350
mov dword [rbp + 0x70], 0
mov rbx, qword [rbp + 0xd8]
test rbx, rbx
je 0x66ef19
mov eax, dword [rbx - 4]
mov dword [rbp + 0x70], eax
lea rcx, [rbp + 0xa0]
mov edx, dword [rbp + 0x70]
call fcn.00411970
lea rcx, [rbp + 0xa0]
call fcn.00410cc0
mov qword [rbp + 0x60], rax
mov dword [rbp + 0x6c], 0
test rbx, rbx
je 0x66ef4a
mov eax, dword [rbx - 4]
mov dword [rbp + 0x6c], eax
mov rcx, qword [rbp + 0xd8]
call fcn.004116f0
mov rcx, rax
mov rdx, qword [rbp + 0x60]
mov r8d, dword [rbp + 0x6c]
add r8d, r8d
movsxd r8, r8d
call fcn.00409b10
mov rcx, qword [rbp + 0xa0]
call fcn.004116f0
mov rcx, rax
lea rdx, [rbp + 0x98]
call sub.version.dll_GetFileVersionInfoSizeW
mov dword [rbp + 0x9c], eax
cmp dword [rbp + 0x9c], 0
je 0x66f0e7
mov ecx, dword [rbp + 0x9c]
call fcn.00409340
mov qword [rbp + 0xa8], rax
nop
mov rcx, qword [rbp + 0xa0]
call fcn.004116f0
mov rcx, rax
mov edx, dword [rbp + 0x98]
mov r8d, dword [rbp + 0x9c]
mov r9, qword [rbp + 0xa8]
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x66f0da
lea rcx, [rbp + 0x80]
lea rdx, [0x0066f180]
call fcn.00410a50
mov qword [rbp + 0x90], 0
mov dword [rbp + 0x8c], 0
mov rcx, qword [rbp + 0xa8]
lea rdx, [0x0066f192]
lea r8, [rbp + 0x90]
lea r9, [rbp + 0x8c]
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x66f063
mov rax, qword [rbp + 0x90]
movzx ecx, word [rax]
mov dword [rbp + 0x38], ecx
mov byte [rbp + 0x40], 0
movzx eax, word [rax + 2]
mov dword [rbp + 0x48], eax
mov byte [rbp + 0x50], 0
lea rcx, [rbp + 0x80]
lea rdx, [0x0066f1d0]
lea r8, [rbp + 0x38]
mov r9d, 1
call fcn.00432f00
mov qword [rbp + 0x78], 0
mov dword [rbp + 0x74], 0
lea rcx, [rbp + 0x30]
mov edx, 4
lea r8, [0x0066f1f0]
mov r9, qword [rbp + 0x80]
lea rax, [0x0066f220]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0xe0]
mov qword [rsp + 0x28], rax
call fcn.00411c40
mov rcx, qword [rbp + 0x30]
call fcn.004116f0
mov rcx, qword [rbp + 0xa8]
mov rdx, rax
lea r8, [rbp + 0x78]
lea r9, [rbp + 0x74]
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x66f0da
mov rcx, qword [rbp + 0xd0]
mov rdx, qword [rbp + 0x78]
call fcn.00411780
nop
mov rcx, qword [rbp + 0xa8]
call fcn.00409370
nop
lea rcx, [rbp + 0x30]
call fcn.00410350
lea rcx, [rbp + 0x80]
call fcn.00410350
lea rcx, [rbp + 0xa0]
call fcn.00410350
mov rax, qword [rbp + 0xd0]
lea rsp, [rbp + 0xb8]
pop rbx
pop rbp
ret
Function at 0x6aa7e0
Capabilities:
Move file

Disassembly:
push rbp
push rsi
push rbx
add rsp, 0xffffffffffffff80
mov rbp, rsp
mov qword [rbp + 0x48], rcx
mov qword [rbp + 0x50], 0
mov qword [rbp + 0x68], 0
mov qword [rbp + 0x78], 0
mov qword [rbp + 0x70], 0
mov qword [rbp + 0xa8], rdx
mov rcx, qword [rbp + 0xa8]
call fcn.00410520
nop
mov rax, qword [rbp + 0x48]
mov rbx, qword [rax + 0x6e0]
mov rcx, rbx
mov rax, qword [rbx]
call qword [rax + 0x2a0]
mov rcx, qword [rbx + 0x4b8]
mov rdx, rcx
lea r8, [rbp + 0x78]
mov rbx, qword [rcx]
mov rcx, rdx
mov rdx, r8
mov r8d, eax
call qword [rbx + 0x18]
lea rcx, [rbp + 0x70]
mov rdx, qword [rbp + 0x78]
call fcn.00432600
mov rax, qword [rbp + 0x48]
mov rax, qword [rax + 0x6e0]
mov rcx, rax
mov rax, qword [rax]
call qword [rax + 0x2a0]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x6aa9eb
mov rax, qword [rbp + 0x48]
mov rcx, qword [rax + 0x6d8]
mov edx, 0x3e8
call fcn.00680330
mov rcx, qword [rbp + 0xa8]
mov dl, 1
call fcn.00432130
test al, al
je 0x6aa912
mov rax, qword [rbp + 0x70]
mov qword [rbp + 0x58], rax
mov byte [rbp + 0x60], 0x11
lea rcx, [rbp + 0x68]
lea rdx, [0x006aaa64]
lea r8, [rbp + 0x58]
xor r9, r9
call fcn.00432f00
mov rax, qword [rbp + 0x68]
mov rcx, rax
mov dl, 3
movzx r8, word [0x006aaaa2]
xor r9, r9
mov dword [rsp + 0x20], 0xffffffff
mov dword [rsp + 0x28], 0xffffffff
mov qword [rsp + 0x30], 0
call fcn.005c4ae0
cmp eax, 6
jne 0x6aa912
mov rcx, qword [rbp + 0xa8]
call fcn.00432460
mov rcx, qword [rbp + 0x78]
call fcn.004116f0
mov rsi, rax
mov rcx, qword [rbp + 0xa8]
call fcn.004116f0
mov rcx, rsi
mov rdx, rax
call sub.kernel32.dll_MoveFileW
test eax, eax
jne 0x6aa951
lea rcx, [0x006aaab0]
or edx, 0xffffffff
or r8d, 0xffffffff
call fcn.005c4c60
jmp 0x6aa9ea
mov rax, qword [rbp + 0x48]
mov rcx, qword [rax + 0x6d8]
mov edx, ebx
call fcn.00680650
mov rax, qword [rbp + 0x48]
mov rax, qword [rax + 0x6e0]
mov rcx, rax
mov rsi, qword [rax]
call qword [rsi + 0x1b8]
mov rax, qword [rbp + 0x48]
mov rax, qword [rax + 0x6e0]
mov rcx, rax
mov edx, ebx
mov rbx, qword [rax]
call qword [rbx + 0x2a8]
mov rcx, qword [rbp + 0x48]
xor edx, edx
call fcn.006a9c40
mov rax, qword [rbp + 0x48]
mov rax, qword [rax + 0x790]
mov rcx, rax
mov rax, qword [rax]
call qword [rax + 0x2a0]
cmp al, 1
jne 0x6aa9ea
mov rax, qword [rbp + 0x48]
mov rcx, qword [rax + 0x798]
lea rdx, [rbp + 0x50]
call fcn.00571dd0
mov rcx, qword [rbp + 0x50]
call fcn.00431b30
mov rcx, qword [rbp + 0x48]
mov rcx, qword [rcx + 0x6d0]
cvtsi2ss xmm1, eax
call fcn.00682a50
nop
lea rcx, [rbp + 0x50]
call fcn.00410350
lea rcx, [rbp + 0x68]
mov edx, 3
call fcn.00410430
lea rcx, [rbp + 0xa8]
call fcn.00410350
lea rsp, [rbp + 0x80]
pop rbx
pop rsi
pop rbp
ret
Function at 0x140004690
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 0x1400046b2
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 0x14000472c
mov rdi, r14
mov rcx, rbx
call fcn.1400061d0
test rax, rax
jle 0x140004704
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov rax, qword [rbx + 0x38]
mov r8, rbp
mov rdx, qword [rax]
call fcn.14002ad40
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 0x14000471c
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x140004724
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x1400046c6
sub r14, rdi
jmp 0x14000480f
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x140004743
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140004745
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140004777
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.14002ad40
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 0x14000480c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x1400047b2
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 0x1400047ed
nop dword [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.140011554
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x14000480c
cmp rbp, rax
ja 0x1400047c0
test rbp, rbp
je 0x14000480c
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.140011554
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 0x140007560
Capabilities:
Initialize winhttp library
Prepare http request
Receive http response

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x470
mov rax, qword [0x14003e080]
xor rax, rsp
mov qword [rsp + 0x460], rax
mov rsi, rcx
mov qword [rsp + 0x48], rcx
mov dword [rsp + 0x44], 1
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
xor ebx, ebx
mov qword [rcx + 0x10], rbx
mov qword [rcx + 0x18], 0xf
mov byte [rcx], bl
mov dword [rsp + 0x44], 1
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, str.Mozila_5.0
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov r15, rax
test rax, rax
je 0x140007728
mov r8d, 0xbb8
xor r9d, r9d
lea rdx, str.192.168.1.27
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov r12, rax
test rax, rax
je 0x14000771e
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
xor r9d, r9d
lea r8, str._in_ping
lea rdx, [0x1400381c8]
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov r14, rax
test rax, rax
je 0x140007715
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
je 0x14000770c
xor edx, edx
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x14000770c
movzx ebx, byte [rsp + 0x40]
nop word [rax + rax]
lea r9, [rsp + 0x50]
mov r8d, 0x400
lea rdx, [rsp + 0x60]
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x14000770c
mov eax, dword [rsp + 0x50]
test eax, eax
je 0x14000770c
mov ebp, eax
mov rcx, qword [rsi + 0x10]
mov rdx, qword [rsi + 0x18]
mov rax, rdx
sub rax, rcx
cmp rbp, rax
ja 0x1400076e8
lea rax, [rcx + rbp]
mov qword [rsi + 0x10], rax
mov rax, rsi
cmp rdx, 0xf
jbe 0x1400076ce
mov rax, qword [rsi]
lea rdi, [rax + rcx]
mov r8, rbp
lea rdx, [rsp + 0x60]
mov rcx, rdi
call fcn.14002ad40
mov byte [rdi + rbp], 0
jmp 0x140007701
mov qword [rsp + 0x20], rbp
lea r9, [rsp + 0x60]
movzx r8d, bl
mov rdx, rbp
mov rcx, rsi
call fcn.140006b50
cmp dword [rsp + 0x50], 0
ja 0x140007680
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, r12
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, r15
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
nop
mov rax, rsi
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.140009390
lea r11, [rsp + 0x470]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x140007b4c
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x140007b86
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x140007b8b
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x140007bd4
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x14002d4e0]
cmp byte [rcx + rax], 0
je 0x140007bd4
dec r8
sub rdx, 1
jne 0x140007bba
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x14000a00c
Capabilities:
Parse pe header

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

Function at 0x140010614
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, edx
mov rbp, rcx
test r8, r8
jne 0x14001064b
call fcn.140014eb8
mov dword [rax], 0x16
call fcn.140011d44
xor eax, eax
jmp 0x1400106d9
mov rdx, r9
mov rcx, r8
call fcn.1400105b0
mov rbx, rax
test rax, rax
je 0x1400106d6
lea rax, [rsp + 0x50]
mov rdx, rsi
mov qword [rsp + 0x28], rax
lea r8, [0x1400104dc]
mov eax, dword [rsp + 0x60]
mov r9, rbx
mov rcx, rbp
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x1400106c3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140014e2c
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1400106aa
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x1400106b9
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.14001ab68
jmp 0x1400106d6
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1400106d3
mov eax, dword [rsp + 0x50]
mov dword [rcx], eax
mov rdi, rdx
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x140015f88
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140015d84
Function at 0x1400192ec
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x140019302
mov al, 1
jmp 0x140019362
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x140019313
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x140019360
mov ecx, dword [rcx + 0x18]
nop
call fcn.140022af4
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140019360
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x140019360
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x140019360
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x140019362
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x14001c28c
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.1400099f0
sub rsp, rax
mov rax, qword [0x14003e080]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.1400191cc
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x14001c2db
mov rax, rbp
jmp 0x14001c3e3
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 + 0x3ed0c0]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.14001d1d8
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x3ed0c0]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x14001c3df
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 0x14001c3df
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.14001d1d8
test rax, rax
js 0x14001c3df
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x14001c3df
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x14001c3d1
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x14001c3d1
cmp byte [rcx], 0xd
jne 0x14001c3b7
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x14001c3c6
cmp byte [rcx + 1], 0xa
jne 0x14001c3c6
inc rcx
jmp 0x14001c3c6
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x3e4b0]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x14001c399
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x14001c3e3
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.140009390
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret