joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180095834
Capabilities:
Parse credit card information

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
xor al, al
mov ecx, dword [rcx + 0x7c]
cmp ecx, 0xffffffff
je 0x1800959bc
cmp ecx, 0x7c
je 0x1800959bc
cmp ecx, 0x29
jne 0x180095877
cmp dword [rbx + 0x1c], 0
jne 0x1800959bc
test dword [rbx + 0x80], 0x10000000
je 0x1800959e3
cmp ecx, 0x2e
jne 0x180095897
lea rcx, [rbx + 0x40]
mov edx, 5
call fcn.1800980cc
mov rcx, rbx
call fcn.180098124
jmp 0x1800959aa
cmp ecx, 0x5c
jne 0x1800958f8
mov rcx, rbx
call fcn.180098124
test byte [rbx + 0x80], 0x80
je 0x1800958eb
mov al, byte [rbx + 0x78]
cmp al, 0x62
jne 0x1800958cf
mov edx, 4
lea rcx, [rbx + 0x40]
call fcn.1800980cc
mov rcx, rbx
call fcn.180098124
jmp 0x1800959b2
cmp al, 0x42
jne 0x1800958eb
lea rcx, [rbx + 0x40]
mov edx, 4
call fcn.1800980cc
mov rax, qword [rbx + 0x48]
xor dword [rax + 0xc], 1
jmp 0x1800958c2
mov rcx, rbx
call fcn.180095a00
jmp 0x1800959aa
cmp ecx, 0x5b
jne 0x18009591c
mov rcx, rbx
call fcn.180098124
mov rcx, rbx
call fcn.1800961a8
cmp dword [rbx + 0x7c], 0x5d
jne 0x1800959d5
jmp 0x18009588a
cmp ecx, 0x28
jne 0x180095940
mov rcx, rbx
call fcn.180098124
mov rcx, rbx
call fcn.180098950
cmp dword [rbx + 0x7c], 0x29
mov dil, al
jne 0x1800959e3
jmp 0x18009599d
cmp ecx, 0x5e
jne 0x18009594d
lea edx, [rcx - 0x5c]
jmp 0x1800958b9
cmp ecx, 0x24
jne 0x18009595a
lea edx, [rcx - 0x21]
jmp 0x1800958b9
lea eax, [rcx - 0x2a]
cmp eax, 1
jbe 0x1800959c7
cmp ecx, 0x3f
je 0x1800959c7
cmp ecx, 0x7b
je 0x1800959c7
cmp ecx, 0x7d
jne 0x18009597d
test dword [rbx + 0x80], 0x10000000
je 0x1800959f1
cmp ecx, 0x5d
jne 0x18009598e
test dword [rbx + 0x80], 0x10000000
je 0x1800959d5
mov dl, byte [rbx + 0x78]
lea rcx, [rbx + 0x40]
call fcn.180094eb4
mov dil, 1
mov rcx, rbx
call fcn.180098124
test dil, dil
je 0x1800959b2
mov rcx, rbx
call fcn.180098174
mov ecx, dword [rbx + 0x7c]
mov al, 1
jmp 0x180095846
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov edx, 0xa
mov rcx, rbx
call fcn.180097648
int3
mov edx, 4
mov rcx, rbx
call fcn.180097648
int3
mov edx, 5
mov rcx, rbx
call fcn.180097648
int3
mov edx, 6
mov rcx, rbx
call fcn.180097648
int3

