joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140054d00
Capabilities:
Enumerate files on windows

Disassembly:
mov r11, rsp
push rbp
push rsi
push r14
sub rsp, 0x280
mov rax, qword [0x1401b5030]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov r14, rdx
mov qword [r11 + 0x18], rbx
mov rbp, rcx
mov qword [r11 + 0x20], rdi
mov rcx, r14
mov edx, 0x444
call qword [sym.imp.USER32.dll_GetDlgItem]
mov r8d, 0x104
lea rdx, [rsp + 0x160]
xor ecx, ecx
mov rsi, rax
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x140054e37
lea edx, [rbx + 0x5c]
lea rcx, [rsp + 0x160]
call fcn.14011f744
test rax, rax
je 0x140054e37
mov byte [rax], bl
mov rcx, 0xffffffffffffffff
lea rax, [rsp + 0x160]
nop dword [rax]
cmp byte [rax + rcx + 1], bl
lea rcx, [rcx + 1]
jne 0x140054d90
lea rax, [rsp + 0x160]
cmp byte [rcx + rax - 1], 0x5c
je 0x140054dc2
lea r8, [0x1401987b4]
mov edx, 0x104
lea rcx, [rsp + 0x160]
call fcn.1401220fc
lea r8, str..dsm
mov edx, 0x104
lea rcx, [rsp + 0x160]
call fcn.1401220fc
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x160]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140054e37
nop word [rax + rax]
lea r9, [rsp + 0x4c]
xor r8d, r8d
mov edx, 0x143
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageA]
lea rdx, [rsp + 0x20]
mov rcx, rdi
inc ebx
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x140054e00
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
test ebx, ebx
jne 0x140054e4f
lea r9, [0x1402bec90]
xor r8d, r8d
mov edx, 0x143
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageA]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x14e
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageA]
mov edx, 0x446
mov rcx, r14
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_EnableWindow]
movzx ebx, byte [rbp + 0x2d5]
mov edx, 0x444
mov rcx, r14
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
mov edx, ebx
call qword [sym.imp.USER32.dll_EnableWindow]
mov rdi, qword [rsp + 0x2b8]
lea r9, [rbp + 0x2d6]
cmp byte [r9], 0
mov rbx, qword [rsp + 0x2b0]
je 0x140054f2f
cmp byte [rbp + 0x2d5], 0
je 0x140054f2f
mov edx, 0x158
mov r8, 0xffffffffffffffff
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0xffffffff
je 0x140054f2f
movsxd r8, eax
xor r9d, r9d
mov edx, 0x14e
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageA]
mov edx, 0x442
mov rcx, r14
call qword [sym.imp.USER32.dll_GetDlgItem]
xor r9d, r9d
mov edx, 0xf1
mov rcx, rax
lea r8d, [r9 + 1]
call qword [sym.imp.USER32.dll_SendMessageA]
mov edx, 0x446
mov rcx, r14
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
mov edx, 1
call qword [sym.imp.USER32.dll_EnableWindow]
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.14011b0c0
add rsp, 0x280
pop r14
pop rsi
pop rbp
ret
Function at 0x1400551b0
Capabilities:
Read .ini file

