joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800ac6b0
Capabilities:
Send data
Send data on socket

Disassembly:
cmp edx, 0x1f
jne 0x1800ac85e
push rbp
push rdi
push r13
sub rsp, 0x30
mov rbp, qword [rcx]
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x28], rsi
mov rdi, qword [rbp + 0x1a8]
mov r13, rcx
mov qword [rsp + 0x20], r12
lea rsi, [rdi + 0x1cb8]
lea rbx, [rdi + 0x1eb8]
mov qword [rbx], rsi
cmp rsi, rbx
jae 0x1800ac6f9
mov byte [rsi], 0xff
inc qword [rbx]
mov rax, qword [rbx]
cmp rax, rbx
jae 0x1800ac707
mov byte [rax], 0xfa
inc qword [rbx]
mov rax, qword [rbx]
cmp rax, rbx
jae 0x1800ac715
mov byte [rax], Ordinal_32
inc qword [rbx]
movzx ecx, word [rdi + 0x1ca8]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
movzx ecx, word [rdi + 0x1caa]
movzx r12d, ax
mov word [rsp + 0x58], ax
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, qword [rbx]
movzx r11d, ax
mov word [rsp + 0x50], ax
cmp rcx, rbx
jae 0x1800ac74f
mov byte [rcx], r12b
inc qword [rbx]
mov rdx, qword [rbx]
mov r12, qword [rsp + 0x20]
cmp rdx, rbx
jae 0x1800ac766
movzx ecx, byte [rsp + 0x59]
mov byte [rdx], cl
inc qword [rbx]
mov rax, qword [rbx]
cmp rax, rbx
jae 0x1800ac774
mov byte [rax], r11b
inc qword [rbx]
mov rcx, qword [rbx]
cmp rcx, rbx
jae 0x1800ac786
movzx eax, byte [rsp + 0x51]
mov byte [rcx], al
inc qword [rbx]
mov rax, qword [rbx]
cmp rax, rbx
jae 0x1800ac794
mov byte [rax], 0xff
inc qword [rbx]
mov rax, qword [rbx]
cmp rax, rbx
jae 0x1800ac7a2
mov byte [rax], 0xf0
inc qword [rbx]
mov rax, qword [rbx]
lea r8, [rdi + 0x1cba]
mov edx, 0x3e
mov r9, rax
mov rcx, rbp
mov qword [rbx], rsi
sub r9, rsi
mov qword [rdi + 0x1ec0], rax
sub r9, 2
call fcn.1800abb20
mov rcx, qword [r13 + 0x210]
xor r9d, r9d
lea r8d, [r9 + 3]
mov rdx, rsi
call qword [sym.imp.WS2_32.dll_send]
mov rsi, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x60]
test eax, eax
jns 0x1800ac80a
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.180094ec0
lea rdx, [rdi + 0x1cbb]
mov r8d, 4
mov rcx, r13
call fcn.1800ac4c0
mov rcx, qword [r13 + 0x210]
xor r9d, r9d
lea r8d, [r9 + 2]
lea rdx, [rdi + 0x1cbf]
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x1800ac856
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.180094ec0
add rsp, 0x30
pop r13
pop rdi
pop rbp
repz ret
Function at 0x1800b1060
Capabilities:
Check http status code

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov eax, 0x51eb851f
mov edi, r8d
mov r8d, edx
xor ebx, ebx
mov rsi, rcx
mov rcx, qword [rcx]
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp edx, 2
je 0x1800b10b2
lea rdx, str.Couldnt_set_desired_mode
call fcn.180094ec0
lea eax, [rbx + 0x11]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
cmp r8d, 0xc8
je 0x1800b10c7
lea rdx, str.Got_a__03d_response_code_instead_of_the_assumed_200_n
call fcn.180094e10
cmp edi, 0x13
jne 0x1800b10d6
mov rcx, rsi
call fcn.1800b0fe0
jmp 0x1800b1101
cmp edi, 0x14
jne 0x1800b10e5
mov rcx, rsi
call fcn.1800adfd0
jmp 0x1800b1101
cmp edi, 0x15
jne 0x1800b10f4
mov rcx, rsi
call fcn.1800b1040
jmp 0x1800b1101
cmp edi, 0x16
jne 0x1800b1103
mov rcx, rsi
call fcn.1800b1050
mov ebx, eax
mov rsi, qword [rsp + 0x38]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1800b8810
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0x148
mov rax, qword [0x1802d1460]
xor rax, rsp
mov qword [rsp + 0x130], rax
call fcn.1801ddc30
mov byte [rsp + 0x20], 0
test rax, rax
je 0x1800b8876
lea rdx, [rsp + 0x20]
mov r8d, 0x104
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
cmp byte [rsp + 0x20], 0
je 0x1800b8876
lea rcx, [rsp + 0x20]
call qword [case.0x18009604c.0]
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.1801c74b0
add rsp, 0x148
ret
xor eax, eax
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.1801c74b0
add rsp, 0x148
ret
jmp 0x1800b8810

