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

Disassembly:
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
movsxd rax, edx
mov r10, r9
mov r11, r8
mov rdi, rcx
mov rcx, qword [rcx + rax*8 + 0x188]
xor r9d, r9d
mov r8d, r10d
mov rdx, r11
call qword [sym.imp.WS2_32.dll_send]
mov r14, qword [rsp + 0x50]
movsxd rsi, eax
mov dword [r14], 0
cmp rsi, 0xffffffffffffffff
jne 0x140125e2c
mov qword [rsp + 0x30], rbx
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
cmp eax, 0x2733
jne 0x140125dfb
mov dword [r14], 0x51
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov edx, eax
mov rcx, rdi
call fcn.14013f050
mov rcx, qword [rdi]
lea rdx, str.Send_failure:__s
mov r8, rax
call fcn.140125b60
mov rcx, qword [rdi]
mov rax, rsi
mov dword [rcx + 0x87ac], ebx
mov dword [r14], gethostname
jmp 0x140125de5
mov rdi, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop r14
ret

Function at 0x140126270
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov r10, qword [rcx + 0x1f8]
mov rdi, r9
mov rsi, r8
mov rbx, rcx
test r10, r10
je 0x1401262b3
mov rax, qword [rcx + 0x148]
mov qword [rsp + 0x20], rax
call r10
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp edx, 2
ja 0x1401262f6
mov r9, qword [rbx + 0x140]
movsxd rax, edx
mov edx, 2
lea rcx, [rax + rax*2]
lea rax, [0x1401c26c8]
lea r8d, [rdx - 1]
add rcx, rax
call fcn.140168220
mov r9, qword [rbx + 0x140]
mov r8d, 1
mov rdx, rdi
mov rcx, rsi
call fcn.140168220
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
xor eax, eax
add rsp, 0x30
pop rdi
ret
Function at 0x140126310
Capabilities:
Write file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0xe0
mov rax, qword [0x140232230]
xor rax, rsp
mov qword [rsp + 0xd0], rax
cmp dword [rcx + 0x3d0], 0
mov rax, qword [rsp + 0x130]
mov r14, r9
mov rbp, r8
mov esi, edx
mov rdi, rcx
je 0x14012643d
test rax, rax
je 0x14012643d
mov rdx, qword [rax + 0xb0]
test rdx, rdx
je 0x14012643d
mov ecx, esi
lea r9, str.Data
dec ecx
je 0x140126397
dec ecx
je 0x140126387
dec ecx
je 0x14012639e
dec ecx
je 0x14012638e
jmp 0x14012643d
lea r9, str.Header
lea rax, [0x1401e0c78]
jmp 0x1401263a5
lea r9, str.Header
lea rax, [0x1401e0c70]
mov qword [rsp + 0x28], rdx
lea r8, str.__s__s__s_
lea rcx, [rsp + 0x30]
mov edx, 0xa0
mov qword [rsp + 0x20], rax
call fcn.1401320d0
lea rax, [rsp + 0x30]
or rbx, 0xffffffffffffffff
nop
inc rbx
cmp byte [rax + rbx], 0
jne 0x1401263d0
mov r10, qword [rdi + 0x1f8]
test r10, r10
je 0x140126407
mov rax, qword [rdi + 0x148]
lea r8, [rsp + 0x30]
mov r9, rbx
xor edx, edx
mov rcx, rdi
mov qword [rsp + 0x20], rax
call r10
test eax, eax
je 0x14012643d
jmp 0x14012644d
mov r9, qword [rdi + 0x140]
mov edx, 2
lea rcx, [0x1401c26c8]
lea r8d, [rdx - 1]
call fcn.140168220
mov r9, qword [rdi + 0x140]
lea rcx, [rsp + 0x30]
mov r8d, 1
mov rdx, rbx
call fcn.140168220
mov r9, r14
mov r8, rbp
mov edx, esi
mov rcx, rdi
call fcn.140126270
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.140166980
add rsp, 0xe0
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140135d10
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rdi
push r12
push r13
push r15
sub rsp, 0x60
mov rax, qword [0x140232230]
xor rax, rsp
mov qword [rsp + 0x50], rax
xor ebx, ebx
mov ebp, r8d
mov r15, rdx
mov r12, rcx
mov r13d, ebx
mov dword [rsp + 0x20], ebx
mov edi, ebx
cmp rcx, 0xffffffffffffffff
jne 0x140135d7b
cmp rdx, rcx
jne 0x140135d7b
test r8d, r8d
je 0x140135d74
jns 0x140135d6b
mov ecx, 0x2726
call qword [sym.imp.WS2_32.dll_WSASetLastError]
or ebx, r12d
mov eax, ebx
jmp 0x140135f06
mov ecx, r8d
call qword [sym.imp.KERNEL32.dll_Sleep]
mov eax, ebx
jmp 0x140135f06
mov qword [rsp + 0x90], rsi
mov qword [rsp + 0x98], r14
test r8d, r8d
jle 0x140135dd2
mov edi, r8d
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov eax, 0x10624dd3
mul ecx
shr edx, 6
mov dword [rsp + 0x20], edx
imul edx, edx, 0x3e8
sub ecx, edx
imul ecx, ecx, 0x3e8
mov dword [rsp + 0x24], ecx
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x2c]
mov r13d, dword [rsp + 0x28]
mov dword [rsp + 0x20], eax
mov r14d, ebx
mov ecx, 1
cmp r12, 0xffffffffffffffff
je 0x140135df0
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x38], 0x300
mov r14d, ecx
cmp r15, 0xffffffffffffffff
je 0x140135e10
movsxd rax, r14d
add rax, rax
inc r14d
mov qword [rsp + rax*8 + 0x30], r15
mov dword [rsp + rax*8 + 0x38], reloc.WS2_32.dll_recv
nop dword [rax]
test ebp, ebp
jns 0x140135e19
or edi, 0xffffffff
jmp 0x140135e1c
cmove edi, ebx
lea rcx, [rsp + 0x30]
mov r8d, edi
mov edx, r14d
call qword [sym.imp.WS2_32.dll_WSAPoll]
cmp eax, 0xffffffff
jne 0x140135e9a
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
test eax, eax
je 0x140135e43
cmp eax, 0x2714
jne 0x140135e9e
test ebp, ebp
jle 0x140135e12
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, r13d
mov ecx, eax
mov eax, 0x10624dd3
mul ecx
shr edx, 6
sub edi, edx
mov eax, edx
imul eax, eax, 0x3e8
imul edi, edi, 0x3e8
sub ecx, eax
mov eax, 0x10624dd3
imul ecx, ecx, 0x3e8
sub ecx, dword [rsp + 0x20]
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
sub edi, edx
add edi, ebp
test edi, edi
jg 0x140135e10
or eax, 0xffffffff
jmp 0x140135ef6
test eax, eax
jns 0x140135ea3
or eax, 0xffffffff
jmp 0x140135ef6
jne 0x140135ea9
xor eax, eax
jmp 0x140135ef6
mov eax, ebx
cmp r12, 0xffffffffffffffff
je 0x140135ed4
mov ecx, 0x303
mov edx, 1
test word [rsp + 0x3a], cx
mov ecx, 0x204
cmovne ebx, edx
test word [rsp + 0x3a], cx
je 0x140135ed2
or ebx, 4
mov eax, edx
cmp r15, 0xffffffffffffffff
je 0x140135ef4
cdqe
add rax, rax
movzx ecx, word [rsp + rax*8 + 0x3a]
test cl, 0x10
je 0x140135eec
or ebx, 2
test cl, 7
je 0x140135ef4
or ebx, 4
mov eax, ebx
mov rsi, qword [rsp + 0x90]
mov r14, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140166980
mov rbx, qword [rsp + 0xa8]
add rsp, 0x60
pop r15
pop r13
pop r12
pop rdi
pop rbp
ret
Function at 0x140137b00
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
add rcx, 0x4e0
cmp dword [rcx + 0x90], 0
jne 0x140137bad
xor r9d, r9d
mov dword [rcx + 0xa8], r9d
mov rax, qword [rbx]
mov edx, r9d
cmp dword [rax + 0x3bc], 2
sete dl
mov dword [rcx + 0xac], edx
cmp dword [rbx + 0x234], r9d
je 0x140137b76
mov r8, qword [rcx + 0x68]
test r8, r8
je 0x140137b76
lea rdx, str.CWD__s
mov dword [rcx + 0xa4], r9d
call fcn.1401430b0
test eax, eax
jne 0x140137bba
mov dword [rbx + 0x590], 0x10
add rsp, 0x20
pop rbx
ret
cmp dword [rcx + 0x78], r9d
je 0x140137bad
mov r8, qword [rcx + 0x70]
mov dword [rcx + 0xa4], 1
lea rdx, str.CWD__s
mov r8, qword [r8]
call fcn.1401430b0
test eax, eax
jne 0x140137bba
mov dword [rbx + 0x590], 0x10
add rsp, 0x20
pop rbx
ret
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.140138760
add rsp, 0x20
pop rbx
ret
Function at 0x1401384a0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx]
mov rbx, rcx
mov rdx, qword [rax + 0x8918]
cmp dword [rdx + 0x18], 0
je 0x1401384ed
cmp qword [rcx + 0x560], 0
je 0x1401384ed
lea rdx, str.REST__d
add rcx, 0x4e0
xor r8d, r8d
call fcn.1401430b0
test eax, eax
jne 0x1401384f7
mov dword [rbx + 0x590], 0x1a
add rsp, 0x20
pop rbx
ret
add rsp, 0x20
pop rbx
jmp fcn.140138390
add rsp, 0x20
pop rbx
ret

