joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140030a60
Capabilities:
Hash data using murmur3

Disassembly:
cmp rsp, qword [r14 + 0x18]
jbe 0x140030d06
sub rsp, 0x40
mov qword [rsp + 0x38], rbp
lea rbp, [rsp + 0x38]
test byte [rax], al
lea rsi, [rax + 0x1270]
mov rcx, qword [rax + 0x1260]
sub rcx, rsi
shr rcx, 3
cmp rcx, 0x200
ja 0x140030cfa
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x30], rcx
mov qword [rax + 0x1260], 0
cmp byte [0x1404ef799], 0
jne 0x140030ac2
xor edx, edx
xor ebx, ebx
nop
jmp 0x140030b0a
xor edx, edx
jmp 0x140030aed
mov qword [rsp + 0x28], rdx
mov rcx, qword [rax + rdx*8 + 0x1270]
mov rax, rcx
call fcn.14001ffe0
mov rdx, qword [rsp + 0x28]
inc rdx
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
cmp rdx, rcx
jl 0x140030ac6
add rax, 0x1260
call fcn.140030920
mov rbp, qword [rsp + 0x38]
add rsp, 0x40
ret
inc rdx
cmp rdx, rcx
jge 0x140030c94
mov rsi, qword [rax + rdx*8 + 0x1270]
nop dword [rax + rax]
cmp rsi, 0x1000
jb 0x140030b07
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rbx
mov rax, rsi
xor ebx, ebx
mov rcx, rbx
nop dword [rax + rax]
call fcn.140014e80
test rax, rax
jne 0x140030b62
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
nop
jmp 0x140030b07
mov rsi, qword [rbx + 0x50]
test byte [rsi], al
nop
mov r8, rcx
shr rcx, 3
movzx r9d, byte [rsi + rcx]
and r8d, 7
mov rdx, rcx
mov rcx, r8
mov r10d, 1
shl r10d, cl
add rsi, rdx
test r10b, r9b
je 0x140030ba9
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
jmp 0x140030b07
nop
lock or byte [rsi], r10b
nop
nop
mov rcx, qword [rbx + 0x18]
nop
movabs rsi, 0x800000000000
lea r8, [rsi + rcx]
mov r9, r8
shr r8, 0x2a
cmp r8, 0x40
jae 0x140030ced
lea r10, [0x1404c1bd0]
mov r8, qword [r10 + r8*8]
shr r9, 0x16
and r9d, 0xfffff
mov r9, qword [r8 + r9*8]
test byte [r9], al
test byte [r8], al
mov r8, rcx
shr rcx, 0x10
and ecx, 0x3f
movzx r10d, byte [r9 + rcx + 0x11440]
lea r9, [r9 + rcx]
lea r9, [r9 + 0x11440]
shr r8, 0xd
and r8d, 7
mov rcx, r8
mov r8d, 1
shl r8d, cl
test r8b, r10b
jne 0x140030c2f
lock or byte [r9], r8b
movzx r8d, byte [rbx + 0x62]
test r8b, 1
je 0x140030c65
mov rax, qword [rsp + 0x48]
mov r8, qword [rax + 0x1248]
add r8, qword [rbx + 0x68]
mov qword [rax + 0x1248], r8
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
jmp 0x140030b07
mov r8, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
cmp r8, rcx
jae 0x140030ce5
mov rbx, qword [rsp + 0x48]
mov qword [rbx + r8*8 + 0x1270], rax
inc r8
mov rax, rbx
mov rdx, qword [rsp + 0x28]
mov rbx, r8
jmp 0x140030b07
cmp rbx, 0x200
ja 0x140030cd8
lea rdx, [rax + 0x1270]
lea rsi, [rax + 0x1238]
mov rcx, rbx
mov edi, 0x200
mov rbx, rdx
mov rax, rsi
call fcn.140026160
mov rax, qword [rsp + 0x48]
add rax, 0x1260
call fcn.140030920
mov rbp, qword [rsp + 0x38]
add rsp, 0x40
ret
mov rcx, rbx
mov edx, 0x200
call fcn.1400669c0
mov rax, r8
call fcn.140066940
mov rax, r8
mov ecx, 0x40
call fcn.140066960
mov edx, 0x200
nop
call fcn.1400669a0
nop
mov qword [rsp + 8], rax
call fcn.140068ea0
mov rax, qword [rsp + 8]
jmp fcn.140030a60
Function at 0x1400460a0
Capabilities:
Encode data using base64

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x14004620a
sub rsp, 0x20
mov qword [rsp + 0x18], rbp
lea rbp, [rsp + 0x18]
mov ecx, dword [rax + 0x190]
mov edx, dword [rax + 0x194]
mov rsi, qword [rax + 0x998]
mov edi, dword [rax + 0x194]
cmp edi, edx
jne 0x1400460b8
cmp edx, ecx
jne 0x1400461f8
nop dword [rax]
test rsi, rsi
jne 0x1400461f8
mov qword [rsp + 0x28], rax
test rbx, rbx
jne 0x140046114
nop
call fcn.140068300
xorps xmm15, xmm15
mov r14, qword [0x1404ef9b0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rbx, qword [rsp]
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x10], rbx
call fcn.140045fa0
mov rcx, qword [0x14049c498]
mov rdx, qword [0x14049c490]
mov rbx, qword [rsp + 0x28]
mov esi, dword [rbx]
mov edi, esi
sar esi, 0x1f
shr esi, 0x1b
add esi, edi
mov r8d, esi
and esi, 0xffffffe0
sub edi, esi
test edi, edi
jl 0x1400461f3
cmp edi, 0x20
sbb esi, esi
sar r8d, 5
mov rax, rcx
mov ecx, edi
mov r9d, 1
shl r9d, cl
and r9d, esi
movsxd rsi, r8d
cmp rax, rsi
jbe 0x1400461e8
lea rcx, [rdx + rsi*4]
lock or dword [rcx], r9d
mov rcx, qword [0x14049d490]
mov qword [rbx + 8], rcx
nop
mov rcx, rbx
mov qword [0x14049d490], rbx
nop
mov edx, 1
lea rsi, [0x14049d498]
lock xadd dword [rsi], edx
mov rdx, qword [rcx + 0x1220]
shr rdx, 0x3d
test dl, dl
jne 0x1400461d7
nop
nop
mov rax, qword [rsp + 0x10]
movabs rdx, 0x1fffffffffffffff
and rdx, rax
bts rdx, 0x3f
xchg qword [rcx + 0x1220], rdx
mov rbp, qword [rsp + 0x18]
add rsp, 0x20
ret
lea rax, [0x140248ca2]
mov ebx, 0x28
call fcn.140037860
mov rcx, rax
mov rax, rsi
call fcn.140066940
call fcn.140035d80
lea rax, [0x140247598]
mov ebx, 0x23
call fcn.140037860
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.1400642c0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.1400460a0
Function at 0x1400531a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub rsp, 0x18
mov qword [rsp + 0x10], rbp
lea rbp, [rsp + 0x10]
mov qword [rsp + 0x20], rax
test rbx, rbx
jbe 0x140053318
movzx edx, byte [rax]
nop
test edx, edx
jne 0x1400531dc
test r8b, r8b
jne 0x1400531dc
xor eax, eax
xor ebx, ebx
mov rcx, rbx
xor edi, edi
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
bt edx, 7
jae 0x1400531ef
xor edx, edx
xor r8d, r8d
xor r9d, r9d
jmp 0x1400532d8
mov r8d, 1
mov r9d, edx
and edx, 1
neg edx
shr r9d, 1
xor edx, r9d
add dword [rsi], edx
cmp rbx, r8
jb 0x1400532c6
sub rbx, r8
sub rcx, r8
mov rdx, rcx
neg rcx
sar rcx, 0x3f
and r8, rcx
lea rsi, [rax + r8]
test rbx, rbx
jbe 0x1400532bc
movzx r8d, byte [rax + r8]
bt r8d, 7
jae 0x140053243
xor eax, eax
xor ecx, ecx
xor r8d, r8d
jmp 0x140053286
mov eax, 1
cmp rax, rbx
ja 0x140053275
add qword [rdi], r8
sub rdx, rax
sub rbx, rax
mov rcx, rdx
neg rdx
sar rdx, 0x3f
and rax, rdx
add rax, rsi
mov edi, 1
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
mov rcx, rbx
call fcn.140066a00
lea r8d, [rcx + 7]
mov ecx, eax
mov eax, r10d
cmp rax, rbx
jae 0x1400532b4
movzx r9d, byte [rax + rsi]
lea r10d, [rax + 1]
mov r11d, r9d
and r9d, 0x7f
mov eax, ecx
mov ecx, r8d
shl r9d, cl
or eax, r9d
test r11b, 0x80
jne 0x14005327d
mov r8d, eax
mov eax, r10d
jmp 0x140053248
mov rcx, rbx
call fcn.140066940
xor eax, eax
mov rcx, rax
call fcn.140066940
mov eax, r8d
mov rcx, rbx
call fcn.140066a00
lea r9d, [rcx + 7]
mov rcx, r12
cmp rbx, rdx
jbe 0x14005330e
movzx r10d, byte [rdx + rax]
inc edx
mov r11d, r10d
and r10d, 0x7f
mov r12, rcx
mov ecx, r9d
shl r10d, cl
or r8d, r10d
test r11b, 0x80
jne 0x1400532d1
mov rcx, r12
mov r9d, edx
mov edx, r8d
mov r8d, r9d
jmp 0x1400531f5
mov eax, edx
mov rcx, rbx
call fcn.140066940
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.140066940
nop
int3
Function at 0x14005aec0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x14005af79
sub rsp, 0x60
mov qword [rsp + 0x58], rbp
lea rbp, [rsp + 0x58]
mov qword [rsp + 0x70], rbx
mov qword [rsp + 8], 0
movups xmmword [rsp + 0x10], xmm15
movups xmmword [rsp + 0x18], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
movups xmmword [rsp + 0x48], xmm15
lea rdx, [0x14005afc0]
mov qword [rsp + 0x10], rdx
lea rdx, [rsp + 8]
mov qword [rsp + 0x18], rdx
mov rdx, qword [rsp + 0x60]
mov qword [rsp + 0x20], rdx
lea rdx, [rsp + 0x68]
mov qword [rsp + 0x28], rdx
mov rdx, r14
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rdi
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call fcn.140064180
xorps xmm15, xmm15
mov r14, qword [0x1404ef9b0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 8]
mov rbp, qword [rsp + 0x58]
add rsp, 0x60
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.1400642c0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.14005aec0
Function at 0x1400663c0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov rax, qword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x1404efb00]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d1247
mul rcx
nop
nop
xor rax, rdx
ret
cmp byte [0x1404ef798], 0
je 0x1400663f6
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x1404efe40]
aesenc xmm0, xmmword [0x1404efe50]
aesenc xmm0, xmmword [0x1404efe60]
movq rax, xmm0
ret
jmp 0x14000ace0

Function at 0x1401bcca0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140496780]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1401bccc0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1401bccc8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1401bccc0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
movzx edx, word [r8 + 6]
lea rax, [r8 + rax + 0x18]
test edx, edx
je 0x1401bcd15
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x1401bcd0c
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1401bccc0
add rax, 0x28
cmp rax, r9
jne 0x1401bccf8
xor eax, eax
ret

Function at 0x1401bcd20
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140496780]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x1401bcd40
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1401bcd48
mov eax, r8d
ret
cmp word [rax + 0x18], 0x20b
jne 0x1401bcd40
movzx r8d, word [rax + 6]
mov eax, r8d
ret

Function at 0x1401bcdd0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140496780]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x1401bcdf0
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
je 0x1401bcdf8
mov rax, r8
ret
cmp word [rdx + 0x18], 0x20b
cmove r8, rax
mov rax, r8
ret
Function at 0x100401e20
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x60
movabs rax, 0x6e776f6e6b6e753c
mov rbx, rdx
mov qword [rsp + 0x40], rax
mov r12d, ecx
xor edx, edx
mov qword [rsp + 0x50], rax
mov rax, qword [rbx]
xor ecx, ecx
lea rdi, [rsp + 0x40]
mov dword [rsp + 0x48], 0x3e
mov word [rsp + 0x4c], dx
mov byte [rsp + 0x4e], 0
mov dword [rsp + 0x58], 0x3e
mov word [rsp + 0x5c], cx
mov byte [rsp + 0x5e], 0
test rax, rax
je 0x100401f10
mov r13, qword [rbx + 8]
test r13, r13
je 0x100401f10
movzx eax, byte [rax + 0x3a]
test al, al
je 0x100401f10
sub eax, 1
mov r14d, 1
lea rbp, [rsp + 0x50]
lea rax, [rax + rax*8]
lea rsi, [r13 + rax*2 + 0x12]
jmp 0x100401ec2
test r14d, r14d
jne 0x100401f80
add r13, 0x12
cmp rsi, r13
je 0x100401f10
movzx eax, word [r13 + 0x10]
movzx edx, byte [r13 + 0xf]
shr ax, 7
xor eax, 1
and eax, 1
test dl, dl
jne 0x100401ede
test al, al
jne 0x100401eb0
cmp dl, 3
jne 0x100401eb9
test al, al
je 0x100401eb9
mov rdx, r13
mov r8d, 0xf
mov rcx, rbp
add r13, 0x12
call sym.strncpy
mov byte [rsp + 0x5f], 0
cmp rsi, r13
jne 0x100401ec2
nop word cs:[rax + rax]
mov ecx, r12d
call sym.inet_ntoa
mov r8, rdi
lea rcx, str.new_Array___s____s__
mov rdx, rax
call sym.printf
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x100401fa0
movzx ecx, byte [rax + 5]
movzx r9d, byte [rax + 2]
movzx r8d, byte [rax + 1]
movzx edx, byte [rax]
mov dword [rsp + 0x30], ecx
movzx ecx, byte [rax + 4]
mov dword [rsp + 0x28], ecx
movzx eax, byte [rax + 3]
lea rcx, str.__02x_02x_02x_02x_02x_02x____n
mov dword [rsp + 0x20], eax
call sym.printf
mov eax, 1
add rsp, 0x60
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov r8d, 0xf
mov rdx, r13
mov rcx, rdi
xor r14d, r14d
call sym.strncpy
mov byte [rsp + 0x4f], 0
jmp 0x100401eb9
mov ecx, 0xa
call sym.putchar
jmp 0x100401f64
Function at 0x100401fb0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x68
movabs rax, 0x6e776f6e6b6e753c
mov rbx, rdx
mov qword [rsp + 0x40], rax
xor edx, edx
mov r12, r8
mov qword [rsp + 0x50], rax
mov rax, qword [rbx]
lea rbp, [rsp + 0x40]
mov dword [rsp + 0xb0], ecx
xor ecx, ecx
mov dword [rsp + 0x48], 0x3e
mov word [rsp + 0x4c], dx
mov byte [rsp + 0x4e], 0
mov dword [rsp + 0x58], 0x3e
mov word [rsp + 0x5c], cx
mov byte [rsp + 0x5e], 0
test rax, rax
je 0x1004020f0
mov rdx, qword [rbx + 8]
test rdx, rdx
je 0x1004020f0
movzx eax, byte [rax + 0x3a]
test al, al
je 0x1004020f0
sub eax, 1
mov r13, rdx
mov r15d, 1
xor edi, edi
lea rax, [rax + rax*8]
lea r14, [rsp + 0x50]
lea rsi, [rdx + rax*2 + 0x12]
jmp 0x10040206d
test r15d, r15d
jne 0x1004021c0
xor r15d, r15d
add r13, 0x12
cmp rsi, r13
je 0x1004020a8
movzx eax, word [r13 + 0x10]
movzx ecx, byte [r13 + 0xf]
shr ax, 7
xor eax, 1
and eax, 1
test cl, cl
jne 0x100402089
test al, al
jne 0x100402058
cmp cl, 0x20
jne 0x10040218d
test al, al
je 0x10040218d
add r13, 0x12
mov edi, 1
cmp rsi, r13
jne 0x10040206d
mov ecx, dword [rsp + 0xb0]
test r12, r12
je 0x100402240
call sym.inet_ntoa
mov qword [rsp + 0x20], r12
mov r9, rbp
mov r8, r12
mov rdx, rax
lea rcx, str._s_s_s_s
call sym.printf
test edi, edi
je 0x100402124
lea rcx, str._server_
call sym.printf
jmp 0x100402124
test r12, r12
je 0x1004021f0
mov ecx, dword [rsp + 0xb0]
lea r14, [rsp + 0x50]
call sym.inet_ntoa
mov qword [rsp + 0x20], r12
mov r9, rbp
mov r8, r12
mov rdx, rax
lea rcx, str._s_s_s_s
call sym.printf
mov r9, r12
mov r8, r14
lea rcx, str._s_s_s
mov rdx, r12
call sym.printf
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x1004021e0
movzx ecx, byte [rax + 5]
movzx r9d, byte [rax + 2]
movzx r8d, byte [rax + 1]
movzx edx, byte [rax]
mov dword [rsp + 0x30], ecx
movzx ecx, byte [rax + 4]
mov dword [rsp + 0x28], ecx
movzx eax, byte [rax + 3]
lea rcx, str._02x_02x_02x_02x_02x_02x_n
mov dword [rsp + 0x20], eax
call sym.printf
mov eax, 1
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
cmp cl, 3
jne 0x100402064
test al, al
je 0x100402064
mov r8d, 0xf
mov rdx, r13
mov rcx, r14
call sym.strncpy
mov byte [rsp + 0x5f], 0
jmp 0x100402064
mov r8d, 0xf
mov rdx, r13
mov rcx, rbp
call sym.strncpy
mov byte [rsp + 0x4f], 0
jmp 0x100402061
mov ecx, 0xa
call sym.putchar
jmp 0x100402177
mov ecx, dword [rsp + 0xb0]
lea r14, [rsp + 0x50]
call sym.inet_ntoa
mov r8, rbp
lea rcx, str.__17s__17s
mov rdx, rax
call sym.printf
lea rdx, [0x100407ed3]
lea rcx, str.__10s
call sym.printf
mov rdx, r14
lea rcx, str.__17s
call sym.printf
jmp 0x100402139
call sym.inet_ntoa
mov r8, rbp
lea rcx, str.__17s__17s
mov rdx, rax
call sym.printf
test edi, edi
je 0x100402213
lea rdx, str._server_
lea rcx, str.__10s
call sym.printf
jmp 0x100402226
Function at 0x1004025f0
Capabilities:
Send data
Send data on socket

Disassembly:
push r14
push r13
push r12
push rsi
push rbx
sub rsp, 0xe0
mov dword [rsp + 0x34], edx
mov r12d, edx
xor edx, edx
mov r13d, ecx
mov word [rsp + 0x5a], dx
mov esi, r8d
lea rdx, [rsp + 0x5c]
xor r8d, r8d
lea rcx, [0x1004083bb]
lea rbx, [rsp + 0x30]
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0x89000002
lea r14, [rsp + 0x50]
mov qword [rsp + 0x52], 0x1001000
call dbg.name_mangle
xor edx, edx
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x7e], 0x1002100
call sym.gettimeofday
mov r8, qword [rsp + 0x48]
movzx ecx, word [rsp + 0x40]
xor r9d, r9d
movabs rdx, 0x20c49ba5e353f7cf
mov dword [rsp + 0x28], 0x10
mov rax, r8
sub ecx, esi
sar r8, 0x3f
mov qword [rsp + 0x20], rbx
imul rdx
imul cx, cx, 0x3e8
sar rdx, 7
sub rdx, r8
mov r8d, 0x32
lea eax, [rcx + rdx]
mov rdx, r14
mov ecx, r13d
xchg ah, al
mov word [rsp + 0x50], ax
call sym.sendto
cmp eax, 0xffffffff
je 0x1004026d0
add rsp, 0xe0
pop rbx
pop rsi
pop r12
pop r13
pop r14
ret
mov ecx, r12d
lea r12, [rsp + 0x90]
call sym.inet_ntoa
lea r8, str._s_tSendto_failed
mov edx, 0x50
mov rcx, r12
mov r9, rax
call sym.snprintf
mov rax, qword [0x100408720]
mov eax, dword [rax]
test eax, eax
je 0x100402720
mov eax, 0xffffffff
add rsp, 0xe0
pop rbx
pop rsi
pop r12
pop r13
pop r14
ret
mov rcx, r12
call sym.perror
jmp 0x100402704

Function at 0x100402ca0
Capabilities:
Terminate process

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov r15d, ecx
mov ebp, ecx
mov ecx, 0x64
mov r12d, edx
mov rdi, r8
call sym.malloc
mov r14, rax
test rax, rax
je 0x100402d4c
lea r13, str.__MSBROWSE__
xor esi, esi
mov rbx, r13
jmp 0x100402cec
add esi, 1
add rbx, 0x20
cmp esi, 0x23
je 0x100402d20
mov rdx, rbx
mov rcx, rdi
call sym.strstr
test rax, rax
je 0x100402ce0
cmp byte [rbx + 0x10], bpl
jne 0x100402ce0
cmp dword [rbx + 0x14], r12d
jne 0x100402ce0
movsxd rsi, esi
shl rsi, 5
mov r14, qword [r13 + rsi + 0x18]
jmp 0x100402d38
movzx r9d, r15b
lea r8, str.Unknown_service__code__x_
mov edx, 0x64
mov rcx, r14
call sym.snprintf
mov rax, r14
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, str.Malloc_failed._n
call sym.perror
mov ecx, 1
call sym.exit
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x100402db0
Capabilities:
Terminate process

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov rbx, rcx
mov rdi, rdx
call sym.strlen
lea rcx, [rax + 1]
mov rsi, rax
call sym.malloc
mov r12, rax
test rax, rax
je 0x100402edb
cmp rsi, 0x13
ja 0x100402ea8
mov edx, 0x2f
mov rcx, rbx
call sym.strchr
test rax, rax
je 0x100402ea0
lea rsi, [rax + 1]
mov rcx, rsi
call sym.atoi
movsxd r13, eax
lea rax, [r13 - 1]
cmp rax, 0x1f
ja 0x100402ea8
mov rdx, rbx
mov rcx, r12
sub rbx, rsi
call sym.strcpy
mov eax, ebx
mov rcx, r12
neg eax
cmovs eax, ebx
cdqe
mov byte [r12 + rax - 1], 0
call sym.inet_addr
cmp eax, 0xffffffff
je 0x100402ec0
cmp r13, 0x20
je 0x100402ed0
mov ecx, r13d
mov edx, 1
shl edx, cl
mov ecx, 0x40
sub ecx, r13d
sub edx, 1
shl edx, cl
movsxd rdx, edx
mov rcx, rdx
not rcx
bswap eax
mov eax, eax
and rdx, rax
or rax, rcx
mov rcx, r12
mov qword [rdi + 8], rax
mov qword [rdi], rdx
call fcn.100403460
mov eax, 1
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
mov rcx, r12
call fcn.100403460
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
mov eax, 0xffffffff
mov qword [rdi], rax
jmp 0x100402ea8
xor ecx, ecx
mov rdx, 0xffffffffffffffff
jmp 0x100402e70
mov rax, qword [0x100408720]
cmp dword [rax], 0
jne 0x100402ddf
lea rcx, [0x1004086d0]
call sym.perror
mov ecx, 1
call sym.exit
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x100402f60
Capabilities:
Terminate process

Disassembly:
push r13
push r12
push rsi
push rbx
sub rsp, 0x28
mov r13, rcx
mov rbx, rdx
call sym.strlen
lea rsi, [rax + 1]
mov rcx, rsi
call sym.malloc
mov r12, rax
test rax, rax
je 0x10040301d
mov rdx, r13
mov rcx, r12
mov r8, rsi
call sym.memcpy
mov edx, 0x2d
mov rcx, r12
call sym.strchr
test rax, rax
je 0x100403008
mov byte [rax], 0
lea rcx, [rax + 1]
call sym.atoi
mov rcx, r12
movsxd rsi, eax
cmp rsi, 0xff
ja 0x10040300b
call sym.inet_addr
cmp eax, 0xffffffff
je 0x100403008
bswap eax
mov edx, eax
and eax, 0xffffff00
mov rcx, r12
or rax, rsi
mov qword [rbx], rdx
mov qword [rbx + 8], rax
cmp rax, rdx
jb 0x10040300b
call fcn.100403460
mov eax, 1
add rsp, 0x28
pop rbx
pop rsi
pop r12
pop r13
ret
mov rcx, r12
call fcn.100403460
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
pop r12
pop r13
ret
mov rax, qword [0x100408720]
cmp dword [rax], 0
jne 0x100402f8d
lea rcx, [0x1004086d0]
call sym.perror
mov ecx, 1
call sym.exit
nop
nop word cs:[rax + rax]
nop

Function at 0x100403050
Capabilities:
Terminate process

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
mov ecx, 4
call sym.malloc
mov r12, rax
test rax, rax
je 0x1004030ae
mov ebx, dword [rsi]
nop
bswap ebx
mov ecx, ebx
mov dword [r12], ebx
call sym.inet_ntoa
mov rcx, rax
bswap ebx
call sym.puts
mov ebx, ebx
cmp rbx, qword [rsi + 8]
jb 0x1004030a8
mov rcx, r12
call fcn.100403460
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop r12
ret
add rbx, 1
jmp 0x100403070
mov rax, qword [0x100408720]
cmp dword [rax], 0
jne 0x10040306d
lea rcx, [0x1004086d0]
call sym.perror
mov ecx, 1
call sym.exit
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x1004030e0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
lea rcx, str.Malloc_failed
call sym.perror
mov ecx, 1
call sym.exit
nop
nop dword [rax + rax]

Function at 0x100403100
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
mov ecx, 8
call sym.malloc
test rax, rax
je 0x10040311f
mov qword [rax], 0
add rsp, 0x28
ret
mov rdx, qword [0x100408720]
cmp dword [rdx], 0
jne 0x100403113
lea rcx, str.Malloc_failed
call sym.perror
mov ecx, 1
call sym.exit
nop
nop word cs:[rax + rax]
nop dword [rax]
Function at 0x140001010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x14002b410]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x14002b420]
mov dword [rax], 1
mov rax, qword [0x14002b430]
mov dword [rax], 1
mov rax, qword [0x14002b400]
mov dword [rax], 1
mov rax, qword [0x14002b2c0]
cmp word [rax], 0x5a4d
jne 0x140001067
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010d0
mov rax, qword [0x14002b3f0]
mov dword [0x140034020], ecx
mov eax, dword [rax]
test eax, eax
je 0x1400010c0
mov ecx, 2
call sym.__set_app_type
call sym.__p__fmode
mov rdx, qword [0x14002b3b0]
mov edx, dword [rdx]
mov dword [rax], edx
call sym.__p__commode
mov rdx, qword [0x14002b390]
mov edx, dword [rdx]
mov dword [rax], edx
call sym._setargv
mov rax, qword [0x14002b1e0]
cmp dword [rax], 1
je 0x140001108
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x140001084
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x140001120
cmp dx, 0x20b
jne 0x140001067
cmp dword [rax + 0x84], 0xe
jbe 0x140001067
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x140001067
mov rcx, qword [sym._matherr]
call sym.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x140001067
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x140001067

Function at 0x140003e00
Capabilities:
Write file on windows

Disassembly:
push r12
push rbx
sub rsp, 0x38
mov r12, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call sym.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rbx, qword [rsp + 0x28]
mov ecx, 2
call sym.__acrt_iob_func
mov rdx, r12
mov rcx, rax
mov r8, rbx
call sym.vfprintf
call sym.abort
nop
nop word [rax + rax]