Function at 0x180098f4c
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
mov r10d, dword [rcx]
mov rdi, rdx
mov r11d, dword [rcx + 4]
mov r9, rcx
movsxd rbx, r8d
test r8d, r8d
jle 0x180098fa5
inc r10b
movzx r10d, r10b
mov r8d, dword [r9 + r10*4 + 8]
lea eax, [r11 + r8]
movzx r11d, al
mov ecx, dword [r9 + r11*4 + 8]
mov dword [r9 + r10*4 + 8], ecx
mov dword [r9 + r11*4 + 8], r8d
add r8b, cl
movzx eax, r8b
mov cl, byte [r9 + rax*4 + 8]
xor byte [rdi], cl
inc rdi
sub rbx, 1
jne 0x180098f6b
mov rbx, qword [rsp + 8]
mov rdi, qword [rsp + 0x10]
mov dword [r9], r10d
mov dword [r9 + 4], r11d
ret
Function at 0x1800991e4
Capabilities:
Parse pe header

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x138]
sub rsp, 0x210
mov r14d, r9d
mov r15, r8
mov r12, rdx
mov dword [rsp + 0x20], 4
xor edx, edx
mov r9d, 0x1000
mov rdi, rcx
lea r8d, [r14 + 0x1c8]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rsi, rax
test rax, rax
je 0x180099424
and qword [rsp + 0x30], 0
lea rcx, [rbp - 0x40]
mov r13d, 0x40
xor edx, edx
mov r8d, r13d
call fcn.1800a02d0
mov eax, 0x5a4d
mov dword [rbp - 4], r13d
mov word [rbp - 0x40], ax
lea r8, [rbp - 0x40]
lea rax, [rsp + 0x30]
mov r9d, r13d
mov rdx, rsi
mov qword [rsp + 0x20], rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x180099424
cmp qword [rsp + 0x30], r13
jne 0x180099424
xor edx, edx
lea rcx, [rbp]
mov r8d, 0x108
lea rbx, [rsi + 0x40]
call fcn.1800a02d0
lea eax, [r13 - 0x3f]
mov dword [rbp], 0x4550
mov word [rbp + 6], ax
lea r8, [rbp]
lea rax, [rsp + 0x30]
mov dword [rbp + 0x14], 0x200000f0
mov r9d, 0x108
mov qword [rsp + 0x20], rax
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x180099424
mov eax, 0x108
cmp qword [rsp + 0x30], rax
jne 0x180099424
and dword [rsp + 0x40], 0
lea r8, [rsp + 0x38]
and dword [rsp + 0x5c], 0
add rbx, rax
movabs rax, 0x72756f7465642e
xorps xmm0, xmm0
mov qword [rsp + 0x38], rax
mov rdx, rbx
mov eax, ebx
mov rcx, rdi
sub eax, esi
lea esi, [r13 - 0x18]
add eax, esi
mov r9d, esi
mov dword [rsp + 0x44], eax
lea eax, [r14 + 0x58]
mov dword [rsp + 0x48], eax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
movdqu xmmword [rsp + 0x4c], xmm0
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x180099424
cmp qword [rsp + 0x30], rsi
jne 0x180099424
mov r8d, r13d
lea rcx, [rbp - 0x80]
xor edx, edx
add rbx, rsi
call fcn.1800a02d0
lea rax, [rsp + 0x30]
mov dword [rbp - 0x80], r13d
lea esi, [r14 + 0x18]
mov qword [rsp + 0x20], rax
mov r9d, r13d
mov dword [rbp - 0x7c], 0x727444
lea r8, [rbp - 0x80]
mov dword [rbp - 0x78], r13d
mov rdx, rbx
mov dword [rbp - 0x74], esi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x180099424
cmp qword [rsp + 0x30], r13
jne 0x180099424
movups xmm0, xmmword [r12]
and dword [rsp + 0x64], 0
lea rax, [rsp + 0x30]
add rbx, r13
mov dword [rsp + 0x60], esi
lea r9d, [r13 - 0x28]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x60]
mov rdx, rbx
mov rcx, rdi
movdqu xmmword [rsp + 0x68], xmm0
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x180099424
cmp qword [rsp + 0x30], 0x18
jne 0x180099424
lea rcx, [rsp + 0x30]
mov r9d, r14d
mov qword [rsp + 0x20], rcx
lea rdx, [rbx + 0x18]
mov rcx, rdi
mov r8, r15
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x180099424
cmp qword [rsp + 0x30], r14
jne 0x180099424
lea eax, [r13 - 0x3f]
jmp 0x180099426
xor eax, eax
lea r11, [rsp + 0x210]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x180099824
Capabilities:
Allocate thread local storage