Function at 0x140138500
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
add rcx, 0x4e0
mov rax, qword [rbx]
mov rdx, qword [rax + 0x8918]
mov eax, dword [rdx + 0x18]
cmp eax, 1
jne 0x14013854e
mov r8, qword [rcx + 0x80]
test r8, r8
je 0x14013854e
lea rdx, str.SIZE__s
call fcn.1401430b0
test eax, eax
jne 0x14013858c
mov dword [rbx + 0x590], 0x17
add rsp, 0x20
pop rbx
ret
test eax, eax
je 0x14013857f
cmp qword [rbx + 0x560], 0
je 0x14013857f
lea rdx, str.REST__d
xor r8d, r8d
call fcn.1401430b0
test eax, eax
jne 0x14013858c
mov dword [rbx + 0x590], 0x1a
add rsp, 0x20
pop rbx
ret
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.140138390
add rsp, 0x20
pop rbx
ret

Function at 0x140138700
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
mov r9, qword [rcx]
cmp dword [r9 + 0x40c], 0
je 0x140138757
cmp qword [rcx + 0x560], 0
je 0x140138757
cmp dword [r9 + 0x3dc], 0
mov eax, 0x41
mov edx, 0x49
cmovne edx, eax
movsx eax, byte [rcx + 0x580]
cmp eax, edx
je 0x140138757
mov rax, qword [r9 + 0x8918]
mov r8d, reloc.WS2_32.dll_send
mov dword [rax + 0x18], 1
mov edx, dword [r9 + 0x3dc]
jmp fcn.14013b500
jmp fcn.140138500

Function at 0x140138760
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push rbx
sub rsp, 0x20
mov rdx, qword [rcx]
mov rbx, rcx
add rcx, 0x4e0
cmp dword [rdx + 0x3d4], 0
jne 0x140138785
cmp dword [rdx + 0x300], 0
je 0x1401387b1
mov r8, qword [rcx + 0x80]
test r8, r8
je 0x1401387b1
lea rdx, str.MDTM__s
call fcn.1401430b0
test eax, eax
jne 0x140138819
mov dword [rbx + 0x590], 0x12
add rsp, 0x20
pop rbx
ret
cmp dword [rdx + 0x40c], 0
je 0x14013880c
cmp qword [rbx + 0x560], 0
je 0x14013880c
cmp dword [rdx + 0x3dc], 0
movsx ecx, byte [rbx + 0x580]
mov eax, 0x49
mov r8d, 0x41
cmovne eax, r8d
cmp ecx, eax
je 0x14013880c
mov rax, qword [rdx + 0x8918]
mov r8d, reloc.WS2_32.dll_send
mov rcx, rbx
mov dword [rax + 0x18], 1
mov edx, dword [rdx + 0x3dc]
add rsp, 0x20
pop rbx
jmp fcn.14013b500
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.140138500
add rsp, 0x20
pop rbx
ret
Function at 0x140139460
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, qword [rcx]
mov ebx, dword [rcx + 0x584]
mov rdi, rcx
cmp edx, 0xc8
je 0x1401394de
test ebx, ebx
jne 0x14013949c
lea rdx, str.disabling_EPRT_usage_n
mov rcx, rsi
call fcn.140125a80
mov dword [rdi + 0x278], ebx
inc ebx
cmp ebx, 2
jne 0x1401394c5
lea rdx, str.Failed_to_do_PORT
mov rcx, rsi
call fcn.140125b60
lea eax, [rbx + 0x1c]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov edx, ebx
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp 0x140137bc0
lea rdx, str.Connect_data_stream_actively_n
mov rcx, rsi
call fcn.140125a80
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov dword [rdi + 0x590], 0
xor eax, eax
add rsp, 0x20
pop rdi
ret