Disassembly:
mov r11, rsp
push rbp
sub rsp, 0x160
mov rax, qword [0x1401b5030]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov rax, rdx
mov qword [r11 + 0x18], rbx
mov rbp, rcx
mov qword [r11 - 0x10], rdi
mov rcx, rax
mov qword [r11 - 0x18], r14
mov edx, 0x3e8
call qword [sym.imp.USER32.dll_GetDlgItem]
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
mov edx, 0x14b
mov r14, rax
call qword [sym.imp.USER32.dll_SendMessageA]
mov rdx, qword [rbp + 0x210]
mov rbx, 0xffffffffffffffff
mov rcx, rbx
xor edi, edi
nop word [rax + rax]
inc rcx
cmp byte [rdx + rcx + 8], dil
jne 0x140055220
test ecx, ecx
jle 0x1400552ed
mov qword [rsp + 0x188], rsi
mov rsi, rdi
nop dword [rax]
mov rax, rbx
inc rax
cmp byte [rdx + rax + 8], 0
jne 0x140055243
dec eax
cmp edi, eax
jg 0x140055293
movzx eax, byte [rdx + rsi + 8]
lea r9, [rsp + 0x40]
mov byte [rsp + 0x30], al
lea r8, [0x14019581a]
lea rax, [rdx + 0x110]
mov byte [rsp + 0x31], 0
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x30]
lea rcx, str.connection
mov dword [rsp + 0x20], 0xff
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea rcx, [rsp + 0x40]
mov rax, rbx
nop dword [rax + rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x1400552a0
test rax, rax
je 0x1400552c4
lea r9, [rsp + 0x40]
xor r8d, r8d
mov edx, 0x143
mov rcx, r14
call qword [sym.imp.USER32.dll_SendMessageA]
mov rdx, qword [rbp + 0x210]
inc edi
inc rsi
mov rax, rbx
inc rax
cmp byte [rdx + rax + 8], 0
jne 0x1400552d3
cmp edi, eax
jl 0x140055240
mov rsi, qword [rsp + 0x188]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x14e
mov rcx, r14
call qword [sym.imp.USER32.dll_SendMessageA]
mov rdx, qword [rbp + 0x210]
mov r14, qword [rsp + 0x150]
mov rdi, qword [rsp + 0x158]
nop dword [rax + rax]
inc rbx
cmp byte [rdx + rbx + 8], 0
jne 0x140055320
cmp ebx, 1
mov rbx, qword [rsp + 0x180]
js 0x140055376
movzx eax, byte [rdx + 8]
lea r9, [rsp + 0x40]
mov byte [rsp + 0x30], al
lea r8, [0x14019581a]
lea rax, [rdx + 0x110]
mov byte [rsp + 0x31], 0
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x30]
lea rcx, str.connection
mov dword [rsp + 0x20], 0xff
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea rdx, [rsp + 0x40]
mov rcx, rbp
call fcn.140057dd0
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.14011b0c0
add rsp, 0x160
pop rbp
ret
Function at 0x1400562d0
Capabilities:
Create directory
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x950
mov rax, qword [0x1401b5030]
xor rax, rsp
mov qword [rsp + 0x940], rax
movzx ebx, r8b
mov rdi, rdx
mov rsi, rcx
call fcn.140056540
mov ecx, dword [rsi + 8]
lea r8, [rsi + 0x13]
lea rdx, str._.15s__d.vnc
lea eax, [rcx - 0x170d]
lea r9d, [rcx - 0x170c]
cmp eax, 0x62
cmova r9d, ecx
lea rcx, [rsp + 0x130]
call fcn.14002d8e0
xor r9d, r9d
lea rdx, [rsp + 0x20]
xor ecx, ecx
lea r8d, [r9 + 0x1a]
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea r8, str.UltraVNC
mov edx, 0x104
lea rcx, [rsp + 0x20]
call fcn.1401220fc
lea rcx, [rsp + 0x20]
call fcn.14012e6b0
test bl, bl
je 0x1400564b4
xorps xmm0, xmm0
lea rcx, [0x1402c0bf0]
xor eax, eax
mov qword [0x1402c0c80], rax
lea rax, str.VNC_files__.vnc_
movups xmmword [0x1402c0c50], xmm0
mov dword [0x1402c0c50], 4
movups xmmword [0x1402c0c20], xmm0
mov dword [0x1402c0c28], 0x104
movups xmmword [0x1402c0c30], xmm0
mov dword [0x1402c0c38], 0x200
movups xmmword [0x1402c0bf0], xmm0
mov dword [0x1402c0bf0], 0x88
movups xmmword [0x1402c0c00], xmm0
mov qword [0x1402c0c08], rax
lea rax, [0x140198260]
mov qword [0x1402c0c58], rax
lea rax, [rsp + 0x130]
mov qword [0x1402c0c20], rax
lea rax, [rsp + 0x340]
mov qword [0x1402c0c30], rax
lea rax, [rsp + 0x20]
movups xmmword [0x1402c0c40], xmm0
mov qword [0x1402c0c40], rax
movups xmmword [0x1402c0c10], xmm0
mov qword [0x1402c0bf8], rdi
movups xmmword [0x1402c0c60], xmm0
movups xmmword [0x1402c0c70], xmm0
call qword [sym.imp.COMDLG32.dll_GetSaveFileNameA]
test eax, eax
jne 0x1400564aa
call qword [sym.imp.COMDLG32.dll_CommDlgExtendedError]
test eax, eax
je 0x140056518
cmp eax, 0x3002
je 0x140056471
mov r9d, eax
lea r8, str.Error__d_from_GetSaveFileName_n
xor edx, edx
lea rcx, vtable.Log.0
call fcn.1400153f0
jmp 0x140056518
lea r8, [0x1402be250]
mov edx, 0x400
lea rcx, [rsp + 0x540]
call fcn.14012209c
mov r9d, 0x50010
lea r8, [0x1402be150]
lea rdx, [rsp + 0x540]
mov rcx, rdi
call qword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x140056518
lea rdx, [rsp + 0x130]
jmp 0x1400564e6
lea r8, [0x1401987b4]
mov edx, 0x104
lea rcx, [rsp + 0x20]
call fcn.1401220fc
lea r8, [rsp + 0x130]
mov edx, 0x104
lea rcx, [rsp + 0x20]
call fcn.1401220fc
lea rdx, [rsp + 0x20]
xor r8d, r8d
mov rcx, rsi
call fcn.1400566d0
mov r9d, 0x100
lea r8, [rsp + 0x240]
mov edx, 0x3e8
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetDlgItemTextA]
mov rdx, rdi
mov rcx, rsi
call fcn.1400551b0
mov rcx, qword [rsp + 0x940]
xor rcx, rsp
call fcn.14011b0c0
lea r11, [rsp + 0x950]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140057dd0
Capabilities:
Get common file path

Disassembly:
mov r11, rsp
push r14
sub rsp, 0x370
mov rax, qword [0x1401b5030]
xor rax, rsp
mov qword [rsp + 0x350], rax
mov qword [r11 + 0x18], rbx
mov r14, rcx
mov rbx, 0xffffffffffffffff
mov qword [r11 - 0x10], rsi
mov rax, rbx
mov rsi, rdx
inc rax
cmp byte [rdx + rax], 0
jne 0x140057e06
mov qword [rsp + 0x398], rbp
cmp eax, 0xfa
jg 0x140057e58
mov edx, 0x3a
mov rcx, rsi
call fcn.14011fa70
lea rcx, [rsp + 0x140]
mov rbp, rax
mov r8, rsi
test rax, rax
jne 0x140057f23
mov r9d, 0xfa
mov dword [rsp + 0x20], 0x170c
mov edx, r9d
call fcn.140122454
mov ecx, dword [rsp + 0x20]
lea eax, [rcx - 0x170d]
lea r9d, [rcx - 0x170c]
cmp eax, 0x62
lea r8, [rsp + 0x140]
cmova r9d, ecx
lea rdx, str._.15s__d.vnc
lea rcx, [rsp + 0x240]
call fcn.14002d8e0
xor r9d, r9d
lea rdx, [rsp + 0x30]
xor ecx, ecx
lea r8d, [r9 + 0x1a]
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea r8, str.UltraVNC_
mov edx, 0x104
lea rcx, [rsp + 0x30]
call fcn.1401220fc
lea r8, [rsp + 0x240]
mov edx, 0x104
lea rcx, [rsp + 0x30]
call fcn.1401220fc
lea rdx, [0x140199f14]
lea rcx, [rsp + 0x30]
call fcn.14012e84c
mov rbp, qword [rsp + 0x398]
inc rbx
cmp byte [rsi + rbx], 0
jne 0x140057ee6
mov rsi, qword [rsp + 0x368]
test rbx, rbx
mov rbx, qword [rsp + 0x390]
je 0x140057f97
test rax, rax
je 0x140057f97
mov rcx, rax
call fcn.14012d7b8
lea rdx, [rsp + 0x30]
jmp 0x140057fa5
mov qword [rsp + 0x360], rdi
mov edx, 0xfa
mov rdi, rbp
sub rdi, rsi
mov r9, rdi
call fcn.140122454
mov byte [rsp + rdi + 0x140], 0
lea rcx, [rbp + 1]
cmp byte [rcx], 0x3a
lea r8, [rsp + 0x20]
mov rdi, qword [rsp + 0x360]
lea rdx, [0x140198208]
jne 0x140057f71
lea rcx, [rbp + 2]
call fcn.1400152f0
jmp 0x140057e58
call fcn.1400152f0
cmp eax, 1
jne 0x140057e58
mov ecx, dword [rsp + 0x20]
cmp ecx, 0x64
jge 0x140057e5c
add ecx, 0x170c
jmp 0x140057e5c
mov rdx, qword [r14 + 0x5b0]
add rdx, 0x97e
mov rcx, r14
call fcn.140057350
mov rcx, qword [rsp + 0x350]
xor rcx, rsp
call fcn.14011b0c0
add rsp, 0x370
pop r14
ret
Function at 0x1400737a0
Capabilities:
Check for software breakpoints

Disassembly:
push rbx
sub rsp, 0x20
mov eax, dword [rcx + 0x24]
mov rbx, rcx
cmp eax, 0xca
jne 0x1400737fd
mov rax, qword [rcx + 0x200]
lea rcx, [0x140078b50]
mov qword [rax], rcx
lea rcx, [0x140078cc0]
mov qword [rax + 8], rcx
mov rcx, rbx
mov byte [rax + 0x10], 0
mov byte [rax + 0x6c], 0
call fcn.1400781b0
cmp byte [rbx + 0x58], 0
je 0x1400737f4
mov dword [rbx + 0x24], 0xcf
mov al, 1
add rsp, 0x20
pop rbx
ret
mov dword [rbx + 0x24], 0xcb
jmp 0x140073808
cmp eax, 0xcb
jne 0x14007388b
mov rax, qword [rbx + 0x220]
cmp byte [rax + 0x20], 0
je 0x140073872
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x140073823
mov rcx, rbx
call qword [rax]
mov rax, qword [rbx + 0x220]
mov rcx, rbx
call qword [rax]
test eax, eax
je 0x14007386a
cmp eax, 2
je 0x140073872
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x140073815
cmp eax, 3
je 0x14007384b
cmp eax, 1
jne 0x140073815
inc dword [rcx + 8]
mov rdx, qword [rbx + 0x10]
mov r8d, dword [rdx + 0xc]
cmp dword [rcx + 8], r8d
jl 0x140073815
mov ecx, dword [rbx + 0x184]
add ecx, r8d
mov dword [rdx + 0xc], ecx
jmp 0x140073815
xor al, al
add rsp, 0x20
pop rbx
ret
mov eax, dword [rbx + 0x9c]
mov rcx, rbx
mov dword [rbx + 0xa4], eax
add rsp, 0x20
pop rbx
jmp 0x1400738c0
cmp eax, 0xcc
je 0x1400738ad
mov rax, qword [rcx]
mov dword [rax + 0x28], shutdown
mov rcx, qword [rcx]
mov eax, dword [rbx + 0x24]
mov dword [rcx + 0x2c], eax
mov rcx, rbx
mov rax, qword [rbx]
call qword [rax]
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x1400738c0
mov qword [rsp + 0x18], rbx
push rbp
sub rsp, 0x20
xor ebp, ebp
mov rbx, rcx
cmp dword [rcx + 0x24], 0xcc
je 0x1400738ee
mov rax, qword [rcx + 0x200]
call qword [rax]
mov dword [rbx + 0x98], ebp
mov dword [rbx + 0x24], 0xcc
mov rax, qword [rbx + 0x200]
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rdi
cmp byte [rax + 0x10], bpl
je 0x140073995
mov ecx, dword [rbx + 0x98]
nop
cmp ecx, dword [rbx + 0x78]
jae 0x140073964
mov rax, qword [rbx + 0x10]
mov edi, ecx
test rax, rax
je 0x14007393c
mov dword [rax + 8], ecx
mov rcx, qword [rbx + 0x10]
mov eax, dword [rbx + 0x78]
mov dword [rcx + 0xc], eax
mov rcx, rbx
mov rax, qword [rbx + 0x10]
call qword [rax]
mov edi, dword [rbx + 0x98]
mov rax, qword [rbx + 0x208]
lea r8, [rbx + 0x98]
xor r9d, r9d
xor edx, edx
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
mov ecx, dword [rbx + 0x98]
cmp ecx, edi
je 0x1400739bd
cmp ecx, dword [rbx + 0x78]
jb 0x140073915
mov rax, qword [rbx + 0x200]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
mov rax, qword [rbx + 0x200]
mov rcx, rbx
call qword [rax]
mov dword [rbx + 0x98], ebp
mov ecx, ebp
mov rax, qword [rbx + 0x200]
cmp byte [rax + 0x10], cl
jne 0x140073910
cmp byte [rbx + 0x59], bpl
mov al, 1
setne bpl
add ebp, 0xcd
mov dword [rbx + 0x24], ebp
mov rdi, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rbp
ret
xor al, al
jmp 0x1400739a8
Function at 0x1400738c0
Capabilities:
Check for software breakpoints

Disassembly:
push rbx
sub rsp, 0x20
mov eax, dword [rcx + 0x24]
mov rbx, rcx
cmp eax, 0xca
jne 0x1400737fd
mov rax, qword [rcx + 0x200]
lea rcx, [0x140078b50]
mov qword [rax], rcx
lea rcx, [0x140078cc0]
mov qword [rax + 8], rcx
mov rcx, rbx
mov byte [rax + 0x10], 0
mov byte [rax + 0x6c], 0
call fcn.1400781b0
cmp byte [rbx + 0x58], 0
je 0x1400737f4
mov dword [rbx + 0x24], 0xcf
mov al, 1
add rsp, 0x20
pop rbx
ret
mov dword [rbx + 0x24], 0xcb
jmp 0x140073808
cmp eax, 0xcb
jne 0x14007388b
mov rax, qword [rbx + 0x220]
cmp byte [rax + 0x20], 0
je 0x140073872
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x140073823
mov rcx, rbx
call qword [rax]
mov rax, qword [rbx + 0x220]
mov rcx, rbx
call qword [rax]
test eax, eax
je 0x14007386a
cmp eax, 2
je 0x140073872
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x140073815
cmp eax, 3
je 0x14007384b
cmp eax, 1
jne 0x140073815
inc dword [rcx + 8]
mov rdx, qword [rbx + 0x10]
mov r8d, dword [rdx + 0xc]
cmp dword [rcx + 8], r8d
jl 0x140073815
mov ecx, dword [rbx + 0x184]
add ecx, r8d
mov dword [rdx + 0xc], ecx
jmp 0x140073815
xor al, al
add rsp, 0x20
pop rbx
ret
mov eax, dword [rbx + 0x9c]
mov rcx, rbx
mov dword [rbx + 0xa4], eax
add rsp, 0x20
pop rbx
jmp 0x1400738c0
cmp eax, 0xcc
je 0x1400738ad
mov rax, qword [rcx]
mov dword [rax + 0x28], shutdown
mov rcx, qword [rcx]
mov eax, dword [rbx + 0x24]
mov dword [rcx + 0x2c], eax
mov rcx, rbx
mov rax, qword [rbx]
call qword [rax]
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x1400738c0
mov qword [rsp + 0x18], rbx
push rbp
sub rsp, 0x20
xor ebp, ebp
mov rbx, rcx
cmp dword [rcx + 0x24], 0xcc
je 0x1400738ee
mov rax, qword [rcx + 0x200]
call qword [rax]
mov dword [rbx + 0x98], ebp
mov dword [rbx + 0x24], 0xcc
mov rax, qword [rbx + 0x200]
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rdi
cmp byte [rax + 0x10], bpl
je 0x140073995
mov ecx, dword [rbx + 0x98]
nop
cmp ecx, dword [rbx + 0x78]
jae 0x140073964
mov rax, qword [rbx + 0x10]
mov edi, ecx
test rax, rax
je 0x14007393c
mov dword [rax + 8], ecx
mov rcx, qword [rbx + 0x10]
mov eax, dword [rbx + 0x78]
mov dword [rcx + 0xc], eax
mov rcx, rbx
mov rax, qword [rbx + 0x10]
call qword [rax]
mov edi, dword [rbx + 0x98]
mov rax, qword [rbx + 0x208]
lea r8, [rbx + 0x98]
xor r9d, r9d
xor edx, edx
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
mov ecx, dword [rbx + 0x98]
cmp ecx, edi
je 0x1400739bd
cmp ecx, dword [rbx + 0x78]
jb 0x140073915
mov rax, qword [rbx + 0x200]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
mov rax, qword [rbx + 0x200]
mov rcx, rbx
call qword [rax]
mov dword [rbx + 0x98], ebp
mov ecx, ebp
mov rax, qword [rbx + 0x200]
cmp byte [rax + 0x10], cl
jne 0x140073910
cmp byte [rbx + 0x59], bpl
mov al, 1
setne bpl
add ebp, 0xcd
mov dword [rbx + 0x24], ebp
mov rdi, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rbp
ret
xor al, al
jmp 0x1400739a8
Function at 0x140079800
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rbp
push rdi
push r13
push r15
sub rsp, 0x30
mov r13d, dword [rcx + 0x64]
mov rdi, rcx
mov rbx, qword [rcx + 0x250]
cmp r13d, 1
mov r8d, 0x2fe
mov qword [rsp + 0x68], rbx
sete al
mov edx, 1
mov byte [rbx + 0x38], al
mov rax, qword [rcx + 8]
mov ecx, 0x100
mov r9d, dword [rdi + 0x7c]
cmovne r8d, ecx
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_recv]
mov ebp, dword [rbx + 0x28]
xor r15d, r15d
mov qword [rbx + 0x30], rax
cmp dword [rdi + 0x7c], r15d
jle 0x140079981
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x28], r12
lea r12, [rbx + 0x3c]
mov qword [rsp + 0x20], r14
xor r14d, r14d
nop dword [rax]
mov esi, dword [r12]
mov eax, ebp
cdq
idiv esi
mov ebp, eax
cmp r13d, 1
jne 0x14007989d
mov rax, qword [rbx + 0x30]
add qword [r14 + rax], 0xff
mov rax, qword [rbx + 0x30]
lea r11d, [rsi*2 - 2]
xor r8d, r8d
xor r10d, r10d
mov rdi, qword [r14 + rax]
lea eax, [rsi + 0xfe]
cdq
idiv r11d
xor ebx, ebx
mov r9d, eax
cmp r10d, r9d
jle 0x1400798f7
imul eax, r8d, 0x1fe
lea ecx, [rsi + 0xfe]
add ecx, eax
nop word [rax + rax]
add ecx, 0x1fe
inc r8d
mov eax, ecx
cdq
idiv r11d
mov r9d, eax
cmp r10d, eax
jg 0x1400798e0
movzx eax, r8b
inc r10d
movzx ecx, bpl
imul ecx, eax
mov byte [rbx + rdi], cl
inc rbx
cmp rbx, 0xff
jle 0x1400798c2
cmp r13d, 1
jne 0x140079953
mov ecx, r13d
lea rdx, [rdi - 1]
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rdi]
mov byte [rdx], al
lea rdx, [rdx - 1]
movzx eax, byte [rdi + 0xff]
mov byte [rdi + rcx + 0xff], al
inc rcx
cmp rcx, 0xff
jle 0x140079930
mov rax, qword [rsp + 0x60]
inc r15d
mov rbx, qword [rsp + 0x68]
add r12, 4
add r14, 8
cmp r15d, dword [rax + 0x7c]
jl 0x140079880
mov r14, qword [rsp + 0x20]
mov r12, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r13
pop rdi
pop rbp
pop rbx
ret
Function at 0x140079990
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx + 8]
mov ebx, edx
mov edx, 1
mov r8d, 0x400
call qword [rax]
shl ebx, 9
lea r11, [0x14018a690]
add ebx, 0xfffffe00
mov r10, rax
xor ecx, ecx
lea r9, [rax + 8]
movzx edx, byte [rcx + r11]
mov eax, 0xfe01
imul r8d, edx, 0x1fe
sub eax, r8d
cdq
idiv ebx
mov dword [r9 - 8], eax
movzx eax, byte [rcx + r11 + 1]
imul edx, eax, 0x1fe
mov eax, 0xfe01
sub eax, edx
cdq
idiv ebx
mov dword [r9 - 4], eax
movzx eax, byte [rcx + r11 + 2]
imul edx, eax, 0x1fe
mov eax, 0xfe01
sub eax, edx
cdq
idiv ebx
mov dword [r9], eax
movzx eax, byte [rcx + r11 + 3]
imul edx, eax, 0x1fe
mov eax, 0xfe01
sub eax, edx
cdq
idiv ebx
mov dword [r9 + 4], eax
movzx eax, byte [rcx + r11 + 4]
imul edx, eax, 0x1fe
mov eax, 0xfe01
sub eax, edx
cdq
idiv ebx
mov dword [r9 + 8], eax
movzx eax, byte [rcx + r11 + 5]
imul edx, eax, 0x1fe
mov eax, 0xfe01
sub eax, edx
cdq
idiv ebx
mov dword [r9 + 0xc], eax
movzx eax, byte [rcx + r11 + 6]
imul edx, eax, 0x1fe
mov eax, 0xfe01
sub eax, edx
cdq
idiv ebx
mov dword [r9 + 0x10], eax
movzx eax, byte [rcx + r11 + 7]
imul edx, eax, 0x1fe
mov eax, 0xfe01
sub eax, edx
cdq
idiv ebx
mov dword [r9 + 0x14], eax
movzx eax, byte [rcx + r11 + 8]
imul edx, eax, 0x1fe
mov eax, 0xfe01
sub eax, edx
cdq
idiv ebx
mov dword [r9 + 0x18], eax
movzx eax, byte [rcx + r11 + 9]
imul edx, eax, 0x1fe
mov eax, 0xfe01
sub eax, edx
cdq
idiv ebx
mov dword [r9 + 0x1c], eax
movzx eax, byte [rcx + r11 + 0xa]
imul edx, eax, 0x1fe
mov eax, 0xfe01
sub eax, edx
cdq
idiv ebx
mov dword [r9 + 0x20], eax
movzx eax, byte [rcx + r11 + 0xb]
imul edx, eax, 0x1fe
mov eax, 0xfe01
sub eax, edx
cdq
lea r9, [r9 + 0x40]
idiv ebx
mov dword [r9 - 0x1c], eax
movzx eax, byte [rcx + r11 + 0xc]
imul edx, eax, 0x1fe
mov eax, 0xfe01
sub eax, edx
cdq
idiv ebx
mov dword [r9 - 0x18], eax
movzx eax, byte [rcx + r11 + 0xd]
imul edx, eax, 0x1fe
mov eax, 0xfe01
sub eax, edx
cdq
idiv ebx
mov dword [r9 - 0x14], eax
movzx eax, byte [rcx + r11 + 0xe]
imul edx, eax, 0x1fe
mov eax, 0xfe01
sub eax, edx
cdq
idiv ebx
mov dword [r9 - 0x10], eax
movzx eax, byte [rcx + r11 + 0xf]
add rcx, 0x10
imul edx, eax, 0x1fe
mov eax, 0xfe01
sub eax, edx
cdq
idiv ebx
mov dword [r9 - 0xc], eax
cmp rcx, 0x100
jl 0x1400799c2
mov rax, r10
add rsp, 0x20
pop rbx
ret
Function at 0x140091320
Capabilities:
Get socket status

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x260
mov rax, qword [0x1401b5030]
xor rax, rsp
mov qword [rsp + 0x250], rax
movsxd r9, edx
mov eax, 0x10624dd3
imul r8d
mov rbp, r9
lea r14d, [r9 + 1]
mov edi, edx
sar edi, 6
mov eax, edi
shr eax, 0x1f
add edi, eax
imul eax, edi, 0x3e8
sub r8d, eax
imul esi, r8d, 0x3e8
nop word [rax + rax]
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], edi
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov dword [rsp + 0x34], esi
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x48], rbp
mov ecx, r14d
mov dword [rsp + 0x40], 1
call qword [sym.imp.WS2_32.dll_select]
mov ebx, eax
cmp eax, 0xffffffff
jne 0x1400913e0
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 4
jne 0x1400913de
lea ecx, [rbx + 3]
call fcn.14012d310
mov rcx, rax
lea rdx, str.select_returned_EINTR_n
call fcn.1400698b0
jmp 0x140091380
mov eax, ebx
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.14011b0c0
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x140094100
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x1401b5030]
xor rax, rsp
mov qword [rbp - 8], rax
mov edx, dword [rcx + 0x10b28]
lea r14, [rbp - 0x28]
mov r15d, 0x1a
mov qword [rsp + 0x78], rdi
mov esi, r15d
mov rbx, rcx
nop
test edx, edx
jg 0x14009418a
mov rdx, qword [rbx + 0x10b18]
mov r8d, 0x2000
mov ecx, dword [rbx + 0x10b50]
call fcn.140132b18
mov dword [rbx + 0x10b28], eax
mov edx, eax
test eax, eax
je 0x140094343
js 0x140094320
mov rcx, qword [rbx + 0x10b18]
add dword [rbx + 0x10b58], 0x2000
mov qword [rbx + 0x10b20], rcx
cmp esi, edx
mov eax, esi
mov rcx, r14
cmovae eax, edx
mov rdx, qword [rbx + 0x10b20]
mov r8d, eax
mov edi, eax
call fcn.14011fbe0
sub dword [rbx + 0x10b28], edi
add r14, rdi
add qword [rbx + 0x10b20], rdi
mov edx, dword [rbx + 0x10b28]
sub esi, edi
jne 0x140094140
movzx eax, byte [rbp - 0x28]
movzx ecx, byte [rbp - 0x23]
movzx edx, byte [rbp - 0x25]
movzx r8d, byte [rbp - 0x17]
shl cx, 8
mov byte [rbx + 0x10b80], al
movzx eax, byte [rbp - 0x27]
mov byte [rbx + 0x10b81], al
movzx eax, byte [rbp - 0x26]
shl r8d, 8
shl dx, 8
or dx, ax
movzx eax, byte [rbp - 0x24]
or cx, ax
mov word [rbx + 0x10b82], dx
movzx eax, byte [rbp - 0x20]
mov word [rbx + 0x10b84], cx
movzx ecx, byte [rbp - 0x1f]
shl ecx, 8
add ecx, eax
movzx eax, byte [rbp - 0x21]
shl ecx, 8
add ecx, eax
movzx eax, byte [rbp - 0x22]
shl ecx, 8
add ecx, eax
movzx eax, byte [rbp - 0x1c]
mov dword [rbx + 0x10b78], ecx
movzx ecx, byte [rbp - 0x1b]
shl ecx, 8
add ecx, eax
movzx eax, byte [rbp - 0x1d]
shl ecx, 8
add ecx, eax
movzx eax, byte [rbp - 0x1e]
shl ecx, 8
add ecx, eax
movzx eax, byte [rbp - 0x18]
mov dword [rbx + 0x10b7c], ecx
add r8d, eax
movzx eax, byte [rbp - 0x19]
movzx ecx, byte [rbp - 0x13]
shl ecx, 8
shl r8d, 8
add r8d, eax
movzx eax, byte [rbp - 0x1a]
shl r8d, 8
add r8d, eax
movzx eax, byte [rbp - 0x14]
add ecx, eax
mov dword [rbx + 0x10b70], r8d
movzx eax, byte [rbp - 0x15]
shl ecx, 8
add ecx, eax
movzx eax, byte [rbp - 0x16]
shl ecx, 8
add ecx, eax
movzx eax, byte [rbp - 0x12]
mov dword [rbx + 0x10b74], ecx
movzx ecx, byte [rbp - 0x11]
shl cx, 8
or cx, ax
movzx eax, byte [rbp - 0x10]
mov word [rbx + 0x10b86], cx
movzx ecx, byte [rbp - 0xf]
shl cx, 8
or cx, ax
mov word [rbx + 0x10b88], cx
test dl, 8
je 0x1400942f0
mov rcx, qword [rbx + 0xb00]
mov eax, dword [rcx + 0xc]
mov dword [rbx + 0x10b7c], eax
mov r8d, dword [rcx + 4]
mov dword [rbx + 0x10b70], r8d
mov eax, dword [rcx + 8]
mov dword [rbx + 0x10b74], eax
mov dword [rbx + 0xa0], r8d
xor eax, eax
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14011b0c0
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
mov r9d, 0x401
lea rdx, str.error:__zipfile_read_error_n
mov r8d, 0x1b
mov rcx, rbx
call qword [rbx + 0x10df0]
mov eax, gethostbyname
jmp 0x1400942f9
sub r15d, esi
jne 0x1400941bf
lea eax, [r15 + 0x33]
jmp 0x1400942f9