Function at 0x1800b8890
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0x148
mov rax, qword [0x1802d1460]
xor rax, rsp
mov qword [rsp + 0x130], rax
call fcn.1801ddc30
mov byte [rsp + 0x20], 0
test rax, rax
je 0x1800b8876
lea rdx, [rsp + 0x20]
mov r8d, 0x104
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
cmp byte [rsp + 0x20], 0
je 0x1800b8876
lea rcx, [rsp + 0x20]
call qword [case.0x18009604c.0]
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.1801c74b0
add rsp, 0x148
ret
xor eax, eax
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.1801c74b0
add rsp, 0x148
ret
jmp 0x1800b8810
Function at 0x1800bc6e0
Capabilities:
Get common file path

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
lea rcx, [0x18022e6d0]
xor esi, esi
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdi, rax
test rax, rax
jne 0x1800bc70a
add rsp, 0x20
pop rdi
pop rsi
pop rbx
ret
lea rdx, str.LoadLibraryExA
mov rcx, rax
mov qword [rsp + 0x40], rbp
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [0x18022e6b8]
mov rcx, rbx
mov rbp, rax
call fcn.1801dfd40
test rax, rax
je 0x1800bc76c
mov rcx, rbx
test rbp, rbp
je 0x1800bc756
xor edx, edx
lea r8d, [rdx + 8]
call rbp
mov rbp, qword [rsp + 0x40]
mov rsi, rax
add rsp, 0x20
pop rdi
pop rsi
pop rbx
ret
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbp, qword [rsp + 0x40]
mov rsi, rax
add rsp, 0x20
pop rdi
pop rsi
pop rbx
ret
test rbp, rbp
je 0x1800bc7a3
lea rdx, str.AddDllDirectory
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1800bc7a3
xor edx, edx
mov r8d, 0x800
mov rcx, rbx
call rbp
mov rbp, qword [rsp + 0x40]
mov rsi, rax
add rsp, 0x20
pop rdi
pop rsi
pop rbx
ret
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x50], r13
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov r13d, eax
test eax, eax
je 0x1800bc867
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rbx
repne scasb al, byte [rdi]
mov qword [rsp + 0x48], r12
not rcx
lea rax, [rcx - 1]
lea ecx, [r13 + 1]
add rcx, rax
call qword [fcn.1801d17e4]
mov r12, rax
test rax, rax
je 0x1800bc859
mov edx, r13d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x1800bc859
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, r12
repne scasb al, byte [rdi]
mov eax, 0x5c
mov rdi, r12
not rcx
mov word [rcx + r12 - 1], ax
or rcx, 0xffffffffffffffff
xor eax, eax
repne scasb al, byte [rdi]
not rcx
lea rdx, [rcx - 1]
add rdx, r12
sub rdx, rbx
nop word [rax + rax]
movzx eax, byte [rbx]
inc rbx
mov byte [rdx + rbx - 1], al
test al, al
jne 0x1800bc830
mov rcx, r12
test rbp, rbp
je 0x1800bc850
xor edx, edx
lea r8d, [rdx + 8]
call rbp
jmp 0x1800bc856
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
mov rcx, r12
call qword [fcn.1801cc408]
mov r12, qword [rsp + 0x48]
mov r13, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x40]
mov rax, rsi
add rsp, 0x20
pop rdi
pop rsi
pop rbx
ret

Function at 0x1800bc880
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x28
xor eax, eax
test edx, edx
lea r8, [rsp + 0x38]
setne al
mov edx, 0x8004667e
mov dword [rsp + 0x38], eax
call qword [sym.imp.WS2_32.dll_ioctlsocket]
add rsp, 0x28
ret
Function at 0x1800cc550
Capabilities:
Get hostname

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
movsxd rbx, edx
mov rdi, rcx
mov byte [rcx], 0
mov edx, ebx
call qword [sym.imp.WS2_32.dll_gethostname]
mov byte [rbx + rdi - 1], 0
test eax, eax
jne 0x1800cc589
lea edx, [rax + 0x2e]
mov rcx, rdi
call fcn.1801ca010
test rax, rax
je 0x1800cc587
mov byte [rax], 0
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1800e2d70
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r12
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov r12d, r8d
lea r9d, [rax + rax]
mov eax, dword [rcx + 0x20]
mov rbp, rdx
lea rcx, [r9 + rax + 0x18]
call qword [fcn.1801d17e4]
mov rdi, rax
test rax, rax
jne 0x1800e2db1
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r12
pop rdi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rsp + 0x48], rsi
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rdi + 0x10], rax
cmp r12d, dword [rbx + 0x1c]
jbe 0x1800e2df5
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, r12d
mov rdx, rbp
call qword [rbx + reloc.OLEAUT32.dll_VariantClear]
mov ebp, dword [rbx + 0x18]
mov rdx, qword [rdi + 8]
add rbp, qword [rdi + 0x10]
mov rcx, rbp
call qword [rbx + reloc.WS2_32.dll_recv]
mov r12d, dword [rbx + 0x20]
mov rcx, qword [rdi + 8]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test r12, r12
je 0x1800e2e54
mov rsi, r12
nop dword [rax + rax]
movzx eax, byte [rbp]
lea rdx, [rsp + 0x40]
mov r8d, 1
xor al, 0x36
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + reloc.OLEAUT32.dll_VariantClear]
movzx r11d, byte [rbp]
lea rdx, [rsp + 0x40]
xor r11b, 0x5c
mov r8d, 1
inc rbp
mov byte [rsp + 0x40], r11b
mov rcx, qword [rdi + 0x10]
call qword [rbx + reloc.OLEAUT32.dll_VariantClear]
dec r12
jne 0x1800e2e10
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x1800e2e93
nop dword [rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x180230a34]
mov r8d, 1
call qword [rbx + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x180230a35]
mov r8d, 1
call qword [rbx + reloc.OLEAUT32.dll_VariantClear]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x1800e2e60
mov rsi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x50]
mov rax, rdi
add rsp, 0x20
pop r12
pop rdi
pop rbp
ret
Function at 0x1800e3bd0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
push rbx
push rbp
push rsi
push rdi
mov eax, 0xa8
call fcn.1801c83e0
sub rsp, rax
mov esi, ecx
xor ebp, ebp
lea r8, [rsp + 0x88]
lea rdx, [rsp + 0x80]
xor ecx, ecx
mov edi, ebp
mov ebx, ebp
call fcn.1800c12e0
test eax, eax
je 0x1800e3e58
nop word [rax + rax]
mov eax, dword [rsp + 0x80]
shl eax, 0xa
test esi, eax
je 0x1800e3c30
inc edi
inc ebx
lea r8, [rsp + 0x88]
lea rdx, [rsp + 0x80]
mov ecx, ebx
call fcn.1800c12e0
test eax, eax
jne 0x1800e3c20
test edi, edi
je 0x1800e3e58
mov ecx, dword [rsp + 0x130]
mov rbx, qword [rsp + 0x128]
mov qword [rsp + 0xd0], r12
mov eax, ecx
mov qword [rsp + 0xa0], r13
mov qword [rsp + 0x98], r14
mov r14, qword [rsp + 0x138]
cdq
mov qword [rsp + 0x90], r15
idiv edi
cmp edi, 1
movsxd rdi, dword [rsp + 0x148]
cmove ecx, ebp
mov r8, rdi
xor edx, edx
mov dword [rsp + 0x130], ecx
mov rcx, r14
movsxd r13, eax
call fcn.1801c9e80
lea r8, [rsp + 0x88]
lea rdx, [rsp + 0x80]
xor ecx, ecx
call fcn.1800c12e0
test eax, eax
je 0x1800e3e01
mov r12, qword [rsp + 0x140]
mov r15d, dword [rsp + 0x120]
nop word [rax + rax]
mov eax, dword [rsp + 0x80]
shl eax, 0xa
test esi, eax
je 0x1800e3de0
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x1800e3e32
mov eax, dword [rsp + 0x148]
mov r8d, dword [rsp + 0x130]
mov r9, qword [rsp + 0xd8]
mov dword [rsp + 0x70], eax
mov rax, qword [rsp + 0x118]
mov qword [rsp + 0x68], r12
mov dword [rsp + 0x60], r15d
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x110]
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0x108]
and r8d, 1
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x100]
add r8d, r13d
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0xf8]
mov rdx, rbx
mov qword [rsp + 0x38], rax
mov eax, dword [rsp + 0xf0]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0xe0]
mov dword [rsp + 0x20], eax
call fcn.1800e3810
test eax, eax
je 0x1800e3e54
add rbx, r13
test rdi, rdi
jle 0x1800e3de0
mov r8, r12
mov rcx, r14
mov rdx, rdi
sub r8, r14
nop word [rax + rax]
movzx eax, byte [r8 + rcx]
inc rcx
xor byte [rcx - 1], al
dec rdx
jne 0x1800e3dd0
inc ebp
lea r8, [rsp + 0x88]
lea rdx, [rsp + 0x80]
mov ecx, ebp
call fcn.1800c12e0
test eax, eax
jne 0x1800e3cf0
mov eax, 1
mov r14, qword [rsp + 0x98]
mov r13, qword [rsp + 0xa0]
mov r12, qword [rsp + 0xd0]
mov r15, qword [rsp + 0x90]
add rsp, 0xa8
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov edx, 0x11c
lea r9, [0x1802cfa70]
mov ecx, reloc.WS2_32.dll_sendto
lea r8d, [rdx + 0x2a]
mov dword [rsp + 0x20], 0x114
call fcn.180004810
xor eax, eax
jmp 0x1800e3e06
mov ecx, reloc.WS2_32.dll_sendto
lea r9, [0x1802cfa60]
mov edx, 0x11c
lea r8d, [rcx + 0x30]
mov dword [rsp + 0x20], 0x109
call fcn.180004810
mov eax, ebp
add rsp, 0xa8
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1800e65b0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push r12
mov eax, reloc.WLDAP32.dll_Ordinal_32
call fcn.1801c83e0
sub rsp, rax
mov rax, qword [rcx + 8]
lea r12d, [r9 + 1]
mov rbx, rdx
mov r9, qword [rax + 0xc8]
mov rsi, rcx
test byte [r9 + 0x70], 1
je 0x1800e6616
mov ecx, dword [rdx + 4]
lea eax, [r12 + r8]
cmp eax, ecx
jbe 0x1800e6603
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r12
ret
mov eax, r8d
add qword [rdx + 0x10], rax
add qword [rdx + 0x18], rax
sub ecx, r8d
mov dword [rdx + 4], ecx
jmp 0x1800e661c
cmp r12d, dword [rdx + 4]
ja 0x1800e65f0
mov ecx, dword [rdx + 4]
mov rax, qword [rdx + 0x10]
mov qword [rsp + 0x30], rbp
dec ecx
or ebp, 0xffffffff
test dword [rsi + 0x19c], 0x200
mov qword [rsp + 0x38], rdi
movzx edi, byte [rcx + rax]
je 0x1800e668f
cmp qword [rsi + 0xe0], 0
jne 0x1800e668f
mov rcx, qword [rsi + 0x80]
lea rdx, [0x1802eef18]
mov r8d, 8
add rcx, 8
call fcn.18000c730
test eax, eax
jne 0x1800e667d
test dil, 1
jne 0x1800e667d
mov rax, qword [rsi + 0x80]
or dword [rax], 8
mov rax, qword [rsi + 0x80]
test byte [rax], 8
je 0x1800e668f
test edi, edi
je 0x1800e668f
add edi, ebp
mov rcx, qword [rsi + 0xd0]
mov rcx, qword [rcx]
call fcn.18017be40
bt eax, 0x15
jae 0x1800e66b3
sub ebp, edi
mov eax, 1
add dword [rbx + 4], ebp
jmp 0x1800e676d
mov r10d, dword [rbx + 4]
lea ecx, [rdi + r12]
mov ebp, 0xff
mov r9d, r10d
mov eax, r10d
sub r9d, ecx
xor eax, ecx
xor r9d, ecx
or r9d, eax
lea eax, [r10 - 1]
xor r9d, r10d
shr r9d, 0x1f
dec r9d
cmp eax, ebp
cmovb ebp, eax
xor r11d, r11d
test ebp, ebp
je 0x1800e673d
mov rsi, qword [rbx + 0x10]
mov r8d, edi
shr r8d, 0x1f
nop word [rax + rax]
movzx eax, r8b
mov ecx, r11d
mov edx, edi
sub edx, r11d
shr ecx, 0x1f
shr edx, 0x1f
xor al, cl
xor dl, cl
or dl, al
mov eax, r10d
xor dl, r8b
sub eax, r11d
inc r11d
dec dl
dec eax
movzx ecx, byte [rax + rsi]
movzx edx, dl
xor ecx, edi
and edx, ecx
not edx
and r9d, edx
cmp r11d, ebp
jb 0x1800e6700
not r9d
movzx eax, r9b
lea ecx, [rax - 1]
not eax
shr eax, 0x1f
shr ecx, 0x1f
and ecx, eax
lea eax, [rdi + 1]
neg ecx
and eax, ecx
sub r10d, eax
shl eax, 8
or dword [rbx], eax
mov eax, ecx
not ecx
and eax, 1
mov dword [rbx + 4], r10d
or eax, ecx
mov rbp, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r12
ret
Function at 0x1800e7f00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
push rdi
mov eax, reloc.WLDAP32.dll_Ordinal_32
call fcn.1801c83e0
sub rsp, rax
mov edi, edx
mov rbx, rcx
test edx, edx
jle 0x1800e7f4e
call fcn.180168730
lea r8, [0x1802d0378]
lea rdx, str.invalid_state_reached__s:_d
lea rcx, [rax + 0x60]
mov r9d, 0x42f
call fcn.180159f20
mov eax, 1
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
call fcn.1800ea1c0
test eax, eax
je 0x1800e7f84
mov rcx, rbx
call fcn.1800254d0
test eax, 0x3000
jne 0x1800e7f91
cmp dword [rbx + 0x284], 0
jne 0x1800e7f91
mov rcx, rbx
call fcn.1801239c0
mov edx, 1
mov rcx, rax
call fcn.180001870
mov eax, edi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.1800ea200

Function at 0x1800ea200
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
mov eax, reloc.WLDAP32.dll_Ordinal_32
call fcn.1801c83e0
sub rsp, rax
lea rdx, [rsp + 0x38]
mov rbx, rcx
call fcn.1800ea0a0
test rax, rax
je 0x1800ea2e6
cmp dword [rsp + 0x38], 0
jg 0x1800ea2e6
cmp dword [rsp + 0x3c], 0
jg 0x1800ea2e6
mov rcx, qword [rbx + 0x88]
movzx eax, word [rcx + 0x31c]
add ax, ax
mov word [rcx + 0x31c], ax
mov rax, qword [rbx + 0x88]
cmp word [rax + 0x31c], 0x3c
jbe 0x1800ea270
mov ecx, reloc.WLDAP32.dll_Ordinal_60
mov word [rax + 0x31c], cx
mov rcx, rbx
call fcn.1800ea000
mov rcx, rbx
call fcn.1800e9a20
test eax, eax
jns 0x1800ea28d
or eax, 0xffffffff
add rsp, 0x20
pop rbx
ret
mov rax, qword [rbx + 0x88]
inc dword [rax + 0x308]
mov rax, qword [rbx + 0x88]
cmp dword [rax + 0x308], 2
jbe 0x1800ea2b4
mov dword [rax + 0x308], 1
cmp dword [rbx + 0x284], 0
mov rcx, rbx
je 0x1800ea2d4
mov dword [rbx + 0x284], 0
add rsp, 0x20
pop rbx
jmp fcn.1800e84b0
call fcn.1800ea000
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.1800e9400
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x1800f3160
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rdi
mov eax, 0x460
call fcn.1801c83e0
sub rsp, rax
mov rax, qword [0x1802d1460]
xor rax, rsp
mov qword [rsp + 0x450], rax
xor ebp, ebp
mov ebx, edx
mov rdi, rcx
test rcx, rcx
jne 0x1800f3196
xor eax, eax
jmp 0x1800f3283
lea rdx, [rsp + 0x20]
call fcn.1801df4d0
test eax, eax
js 0x1800f318f
xorpd xmm2, xmm2
lea rcx, [rsp + 0x20]
mov edx, gethostbyname
call fcn.180010360
test ebx, ebx
je 0x1800f318f
lea rdx, [0x1802d1f70]
mov rcx, rdi
mov qword [rsp + 0x498], r12
call fcn.1801dc3dc
mov r12, rax
test rax, rax
je 0x1800f3279
mov eax, 0x2000
mov qword [rsp + 0x490], rsi
test word [rsp + 0x26], ax
je 0x1800f3210
mov eax, 0x800
cmp ebx, 0xffffffff
mov rcx, r12
cmove ebx, eax
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 4]
call fcn.1801f5dbc
nop
mov edi, 0x400
test ebx, ebx
jle 0x1800f321e
cmp ebx, edi
cmovl edi, ebx
lea rcx, [rsp + 0x50]
movsxd r8, edi
mov r9, r12
mov edx, 1
call fcn.1801dc7b8
mov rsi, rax
test eax, eax
jle 0x1800f325a
movd xmm2, esi
lea rcx, [rsp + 0x50]
mov edx, edi
cvtdq2pd xmm2, xmm2
call fcn.180010360
add ebp, esi
test ebx, ebx
jle 0x1800f3210
sub ebx, edi
test ebx, ebx
jg 0x1800f3210
mov rcx, r12
call fcn.1801dc46c
lea rcx, [rsp + 0x50]
mov edx, 0x400
call fcn.180015fb0
mov rsi, qword [rsp + 0x490]
mov r12, qword [rsp + 0x498]
mov eax, ebp
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.1801c74b0
add rsp, 0x460
pop rdi
pop rbp
pop rbx
ret
Function at 0x1800fec30
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
mov eax, 0x50
call fcn.1801c83e0
sub rsp, rax
mov rax, qword [0x1802d1460]
xor rax, rsp
mov qword [rbp - 8], rax
mov rax, qword [rbp + 0x60]
mov r15, qword [rbp + 0x68]
mov rsi, rcx
movzx r10d, byte [rax]
mov ebx, dword [r15]
lea rdi, [rax + 1]
movzx ecx, byte [rdi + 6]
mov qword [rbp - 0x18], rax
movzx eax, byte [rdi]
shl eax, 8
mov r14, rdx
movzx edx, byte [rdi + 3]
or r10d, eax
movzx eax, byte [rdi + 1]
shl ecx, 8
shl eax, 0x10
mov r12d, r8d
lea r8, [rdi + 5]
or r10d, eax
movzx eax, byte [rdi + 2]
xor r13d, r13d
shl eax, 0x18
mov qword [rbp - 0x28], r9
mov qword [rbp - 0x20], r15
or r10d, eax
movzx eax, byte [rdi + 4]
shl eax, 8
mov dword [rbp - 0x30], r10d
mov byte [rbp - 0x10], r10b
or edx, eax
movzx eax, byte [r8]
or ecx, eax
mov eax, r10d
shr eax, 8
shl ecx, 0x10
mov byte [rbp - 0xf], al
or edx, ecx
mov eax, r10d
shr eax, 0x10
mov dword [rbp - 0x2c], edx
mov byte [rbp - 0xc], dl
mov byte [rbp - 0xe], al
mov eax, r10d
shr eax, 0x18
mov byte [rbp - 0xd], al
mov eax, edx
shr eax, 8
mov byte [rbp - 0xb], al
mov eax, edx
shr eax, 0x10
mov byte [rbp - 0xa], al
mov eax, edx
shr eax, 0x18
mov byte [rbp - 9], al
test r12d, r12d
je 0x1800fede4
mov r15, qword [rbp - 0x28]
sub r14, rsi
movzx r8d, dl
movzx r9d, r10b
dec r12d
test ebx, ebx
jne 0x1800fed84
lea rcx, [rbp - 0x30]
mov rdx, r15
call fcn.1800fe0e0
mov r10d, dword [rbp - 0x30]
mov edx, dword [rbp - 0x2c]
movzx r9d, byte [rbp - 0x30]
movzx r8d, byte [rbp - 0x2c]
mov eax, r10d
shr eax, 8
mov byte [rbp - 0x10], r9b
mov byte [rbp - 0xc], r8b
mov byte [rbp - 0xf], al
mov eax, r10d
shr eax, 0x10
mov byte [rbp - 0xe], al
mov eax, r10d
shr eax, 0x18
mov byte [rbp - 0xd], al
mov eax, edx
shr eax, 8
mov byte [rbp - 0xb], al
mov eax, edx
shr eax, 0x10
mov byte [rbp - 0xa], al
mov eax, edx
shr eax, 0x18
inc r13d
mov byte [rbp - 9], al
movsxd rax, ebx
inc rsi
movzx ecx, byte [rbp + rax - 0x10]
xor cl, byte [rsi - 1]
inc ebx
mov byte [r14 + rsi - 1], cl
and ebx, 7
test r12d, r12d
jne 0x1800fed22
mov r15, qword [rbp - 0x20]
test r13d, r13d
je 0x1800fede4
mov rax, qword [rbp - 0x18]
mov byte [rax], r9b
mov eax, r10d
shr eax, 8
mov byte [rdi], al
mov eax, r10d
shr r10d, 0x18
shr eax, 0x10
mov byte [rdi + 1], al
mov byte [rdi + 2], r10b
mov byte [rdi + 3], r8b
mov eax, edx
shr eax, 8
mov byte [rdi + 4], al
mov eax, edx
shr eax, 0x10
shr edx, 0x18
mov byte [rdi + 5], al
mov byte [rdi + 6], dl
mov dword [r15], ebx
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1801c74b0
mov rbx, qword [rsp + 0x90]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1800fee10
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov edi, 0x80
mov r10, rcx
mov byte [rcx], 0
cmp edx, edi
mov ebx, 0x400
cmovg edx, edi
test r9d, r9d
jle 0x1800fee43
cmp r9d, ebx
cmovg r9d, ebx
mov ebx, r9d
movsxd r9, edx
test edx, edx
jle 0x1800fee60
sub r8, r10
mov rdx, r9
movzx eax, byte [r8 + rcx]
inc rcx
dec rdx
mov byte [rcx - 1], al
jne 0x1800fee50
movzx ecx, byte [r9 + r10 - 1]
lea rdx, [r9 + r10]
lea rsi, [0x180244490]
cmp r9, rdi
jge 0x1800feea9
mov r11, r9
mov r8, rdi
neg r11
sub r8, r9
nop word [rax + rax]
movzx eax, byte [rdx + r11]
inc rdx
add eax, ecx
dec r8
movzx ecx, al
movzx ecx, byte [rcx + rsi]
mov byte [rdx - 1], cl
jne 0x1800fee90
lea edx, [rbx + 7]
neg ebx
mov eax, 0xff
sar edx, 3
and ebx, 7
sub edi, edx
movzx ecx, bl
movsxd r11, edx
sar eax, cl
movsxd r9, edi
mov ecx, eax
lea r8, [r9 + r10]
movzx eax, byte [r8]
and rcx, rax
movzx eax, byte [rcx + rsi]
mov byte [r8], al
test edi, edi
je 0x1800feef8
nop
movzx ecx, byte [r8 + r11 - 1]
dec r8
xor rcx, rax
dec r9
movzx eax, byte [rcx + rsi]
mov byte [r8], al
jne 0x1800feee0
lea r8, [r10 + 0xfc]
lea rdx, [r10 + 0x7e]
mov r9d, 0x40
nop dword [rax]
movzx eax, byte [rdx]
movzx ecx, byte [rdx + 1]
sub r8, 4
shl ecx, 8
sub rdx, 2
or ecx, eax
dec r9
movzx eax, cx
mov dword [r8 + 4], eax
jne 0x1800fef10
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret