joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14008add0
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.14006a714
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14008ae5a
cmp byte [rbp - 0x21], r15b
je 0x14008ae55
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14008ae90
call fcn.14007bcd4
test eax, eax
jne 0x14008ae7c
cmp byte [rbp - 0x21], r15b
je 0x14008ae74
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14008ae90
cmp byte [rbp - 0x21], r15b
je 0x14008ae8d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.14006e728
test eax, eax
jne 0x14008af30
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14006a714
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14008aecf
cmp byte [rbp - 0x21], r15b
je 0x14008af04
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14008af04
call fcn.14007bcd4
test eax, eax
jne 0x14008aef0
cmp byte [rbp - 0x21], r15b
je 0x14008aee9
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x14008af04
cmp byte [rbp - 0x21], r15b
je 0x14008af01
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.14006e728
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14008af30
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14008af33
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14008af41
mov rcx, rdi
call fcn.14007b978
cmp byte [rbp + 0x3f], r15b
je 0x14008af50
mov rcx, qword [rbp + 0x27]
call fcn.14007b978
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x180001448
Capabilities:
Encode data using xor

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 r12
push r14
push r15
sub rsp, 0x30
mov rbp, rcx
mov ecx, dword [r9]
mov rbx, r9
mov esi, r8d
mov rdi, rdx
call fcn.1800040f4
test eax, eax
jne 0x180001569
mov ecx, dword [r9 + 4]
lea eax, [rcx - 1]
cmp eax, 0x7f
ja 0x180001564
xor edx, edx
mov eax, r8d
div ecx
mov r8d, eax
test edx, edx
jne 0x180001564
test cl, 3
jne 0x180001564
movsxd rax, dword [r9]
lea r12, [0x18006f2a0]
imul rax, rax, 0xb0
mov r10, qword [rax + r12 + 0x60]
test r10, r10
je 0x1800014e5
lea rax, [r9 + 0x88]
mov rdx, rdi
mov rcx, rbp
add r9, 8
mov qword [rsp + 0x20], rax
call r10
jmp 0x180001569
test esi, esi
je 0x180001560
lea r14, [r9 + 8]
xor edx, edx
test ecx, ecx
jle 0x18000150f
mov r8, rbp
mov rcx, r14
sub r8, rbx
mov eax, dword [r8 + rcx - 8]
add edx, 4
xor dword [rcx], eax
lea rcx, [rcx + 4]
cmp edx, dword [rbx + 4]
jl 0x1800014fc
movsxd rax, dword [rbx]
lea r8, [rbx + 0x88]
mov rdx, rdi
mov rcx, r14
imul rax, rax, 0xb0
call qword [rax + r12 + 0x28]
test eax, eax
jne 0x180001569
xor edx, edx
cmp dword [rbx + 4], edx
jle 0x180001552
mov r8, rdi
mov rcx, r14
sub r8, rbx
mov eax, dword [r8 + rcx - 8]
add edx, 4
mov dword [rcx], eax
lea rcx, [rcx + 4]
cmp edx, dword [rbx + 4]
jl 0x18000153f
movsxd rcx, dword [rbx + 4]
add rdi, rcx
add rbp, rcx
sub esi, ecx
jne 0x1800014ed
xor eax, eax
jmp 0x180001569
mov eax, reloc.WS2_32.dll_recv
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop r12
ret
Function at 0x180001588
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x58
mov rax, qword [0x180069608]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rdi, rcx
mov ecx, dword [r9]
mov rbx, r9
mov esi, r8d
mov rbp, rdx
call fcn.1800040f4
test eax, eax
jne 0x1800016a6
mov ecx, dword [r9 + 4]
lea eax, [rcx - 1]
cmp eax, 0x7f
ja 0x1800016a1
xor edx, edx
mov eax, r8d
div ecx
mov r8d, eax
test edx, edx
jne 0x1800016a1
test cl, 3
jne 0x1800016a1
movsxd rax, dword [r9]
lea r15, [0x18006f2a0]
imul rax, rax, 0xb0
mov r10, qword [rax + r15 + 0x68]
test r10, r10
je 0x180001624
lea rax, [r9 + 0x88]
mov rdx, rbp
mov rcx, rdi
add r9, 8
mov qword [rsp + 0x20], rax
call r10
jmp 0x1800016a6
test esi, esi
je 0x18000169d
movsxd rax, dword [rbx]
lea r8, [rbx + 0x88]
lea rdx, [rsp + 0x30]
mov rcx, rdi
imul rax, rax, 0xb0
call qword [rax + r15 + gethostbyname]
test eax, eax
jne 0x1800016a6
xor r8d, r8d
cmp dword [rbx + 4], r8d
jle 0x18000168e
lea r9, [rsp + 0x30]
mov r10, rdi
mov r11, rbp
sub r9, rdi
sub r10, rbx
sub r11, rbx
lea rdx, [rbx + 8]
lea rax, [r10 + rdx]
add r8d, 4
mov ecx, dword [r9 + rax - 8]
mov eax, dword [rax - 8]
xor ecx, dword [rdx]
mov dword [rdx], eax
lea rdx, [rdx + 4]
mov dword [r11 + rdx - 0xc], ecx
cmp r8d, dword [rbx + 4]
jl 0x18000166b
movsxd rax, dword [rbx + 4]
add rdi, rax
add rbp, rax
sub esi, dword [rbx + 4]
jne 0x180001628
xor eax, eax
jmp 0x1800016a6
mov eax, reloc.WS2_32.dll_recv
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1800484c0
add rsp, 0x58
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1800039f4
Capabilities:
Hash data using sha256

Disassembly:
and dword [rcx + 0x28], 0
and qword [rcx], 0
xor eax, eax
mov dword [rcx + 8], 0x6a09e667
mov dword [rcx + 0xc], 0xbb67ae85
mov dword [rcx + 0x10], 0x3c6ef372
mov dword [rcx + 0x14], 0xa54ff53a
mov dword [rcx + 0x18], 0x510e527f
mov dword [rcx + 0x1c], 0x9b05688c
mov dword [rcx + 0x20], 0x1f83d9ab
mov dword [rcx + 0x24], 0x5be0cd19
ret

Function at 0x180004170
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov rsi, rcx
mov ecx, dword [rcx + 0x70]
mov r13, r8
mov r15, rdx
call fcn.18000411c
test eax, eax
jne 0x1800042e2
movsxd rdi, dword [rsi + 0x70]
lea rbx, [0x1800708a0]
shl rdi, 7
mov ecx, dword [rdi + rbx + 0x10]
mov r12d, dword [rdi + rbx + 0xc]
call fcn.18003f844
mov ecx, r12d
mov r14, rax
call fcn.18003f844
mov rbp, rax
test r14, r14
je 0x1800042d0
test rax, rax
je 0x1800042c8
mov rdx, rax
mov rcx, rsi
call qword [rdi + rbx + 0x68]
mov ebx, eax
test eax, eax
jne 0x1800042a8
lea r9, [0x1800708a0]
xor r8d, r8d
cmp dword [rdi + r9 + 0x10], r8d
jbe 0x180004223
mov rax, qword [rsi + 0xe8]
mov cl, byte [rax + r8]
xor cl, 0x5c
mov byte [r8 + r14], cl
inc r8d
cmp r8d, dword [rdi + r9 + 0x10]
jb 0x180004207
mov rcx, rsi
call qword [rdi + r9 + 0x58]
mov ebx, eax
test eax, eax
jne 0x1800042a8
lea rax, [0x1800708a0]
mov rdx, r14
mov rcx, rsi
mov r8d, dword [rdi + rax + 0x10]
call qword [rdi + rax + 0x60]
mov ebx, eax
test eax, eax
jne 0x1800042a8
lea rax, [0x1800708a0]
mov r8d, r12d
mov rdx, rbp
mov rcx, rsi
call qword [rdi + rax + 0x60]
mov ebx, eax
test eax, eax
jne 0x1800042a8
lea rax, [0x1800708a0]
mov rdx, r14
mov rcx, rsi
call qword [rdi + rax + 0x68]
mov ebx, eax
test eax, eax
jne 0x1800042a8
xor ecx, ecx
test r12d, r12d
je 0x1800042a2
mov rdx, r14
sub rdx, r15
cmp ecx, dword [r13]
jae 0x1800042a2
mov al, byte [rdx + r15]
inc ecx
mov byte [r15], al
inc r15
cmp ecx, r12d
jb 0x18000428b
mov dword [r13], ecx
xor ebx, ebx
mov rcx, qword [rsi + 0xe8]
call fcn.18003f804
mov rcx, rbp
call fcn.18003f804
mov rcx, r14
call fcn.18003f804
mov eax, ebx
jmp 0x1800042e2
mov rcx, r14
call fcn.18003f804
test rbp, rbp
je 0x1800042dd
mov rcx, rbp
call fcn.18003f804
mov eax, reloc.WS2_32.dll_listen
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x180004300
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov rsi, rcx
movsxd rbp, edx
mov edi, r9d
mov ecx, ebp
mov r13, r8
call fcn.18000411c
test eax, eax
jne 0x18000446d
mov rbx, rbp
lea rax, [0x1800708a0]
mov dword [rsi + 0x70], ebp
shl rbx, 7
mov r15d, dword [rbx + rax + 0xc]
test r9d, r9d
jne 0x18000435b
lea eax, [r9 + 3]
jmp 0x18000446d
mov r12d, dword [rbx + rax + 0x10]
mov ecx, r12d
call fcn.18003f844
mov r14, rax
test rax, rax
jne 0x180004379
lea eax, [r14 + 0xd]
jmp 0x18000446d
mov rcx, r12
call fcn.18003f844
mov qword [rsi + 0xe8], rax
test rax, rax
jne 0x180004395
lea edi, [rax + 0xd]
jmp 0x180004463
lea r12, [0x1800708a0]
mov rdx, r13
mov ecx, dword [rbx + r12 + 0x10]
cmp edi, ecx
jbe 0x1800043e6
mov dword [rsp + 0x30], ecx
lea rcx, [rsp + 0x30]
mov r9, rax
mov qword [rsp + 0x20], rcx
mov ecx, ebp
mov r8d, edi
call fcn.1800018bc
mov edi, eax
test eax, eax
jne 0x180004457
mov eax, dword [rbx + r12 + 0x10]
cmp r15d, eax
jae 0x18000440d
mov rcx, r15
sub eax, r15d
add rcx, qword [rsi + 0xe8]
jmp 0x180004406
mov r8, rdi
mov rcx, rax
call fcn.1800465f0
mov eax, dword [rbx + r12 + 0x10]
cmp edi, eax
jae 0x18000440d
mov rcx, qword [rsi + 0xe8]
sub eax, edi
add rcx, rdi
mov edx, eax
call fcn.1800040dc
xor r8d, r8d
cmp dword [rbx + r12 + 0x10], r8d
jbe 0x180004433
mov rax, qword [rsi + 0xe8]
mov cl, byte [rax + r8]
xor cl, 0x36
mov byte [r8 + r14], cl
inc r8d
cmp r8d, dword [rbx + r12 + 0x10]
jb 0x180004417
mov rcx, rsi
call qword [rbx + r12 + 0x58]
mov edi, eax
test eax, eax
jne 0x180004457
mov r8d, dword [rbx + r12 + 0x10]
mov rdx, r14
mov rcx, rsi
call qword [rbx + r12 + 0x60]
mov edi, eax
test eax, eax
je 0x180004463
mov rcx, qword [rsi + 0xe8]
call fcn.18003f804
mov rcx, r14
call fcn.18003f804
mov eax, edi
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x18000fdbc
Capabilities:
Connect to http server
Create http request

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov dword [rsp + 0x48], 0x3a980
mov rax, qword [rsp + 0x88]
mov qword [0x180069be8], rax
call fcn.18003e000
mov ecx, 1
call fcn.180039f7c
movzx eax, ax
and eax, 8
cmp eax, 8
jne 0x18000fe0e
mov dword [rsp + 0x44], 0x84c03200
jmp 0x18000fe16
mov dword [rsp + 0x44], 0x84400200
mov eax, dword [rsp + 0x44]
mov dword [0x180069bf0], eax
mov ecx, gethostbyname
call fcn.180039f7c
movzx eax, ax
cmp eax, 1
jne 0x18000fe42
mov eax, dword [0x180069bf0]
bts eax, 0x13
mov dword [0x180069bf0], eax
mov ecx, 0x23
call fcn.180039f7c
movzx eax, ax
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
je 0x18000fec5
cmp dword [rsp + 0x40], 1
je 0x18000fe9b
cmp dword [rsp + 0x40], 2
je 0x18000fe74
cmp dword [rsp + 0x40], 4
je 0x18000fec5
jmp 0x18000fef7
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.WININET.dll_InternetOpenA]
mov qword [0x180069bc8], rax
jmp 0x18000fef7
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 1
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.WININET.dll_InternetOpenA]
mov qword [0x180069bc8], rax
jmp 0x18000fef7
mov ecx, 0x20
call fcn.180039f5c
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8, rax
mov edx, 3
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.WININET.dll_InternetOpenA]
mov qword [0x180069bc8], rax
mov r9d, 4
lea r8, [rsp + 0x48]
mov edx, 5
mov rcx, qword [0x180069bc8]
call qword [sym.imp.WININET.dll_InternetSetOptionA]
mov r9d, 4
lea r8, [rsp + 0x48]
mov edx, 6
mov rcx, qword [0x180069bc8]
call qword [sym.imp.WININET.dll_InternetSetOptionA]
mov rax, qword [0x180062028]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x20], 0
xor r9d, r9d
movzx r8d, word [rsp + 0x78]
mov rdx, qword [rsp + 0x70]
mov rcx, qword [0x180069bc8]
call qword [sym.imp.WININET.dll_InternetConnectA]
mov qword [0x180069bd0], rax
mov ecx, 0x23
call fcn.180039f7c
movzx eax, ax
cmp eax, 4
jne 0x18000fff2
mov ecx, 0x21
call fcn.180039f3c
mov dword [rsp + 0x4c], eax
mov ecx, 0x21
call fcn.180039f5c
mov ecx, dword [rsp + 0x4c]
mov r9d, ecx
mov r8, rax
mov edx, 0x2b
mov rcx, qword [0x180069bd0]
call qword [sym.imp.WININET.dll_InternetSetOptionA]
mov ecx, 0x22
call fcn.180039f3c
mov dword [rsp + 0x50], eax
mov ecx, 0x22
call fcn.180039f5c
mov ecx, dword [rsp + 0x50]
mov r9d, ecx
mov r8, rax
mov edx, 0x2c
mov rcx, qword [0x180069bd0]
call qword [sym.imp.WININET.dll_InternetSetOptionA]
call fcn.18003e038
add rsp, 0x68
ret
Function at 0x18001053c
Capabilities:
Check http status code

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x148
mov dword [rsp + 0x34], pe_nt_image_headers64
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x34]
lea r8, [rsp + 0x40]
mov edx, reloc.WS2_32.dll_send
mov rcx, qword [rsp + 0x150]
call qword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
jne 0x18001057e
xor eax, eax
jmp 0x18001059f
lea rcx, [rsp + 0x40]
call fcn.18003fda8
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0xc8
je 0x18001059a
xor eax, eax
jmp 0x18001059f
mov eax, 1
add rsp, 0x148
ret

Function at 0x1800105bc
Capabilities:
Create udp socket

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x678
mov dword [rsp + 0x54], 0
mov dword [rsp + 0x5c], 0
mov ecx, dword [rsp + 0x680]
call fcn.180010714
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 2
mov ecx, 2
call qword [sym.imp.WS2_32.dll_WSASocketA]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0xffffffffffffffff
jne 0x18001061d
xor eax, eax
jmp 0x1800106f7
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x5f0
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x4004747f
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.WS2_32.dll_WSAIoctl]
test eax, eax
jne 0x18001067a
mov eax, dword [rsp + 0x60]
xor edx, edx
mov ecx, 0x4c
div rcx
mov dword [rsp + 0x5c], eax
mov dword [rsp + 0x50], 0
jmp 0x18001068e
mov eax, dword [rsp + 0x50]
inc eax
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x5c]
cmp dword [rsp + 0x50], eax
jge 0x1800106e8
movsxd rax, dword [rsp + 0x50]
imul rax, rax, 0x4c
lea rax, [rsp + rax + 0x84]
mov qword [rsp + 0x70], rax
movsxd rax, dword [rsp + 0x50]
imul rax, rax, 0x4c
mov eax, dword [rsp + rax + 0x80]
mov dword [rsp + 0x58], eax
mov eax, dword [rsp + 0x58]
and eax, 4
test eax, eax
jne 0x1800106e6
mov eax, dword [rsp + 0x58]
and eax, 1
test eax, eax
je 0x1800106e6
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 4]
mov dword [rsp + 0x54], eax
jmp 0x1800106e8
jmp 0x180010684
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.WS2_32.dll_closesocket]
mov eax, dword [rsp + 0x54]
add rsp, 0x678
ret
Function at 0x180010714
Capabilities:
Initialize winsock library

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x1d8
cmp dword [0x180069bf4], 1
jne 0x18001072a
jmp 0x180010762
mov eax, 0x202
mov word [rsp + 0x20], ax
lea rdx, [rsp + 0x30]
movzx ecx, word [rsp + 0x20]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jge 0x180010758
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, 1
call fcn.1800403b8
mov dword [0x180069bf4], 1
cmp dword [rsp + 0x1e0], 0
je 0x1800107e5
cmp dword [0x180069bf8], 1
jne 0x180010777
jmp 0x1800107e5
mov ecx, reloc.WS2_32.dll_sendto
call fcn.180039f1c
mov dword [0x180069bfc], eax
mov ecx, reloc.WS2_32.dll_send
call fcn.180039f1c
mov dword [0x180069c00], eax
mov ecx, 0x3d
call fcn.180039f5c
mov qword [0x180072888], rax
mov ecx, 0x3e
call fcn.180039f5c
mov qword [0x180072880], rax
mov ecx, 0x3f
call fcn.180039f5c
mov qword [0x180072878], rax
mov ecx, 0x42
call fcn.180039f5c
mov qword [0x180072870], rax
mov dword [0x180069bf8], 1
add rsp, 0x1d8
ret