Function at 0x140139820
Capabilities:
Check http status code

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov eax, 0x51eb851f
mov edi, r8d
mov r8d, edx
xor ebx, ebx
mov rsi, rcx
mov rcx, qword [rcx]
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp edx, 2
je 0x140139872
lea rdx, str.Couldnt_set_desired_mode
call fcn.140125b60
lea eax, [rbx + 0x11]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
cmp r8d, 0xc8
je 0x140139887
lea rdx, str.Got_a__03d_response_code_instead_of_the_assumed_200_n
call fcn.140125a80
cmp edi, 0x13
jne 0x140139896
mov rcx, rsi
call fcn.140138500
jmp 0x1401398c6
cmp edi, 0x14
jne 0x1401398a5
mov rcx, rsi
call fcn.1401385a0
jmp 0x1401398c6
cmp edi, 0x15
jne 0x1401398b0
lea r8d, [rdi - 8]
jmp 0x1401398b9
cmp edi, 0x16
jne 0x1401398c8
lea r8d, [rdi - 8]
mov edx, 1
mov rcx, rsi
call fcn.140138ac0
mov ebx, eax
mov rsi, qword [rsp + 0x38]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14013c910
Capabilities:
Parse pe header

Disassembly:
movsx eax, cl
add eax, 0xffffff9f
cmp eax, 0x19
ja case.default.0x14013c92f
lea r8, [0x140000000]
cdqe
mov edx, dword [r8 + rax*4 + 0x13c984]
add rdx, r8
jmp rdx
mov al, 0x41
ret
mov al, 0x42
ret
mov al, 0x43
ret
mov al, 0x44
ret
mov al, 0x45
ret
mov al, 0x46
ret
mov al, 0x47
ret
mov al, 0x48
ret
mov al, 0x49
ret
mov al, 0x4a
ret
mov al, 0x4b
ret
mov al, 0x4c
ret
mov al, 0x4d
ret
mov al, 0x4e
ret
mov al, 0x4f
ret
mov al, 0x50
ret
mov al, 0x51
ret
mov al, 0x52
ret
mov al, 0x53
ret
mov al, 0x54
ret
mov al, 0x55
ret
mov al, 0x56
ret
mov al, 0x57
ret
mov al, 0x58
ret
mov al, 0x59
ret
mov al, 0x5a
ret
movzx eax, cl
ret
Function at 0x14013c9f0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
movzx r9d, byte [rcx]
mov r11, rdx
mov r10, rcx
test r9b, r9b
je 0x14013cae3
mov qword [rsp + 0x20], rbx
lea rbx, [0x140000000]
movzx edx, byte [r11]
test dl, dl
je 0x14013cade
movsx eax, r9b
add eax, 0xffffff9f
cmp eax, 0x19
ja case.default.0x14013ca3b
cdqe
mov ecx, dword [rbx + rax*4 + 0x13cb08]
add rcx, rbx
jmp rcx
mov r9b, 0x41
jmp case.default.0x14013ca3b
mov r9b, 0x42
jmp case.default.0x14013ca3b
mov r9b, 0x43
jmp case.default.0x14013ca3b
mov r9b, 0x44
jmp case.default.0x14013ca3b
mov r9b, 0x45
jmp case.default.0x14013ca3b
mov r9b, 0x46
jmp case.default.0x14013ca3b
mov r9b, 0x47
jmp case.default.0x14013ca3b
mov r9b, 0x48
jmp case.default.0x14013ca3b
mov r9b, 0x49
jmp case.default.0x14013ca3b
mov r9b, 0x4a
jmp case.default.0x14013ca3b
mov r9b, 0x4b
jmp case.default.0x14013ca3b
mov r9b, 0x4c
jmp case.default.0x14013ca3b
mov r9b, 0x4d
jmp case.default.0x14013ca3b
mov r9b, 0x4e
jmp case.default.0x14013ca3b
mov r9b, 0x4f
jmp case.default.0x14013ca3b
mov r9b, 0x50
jmp case.default.0x14013ca3b
mov r9b, 0x51
jmp case.default.0x14013ca3b
mov r9b, 0x52
jmp case.default.0x14013ca3b
mov r9b, 0x53
jmp case.default.0x14013ca3b
mov r9b, 0x54
jmp case.default.0x14013ca3b
mov r9b, 0x55
jmp case.default.0x14013ca3b
mov r9b, 0x56
jmp case.default.0x14013ca3b
mov r9b, 0x57
jmp case.default.0x14013ca3b
mov r9b, 0x58
jmp case.default.0x14013ca3b
mov r9b, 0x59
jmp case.default.0x14013ca3b
mov r9b, 0x5a
movzx ecx, dl
call fcn.14013c910
cmp r9b, al
jne 0x14013cade
movzx r9d, byte [r10 + 1]
inc r10
inc r11
test r9b, r9b
jne 0x14013ca13
mov rbx, qword [rsp + 0x20]
movzx ecx, byte [r10]
call fcn.14013c910
movzx ecx, byte [r11]
movzx r9d, al
call fcn.14013c910
xor ecx, ecx
cmp r9b, al
sete cl
mov eax, ecx
add rsp, 0x28
ret
Function at 0x14013cb70
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
movzx r9d, byte [rcx]
mov r11, r8
mov rbx, rdx
mov r10, rcx
test r9b, r9b
je 0x14013cc76
lea rdi, [0x140000000]
nop word [rax + rax]
movzx edx, byte [rbx]
test dl, dl
je 0x14013cc76
test r11, r11
je 0x14013cc7b
movsx eax, r9b
add eax, 0xffffff9f
cmp eax, 0x19
ja case.default.0x14013cbd0
cdqe
mov ecx, dword [rdi + rax*4 + 0x13ccb8]
add rcx, rdi
jmp rcx
mov r9b, 0x41
jmp case.default.0x14013cbd0
mov r9b, 0x42
jmp case.default.0x14013cbd0
mov r9b, 0x43
jmp case.default.0x14013cbd0
mov r9b, 0x44
jmp case.default.0x14013cbd0
mov r9b, 0x45
jmp case.default.0x14013cbd0
mov r9b, 0x46
jmp case.default.0x14013cbd0
mov r9b, 0x47
jmp case.default.0x14013cbd0
mov r9b, 0x48
jmp case.default.0x14013cbd0
mov r9b, 0x49
jmp case.default.0x14013cbd0
mov r9b, 0x4a
jmp case.default.0x14013cbd0
mov r9b, 0x4b
jmp case.default.0x14013cbd0
mov r9b, 0x4c
jmp case.default.0x14013cbd0
mov r9b, 0x4d
jmp case.default.0x14013cbd0
mov r9b, 0x4e
jmp case.default.0x14013cbd0
mov r9b, 0x4f
jmp case.default.0x14013cbd0
mov r9b, 0x50
jmp case.default.0x14013cbd0
mov r9b, 0x51
jmp case.default.0x14013cbd0
mov r9b, 0x52
jmp case.default.0x14013cbd0
mov r9b, 0x53
jmp case.default.0x14013cbd0
mov r9b, 0x54
jmp case.default.0x14013cbd0
mov r9b, 0x55
jmp case.default.0x14013cbd0
mov r9b, 0x56
jmp case.default.0x14013cbd0
mov r9b, 0x57
jmp case.default.0x14013cbd0
mov r9b, 0x58
jmp case.default.0x14013cbd0
mov r9b, 0x59
jmp case.default.0x14013cbd0
mov r9b, 0x5a
movzx ecx, dl
call fcn.14013c910
cmp r9b, al
jne 0x14013cc76
movzx r9d, byte [r10 + 1]
inc r10
dec r11
inc rbx
test r9b, r9b
jne 0x14013cba0
test r11, r11
jne 0x14013cc8b
mov eax, 1
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
movzx ecx, byte [r10]
call fcn.14013c910
movzx ecx, byte [rbx]
movzx r9d, al
call fcn.14013c910
mov rbx, qword [rsp + 0x30]
xor ecx, ecx
cmp r9b, al
sete cl
mov eax, ecx
add rsp, 0x20
pop rdi
ret
Function at 0x14013cd20
Capabilities:
Parse pe header

Disassembly:
mov r10, rcx
lea r11, [0x140000000]
sub r10, rdx
nop dword [rax]
movsx r9d, byte [rdx]
lea eax, [r9 - 0x61]
cmp eax, 0x19
ja case.default.0x14013cd4e
cdqe
mov ecx, dword [r11 + rax*4 + 0x13cdec]
add rcx, r11
jmp rcx
mov r9b, 0x41
jmp case.default.0x14013cd4e
mov r9b, 0x42
jmp case.default.0x14013cd4e
mov r9b, 0x43
jmp case.default.0x14013cd4e
mov r9b, 0x44
jmp case.default.0x14013cd4e
mov r9b, 0x45
jmp case.default.0x14013cd4e
mov r9b, 0x46
jmp case.default.0x14013cd4e
mov r9b, 0x47
jmp case.default.0x14013cd4e
mov r9b, 0x48
jmp case.default.0x14013cd4e
mov r9b, 0x49
jmp case.default.0x14013cd4e
mov r9b, 0x4a
jmp case.default.0x14013cd4e
mov r9b, 0x4b
jmp case.default.0x14013cd4e
mov r9b, 0x4c
jmp case.default.0x14013cd4e
mov r9b, 0x4d
jmp case.default.0x14013cd4e
mov r9b, 0x4e
jmp case.default.0x14013cd4e
mov r9b, 0x4f
jmp case.default.0x14013cd4e
mov r9b, 0x50
jmp case.default.0x14013cd4e
mov r9b, 0x51
jmp case.default.0x14013cd4e
mov r9b, 0x52
jmp case.default.0x14013cd4e
mov r9b, 0x53
jmp case.default.0x14013cd4e
mov r9b, 0x54
jmp case.default.0x14013cd4e
mov r9b, 0x55
jmp case.default.0x14013cd4e
mov r9b, 0x56
jmp case.default.0x14013cd4e
mov r9b, 0x57
jmp case.default.0x14013cd4e
mov r9b, 0x58
jmp case.default.0x14013cd4e
mov r9b, 0x59
jmp case.default.0x14013cd4e
mov r9b, 0x5a
mov byte [r10 + rdx], r9b
movzx eax, byte [rdx]
inc rdx
test al, al
je 0x14013cde7
dec r8
jne 0x14013cd30
repz ret
Function at 0x14013f2b0
Capabilities:
Resolve dns

Disassembly:
push rbx
push rbp
push r12
push r14
push r15
sub rsp, 0x20
xor r12d, r12d
mov r15, r9
mov qword [r9], r12
lea r9, [rsp + 0x68]
mov ebx, r12d
mov r14d, r12d
call qword [sym.imp.WS2_32.dll_getaddrinfo]
mov ebp, eax
test eax, eax
jne 0x14013f464
mov qword [rsp + 0x58], rdi
mov rdi, qword [rsp + 0x68]
test rdi, rdi
je 0x14013f44d
mov qword [rsp + 0x50], rsi
nop dword [rax]
cmp dword [rdi + 4], 2
jne 0x14013f3b0
cmp qword [rdi + 0x20], r12
je 0x14013f3b0
cmp qword [rdi + 0x10], 0x10
jb 0x14013f3b0
mov ecx, 0x30
call qword [fcn.140167bc0]
mov rsi, rax
test rax, rax
je 0x14013f3e9
mov ecx, dword [rdi]
mov dword [rax], ecx
mov ecx, dword [rdi + 4]
mov dword [rax + 4], ecx
mov ecx, dword [rdi + 8]
mov dword [rax + 8], ecx
mov ecx, dword [rdi + 0xc]
mov dword [rax + reloc.WS2_32.dll_recv], 0x10
mov dword [rax + 0xc], ecx
mov ecx, reloc.WS2_32.dll_recv
mov qword [rax + 0x20], r12
mov qword [rax + 0x18], r12
mov qword [rax + 0x28], r12
call qword [fcn.140167bc0]
mov qword [rsi + 0x20], rax
test rax, rax
je 0x14013f3d9
mov rdx, qword [rdi + 0x20]
mov rcx, qword [rdx]
mov qword [rax], rcx
mov rcx, qword [rdx + 8]
mov qword [rax + 8], rcx
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x14013f39d
call qword [fcn.140191714]
mov qword [rsi + 0x18], rax
test rax, rax
je 0x14013f3bf
test rbx, rbx
cmove rbx, rsi
test r14, r14
je 0x14013f3ad
mov qword [r14 + 0x28], rsi
mov r14, rsi
mov rdi, qword [rdi + 0x28]
test rdi, rdi
jne 0x14013f300
jmp 0x14013f3ee
mov rcx, qword [rsi + 0x20]
mov ebp, 8
call qword [fcn.1401673d0]
mov rcx, rsi
call qword [fcn.1401673d0]
jmp 0x14013f3ee
mov rcx, rsi
mov ebp, 8
call qword [fcn.1401673d0]
jmp 0x14013f3ee
mov ebp, 8
mov rcx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x50]
test rcx, rcx
je 0x14013f403
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
test ebp, ebp
je 0x14013f448
test rbx, rbx
je 0x14013f443
nop dword [rax]
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x14013f41f
call qword [fcn.1401673d0]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x14013f42e
call qword [fcn.1401673d0]
mov rdi, qword [rbx + 0x28]
mov rcx, rbx
call qword [fcn.1401673d0]
mov rbx, rdi
test rdi, rdi
jne 0x14013f410
mov rbx, r12
jmp 0x14013f45a
test rbx, rbx
jne 0x14013f45a
mov ebp, 0x2af9
mov ecx, ebp
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov rdi, qword [rsp + 0x58]
mov qword [r15], rbx
mov eax, ebp
add rsp, 0x20
pop r15
pop r14
pop r12
pop rbp
pop rbx
ret
Function at 0x140141ac0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx]
mov rsi, r8
cmp dword [rcx + 8], 2
mov rdi, rdx
jne 0x140141b14
mov rax, qword [rbx + 0x18]
test rax, rax
jne 0x140141afa
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov r9, qword [rcx + 0x10]
mov edx, 1
mov rcx, rdi
call rax
mov rdi, rax
cmp rax, rsi
jbe 0x140141b5f
xor edi, edi
jmp 0x140141b64
cmp qword [rbx + 0x10], 0
jne 0x140141b48
mov rcx, qword [rcx + 0x10]
lea rdx, [0x1401c5054]
call fcn.14016e020
mov qword [rbx + 0x10], rax
test rax, rax
jne 0x140141b48
or rax, 0xffffffffffffffff
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov r9, qword [rbx + 0x10]
mov r8, rsi
mov edx, 1
mov rcx, rdi
call fcn.14016968c
mov rdi, rax
test rdi, rdi
jne 0x140141b83
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x140141b7a
call fcn.1401679bc
mov qword [rbx + 0x10], 0
mov rax, qword [rbx]
mov rcx, qword [rax]
mov qword [rbx], rcx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rax, rdi
add rsp, 0x20
pop rdi
ret

Function at 0x140142c90
Capabilities:
Hash data with md5

Disassembly:
push rbx
sub rsp, 0x90
mov rax, qword [0x140232230]
xor rax, rsp
mov qword [rsp + 0x80], rax
xor eax, eax
mov rbx, rcx
mov dword [rsp + 0x20], 0x67452301
mov dword [rsp + 0x24], 0xefcdab89
mov dword [rsp + 0x28], 0x98badcfe
mov dword [rsp + 0x2c], 0x10325476
mov qword [rsp + 0x30], rax
or r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdx + r8], al
jne 0x140142ce0
lea rcx, [rsp + 0x20]
call fcn.140142190
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.140142260
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140166980
add rsp, 0x90
pop rbx
ret

Function at 0x140142d20
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov r14, qword [rcx + 0x50]
mov rbx, rcx
mov rsi, qword [r14]
mov edi, dword [rsi + 0x278]
test edi, edi
jne 0x140142d4c
mov edi, dword [rcx + 0x48]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rbx, qword [rbx + 0x40]
mov ecx, eax
mov eax, 0x10624dd3
mul ecx
mov r8d, edx
shr r8d, 6
mov eax, r8d
imul eax, eax, 0x3e8
sub ecx, eax
mov rax, rbx
sub ebx, r8d
shr rax, 0x20
imul ebx, ebx, 0x3e8
imul ecx, ecx, 0x3e8
sub ecx, eax
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
sub ebx, edx
add ebx, edi
cmp dword [rsi + 0x270], 0
je 0x140142e0f
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r9d, eax
mov eax, 0x10624dd3
mul r9d
mov eax, 0x10624dd3
mov r10d, edx
shr r10d, 6
mov ecx, r10d
imul ecx, ecx, 0x3e8
sub r9d, ecx
mov rcx, qword [r14 + 0x174]
mov r8, rcx
sub ecx, r10d
imul r9d, r9d, 0x3e8
shr r8, 0x20
sub r9d, r8d
imul ecx, ecx, 0x3e8
imul r9d
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
sub ecx, edx
add ecx, dword [rsi + 0x270]
cmp ebx, ecx
cmovl ecx, ebx
mov eax, ecx
jmp 0x140142e11
mov eax, ebx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret