joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140020320
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rcx
push rdi
sub rsp, 0x30
movsxd rax, edx
mov rdi, rcx
dec rax
mov qword [r11 + 0x18], rbp
mov rbp, r9
xor r9d, r9d
lea rax, [rcx + rax*2]
mov qword [rsp + 8], rax
cmp rcx, rax
jae 0x140020549
mov qword [r11 + 0x20], rsi
lea rsi, [0x140000000]
mov qword [r11 + 0x10], rbx
mov qword [r11 - 0x10], r12
mov qword [r11 - 0x18], r13
mov qword [r11 - 0x20], r14
mov qword [r11 - 0x28], r15
mov qword [rsp], r8
test rbp, rbp
je 0x140020382
cmp r8, rbp
jae 0x140020526
movzx edx, byte [r8]
test dl, dl
je 0x140020526
mov eax, edx
mov rcx, rbp
shr rax, 3
movsx r9, byte [rax + rsi + 0xe2fb8]
xor eax, eax
test r9d, r9d
mov ebx, eax
sete bl
add ebx, r9d
test rbp, rbp
jne 0x1400203b8
movsxd rcx, ebx
add rcx, r8
cmp r8, rcx
mov r14d, edx
cmovae r14d, eax
lea rax, [r8 + 1]
cmp rax, rcx
jae 0x1400203d1
movzx r13d, byte [rax]
jmp 0x1400203d4
xor r13b, r13b
lea rax, [r8 + 2]
cmp rax, rcx
jae 0x1400203e3
movzx r12d, byte [rax]
jmp 0x1400203e6
xor r12b, r12b
lea rax, [r8 + 3]
cmp rax, rcx
jae 0x1400203f5
movzx r15d, byte [rax]
jmp 0x1400203f8
xor r15b, r15b
lea r11, [r9*4]
movzx eax, r14b
mov esi, dword [r11 + rsi + 0xe2fd8]
and esi, eax
movzx r9d, r13b
shl esi, 6
mov eax, r9d
and eax, 0x3f
movzx edx, r12b
or esi, eax
movzx r10d, r15b
shl esi, 6
and r9d, 0xc0
mov eax, edx
and edx, 0xc0
and eax, 0x3f
or esi, eax
mov eax, r10d
and eax, 0x3f
shr r10d, 2
or r10d, edx
shl esi, 6
or esi, eax
shr r10d, 2
or r10d, r9d
lea rax, [0x140000000]
mov ecx, dword [r11 + rax + 0xe3008]
shr r10d, 2
shr esi, cl
mov ecx, 0x100
cmp esi, dword [r11 + rax + 0xe2ff0]
sbb eax, eax
xor r9d, r9d
and eax, 0x40
mov edx, r9d
or r10d, eax
mov eax, esi
and eax, 0xfffff800
cmp eax, 0xd800
mov eax, 0x80
cmove edx, eax
mov eax, r9d
or r10d, edx
cmp esi, 0xffff
cmova eax, ecx
or r10d, eax
lea rax, [0x140000000]
mov ecx, dword [r11 + rax + 0xe3020]
xor r10d, 0x2a
sar r10d, cl
test r10d, r10d
je 0x140020503
test r14b, r14b
mov eax, r9d
mov ecx, r9d
mov esi, 0xfffd
setne cl
test r15b, r15b
setne al
add ecx, eax
mov eax, r9d
test r12b, r12b
setne al
add ecx, eax
mov eax, r9d
test r13b, r13b
setne al
add ecx, eax
cmp ebx, ecx
cmovl ecx, ebx
movsxd r8, ecx
add r8, qword [rsp]
jmp 0x14002050d
movsxd rax, ebx
add r8, rax
test esi, esi
je 0x140020526
mov word [rdi], si
add rdi, 2
lea rsi, [0x140000000]
cmp rdi, qword [rsp + 8]
jb 0x140020370
mov rcx, qword [rsp + 0x40]
mov r15, qword [rsp + 0x10]
mov r14, qword [rsp + 0x18]
mov r13, qword [rsp + 0x20]
mov r12, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x50]
mov word [rdi], r9w
test rax, rax
je 0x14002055f
mov qword [rax], r8
sub rdi, rcx
sar rdi, 1
mov eax, edi
add rsp, 0x30
pop rdi
ret
Function at 0x1400276f0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov r8, qword [0x140741670]
lea r10, [0x1400e22e0]
movsxd r9, ecx
mov rbx, qword [r8 + 0x3e28]
add rbx, 0xc8
movsxd rdx, dword [rbx]
mov rax, qword [rbx + 8]
mov edi, dword [rax + rdx*4 - 4]
not edi
movzx eax, r9b
movzx ecx, dil
xor rcx, rax
shr edi, 8
mov eax, r9d
shr eax, 8
movzx edx, al
mov eax, r9d
xor edi, dword [r10 + rcx*4]
movzx ecx, dil
xor rdx, rcx
shr edi, 8
shr eax, 0x10
xor edi, dword [r10 + rdx*4]
movzx ecx, dil
shr edi, 8
movzx edx, al
xor rdx, rcx
xor edi, dword [r10 + rdx*4]
movzx ecx, dil
shr edi, 8
mov edx, r9d
shr rdx, 0x18
xor rdx, rcx
xor edi, dword [r10 + rdx*4]
not edi
cmp dword [r8 + 0x3e5c], edi
jne 0x140027797
mov r8, r9
mov ecx, edi
xor r9d, r9d
lea edx, [r9 + 4]
call fcn.14001cba0
mov ecx, dword [rbx + 4]
mov r8d, dword [rbx]
cmp r8d, ecx
jne 0x1400277cb
inc r8d
test ecx, ecx
je 0x1400277b4
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1400277b9
mov eax, 8
cmp eax, r8d
mov rcx, rbx
cmovg r8d, eax
mov edx, r8d
call fcn.14002fdd0
movsxd rcx, dword [rbx]
mov rax, qword [rbx + 8]
mov dword [rax + rcx*4], edi
inc dword [rbx]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1400445a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x38
mov rax, qword [0x140741670]
mov rcx, qword [rax + 0x4288]
mov r10, qword [rax + 0x3e28]
movsxd rax, dword [rcx + 0x7c]
movups xmm0, xmmword [rcx + 0x174]
movss xmm4, dword [rcx + 0x174]
movss xmm3, dword [rcx + 0x178]
movss xmm2, dword [rcx + 0x17c]
movss xmm1, dword [rcx + 0x180]
movss dword [rsp + 0x20], xmm4
movss dword [rsp + 0x24], xmm3
movss dword [rsp + 0x28], xmm2
movss dword [rsp + 0x2c], xmm1
imul r9, rax, 0x68
mov rax, qword [r10 + 0x270]
add r9, qword [rcx + 0x18]
movups xmmword [r10 + 0x210], xmm0
movss dword [rax + 0x88], xmm4
movss dword [rax + 0x8c], xmm3
movss dword [rax + 0x90], xmm2
movss dword [rax + 0x94], xmm1
mov rax, qword [r10 + 0x270]
movups xmm0, xmmword [rsp + 0x20]
movsxd r8, dword [rax + 0x58]
mov rdx, qword [rax + 0x60]
add r8, r8
movups xmmword [rdx + r8*8 - 0x10], xmm0
movzx r8d, byte [r9 + 0x57]
mov rdx, qword [r10 + 0x270]
mov rcx, qword [rcx + 0x1a8]
add rsp, 0x38
jmp 0x140039250

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

Disassembly:
sub rsp, 0x38
mov rax, qword [0x140741670]
mov rcx, qword [rax + 0x4288]
mov r9, qword [rax + 0x3e28]
movups xmm0, xmmword [r9 + 0x210]
movups xmmword [rcx + 0x174], xmm0
mov rax, qword [r9 + 0x270]
movups xmm0, xmmword [rcx + 0x154]
movss xmm4, dword [rcx + 0x154]
movss xmm3, dword [rcx + 0x158]
movss xmm2, dword [rcx + 0x15c]
movss xmm1, dword [rcx + 0x160]
movups xmmword [r9 + 0x210], xmm0
movss dword [rsp + 0x20], xmm4
movss dword [rsp + 0x24], xmm3
movss dword [rsp + 0x28], xmm2
movss dword [rsp + 0x2c], xmm1
movss dword [rax + 0x88], xmm4
movss dword [rax + 0x8c], xmm3
movss dword [rax + 0x90], xmm2
movss dword [rax + 0x94], xmm1
mov rax, qword [r9 + 0x270]
movups xmm0, xmmword [rsp + 0x20]
movsxd r8, dword [rax + 0x58]
mov rdx, qword [rax + 0x60]
add r8, r8
movups xmmword [rdx + r8*8 - 0x10], xmm0
movzx r8d, byte [rcx + 0x1f7]
mov rcx, qword [rcx + 0x1a8]
mov rdx, qword [r9 + 0x270]
add rsp, 0x38
jmp 0x140039250
Function at 0x1400470f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0x90
mov rax, qword [0x140740ee8]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov r8, rcx
mov ebx, edx
movzx ecx, byte [rcx]
test cl, cl
je 0x140047136
lea rax, [r8 + 1]
cmp cl, 0x25
jne 0x140047126
cmp byte [rax], cl
jne 0x140047136
cmp cl, cl
cmovne rax, r8
movzx ecx, byte [rax + 1]
lea r8, [rax + 1]
test cl, cl
jne 0x140047117
movzx edx, byte [r8]
cmp dl, 0x25
jne 0x14004729a
cmp byte [r8 + 1], dl
je 0x14004729a
lea r11, [rsp + 0x20]
mov r9, r8
lea eax, [rdx - 0x41]
movsx r10d, dl
cmp al, 0x19
ja 0x140047172
lea ecx, [r10 - 0x41]
mov eax, 1
shl eax, cl
test eax, 0x900
je 0x14004719a
sub dl, 0x61
cmp dl, 0x19
ja 0x14004718c
lea ecx, [r10 - 0x61]
mov eax, 1
shl eax, cl
test eax, 0x2480a80
je 0x14004719a
movzx edx, byte [r9 + 1]
inc r9
test dl, dl
jne 0x140047155
jmp 0x14004719d
inc r9
cmp r8, r9
jae 0x1400471cf
movabs rdx, 0x800000000000009
nop dword [rax]
movzx ecx, byte [r8]
inc r8
lea eax, [rcx - 0x24]
cmp al, 0x3b
ja 0x1400471c4
bt rdx, rax
jb 0x1400471ca
mov byte [r11], cl
inc r11
cmp r8, r9
jb 0x1400471b0
xorps xmm3, xmm3
mov byte [r11], 0
cvtss2sd xmm3, xmm2
lea r8, [rsp + 0x20]
mov edx, 0x40
lea rcx, [rsp + 0x40]
movq r9, xmm3
call fcn.14001fc10
cmp byte [rsp + 0x40], 0x20
lea rcx, [rsp + 0x40]
jne 0x140047208
nop
inc rcx
cmp byte [rcx], 0x20
je 0x140047200
lea eax, [rbx - 8]
cmp eax, 1
jbe 0x140047288
movzx r9d, byte [rcx]
movzx r8d, r9b
cmp r9b, 0x2d
jne 0x140047223
movzx r8d, byte [rcx + 1]
lea rdx, [rcx + 1]
movzx eax, r8b
cmovne rdx, rcx
cmp r8b, 0x2b
jne 0x140047239
movzx eax, byte [rdx + 1]
lea rcx, [rdx + 1]
xorps xmm1, xmm1
cmovne rcx, rdx
cmp al, 0x30
jl 0x140047276
movss xmm2, dword [0x1400e30b8]
cmp al, 0x39
ja 0x140047276
movzx eax, al
inc rcx
sub eax, 0x30
mulss xmm1, xmm2
movd xmm0, eax
movzx eax, byte [rcx]
cvtdq2ps xmm0, xmm0
addss xmm0, xmm1
movaps xmm1, xmm0
cmp al, 0x30
jge 0x140047250
cmp r9b, 0x2d
jne 0x140047295
xorps xmm1, xmmword [0x1400e3140]
movaps xmm0, xmm1
jmp 0x14004729d
call qword [0x1400df9b8]
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movaps xmm0, xmm1
jmp 0x14004729d
movaps xmm0, xmm2
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14008d530
add rsp, 0x90
pop rbx
ret
Function at 0x1400472c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0x90
mov rax, qword [0x140740ee8]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov r8, rcx
mov ebx, edx
movzx ecx, byte [rcx]
test cl, cl
je 0x140047306
lea rax, [r8 + 1]
cmp cl, 0x25
jne 0x1400472f6
cmp byte [rax], cl
jne 0x140047306
cmp cl, cl
cmovne rax, r8
movzx ecx, byte [rax + 1]
lea r8, [rax + 1]
test cl, cl
jne 0x1400472e7
movzx edx, byte [r8]
cmp dl, 0x25
jne 0x140047464
cmp byte [r8 + 1], dl
je 0x140047464
lea r11, [rsp + 0x20]
mov r9, r8
lea eax, [rdx - 0x41]
movsx r10d, dl
cmp al, 0x19
ja 0x140047342
lea ecx, [r10 - 0x41]
mov eax, 1
shl eax, cl
test eax, 0x900
je 0x14004736a
sub dl, 0x61
cmp dl, 0x19
ja 0x14004735c
lea ecx, [r10 - 0x61]
mov eax, 1
shl eax, cl
test eax, 0x2480a80
je 0x14004736a
movzx edx, byte [r9 + 1]
inc r9
test dl, dl
jne 0x140047325
jmp 0x14004736d
inc r9
cmp r8, r9
jae 0x14004739f
movabs rdx, 0x800000000000009
nop dword [rax]
movzx ecx, byte [r8]
inc r8
lea eax, [rcx - 0x24]
cmp al, 0x3b
ja 0x140047394
bt rdx, rax
jb 0x14004739a
mov byte [r11], cl
inc r11
cmp r8, r9
jb 0x140047380
movaps xmm3, xmm2
mov byte [r11], 0
movq r9, xmm2
lea r8, [rsp + 0x20]
mov edx, 0x40
lea rcx, [rsp + 0x40]
call fcn.14001fc10
cmp byte [rsp + 0x40], 0x20
lea rcx, [rsp + 0x40]
jne 0x1400473d8
nop dword [rax + rax]
inc rcx
cmp byte [rcx], 0x20
je 0x1400473d0
lea eax, [rbx - 8]
cmp eax, 1
jbe 0x140047456
movzx r9d, byte [rcx]
movzx r8d, r9b
cmp r9b, 0x2d
jne 0x1400473f3
movzx r8d, byte [rcx + 1]
lea rdx, [rcx + 1]
movzx eax, r8b
cmovne rdx, rcx
cmp r8b, 0x2b
jne 0x140047409
movzx eax, byte [rdx + 1]
lea rcx, [rdx + 1]
xorps xmm1, xmm1
cmovne rcx, rdx
cmp al, 0x30
jl 0x140047444
movsd xmm2, qword [0x1400fac98]
cmp al, 0x39
ja 0x140047444
movzx eax, al
inc rcx
sub eax, 0x30
mulsd xmm1, xmm2
movd xmm0, eax
movzx eax, byte [rcx]
cvtdq2pd xmm0, xmm0
addsd xmm1, xmm0
cmp al, 0x30
jge 0x140047420
cmp r9b, 0x2d
jne 0x14004745f
xorps xmm1, xmmword [0x1400fad20]
movaps xmm0, xmm1
jmp 0x140047467
call qword [0x1400df9b8]
movaps xmm1, xmm0
movaps xmm0, xmm1
jmp 0x140047467
movaps xmm0, xmm2
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14008d530
add rsp, 0x90
pop rbx
ret
Function at 0x140071b00
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x440
mov rax, qword [0x140740ee8]
xor rax, rsp
mov qword [rsp + 0x430], rax
mov rdi, rcx
mov qword [rsp + 0x28], rcx
mov ecx, edx
mov ebx, edx
mov edx, dword [0x1407403e8]
xor esi, esi
sar ecx, 0x10
add rdx, 0x10
shl ecx, 3
add rcx, qword [0x140741c30]
add rcx, rdx
call fcn.14005c150
mov rcx, rax
movzx eax, bx
lea rbx, [rcx + rax*4]
mov rcx, rbx
call fcn.14005be90
movzx r11d, ax
shr r11d, 6
test r11d, r11d
je 0x140071c71
mov r8, qword [0x140741708]
mov r9d, esi
mov qword [rsp + 0x470], rbp
mov edx, esi
movabs rbp, 0xefffffffeffff
mov r10d, r11d
nop
mov ecx, r9d
add rcx, 4
add rcx, rbx
je 0x140071bed
lea rax, [rcx - 0x10000]
cmp rax, rbp
ja 0x140071bed
mov qword [r8 + 0x10], rcx
mov rax, qword [0x140741708]
mov qword [rax + 0x40], 1
mov rax, qword [0x140741708]
mov dword [rax + 4], 1
mov rax, qword [0x140741708]
mov dword [rax], esi
mov rax, qword [0x140741708]
mov ecx, dword [rax]
test ecx, ecx
je 0x140071bd2
mov r8, qword [0x140741708]
movzx eax, byte [r8 + 0x18]
jmp 0x140071bef
xor al, al
mov byte [rsp + rdx + 0x30], al
inc r9d
inc rdx
cmp rdx, r10
jl 0x140071b90
mov rbp, qword [rsp + 0x470]
lea rdx, [rsp + 0x30]
dec rdx
mov r8d, esi
mov ecx, 0x10
nop word [rax + rax]
mov eax, r8d
lea rdx, [rdx + 1]
or eax, 0xb000
inc r8d
add ecx, eax
movzx eax, byte [rdx]
not al
xor al, cl
shr ecx, 2
mov byte [rdx], al
cmp r8d, r11d
jl 0x140071c20
xorps xmm0, xmm0
mov byte [rsp + r11 + 0x30], sil
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rsi
lea rax, [rsp + 0x30]
mov qword [rdi + 0x18], rsi
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], sil
jne 0x140071c61
lea rdx, [rsp + 0x30]
jmp 0x140071c89
xorps xmm0, xmm0
lea rdx, [0x1400fad53]
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rsi
xor r8d, r8d
mov qword [rdi + 0x18], rsi
mov rcx, rdi
call fcn.14005a910
mov rax, rdi
mov rcx, qword [rsp + 0x430]
xor rcx, rsp
call fcn.14008d530
add rsp, 0x440
pop rdi
pop rsi
pop rbx
ret
Function at 0x140088720
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x48
mov rax, qword [0x140740ee8]
xor rax, rsp
mov qword [rsp + 0x30], rax
call fcn.140042040
call fcn.140043130
call fcn.140025c90
mov ecx, dword [0x14074045c]
call qword [0x1400df710]
test ax, ax
je 0x140088844
movzx ecx, byte [0x140741c9a]
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x40], rdi
test cl, cl
jne 0x140088775
mov byte [0x140741c9a], 1
jmp 0x140088785
xor edx, edx
mov eax, ecx
cmp cl, 1
cmove eax, edx
mov byte [0x140741c9a], al
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop word [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x140088817
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x140088817
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x6e457176
lea rcx, [rdi + r9*4]
mov edx, dword [rcx + r10]
add rdx, r10
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x140088812
nop
movsx ecx, cl
lea rdx, [rdx + 1]
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx - 1]
test cl, cl
jne 0x1400887f0
cmp r8d, 0x29b07519
je 0x14008881c
test r9d, r9d
jne 0x1400887d0
mov rax, qword [rax]
jmp 0x1400887a0
mov ecx, dword [rbx + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
mov ecx, 0xc8
add rax, r10
call rax
mov rdi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x50]
cmp byte [0x140741c9a], 0
je 0x140088852
call fcn.14007d8a0
call fcn.140060340
call fcn.140027b40
mov rcx, qword [0x140741740]
lea r8, [0x140741750]
xorps xmm0, xmm0
xor r9d, r9d
movups xmmword [rsp + 0x20], xmm0
mov rax, qword [rcx]
lea edx, [r9 + 1]
call qword [rax + 0x108]
mov rcx, qword [0x140741740]
lea r8, [rsp + 0x20]
mov rdx, qword [0x140741750]
mov rax, qword [rcx]
call qword [rax + 0x190]
call fcn.14001ec20
mov rcx, rax
call fcn.140042080
mov rcx, qword [0x140741748]
xor r8d, r8d
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x40]
mov rcx, qword [0x140741748]
xor r8d, r8d
cmp byte [0x1407283f5], r8b
mov rax, qword [rcx]
je 0x1400888ec
lea edx, [r8 + 1]
call qword [rax + 0x40]
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14008d530
add rsp, 0x48
ret
xor edx, edx
call qword [rax + 0x40]
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14008d530
add rsp, 0x48
ret
Function at 0x14008e3a0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [0x1400df320]
test rax, rax
je 0x14008e3ea
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14008e3ea
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14008e3ea
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14008e3ea
cmp dword [rcx + 0x84], 0xe
jbe 0x14008e3ea
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14008e3ec
xor al, al
add rsp, 0x28
ret
Function at 0x1400c1750
Capabilities:
Check http status code

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x30
xor ebx, ebx
lea eax, [rdx - 0xc8]
mov rdi, rcx
mov rcx, qword [rcx]
mov esi, r8d
cmp eax, 0x64
jb 0x1400c1785
lea rdx, str.Couldnt_set_desired_mode
call fcn.1400a2b90
lea eax, [rbx + 0x11]
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret
cmp edx, 0xc8
je 0x1400c179c
mov r8d, edx
lea rdx, str.Got_a__03d_response_code_instead_of_the_assumed_200_n
call fcn.1400a2d10
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x60], r14
cmp esi, 0x13
jne 0x1400c17b8
mov rcx, rdi
call fcn.1400c1690
jmp 0x1400c18ef
cmp esi, 0x14
jne 0x1400c18d1
mov rsi, qword [rdi]
mov rbp, rbx
cmp dword [rsi + 0xba0], 2
jne 0x1400c1839
mov rax, qword [rsi + 0x1e0]
mov rdx, qword [rax]
test rdx, rdx
je 0x1400c1839
mov byte [rsp + 0x28], 1
lea r9, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x20], rbx
mov rcx, rsi
mov qword [rsp + 0x50], rbx
call fcn.1400b9240
test eax, eax
jne 0x1400c18ef
mov rcx, qword [rsp + 0x50]
lea edx, [rax + 0x2f]
call fcn.1400dc403
test rax, rax
je 0x1400c182e
mov rbp, qword [rsp + 0x50]
mov ecx, 1
sub rax, rbp
cmovne rcx, rax
mov byte [rcx + rbp], bl
jmp 0x1400c1839
mov rcx, qword [rsp + 0x50]
call qword [fcn.1400dc409]
mov rdx, qword [rsi + 0xc08]
test rdx, rdx
jne 0x1400c185d
cmp byte [rsi + 0xf0d], bl
lea rax, str.NLST
lea rdx, str.LIST
cmovne rdx, rax
lea r8, [0x14070d863]
test rbp, rbp
mov r9, r8
lea rax, [0x14070da84]
cmovne r9, rbp
lea rcx, [0x140703888]
cmovne r8, rax
call fcn.1400a5fd0
mov rcx, rbp
mov r14, rax
call qword [fcn.1400dc409]
test r14, r14
jne 0x1400c189c
lea ebx, [r14 + 0x1b]
jmp 0x1400c18f1
lea rcx, [rdi + 0xa00]
mov r8, r14
lea rdx, [0x140708010]
call fcn.1400d79f0
mov rcx, r14
mov esi, eax
call qword [fcn.1400dc409]
test esi, esi
je 0x1400c18c5
mov ebx, esi
jmp 0x1400c18f1
mov dword [rdi + 0xab8], 0x1f
jmp 0x1400c18f1
cmp esi, 0x15
jne 0x1400c18dc
lea r8d, [rsi - 8]
jmp 0x1400c18e5
cmp esi, 0x16
jne 0x1400c18f1
lea r8d, [rsi - 8]
mov dl, 1
mov rcx, rdi
call fcn.1400c11c0
mov ebx, eax
mov r14, qword [rsp + 0x60]
mov eax, ebx
mov rbp, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400dc270
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ebp, r8d
mov r14, rdx
lea ecx, [rax + rax]
mov eax, dword [rbx + 0x20]
add rax, 0x18
add rcx, rax
call qword [fcn.1400dc40f]
mov rdi, rax
test rax, rax
jne 0x1400dc2b2
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x1400dc2f9
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + 8]
mov r14d, dword [rbx + 0x18]
add r14, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, r14
call qword [rbx + 0x10]
mov rcx, qword [rdi + 8]
mov ebp, dword [rbx + 0x20]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test rbp, rbp
je 0x1400dc352
mov rsi, rbp
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + 8]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rdi + 0x10]
call qword [rbx + 8]
sub rbp, 1
jne 0x1400dc310
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x1400dc393
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x14070d81a]
mov r8d, 1
call qword [rbx + 8]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x14070d81b]
mov r8d, 1
call qword [rbx + 8]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x1400dc360
mov rsi, qword [rsp + 0x48]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
Function at 0x140004bb0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x14002b010]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x140004bdd
xor eax, eax
jmp 0x140004d49
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140004c17
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140004c17
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x140004d49
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x140004d3c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140004c5a
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x140004c85
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140004d41
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140004cf4
sub eax, 1
je 0x140004cf4
cmp eax, 2
jne 0x140004d3c
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140004d41
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140004d22
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x140004d3c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140004d41
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14001de70
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x140005c70
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x14002b010]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140005d43
cmp byte [rcx + 0x71], 0
je 0x140005d43
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x140005d3f
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140005d04
sub eax, 1
je 0x140005d08
cmp eax, 2
jne 0x140005d3f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14001de70
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140005d36
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x140005d3f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x140005cec
xor al, al
jmp 0x140005cec
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14001de70
add rsp, 0x60
pop rbx
ret