Function at 0x180010ba8
Capabilities:
Set current directory

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x428
cmp dword [rsp + 0x438], 0x3ff
jle 0x180010bc7
jmp 0x180010bfc
movsxd rax, dword [rsp + 0x438]
mov r8, rax
mov rdx, qword [rsp + 0x430]
lea rcx, [rsp + 0x20]
call fcn.1800408e0
movsxd rax, dword [rsp + 0x438]
mov byte [rsp + rax + 0x20], 0
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
add rsp, 0x428
ret

Function at 0x180010f74
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x830
mov byte [rsp + 0x30], 0
lea rax, [rsp + 0x31]
mov rdi, rax
xor eax, eax
mov ecx, 0x7ff
rep stosb byte [rdi], al
mov dword [rsp + 0x20], 0
lea rdx, [rsp + 0x30]
mov ecx, 0x800
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jbe 0x180010fd0
mov r8d, reloc.WS2_32.dll_send
mov edx, dword [rsp + 0x20]
lea rcx, [rsp + 0x30]
call qword [rsp + 0x840]
add rsp, 0x830
pop rdi
ret
Function at 0x180011390
Capabilities:
Send data
Send data on socket

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov qword [rsp + 0x30], 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_GetTickCount]
add eax, 0xea60
mov dword [rsp + 0x20], eax
mov r8d, dword [rsp + 0x78]
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.18001aa80
lea rcx, [rsp + 0x48]
call fcn.18001ae00
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x48]
call fcn.18001aac4
mov dword [rsp + 0x24], eax
lea rcx, [rsp + 0x48]
call fcn.18001a96c
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x48]
call fcn.18000d4cc
mov dword [rsp + 0x28], eax
call fcn.180010700
call qword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [rsp + 0x20]
jae 0x180011457
mov edx, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x38]
call fcn.180011940
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0xffffffffffffffff
jne 0x18001143c
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x180011455
xor r9d, r9d
mov r8d, dword [rsp + 0x28]
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x30]
call sub.WS2_32.dll_send
jmp 0x180011461
jmp 0x180011408
mov ecx, 0x46
call fcn.18000f7b0
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [rsp + 0x30]
call sub.WS2_32.dll_closesocket
add rsp, 0x68
ret
Function at 0x18001147c
Capabilities:
Check for time delay via gettickcount
Write file on windows

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0xf8
mov dword [rsp + 0x30], 0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
add eax, 0xea60
mov dword [rsp + 0x4c], eax
mov r8d, dword [rsp + 0x108]
mov rdx, qword [rsp + 0x100]
lea rcx, [rsp + 0x58]
call fcn.18001aa80
mov r8d, 0x80
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x58]
call fcn.18001ad78
lea rcx, [rsp + 0x58]
call fcn.18001a96c
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x58]
call fcn.18000d4cc
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x38], 0
jmp 0x180011503
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0xa
jae 0x18001162b
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x70]
call fcn.1800183e8
test eax, eax
je 0x1800115fc
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x3c]
mov r8d, 4
lea rdx, [rsp + 0x34]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [rsp + 0x34]
cmp dword [rsp + 0x30], eax
jae 0x1800115cd
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x34]
sub ecx, eax
mov eax, ecx
cmp eax, 0x2000
jbe 0x180011570
mov dword [rsp + 0x48], 0x2000
jmp 0x180011580
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x34]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x50]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x3c]
mov r8d, dword [rsp + 0x48]
mov rdx, rax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1800115c6
mov eax, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x30]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x30], eax
jmp 0x1800115c8
jmp 0x1800115cd
jmp 0x180011549
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
mov rcx, qword [rsp + 0x40]
call fcn.18003be64
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x180011643
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x35
jne 0x18001160b
jmp 0x18001162b
call qword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [rsp + 0x4c]
jb 0x18001161b
jmp 0x18001162b
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1800114f9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, [rsp + 0x70]
mov ecx, gethostbyname
call fcn.18000f7f8
add rsp, 0xf8
ret
Function at 0x18001164c
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov ecx, 0x400
call fcn.18003f844
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x18001167a
jmp 0x180011741
mov r8d, dword [rsp + 0x68]
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x38]
call fcn.18001aa80
mov r8d, 0x400
mov rdx, qword [rsp + 0x20]
lea rcx, [rsp + 0x38]
call fcn.18001ad78
test eax, eax
jne 0x1800116b6
mov rcx, qword [rsp + 0x20]
call fcn.18003f804
jmp 0x180011741
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x20]
call fcn.1800405c4
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0xffffffffffffffff
je 0x1800116da
cmp qword [rsp + 0x28], 0
jne 0x1800116f8
mov rcx, qword [rsp + 0x20]
call fcn.18003f804
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov ecx, 8
call fcn.18000f68c
jmp 0x180011741
lea rcx, [rsp + 0x38]
call fcn.18000d4cc
cdqe
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x38]
call fcn.18001a96c
mov r9, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
mov r8, rcx
mov edx, 1
mov rcx, rax
call fcn.180040760
mov rcx, qword [rsp + 0x28]
call fcn.180040484
mov rcx, qword [rsp + 0x20]
call fcn.18003f804
add rsp, 0x58
ret

Function at 0x180011748
Capabilities:
Create pipe

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x118
lea rax, [rsp + 0x80]
mov rdi, rax
xor eax, eax
mov ecx, 0x68
rep stosb byte [rdi], al
mov dword [rsp + 0x80], WSAGetLastError
lea rax, [rsp + 0x60]
mov rdi, rax
xor eax, eax
mov ecx, 0x18
rep stosb byte [rdi], al
mov qword [rsp + 0x50], 0
mov dword [rsp + 0x48], 0x18
mov dword [rsp + 0x58], 1
mov r9d, 0x100000
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CreatePipe]
lea rcx, [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov dword [rsp + 0xbc], 0x101
xor eax, eax
mov word [rsp + 0xc0], ax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0xe0], rax
mov qword [rsp + 0xd0], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], reloc.WS2_32.dll_recv
lea r9, [rsp + 0x60]
lea r8, [rsp + 0x80]
mov edx, dword [rsp + 0x138]
mov rcx, qword [rsp + 0x130]
call fcn.18001d340
test eax, eax
jne 0x180011843
jmp 0x1800118a8
mov edx, 0x2710
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0xd8], rax
jne 0x18001186e
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x38], rax
jmp 0x180011877
mov qword [rsp + 0x38], 0xffffffffffffffff
lea rax, [rsp + 0xf0]
lea rcx, [rsp + 0x60]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
mov r8, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0xf0]
call fcn.180018ac4
add rsp, 0x118
pop rdi
pop rsi
ret