Disassembly:
sub rsp, 0x28
call fcn.18009975c
cmp byte [0x18010b638], 0
je 0x180099843
xor ecx, ecx
add rsp, 0x28
jmp qword [0x18010b618]
add rsp, 0x28
jmp qword [sym.imp.KERNEL32.dll_TlsAlloc]
Function at 0x18009a0d4
Capabilities:
Create process on windows

Disassembly:
jmp 0x18009a06c
mov rcx, qword [rcx + 0x20]
jmp 0x18009a0d4
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x200
mov rdi, rcx
xor ebx, ebx
mov dword [rsp + 0x60], ebx
lea rcx, [rsp + 0xf0]
call fcn.180099898
test al, al
je 0x18009a189
xor edx, edx
lea r8d, [rbx + 0x68]
lea rcx, [rsp + 0x80]
call fcn.1800a02d0
mov dword [rsp + 0x80], WSAGetLastError
lea rax, str.winsta0default
mov qword [rsp + 0x90], rax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], 0x20
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
xor r9d, r9d
lea r8, [rsp + 0xf0]
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserA]
mov ebx, eax
mov dword [rsp + 0x60], eax
jmp 0x18009a18f
mov eax, ebx
mov rbx, qword [rsp + 0x210]
add rsp, 0x200
pop rdi
ret
Function at 0x18009a1a4
Capabilities:
Allocate or change rwx memory

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, 0x50
cmp rcx, 0x7ff80000
lea rax, [rcx - 0x7ff80000]
mov rdi, 0xfffffffffff80000
mov r14d, 0x10000
mov esi, r14d
mov rbx, rcx
cmova rsi, rax
cmp rcx, rdi
lea rax, [rcx + 0x7ff80000]
cmovb rdi, rax
mov rax, qword [0x18010b648]
test rax, rax
je 0x18009a208
cmp qword [rax + 8], rsi
jb 0x18009a208
cmp qword [rax + 8], rdi
jbe 0x18009a23c
mov rax, qword [0x18010b640]
mov qword [0x18010b648], rax
test rax, rax
je 0x18009a260
cmp qword [rax + 8], rsi
jb 0x18009a22d
cmp qword [rax + 8], rdi
ja 0x18009a22d
cmp dword [rax + 0x10], 0x30
jae 0x18009a235
mov rax, qword [rax]
test rax, rax
jne 0x18009a21b
mov qword [0x18010b648], rax
test rax, rax
je 0x18009a260
lea r9, [rax + 0x10]
cmp dword [r9], 0x30
jb 0x18009a260
lea r8, [rax + 8]
mov rdx, qword [r8]
cmp rdx, rsi
jb 0x18009a260
cmp rdx, rdi
jbe 0x18009a3df
and qword [0x18010b648], 0
movzx eax, bx
sub rbx, rax
mov rbp, rbx
cmp rbx, rsi
mov edx, 0x9fffffff
jbe 0x18009a322
lea rax, [rbp - 0x60000000]
mov ecx, 0x60000000
cmp rax, rdx
mov r8d, gethostbyname
lea rdx, [rsp + 0x20]
cmovbe rbp, rcx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x18009a31d
cmp dword [rsp + 0x40], r14d
jne 0x18009a2e0
cmp qword [rsp + 0x38], r14
jb 0x18009a2e0
mov r9d, 0x40
mov r8d, 0x3000
mov rdx, r14
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [0x18010b648], rax
mov rcx, rax
test rax, rax
jne 0x18009a2f1
mov rbp, qword [rsp + 0x28]
add rbp, 0xffffffffffff0000
cmp rbp, rsi
jmp 0x18009a274
mov rax, qword [0x18010b640]
lea rdx, [rcx + 0x20]
mov qword [rcx], rax
lea r9, [rcx + 0x10]
mov eax, ecx
mov qword [0x18010b640], rcx
sub eax, edx
lea r8, [rcx + 8]
add eax, r14d
mov dword [r9], eax
jmp 0x18009a3dc
mov edx, 0x9fffffff
cmp rbx, rdi
jae 0x18009a3fc
lea rax, [rbx - 0x60000000]
movabs rcx, 0x100000000
cmp rax, rdx
mov r8d, gethostbyname
lea rdx, [rsp + 0x20]
cmovbe rbx, rcx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x18009a3fc
cmp dword [rsp + 0x40], r14d
jne 0x18009a398
mov rcx, qword [rsp + 0x38]
cmp rcx, r14
jb 0x18009a39d
mov r9d, 0x40
mov r8d, 0x3000
mov rdx, r14
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [0x18010b648], rax
mov r10, rax
test rax, rax
jne 0x18009a3b4
mov rcx, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x20]
add rbx, rcx
cmp rbx, rdi
jae 0x18009a3fc
mov edx, 0x9fffffff
jmp 0x18009a32b
mov rax, qword [0x18010b640]
lea rdx, [r10 + 0x20]
mov ecx, r10d
mov qword [r10], rax
sub ecx, edx
mov qword [0x18010b640], r10
add ecx, r14d
lea r9, [r10 + 0x10]
mov dword [r9], ecx
lea r8, [r10 + 8]
mov qword [r8], rdx
add dword [r9], 0xffffffd0
lea rcx, [rdx + 0x30]
movabs rax, 0xcccccccccccccccc
mov qword [r8], rcx
mov qword [rdx], rax
mov rax, rdx
jmp 0x18009a3fe
xor eax, eax
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r14
ret
Function at 0x18009a41c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x58
mov r8d, gethostbyname
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
xor edx, edx
test rax, rax
je 0x18009a46b
mov ecx, 0x5a4d
mov rax, qword [rsp + 0x28]
cmp word [rax], cx
je 0x18009a44b
xor eax, eax
jmp 0x18009a46b
movsxd rcx, dword [rax + 0x3c]
cmp dword [rcx + rax], 0x4550
je 0x18009a45c
xor eax, eax
jmp 0x18009a46b
cmp word [rcx + rax + 0x14], dx
jne 0x18009a467
xor eax, eax
jmp 0x18009a46b
jmp 0x18009a46b
add rsp, 0x58
ret
Function at 0x18009a754
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov r15, rdx
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x18010b654], eax
je 0x18009a78a
mov eax, 0x10dd
jmp 0x18009a886
mov eax, dword [0x18010b658]
test eax, eax
jne 0x18009a886
test rsi, rsi
jne 0x18009a7a5
lea eax, [rsi + 6]
jmp 0x18009a886
cmp qword [rsi], 0
jne 0x18009a7bb
mov eax, 6
mov dword [0x18010b658], eax
jmp 0x18009a87f
mov ecx, gethostbyname
call fcn.18009d1b8
mov rbx, rax
test rax, rax
jne 0x18009a7d5
lea edi, [rax + 8]
jmp 0x18009a865
mov rdi, qword [rsi]
movzx eax, byte [rdi + 0x1f]
mov rbp, qword [rdi + 0x20]
sub rbp, rax
test al, al
je 0x18009a857
mov r14d, eax
cmp rax, 0x1f
jae 0x18009a857
mov rcx, r15
call fcn.18009a8a0
cmp qword [rdi + 0x28], rax
jne 0x18009a857
and dword [rsp + 0x50], 0
lea r9, [rsp + 0x50]
mov r8d, 0x40
mov edx, r14d
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x18009a828
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x18009a865
mov dword [rbx + 8], 1
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x20], rdi
mov qword [rbx + 0x18], rbp
mov eax, dword [rsp + 0x50]
mov dword [rbx + 0x28], eax
mov rax, qword [0x18010b670]
mov qword [rbx], rax
xor eax, eax
mov qword [0x18010b670], rbx
jmp 0x18009a886
cmp dword [0x18010b650], 0
mov edi, 9
jne 0x18009a870
mov dword [0x18010b658], edi
test rbx, rbx
je 0x18009a87d
mov edx, gethostbyname
mov rcx, rbx
call fcn.18009d1f4
mov eax, edi
mov qword [0x18010b660], rsi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret

Function at 0x18009a8e0
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x18010b654], eax
je 0x18009a902
mov eax, 0x10dd
jmp 0x18009a99a
mov rdi, qword [0x18010b670]
test rdi, rdi
je 0x18009a953
mov rax, qword [rdi + 0x20]
lea r9, [rsp + 0x30]
mov r8d, dword [rdi + 0x28]
mov rcx, qword [rdi + 0x18]
movzx edx, byte [rax + 0x1f]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp dword [rdi + 8], 0
jne 0x18009a93b
cmp qword [rdi + 0x20], 0
je 0x18009a93b
and qword [rdi + 0x20], 0
mov rbx, qword [rdi]
mov edx, gethostbyname
mov rcx, rdi
call fcn.18009d1f4
mov rdi, rbx
test rbx, rbx
jne 0x18009a90e
and qword [0x18010b670], 0
mov rdi, qword [0x18010b668]
test rdi, rdi
je 0x18009a989
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rbx, qword [rdi]
mov edx, reloc.WS2_32.dll_recv
mov rcx, rdi
call fcn.18009d1f4
mov rdi, rbx
test rbx, rbx
jne 0x18009a967
and qword [0x18010b668], 0
and dword [0x18010b654], 0
xor eax, eax
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x18009acd0
Capabilities:
Suspend thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov eax, dword [0x18010b658]
mov rdi, rcx
test eax, eax
jne 0x18009ad55
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp rdi, rax
je 0x18009ad53
mov ecx, reloc.WS2_32.dll_recv
call fcn.18009d1b8
mov rbx, rax
test rax, rax
jne 0x18009ad09
lea edi, [rax + 8]
jmp 0x18009ad2c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x18009ad3e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov edx, reloc.WS2_32.dll_recv
mov rcx, rbx
call fcn.18009d1f4
and qword [0x18010b660], 0
mov eax, edi
mov dword [0x18010b658], edi
jmp 0x18009ad55
mov rax, qword [0x18010b668]
mov qword [rbx], rax
mov qword [rbx + 8], rdi
mov qword [0x18010b668], rbx
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x18009b220
Capabilities:
Link many functions at runtime

