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

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x30
mov rbp, rdx
mov rdi, rcx
xor r14d, r14d
mov qword [rcx], r14
mov qword [rcx + 8], r14
mov qword [rcx + 0x10], r14
lea rbx, [rcx + 0x18]
mov qword [rsp + 0x70], rbx
mov qword [rbx], r14
mov qword [rbx + 8], r14
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], r14
mov qword [rbx + 0x20], r14
lea ecx, [r14 + 0x10]
call fcn.14008b48c
mov qword [rax + 8], r14
mov qword [rbx], rax
mov qword [rax], rbx
mov qword [rdi + 0x40], 0x186a0
mov byte [rdi + 0x48], r14b
lea rcx, [rdi + 0x50]
lea edx, [r14 + 2]
call fcn.140068f44
nop
lea rcx, [rdi + 0xa0]
call fcn.140069c90
nop
lea rcx, [rdi + 0xe8]
call fcn.140069c90
nop
lea rcx, [rdi + 0x130]
lea edx, [r14 + 2]
call fcn.140068f44
nop
lea rcx, [rdi + 0x180]
call fcn.140069c90
nop
mov qword [rdi + 0x1c8], r14
mov esi, r14d
test rbp, rbp
je 0x140037c3e
mov qword [rsp + 0x70], rdi
nop dword [rax + rax]
mov rbx, qword [rdi + 8]
cmp rbx, qword [rdi + 0x10]
je 0x140037c26
mov ecx, 8
call fcn.14008b48c
test rax, rax
je 0x140037bee
mov qword [rax], rdi
jmp 0x140037bf1
mov rax, r14
mov qword [rsp + 0x78], rax
lea rcx, [rbx + 8]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r14d
mov r9, rax
lea r8, [0x140037550]
xor edx, edx
xor ecx, ecx
call fcn.140095404
mov qword [rbx], rax
test rax, rax
je 0x140037c4c
add qword [rdi + 8], 0x10
jmp 0x140037c36
lea r8, [rsp + 0x70]
mov rdx, rbx
mov rcx, rdi
call fcn.1400372b0
inc rsi
cmp rsi, rbp
jb 0x140037bd0
mov rax, rdi
add rsp, 0x30
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov dword [rbx + 8], r14d
mov ecx, 6
call fcn.14006820c
int3

Function at 0x14003e270
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x40
mov rbx, rcx
xor eax, eax
mov dword [rsp + 0x20], eax
mov qword [rcx], rax
mov qword [rcx + 0x10], rax
mov qword [rcx + 0x18], shutdown
mov byte [rcx], al
xor r8d, r8d
mov edx, 0x8000
call fcn.1400139e0
mov dword [rsp + 0x20], 1
mov rdx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x14003e2b6
mov rdx, qword [rbx]
mov ecx, dword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
test eax, eax
je 0x14003e2e9
mov eax, eax
cmp rax, qword [rbx + 0x10]
jae 0x14003e2e9
mov qword [rbx + 0x10], rax
mov rcx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x14003e2dc
mov rcx, qword [rbx]
mov byte [rcx + rax], 0
mov rax, rbx
add rsp, 0x40
pop rbx
ret
lea rdx, str.GetCurrentDirectory
lea rcx, [rsp + 0x28]
call fcn.140038030
lea rdx, [0x1400f29e0]
lea rcx, [rsp + 0x28]
call fcn.14008c6e0
int3
Function at 0x1400414d0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov rdi, rcx
mov dword [rsp + 0x78], 0
lock or dword [rcx + 0x18], 1
mov ecx, reloc.WS2_32.dll_recv
call fcn.14008b48c
mov rsi, rax
mov qword [rsp + 0x88], rax
test rsi, rsi
je 0x140041595
mov rbx, rdi
mov qword [rsp + 0x80], rbx
test rdi, rdi
je 0x140041533
mov rax, qword [rdi + 8]
movsxd rcx, dword [rax + 4]
add rcx, 8
add rcx, rdi
call fcn.14003a8f0
nop
mov r14d, 1
mov dword [rsp + 0x78], r14d
lea ecx, [r14 + 0xf]
call fcn.14008b48c
test rax, rax
je 0x14004155d
mov qword [rax], rdi
xor ebx, ebx
mov qword [rsp + 0x80], rbx
mov qword [rax + 8], rdi
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x78], r14d
lea r15, [rsi + 8]
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x140040c80]
xor edx, edx
xor ecx, ecx
call fcn.140095404
mov qword [rsi], rax
test rax, rax
je 0x1400415ec
jmp 0x1400415a2
mov rbx, qword [rsp + 0x80]
mov r14d, dword [rsp + 0x78]
mov rcx, qword [rdi + 0x10]
mov qword [rdi + 0x10], rsi
test rcx, rcx
je 0x1400415c0
cmp dword [rcx + 8], 0
jne 0x1400415fe
mov edx, reloc.WS2_32.dll_recv
call fcn.14008b4c8
nop
test r14b, 1
je 0x1400415e0
test rbx, rbx
je 0x1400415e0
mov rax, qword [rbx + 8]
movsxd rcx, dword [rax + 4]
add rcx, 8
add rcx, rbx
call fcn.14003a900
nop
add rsp, 0x40
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
mov dword [r15], 0
mov ecx, 6
call fcn.14006820c
nop
call fcn.1400935e8
int3
Function at 0x140057ef0
Capabilities:
Connect to http server
Create http request
Read data from internet
Receive data
Send data
Send http request

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x60
mov rdi, r9
movzx r14d, r8b
movzx ebp, dx
mov rbx, rcx
xor r15d, r15d
lea rcx, str.log4cplus
xor r9d, r9d
mov dword [rsp + 0x20], r15d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.WININET.dll_InternetOpenA]
mov rsi, rax
test rax, rax
je 0x140057ffb
cmp qword [rbx + 0x18], 0x10
mov qword [rsp + 0x80], r12
jb 0x140057f50
mov rbx, qword [rbx]
mov r12d, 1
xor r9d, r9d
mov qword [rsp + 0x38], r12
movzx r8d, bp
mov dword [rsp + 0x30], r15d
mov rdx, rbx
mov dword [rsp + 0x28], 3
mov rcx, rsi
mov qword [rsp + 0x20], r15
call qword [sym.imp.WININET.dll_InternetConnectA]
mov rbp, rax
test rax, rax
je 0x140057fe8
lea rax, [0x1400c9c84]
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x48], rax
mov eax, r14d
shl eax, 0x17
cmp qword [rdi + 0x18], 0x10
jb 0x140057fa9
mov rdi, qword [rdi]
mov qword [rsp + 0x38], r12
lea rdx, str.POST
mov dword [rsp + 0x30], eax
xor r9d, r9d
lea rax, [rsp + 0x48]
mov r8, rdi
mov qword [rsp + 0x28], rax
mov rcx, rbp
mov qword [rsp + 0x20], r15
call qword [sym.imp.WININET.dll_HttpOpenRequestA]
mov rbx, rax
test rax, rax
jne 0x140058015
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor al, al
mov r12, qword [rsp + 0x80]
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
mov r9d, 0x20000000
lea rdx, str.Content_Type:_text_plain_r_n
mov r8d, 0xffffffff
mov rcx, rbx
call qword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
mov rax, qword [rsp + 0xa0]
mov r9, rax
cmp qword [rax + 0x18], 0x10
jb 0x140058046
mov r9, qword [rax]
mov eax, dword [rax + 0x10]
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], eax
mov rcx, rbx
call qword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
setne r14b
xor dil, dil
test eax, eax
je 0x1400580a7
mov word [rsp + 0x40], r15w
mov dword [rsp + 0x44], r15d
nop dword [rax]
nop word [rax + rax]
lea r9, [rsp + 0x44]
mov r8d, r12d
lea rdx, [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x140058080
cmp dword [rsp + 0x44], r15d
movzx edi, dil
cmova edi, r12d
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
test r14b, r14b
je 0x140057ff1
test dil, dil
je 0x140057ff1
movzx eax, r12b
jmp 0x140057ff3
Function at 0x140058da0
Capabilities:
Connect socket
Resolve dns

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0xa0
mov rax, qword [0x1400f5608]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov r14, rcx
mov r15, qword [rsp + 0x100]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x58], xmm1
xor r12d, r12d
mov qword [rsp + 0x30], r12
mov edi, r12d
mov qword [rsp + 0x68], r12
mov ebp, 2
mov eax, 0x17
test r9b, r9b
cmovne ebp, eax
movzx esi, r8b
inc esi
mov ebx, 6
mov eax, send
test r8b, r8b
cmovne ebx, eax
lea rcx, [rsp + 0x70]
call fcn.140058cd0
nop
call fcn.140059640
mov dword [rsp + 0x3c], ebp
mov dword [rsp + 0x40], esi
mov dword [rsp + 0x44], ebx
mov dword [rsp + 0x38], 8
lea rdx, [rsp + 0x70]
cmp qword [rsp + 0x88], 0x10
cmovae rdx, qword [rsp + 0x70]
cmp qword [r14 + 0x18], 0x10
jb 0x140058e59
mov r14, qword [r14]
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x38]
mov rcx, r14
call qword [sym.imp.WS2_32.dll_getaddrinfo]
mov ebx, eax
test eax, eax
jne 0x140058f1f
mov rdi, qword [rsp + 0x30]
mov rbx, 0xffffffffffffffff
mov rsi, rdi
test rdi, rdi
je 0x140058f17
nop
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], r12d
xor r9d, r9d
mov r8d, dword [rsi + 0xc]
mov edx, dword [rsi + 8]
mov ecx, dword [rsi + 4]
call qword [sym.imp.WS2_32.dll_WSASocketW]
mov r14, rax
lea rax, [rbx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140058ed6
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebp, eax
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_closesocket]
mov ecx, ebp
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov rbx, r14
cmp r14, 0xffffffffffffffff
je 0x140058f03
nop
mov r8d, dword [rsi + 0x10]
mov rdx, qword [rsi + 0x20]
mov rcx, r14
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x140058f12
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2714
je 0x140058ee0
mov rsi, qword [rsi + 0x28]
test rsi, rsi
jne 0x140058e90
cmp r14, 0xffffffffffffffff
je 0x140058f17
mov dword [r15], r12d
jmp 0x140058f2d
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
call fcn.14009571c
mov dword [rax], ebx
mov r14, qword [0x1400c9fe0]
mov rdx, qword [rsp + 0x88]
cmp rdx, 0x10
jb 0x140058f69
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140058f64
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140058fb5
call fcn.14008b4c8
mov qword [rsp + 0x80], r12
mov qword [rsp + 0x88], shutdown
mov byte [rsp + 0x70], 0
test rdi, rdi
je 0x140058f90
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
mov rax, r14
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.14008bad0
add rsp, 0xa0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
call fcn.140091b3c
nop
int3
Function at 0x140059640
Capabilities:
Initialize winsock library

Disassembly:
sub rsp, 0x28
mov eax, dword [0x1400fa9d8]
nop
cmp eax, 2
je 0x140059729
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x20], rdi
call fcn.14003b6d0
mov rbx, rax
mov edi, 1
xor eax, eax
lock cmpxchg dword [0x1400fa9d8], edi
je 0x1400596db
test eax, eax
je 0x1400596db
sub eax, edi
je 0x1400596b0
cmp eax, edi
je 0x14005971f
movzx r8d, dil
lea rdx, str.Unknown_WinSock_state.
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x20]
add rsp, 0x28
jmp fcn.14003b5e0
mov eax, dword [0x1400fa9d8]
nop
sub eax, edi
je 0x1400596d4
cmp eax, edi
je 0x14005971f
movzx r8d, dil
lea rdx, str.Unknown_WinSock_state.
mov rcx, rbx
call fcn.14003b5e0
jmp 0x1400596b0
call fcn.140041610
jmp 0x1400596b0
mov ecx, 0x202
lea rdx, [0x1400fa840]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x140059710
xor ecx, ecx
mov eax, edi
lock cmpxchg dword [0x1400fa9d8], ecx
movzx r8d, dil
lea rdx, str.Could_not_initialize_WinSock.
mov rcx, rbx
call fcn.14003b5e0
mov ecx, 2
mov eax, edi
lock cmpxchg dword [0x1400fa9d8], ecx
mov rbx, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x20]
add rsp, 0x28
ret

Function at 0x140059730
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov r8d, dword [rdx + 8]
mov rsi, rdx
mov rdx, qword [rdx + 0x20]
xor r9d, r9d
mov rbp, rcx
xor ebx, ebx
call qword [sym.imp.WS2_32.dll_recv]
mov edi, eax
cmp eax, 0xffffffff
je 0x140059790
test edi, edi
je 0x1400597b6
mov r8d, dword [rsi + 8]
add ebx, edi
cmp ebx, r8d
jge 0x1400597b6
movsxd rdx, ebx
sub r8d, ebx
add rdx, qword [rsi + 0x20]
xor r9d, r9d
mov rcx, rbp
call qword [sym.imp.WS2_32.dll_recv]
mov edi, eax
cmp eax, 0xffffffff
jne 0x140059764
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
call fcn.14009571c
mov dword [rax], ebx
mov eax, edi
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov eax, ebx
jmp 0x1400597a1

Function at 0x1400597c0
Capabilities:
Set socket configuration

Disassembly:
push rdi
sub rsp, 0x30
movzx eax, dl
lea r9, [rsp + 0x48]
mov edx, 6
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x20], 4
lea r8d, [rdx - 5]
call qword [sym.imp.WS2_32.dll_setsockopt]
mov edi, eax
test eax, eax
je 0x14005980a
mov qword [rsp + 0x40], rbx
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
call fcn.14009571c
mov dword [rax], ebx
mov eax, edi
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x140059820
Capabilities:
Send data
Send data on socket

Disassembly:
push rdi
sub rsp, 0x20
cmp qword [rdx + 0x18], 0x10
mov rax, rdx
jb 0x140059833
mov rax, qword [rdx]
mov r8d, dword [rdx + 0x10]
xor r9d, r9d
mov rdx, rax
call qword [sym.imp.WS2_32.dll_send]
mov edi, eax
cmp eax, 0xffffffff
jne 0x140059865
mov qword [rsp + 0x30], rbx
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
call fcn.14009571c
mov dword [rax], ebx
mov eax, edi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140059870
Capabilities:
Send data
Send data on socket

Disassembly:
push rdi
sub rsp, 0x20
mov r8d, dword [rdx + 0x10]
xor r9d, r9d
mov rdx, qword [rdx + 0x20]
call qword [sym.imp.WS2_32.dll_send]
mov edi, eax
cmp eax, 0xffffffff
jne 0x1400598a9
mov qword [rsp + 0x30], rbx
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
call fcn.14009571c
mov dword [rax], ebx
mov eax, edi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1400598b0
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
xor ebp, ebp
mov r15, r8
mov r14, rdx
mov r12, rcx
mov edi, ebp
mov esi, ebp
test rdx, rdx
je 0x140059994
movabs rax, 0xfffffffffffffff
cmp rdx, rax
ja 0x140059a34
mov rbx, rdx
shl rbx, 4
cmp rbx, 0x1000
jb 0x140059934
lea rcx, [rbx + 0x27]
cmp rcx, rbx
jbe 0x140059a28
call fcn.14008b48c
mov rcx, rax
test rax, rax
je 0x140059a2e
add rax, 0x27
and rax, 0xffffffffffffffe0
mov rdi, rax
mov qword [rax - 8], rcx
lea rsi, [rax + rbx]
jmp 0x140059951
test rbx, rbx
je 0x14005994a
mov rcx, rbx
call fcn.14008b48c
mov rdi, rax
lea rsi, [rax + rbx]
jmp 0x140059951
mov rax, rbp
lea rsi, [rbx + rbp]
mov r8, r14
xor edx, edx
shl r8, 4
mov rcx, rax
call fcn.14008dc60
mov rdx, rdi
mov r8, rbp
nop dword [rax + rax]
xorps xmm0, xmm0
movups xmmword [rdx], xmm0
mov rcx, qword [r15 + r8*8]
lea rdx, [rdx + 0x10]
inc r8
mov rax, qword [rcx + 0x20]
mov qword [rdx - 8], rax
mov eax, dword [rcx + 0x10]
mov dword [rdx - 0x10], eax
cmp r8, r14
jne 0x140059970
mov qword [rsp + 0x30], rbp
lea r9, [rsp + 0x78]
mov qword [rsp + 0x28], rbp
mov r8d, r14d
mov rdx, rdi
mov dword [rsp + 0x20], ebp
mov rcx, r12
mov dword [rsp + 0x78], ebp
call qword [sym.imp.WS2_32.dll_WSASend]
cmp eax, 0xffffffff
jne 0x1400599d0
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
call fcn.14009571c
mov dword [rax], ebx
jmp 0x1400599d4
mov ebp, dword [rsp + 0x78]
test rdi, rdi
je 0x140059a0c
sub rsi, rdi
and rsi, 0xfffffffffffffff0
cmp rsi, 0x1000
jb 0x140059a01
mov rcx, qword [rdi - 8]
add rsi, 0x27
sub rdi, rcx
lea rax, [rdi - 8]
cmp rax, 0x1f
ja 0x140059a2e
mov rdi, rcx
mov rdx, rsi
mov rcx, rdi
call fcn.14008b4c8
mov rbx, qword [rsp + 0x70]
mov eax, ebp
mov rbp, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
call fcn.14000add0
int3
call fcn.140091b3c
int3
call fcn.14000b170
int3
Function at 0x140061800
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x50
mov r14, r8
mov rsi, rdx
mov rdi, rcx
lea rax, vtable.Statistics::AsyncTransport::MultiQueueTransport.0
mov qword [rcx], rax
xor ebp, ebp
mov qword [rcx + 8], rbp
mov qword [rcx + 0x10], rbp
mov rax, qword [rdx + 8]
test rax, rax
je 0x14006183e
lock inc dword [rax + 8]
mov rax, qword [rdx]
mov qword [rcx + 8], rax
mov rax, qword [rdx + 8]
mov qword [rcx + 0x10], rax
lea rbx, [rcx + 0x18]
mov qword [rsp + 0x98], rbx
mov dword [rbx], ebp
mov qword [rbx + 8], rbp
mov qword [rbx + 0x10], rbp
mov ecx, 0x40
call fcn.14008b48c
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rbx + 8], rax
lea rcx, [rbx + 0x18]
mov qword [rcx], rbp
mov qword [rcx + 8], rbp
mov qword [rcx + 0x10], rbp
mov qword [rbx + 0x30], 7
mov qword [rbx + 0x38], 8
mov dword [rbx], 0x3f800000
mov r8, qword [rbx + 8]
mov edx, reloc.WS2_32.dll_recv
call fcn.140012060
nop
xorps xmm0, xmm0
movups xmmword [rdi + 0x60], xmm0
mov byte [rdi + 0x70], 0
lea rcx, [rdi + 0x78]
mov edx, 2
call fcn.140068f44
nop
movzx eax, word [r14 + 2]
mov word [rdi + 0x58], ax
cmp bp, ax
jne 0x1400618dd
mov eax, 1
mov word [rdi + 0x58], ax
movzx eax, word [r14]
mov word [rdi + 0x5a], ax
cmp bp, ax
jne 0x1400618f3
mov eax, 0x3e8
mov word [rdi + 0x5a], ax
movzx eax, word [r14 + 4]
mov word [rdi + 0x5c], ax
mov ecx, reloc.WS2_32.dll_recv
call fcn.14008b48c
test rax, rax
je 0x14006191b
mov qword [rax], rdi
lea rcx, [0x140062ba0]
mov qword [rax + 8], rcx
jmp 0x14006191e
mov rax, rbp
mov qword [rsp + 0x98], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebp
mov r9, rax
lea r8, [0x14001d8d0]
xor edx, edx
xor ecx, ecx
call fcn.140095404
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1400619ae
cmp dword [rdi + 0x68], 0
jne 0x1400619a8
movaps xmm0, xmmword [rsp + 0x30]
movaps xmmword [rsp + 0x40], xmm0
movups xmmword [rdi + 0x60], xmm0
mov rbx, qword [rsi + 8]
test rbx, rbx
je 0x14006199a
mov esi, 0xffffffff
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14006199a
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], esi
cmp esi, 1
jne 0x14006199a
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
mov rax, rdi
add rsp, 0x50
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
call fcn.1400935e8
nop
mov dword [rsp + 0x38], ebp
mov ecx, 6
call fcn.14006820c
int3
Function at 0x140062030
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x80
mov rax, qword [0x1400f5608]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov r14, rdx
mov rbx, rcx
lea rbp, [rcx + 0x18]
cmp qword [rdx + 0x18], 0x10
jb 0x14006206c
mov rdx, qword [rdx]
movabs rsi, 0xcbf29ce484222325
mov r9, rsi
mov r8, qword [r14 + 0x10]
xor edi, edi
mov ecx, edi
movabs r12, 0x100000001b3
test r8, r8
je 0x1400620a3
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, r12
inc rcx
cmp rcx, r8
jb 0x140062090
mov r8, r14
lea rdx, [rsp + 0x20]
mov rcx, rbp
call fcn.1400612f0
mov rax, qword [rax + 8]
test rax, rax
jne 0x1400620c0
mov rax, qword [rbp + 8]
cmp rax, qword [rbx + 0x20]
jne 0x140062203
mov qword [rsp + 0x28], rdi
mov ecx, 0x30
call fcn.14008b48c
mov rbx, rax
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rsp + 0x20], rax
mov rdx, r14
lea rcx, [rsp + 0x40]
call fcn.140004fa0
nop
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
mov ecx, 0x30
call fcn.14008b48c
mov r15, rax
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x28], rdi
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x30]
mov rcx, rbp
call fcn.1400614d0
nop
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x60]
call fcn.1400613c0
mov edx, 0x30
mov rcx, qword [rsp + 0x60]
call fcn.14008b4c8
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x140062196
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140062190
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140062230
call fcn.14008b4c8
nop
mov rdx, r15
lea rcx, [rsp + 0x20]
call fcn.1400613c0
mov edx, 0x30
mov rcx, r15
call fcn.14008b4c8
mov rdx, r14
cmp qword [r14 + 0x18], 0x10
jb 0x1400621bd
mov rdx, qword [r14]
mov rcx, qword [r14 + 0x10]
test rcx, rcx
je 0x1400621e3
nop word [rax + rax]
movzx eax, byte [rdi + rdx]
xor rsi, rax
imul rsi, r12
inc rdi
cmp rdi, rcx
jb 0x1400621d0
mov r9, rsi
mov r8, r14
lea rdx, [rsp + 0x30]
mov rcx, rbp
call fcn.1400612f0
mov rax, qword [rax + 8]
test rax, rax
jne 0x140062203
mov rax, qword [rbp + 8]
add rax, 0x30
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14008bad0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
call fcn.140091b3c
nop
int3
Function at 0x1400633d0
Capabilities:
Connect to http server

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x90
mov rax, qword [0x1400f5608]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rbx, rdx
mov r15, rcx
cmp byte [rdx + 0xf8], 0
jne 0x14006340f
mov rcx, rdx
call fcn.140065350
movzx eax, byte [rbx + 0xf8]
cmp qword [rbx + 0x70], 0
je 0x140063474
test al, al
jne 0x140063429
mov rcx, rbx
call fcn.140065350
call fcn.14009571c
mov r14, rax
lea rdi, [rbx + 0x60]
cmp qword [rdi + 0x18], 0x10
jb 0x14006343f
mov rdi, qword [rdi]
mov dword [rax], 0
mov r8d, 0xa
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.1400a0138
mov esi, eax
cmp rdi, qword [rsp + 0x40]
je 0x1400635b4
cmp dword [r14], 0x22
je 0x1400635c1
jmp 0x14006353a
test al, al
jne 0x140063480
mov rcx, rbx
call fcn.140065350
mov rdx, rbx
mov r8, qword [rbx + 0x18]
cmp r8, 0x10
jb 0x140063490
mov rdx, qword [rbx]
mov r9, qword [rbx + 0x10]
cmp r9, 4
jne 0x1400634d6
xor ecx, ecx
lea r10, str.http
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [r10 + rcx - 1]
jne 0x1400634c8
cmp rcx, 4
jne 0x1400634b0
xor eax, eax
jmp 0x1400634cd
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1400634d6
lea esi, [rax + 0x50]
jmp 0x14006353a
cmp byte [rbx + 0xf8], 0
jne 0x1400634ef
mov rcx, rbx
call fcn.140065350
mov r8, qword [rbx + 0x18]
mov r9, qword [rbx + 0x10]
mov rdx, rbx
cmp r8, 0x10
jb 0x1400634fb
mov rdx, qword [rbx]
cmp r9, 5
jne 0x1400635ce
xor ecx, ecx
lea r8, str.https
nop
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [r8 + rcx - 1]
jne 0x140063528
cmp rcx, 5
jne 0x140063510
xor eax, eax
jmp 0x14006352d
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1400635ce
mov esi, 0x1bb
cmp byte [rbx + 0xf8], 0
jne 0x14006354b
mov rcx, rbx
call fcn.140065350
lea rdx, [rbx + 0x40]
cmp qword [rdx + 0x18], 0x10
jb 0x140063559
mov rdx, qword [rdx]
mov qword [rsp + 0x38], 1
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x20], 0
xor r9d, r9d
movzx r8d, si
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetConnectA]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14008bad0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
lea rcx, str.invalid_stoi_argument
call fcn.140066f2c
int3
lea rcx, str.stoi_argument_out_of_range
call fcn.140066f74
int3
mov rcx, rbx
call fcn.14000dac0
mov r8, rax
lea rdx, str.Send_PostRequest_failed:_use_unsupported_protocol_
lea rcx, [rsp + 0x60]
call fcn.14001f4e0
nop
lea rcx, [rsp + 0x60]
call fcn.14000b590
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.14000fec0
lea rdx, [0x1400f2890]
lea rcx, [rsp + 0x48]
call fcn.14008c6e0
int3
Function at 0x140082238
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
lea r9, [rdx + rdx]
movabs r8, 0xcbf29ce484222325
xor edx, edx
test r9, r9
je 0x14006befe
movzx eax, byte [rdx + rcx]
movabs r10, 0x100000001b3
xor r8, rax
inc rdx
imul r8, r10
cmp rdx, r9
jb 0x14006bee1
mov rax, r8
ret
sub r8, rdx
mov rcx, rdx
sar r8, 1
mov rdx, r8
jmp 0x14006becc

Function at 0x1400a404c
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400a3e78

Function at 0x1400ad550
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1400ad570
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1400956ac
or eax, 0xffffffff
jmp 0x1400ad572
xor eax, eax
add rsp, 0x28
ret
Function at 0x180001020
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
xor eax, eax
lea r8, section..text
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
add rsp, 0x38
ret