Disassembly:
push rdi
sub rsp, 0x20
mov rax, qword [0x18010b6c8]
test rax, rax
jne 0x18009b3fe
lea rcx, [0x18010b680]
xor edx, edx
lea r8d, [rax + 0x48]
mov qword [0x18010b6c8], rcx
call fcn.1800a02d0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea rcx, str.dbghelp.dll
mov qword [0x18010b680], rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x18010b688], rax
test rax, rax
je 0x18009b3c4
lea rdx, str.ImagehlpApiVersionEx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x18010b688]
lea rdx, str.SymInitialize
mov qword [0x18010b690], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x18010b688]
lea rdx, str.SymSetOptions
mov qword [0x18010b698], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x18010b688]
lea rdx, str.SymGetOptions
mov qword [0x18010b6a0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x18010b688]
lea rdx, str.SymLoadModule64
mov qword [0x18010b6a8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x18010b688]
lea rdx, str.SymGetModuleInfo64
mov qword [0x18010b6b0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x18010b688]
lea rdx, str.SymFromName
mov qword [0x18010b6b8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
and qword [rsp + 0x30], 0
mov edi, reloc.WS2_32.dll_inet_ntoa
mov qword [0x18010b6c0], rax
mov rax, qword [0x18010b690]
mov word [rsp + 0x30], di
test rax, rax
je 0x18009b3b2
lea rcx, [rsp + 0x30]
call rax
cmp qword [0x18010b690], 0
je 0x18009b3b2
cmp word [rsp + 0x30], di
jb 0x18009b3b2
mov rax, qword [0x18010b698]
test rax, rax
je 0x18009b384
mov rcx, qword [0x18010b680]
xor r8d, r8d
xor edx, edx
call rax
test eax, eax
je 0x18009b3b2
mov rax, qword [0x18010b6a8]
test rax, rax
je 0x18009b3a9
cmp qword [0x18010b6a0], 0
je 0x18009b3a9
call rax
and eax, 0x2207
mov ecx, eax
call qword [0x18010b6a0]
mov rax, qword [0x18010b6c8]
jmp 0x18009b3fe
mov rcx, qword [0x18010b688]
test rcx, rcx
je 0x18009b3c4
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
and qword [0x18010b690], 0
and qword [0x18010b698], 0
and qword [0x18010b6a0], 0
and qword [0x18010b6a8], 0
and qword [0x18010b6b0], 0
and qword [0x18010b6b8], 0
and qword [0x18010b6c0], 0
xor eax, eax
add rsp, 0x20
pop rdi
ret
Function at 0x1800bbd80
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x30
movsxd rbp, ecx
mov r9, r8
mov rax, rbp
lea rcx, [0x18010c6b0]
and eax, 0x3f
mov r10, rbp
sar r10, 6
xor edi, edi
mov rsi, rdx
mov r14, rbp
lea r8, [rax + rax*8]
mov rax, qword [rcx + r10*8]
mov ecx, 4
mov qword [rsp + 0x78], rcx
mov r11, qword [rax + r8*8 + 0x28]
lea r12d, [rcx + 6]
test r9, r9
je 0x1800bbdde
cmp word [rdx], r12w
jne 0x1800bbdde
or byte [rax + r8*8 + 0x38], cl
jmp 0x1800bbde4
and byte [rax + r8*8 + 0x38], 0xfb
lea rdx, [rdx + r9*2]
mov rcx, rsi
mov rbx, rsi
cmp rsi, rdx
jae 0x1800bbf3f
mov r9d, DispGetIDsOfNames
lea r13d, [r9 - 0xd]
movzx eax, word [rcx]
cmp ax, r9w
je 0x1800bbf1a
lea r9, [rcx + 2]
cmp ax, r13w
je 0x1800bbe1d
mov rcx, r9
jmp 0x1800bbe40
cmp r9, rdx
jae 0x1800bbe57
cmp word [r9], r12w
mov eax, 2
cmove rax, qword [rsp + 0x78]
add rcx, rax
mov eax, r12d
cmp word [r9], r12w
cmovne ax, r13w
mov word [rbx], ax
mov r9d, DispGetIDsOfNames
add rbx, 2
cmp rcx, rdx
jb 0x1800bbe01
jmp 0x1800bbf3f
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rdi
mov r8d, 2
lea rdx, [rsp + 0x70]
mov rcx, r11
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1800bbf14
cmp dword [rsp + 0x80], edi
je 0x1800bbf14
mov rdx, r14
lea r11, [0x18010c6b0]
sar rdx, 6
and r14d, 0x3f
mov rax, qword [r11 + rdx*8]
lea r8, [r14 + r14*8]
test byte [rax + r8*8 + 0x38], 0x48
je 0x1800bbeed
movzx eax, word [rsp + 0x70]
cmp ax, r12w
jne 0x1800bbec0
mov word [rbx], r12w
jmp 0x1800bbf3b
mov word [rbx], r13w
mov word [rsp + 0x78], ax
mov rax, qword [r11 + rdx*8]
lea rcx, [rax + r8*8]
mov al, byte [rsp + rdi + 0x78]
mov byte [rcx + rdi + 0x3a], al
inc rdi
cmp rdi, 2
jl 0x1800bbec9
mov rax, qword [r11 + rdx*8]
mov byte [rax + r8*8 + 0x3c], r12b
jmp 0x1800bbf3b
cmp word [rsp + 0x70], r12w
jne 0x1800bbefa
cmp rbx, rsi
je 0x1800bbeba
mov rdx, 0xfffffffffffffffe
mov ecx, ebp
lea r8d, [rdx + 3]
call fcn.1800bcadc
cmp word [rsp + 0x70], r12w
je 0x1800bbf3f
mov word [rbx], r13w
jmp 0x1800bbf3b
lea r11, [0x18010c6b0]
mov rcx, qword [r11 + r10*8]
mov al, byte [rcx + r8*8 + 0x38]
test al, 0x40
jne 0x1800bbf37
or al, 2
mov byte [rcx + r8*8 + 0x38], al
jmp 0x1800bbf3f
mov word [rbx], r9w
add rbx, 2
sub rbx, rsi
sar rbx, 1
lea eax, [rbx + rbx]
add rsp, 0x30
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1800bc794
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov rsi, rcx
test rcx, rcx
jne 0x1800bc7c6
call fcn.1800af70c
mov dword [rax], socket
call fcn.1800a4598
jmp 0x1800bc8e5
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x1800bc8e5
mov eax, dword [rcx + 0x14]
shr eax, 0xc
test al, 1
jne 0x1800bc8e5
mov eax, dword [rcx + 0x14]
shr eax, 1
test al, 1
je 0x1800bc7f5
lock or dword [rcx + 0x14], 0x10
jmp 0x1800bc8e5
lock or dword [rcx + 0x14], 1
mov eax, dword [rcx + 0x14]
test eax, 0x4c0
jne 0x1800bc809
call fcn.1800c3a94
mov rdi, qword [rsi + 8]
mov rcx, rsi
mov ebx, dword [rsi + 0x20]
mov qword [rsi], rdi
call fcn.1800b08a4
mov r8d, ebx
mov rdx, rdi
mov ecx, eax
call fcn.1800bc22c
mov dword [rsi + 0x10], eax
lea ecx, [rax + 1]
cmp ecx, 1
jbe 0x1800bc8d3
mov eax, dword [rsi + 0x14]
or edi, 0xffffffff
test al, 6
jne 0x1800bc89e
mov rcx, rsi
call fcn.1800b08a4
cmp eax, edi
je 0x1800bc889
mov rcx, rsi
call fcn.1800b08a4
cmp eax, 0xfffffffe
je 0x1800bc889
mov rcx, rsi
call fcn.1800b08a4
movsxd rbx, eax
lea r14, [0x18010c6b0]
mov rcx, rsi
sar rbx, 6
call fcn.1800b08a4
and eax, 0x3f
lea rcx, [rax + rax*8]
mov rax, qword [r14 + rbx*8]
lea rdx, [rax + rcx*8]
jmp 0x1800bc890
lea rdx, [0x180104060]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x1800bc89e
lock or dword [rsi + 0x14], 0x20
cmp dword [rsi + 0x20], 0x200
jne 0x1800bc8c2
mov eax, dword [rsi + 0x14]
shr eax, 6
test al, 1
je 0x1800bc8c2
mov eax, dword [rsi + 0x14]
shr eax, 8
test al, 1
jne 0x1800bc8c2
mov dword [rsi + 0x20], 0x1000
mov rax, qword [rsi]
add dword [rsi + 0x10], edi
movzx edi, byte [rax]
inc rax
mov qword [rsi], rax
jmp 0x1800bc8e8
neg eax
sbb eax, eax
and eax, 8
add eax, 8
lock or dword [rsi + 0x14], eax
and dword [rsi + 0x10], 0
or edi, 0xffffffff
mov rbx, qword [rsp + 0x30]
mov eax, edi
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop r14
ret
Function at 0x1800bce24
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.18009d830
sub rsp, rax
mov rax, qword [0x180103cb8]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.1800b08a4
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x1800bce73
mov rax, rbp
jmp 0x1800bcf7b
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x180000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x10c6b0]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.1800bcad4
mov r13, rax
lea rax, [0x180000000]
mov rcx, qword [rax + rbx*8 + 0x10c6b0]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x1800bcf77
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1800bcf77
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.1800bcad4
test rax, rax
js 0x1800bcf77
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x1800bcf77
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x1800bcf69
lea r8, [0x180000000]
cmp rcx, rdx
jae 0x1800bcf69
cmp byte [rcx], 0xd
jne 0x1800bcf4f
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x1800bcf5e
cmp byte [rcx + 1], 0xa
jne 0x1800bcf5e
inc rcx
jmp 0x1800bcf5e
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x1040b0]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x1800bcf31
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x1800bcf7b
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.18009dd20
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret