joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18004fce0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r9, rcx
mov r10d, 0x270
mov ecx, dword [rcx]
cmp ecx, r10d
jne 0x18004fd41
lea r8, [r9 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r10, 1
jne 0x18004fd00
mov ecx, dword [r9]
jmp 0x18004fe2b
cmp ecx, 0x4e0
jb 0x18004fe2b
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
add r10, 4
mov edx, r11d
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x634]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x18004fd60
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
mov edx, eax
xor edx, r11d
add r10, 4
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 - 0xd4c]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x18004fdb0
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret

Function at 0x18004fe70
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
add rdx, 0xffffffffffff0000
mov rdi, rcx
movzx eax, dx
mov rbx, rdx
sub rbx, rax
test rax, rax
cmove rbx, rdx
cmp rbx, rcx
jbe 0x18004ff4b
nop dword [rax]
cmp rbx, qword [section..data]
jb 0x18004febe
cmp rbx, qword [0x180064008]
ja 0x18004febe
sub rbx, 0x8000000
jmp 0x18004ff42
xorps xmm0, xmm0
lea rdx, [rsp + 0x20]
mov r8d, 0x30
mov rcx, rbx
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x18004ff4b
cmp dword [rsp + 0x40], 0x10000
jne 0x18004ff26
cmp qword [rsp + 0x38], 0x10000
jb 0x18004ff26
mov edx, 0x10000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
jne 0x18004ff4d
sub rbx, 0x10000
jmp 0x18004ff42
mov rcx, qword [rsp + 0x28]
add rcx, 0xffffffffffff0000
movzx eax, cx
mov rbx, rcx
sub rbx, rax
test rax, rax
cmove rbx, rcx
cmp rbx, rdi
ja 0x18004fea0
xor eax, eax
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
Function at 0x18004ff60
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
movzx eax, cx
mov rdi, rdx
mov rbx, rcx
test rax, rax
je 0x18004ff82
sub rbx, rax
add rbx, 0x10000
cmp rbx, rdi
jae 0x18005003d
nop dword [rax + rax]
cmp rbx, qword [section..data]
jb 0x18004ffae
cmp rbx, qword [0x180064008]
ja 0x18004ffae
add rbx, 0x8000000
jmp 0x180050034
xorps xmm0, xmm0
lea rdx, [rsp + 0x20]
mov r8d, 0x30
mov rcx, rbx
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x18005003d
cmp dword [rsp + 0x40], 0x10000
mov rcx, qword [rsp + 0x38]
jne 0x180050019
cmp rcx, 0x10000
jb 0x180050019
mov edx, 0x10000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
jne 0x18005003f
add rbx, 0x10000
jmp 0x180050034
mov rbx, qword [rsp + 0x20]
add rbx, rcx
movzx ecx, bx
test rcx, rcx
je 0x180050034
mov eax, 0x10000
sub rax, rcx
add rbx, rax
cmp rbx, rdi
jb 0x18004ff90
xor eax, eax
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
Function at 0x180050050
Capabilities:
Hook routines via microsoft detours

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
lea rdi, [rcx - 0x7ff80000]
mov rbx, rcx
cmp rcx, 0x7ff80000
ja 0x180050072
mov edi, 0x80000
mov qword [rsp + 0x38], rsi
lea rsi, [rcx + 0x7ff80000]
cmp rbx, 0xffffffff80000000
jb 0x18005008e
mov rsi, 0xfffffffffff80000
movzx eax, byte [rcx]
cmp al, 0xff
jne 0x1800500a5
cmp byte [rcx + 1], 0x25
jne 0x1800500e9
movsxd rcx, dword [rcx + 2]
add rcx, 6
jmp 0x1800500b1
cmp al, 0xe9
jne 0x1800500e9
movsxd rcx, dword [rcx + 1]
add rcx, 5
add rcx, rbx
cmp rcx, rbx
jae 0x1800500d4
cmp rcx, 0xffffffff80000000
jae 0x1800500cb
lea rsi, [rcx + 0x7ff80000]
jmp 0x1800500e9
mov rsi, 0xfffffffffff80000
jmp 0x1800500e9
lea rdi, [rcx - 0x7ff80000]
cmp rcx, 0x7ff80000
ja 0x1800500e9
mov edi, 0x80000
mov rdx, qword [0x180065408]
mov rax, qword [0x180065400]
mov qword [rsp + 0x30], rbp
test rdx, rdx
jne 0x180050110
test rax, rax
je 0x180050127
mov rdx, rax
mov qword [0x180065408], rax
mov rcx, qword [rdx + 0x10]
test rcx, rcx
je 0x180050127
cmp rcx, rdi
jb 0x180050127
cmp rcx, rsi
jbe 0x18005027a
mov qword [0x180065408], rax
mov rdx, rax
test rax, rax
je 0x180050172
mov rcx, rax
nop dword [rax]
test rax, rax
je 0x18005015c
mov rax, qword [rcx + 0x10]
test rax, rax
je 0x18005015c
cmp rax, rdi
jb 0x18005015c
cmp rax, rsi
jbe 0x18005027a
mov rdx, qword [rdx + 8]
mov qword [0x180065408], rdx
mov rcx, rdx
mov rax, rdx
test rdx, rdx
jne 0x180050140
movzx eax, bx
sub rbx, rax
cmp rbx, 0x40000000
jbe 0x18005019c
lea rdx, [rbx - 0x40000000]
mov rcx, rdi
call fcn.18004fe70
mov rdx, rax
test rax, rax
jne 0x180050228
movabs rbp, 0xffffffff40000000
cmp rbx, rbp
jae 0x1800501c2
lea rcx, [rbx + 0x40000000]
mov rdx, rsi
call fcn.18004ff60
mov rdx, rax
test rax, rax
jne 0x180050228
cmp rbx, 0x40000000
jbe 0x1800501e2
lea rcx, [rbx - 0x40000000]
mov rdx, rbx
call fcn.18004ff60
mov rdx, rax
test rax, rax
jne 0x180050228
cmp rbx, rbp
jae 0x1800501fe
lea rdx, [rbx + 0x40000000]
mov rcx, rbx
call fcn.18004fe70
mov rdx, rax
test rax, rax
jne 0x180050228
mov rdx, rbx
mov rcx, rdi
call fcn.18004fe70
mov rdx, rax
test rax, rax
jne 0x180050228
mov rdx, rsi
mov rcx, rbx
call fcn.18004ff60
mov rdx, rax
test rax, rax
je 0x1800502b1
mov dword [rdx], 0x52727464
lea rcx, [rdx + 0xffa8]
xor r8d, r8d
mov qword [0x180065408], rdx
mov qword [rdx + 0x10], r8
mov r9d, 0x2a7
mov rax, qword [0x180065400]
mov qword [rdx + 8], rax
lea rax, [rdx + 0xff60]
mov qword [0x180065400], rdx
mov qword [rcx], r8
lea rcx, [rcx - 0x60]
mov r8, rax
sub rax, 0x60
sub r9, 1
jne 0x180050262
mov qword [rdx + 0x10], r8
mov rax, qword [rdx + 0x10]
cmp rax, rdi
jb 0x1800502b1
cmp rax, rsi
ja 0x1800502b1
mov rcx, qword [rax + 0x48]
movdqa xmm0, xmmword [0x180054860]
mov qword [rdx + 0x10], rcx
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x40], xmm0
movups xmmword [rax + 0x50], xmm0
jmp 0x1800502b3
xor eax, eax
mov rsi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x180050510
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x50
mov rbx, rdx
mov r8d, 0x30
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
nop
mov eax, 0x5a4d
mov rcx, qword [rsp + 0x28]
cmp word [rcx], ax
je 0x18005053e
xor al, al
jmp 0x180050580
movsxd rdx, dword [rcx + 0x3c]
cmp dword [rdx + rcx], 0x4550
je 0x18005054f
xor al, al
jmp 0x180050580
mov r8d, dword [rdx + rcx + 0xe8]
lea rax, [r8 + rcx]
cmp rbx, rax
jb 0x180050576
mov eax, dword [rdx + rcx + 0xec]
add rax, r8
add rax, rcx
cmp rbx, rax
jae 0x180050576
mov al, 1
jmp 0x180050580
xor al, al
add rsp, 0x50
pop rbx
ret
add rsp, 0x50
pop rbx
ret
Function at 0x180050a60
Capabilities:
Allocate or change rwx memory

Disassembly:
push rbp
push rsi
sub rsp, 0x28
mov rbp, rdx
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x180065418], eax
je 0x180050a87
mov eax, 0x10dd
add rsp, 0x28
pop rsi
pop rbp
ret
mov eax, dword [0x18006541c]
test eax, eax
jne 0x180050bc3
test rbp, rbp
jne 0x180050aa4
lea eax, [rbp + 0x57]
add rsp, 0x28
pop rsi
pop rbp
ret
test rsi, rsi
je 0x180050ac0
cmp qword [rsi], 0
jne 0x180050acc
mov dword [0x18006541c], 6
mov qword [0x180065420], rsi
mov eax, 6
add rsp, 0x28
pop rsi
pop rbp
ret
mov qword [rsp + 0x40], rbx
mov ecx, 0x30
mov qword [rsp + 0x20], rdi
call fcn.180051ab0
mov rdi, rax
test rax, rax
jne 0x180050af0
lea ebx, [rax + 8]
jmp 0x180050b98
mov rcx, qword [rsi]
xor edx, edx
call fcn.1800509b0
xor edx, edx
mov rcx, rbp
mov rbx, rax
call fcn.1800509b0
movzx edx, byte [rbx + 0x3e]
mov rbp, qword [rbx + 0x48]
sub rbp, rdx
test dl, dl
je 0x180050b8a
cmp rdx, 0x1e
ja 0x180050b8a
cmp qword [rbx + 0x50], rax
jne 0x180050b8a
lea r9, [rsp + 0x50]
mov dword [rsp + 0x50], 0
mov r8d, 0x40
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x180050b4c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x180050b98
mov qword [rdi + 0x20], rbx
mov rbx, qword [rsp + 0x40]
mov dword [rdi + 8], 1
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rbp
mov eax, dword [rsp + 0x50]
mov dword [rdi + 0x28], eax
mov rax, qword [0x180065430]
mov qword [rdi], rax
xor eax, eax
mov qword [0x180065430], rdi
mov rdi, qword [rsp + 0x20]
add rsp, 0x28
pop rsi
pop rbp
ret
cmp dword [0x180065410], 0
mov ebx, 9
jne 0x180050ba3
mov dword [0x18006541c], ebx
test rdi, rdi
je 0x180050bb0
mov edx, 0x30
mov rcx, rdi
call fcn.180051af4
mov rdi, qword [rsp + 0x20]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
mov qword [0x180065420], rsi
add rsp, 0x28
pop rsi
pop rbp
ret

Function at 0x180050bd0
Capabilities:
Allocate or change rwx memory

Disassembly:
sub rsp, 0x28
cmp dword [0x180065418], 0
jne 0x180050c77
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, eax
xor eax, eax
lock cmpxchg dword [0x180065418], ecx
jne 0x180050c77
mov qword [rsp + 0x38], rbx
mov rbx, qword [0x180065400]
mov qword [rsp + 0x20], rdi
xor edi, edi
mov qword [0x180065430], rdi
mov qword [0x180065428], rdi
mov qword [0x180065420], rdi
test rbx, rbx
je 0x180050c60
nop word [rax + rax]
lea r9, [rsp + 0x30]
mov edx, 0x10000
mov r8d, 0x40
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x180050c58
mov rbx, qword [rbx + 8]
test rbx, rbx
jne 0x180050c30
jmp 0x180050c60
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rbx, qword [rsp + 0x38]
mov eax, edi
mov dword [0x18006541c], edi
mov rdi, qword [rsp + 0x20]
add rsp, 0x28
ret
mov eax, 0x10dd
add rsp, 0x28
ret
Function at 0x180051290
Capabilities:
Suspend thread

Disassembly:
push rdi
sub rsp, 0x20
mov eax, dword [0x18006541c]
mov rdi, rcx
test eax, eax
jne 0x180051333
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp rdi, rax
jne 0x1800512ba
xor eax, eax
add rsp, 0x20
pop rdi
ret
mov ecx, 0x10
mov qword [rsp + 0x30], rbx
call fcn.180051ab0
mov rbx, rax
test rax, rax
jne 0x1800512d6
lea edi, [rax + 8]
jmp 0x1800512f9
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x180051317
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov edx, 0x10
mov rcx, rbx
call fcn.180051af4
mov rbx, qword [rsp + 0x30]
mov eax, edi
mov dword [0x18006541c], edi
mov qword [0x180065420], 0
add rsp, 0x20
pop rdi
ret
mov rax, qword [0x180065428]
mov qword [rbx], rax
xor eax, eax
mov qword [rbx + 8], rdi
mov qword [0x180065428], rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140001000
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x70
lea rcx, str._JAVA_LAUNCHER_DEBUG
call qword [sym.imp.MSVCR100.dll_getenv]
test rax, rax
je 0x140001066
lea rcx, str.Windows_original_main_args:_n
call qword [sym.imp.MSVCR100.dll_printf]
mov rax, qword [sym.imp.MSVCR100.dll___argc]
xor ebx, ebx
cmp dword [rax], ebx
jle 0x140001066
xor edi, edi
mov rax, qword [sym.imp.MSVCR100.dll___argv]
lea rcx, str.wwwd_args__d____s_n
mov edx, ebx
mov r8, qword [rax]
mov r8, qword [r8 + rdi]
call qword [sym.imp.MSVCR100.dll_printf]
mov rax, qword [sym.imp.MSVCR100.dll___argc]
inc ebx
add rdi, 8
cmp ebx, dword [rax]
jl 0x140001038
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov rcx, rax
call sub.jli.dll_JLI_CmdToArgs
call sub.jli.dll_JLI_GetStdArgc
movsxd rdi, eax
lea ecx, [rdi + 1]
movsxd rcx, ecx
shl rcx, 3
call sub.jli.dll_JLI_MemAlloc
mov rbx, rax
call sub.jli.dll_JLI_GetStdArgs
xor r9d, r9d
xor edx, edx
test edi, edi
jle 0x1400010b2
mov r9d, edi
mov rcx, qword [rax]
add rax, 0x10
mov qword [rbx + rdx*8], rcx
inc rdx
cmp rdx, rdi
jl 0x14000109f
mov rcx, qword [str.java]
movsxd rax, r9d
and qword [rbx + rax*8], 0
test rcx, rcx
jne 0x1400010c9
mov rcx, qword [rbx]
mov rax, qword [str.java]
test rax, rax
jne 0x1400010d8
mov rax, qword [rbx]
and dword [rsp + 0x68], 0
mov byte [rsp + 0x60], 0
mov byte [rsp + 0x58], 0
mov byte [rsp + 0x50], 1
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x40], rax
lea rax, [0x140002250]
mov r8d, 2
lea r9, str._J_ms8m
mov qword [rsp + 0x38], rax
lea rax, [0x140002240]
mov rdx, rbx
mov qword [rsp + 0x30], rax
lea rax, str._lib_tools.jar
mov ecx, edi
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r8d
call sub.jli.dll_JLI_Launch
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret
Function at 0x1400200d0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x1400a8bc0]
xor rax, rsp
mov qword [rbp - 8], rax
call fcn.1400094a8
mov rcx, qword [0x1400a9168]
lea rdx, [rbp - 0x18]
mov rdi, rax
call qword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [rbp - 0x10]
sub ecx, dword [rbp - 0x18]
movd xmm1, ecx
mov ecx, dword [rbp - 0xc]
sub ecx, dword [rbp - 0x14]
cvtdq2ps xmm1, xmm1
movd xmm0, ecx
lea rcx, [rbp - 0x20]
cvtdq2ps xmm0, xmm0
movss dword [rdi + 8], xmm1
movss dword [rdi + 0xc], xmm0
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rbp - 0x20]
xorps xmm1, xmm1
sub rax, qword [0x1400a9170]
xorps xmm0, xmm0
cvtsi2ss xmm0, qword [0x1400a9178]
mov ecx, reloc.WS2_32.dll_recvfrom
cvtsi2ss xmm1, rax
divss xmm1, xmm0
movss dword [rdi + 0x10], xmm1
mov rax, qword [rbp - 0x20]
mov qword [0x1400a9170], rax
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov bl, 1
and al, bl
mov ecx, reloc.WS2_32.dll_recv
mov byte [rdi + 0x128], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, reloc.WS2_32.dll_select
and al, bl
mov byte [rdi + 0x129], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, bl
mov byte [rdi + 0x12b], 0
mov byte [rdi + 0x12a], al
call fcn.1400094a8
cmp byte [rax + 0x3a7], 0
lea rbx, [rax + 0x110]
je 0x1400201f9
cvttss2si ecx, dword [rbx]
lea rdx, [rbp - 0x30]
cvttss2si eax, dword [rax + 0x114]
mov dword [rbp - 0x30], ecx
mov rcx, qword [0x1400a9168]
mov dword [rbp - 0x2c], eax
call qword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [rbp - 0x2c]
mov ecx, dword [rbp - 0x30]
call qword [sym.imp.USER32.dll_SetCursorPos]
mov eax, 0xff7fffff
mov dword [rbx], eax
mov dword [rbx + 4], eax
call qword [sym.imp.USER32.dll_GetActiveWindow]
cmp rax, qword [0x1400a9168]
jne 0x14002024e
lea rcx, [rbp - 0x28]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x14002024e
mov rcx, qword [0x1400a9168]
lea rdx, [rbp - 0x28]
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x14002024e
movd xmm0, dword [rbp - 0x28]
movd xmm1, dword [rbp - 0x24]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [rbx], xmm0
movss dword [rbx + 4], xmm1
cmp byte [rdi + 0xc8], 0
je 0x14002025c
or eax, 0xffffffff
jmp 0x140020261
call fcn.1400094e4
cmp dword [reloc.WS2_32.dll_htonl], eax
je 0x140020274
mov dword [reloc.WS2_32.dll_htonl], eax
call fcn.14002029c
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400887f0
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x50
pop rbp
ret
Function at 0x14003a30c
Capabilities:
Create thread

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x88
mov rax, qword [0x1400a8bc0]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x30], 0
cmp dword [rsp + 0x90], 0
jl 0x14003a365
cmp dword [rsp + 0x90], 0x7c
jge 0x14003a365
lea r8, [rsp + 0x30]
mov edx, dword [rsp + 0x90]
lea rcx, [0x1400a77e0]
call fcn.14003ae54
lea rcx, [rsp + 0x50]
call fcn.14003484c
nop
cmp qword [rsp + 0x30], 0
jne 0x14003a38b
lea rdx, [0x140091498]
lea rcx, [rsp + 0x50]
call fcn.140035618
jmp 0x14003a39a
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.140035618
cmp dword [rsp + 0xa0], 1
jne 0x14003a3b5
lea rdx, [0x1400914a8]
lea rcx, [rsp + 0x50]
call fcn.140035618
movss xmm2, dword [0x140090090]
movss xmm1, dword [0x1400921ac]
lea rcx, [rsp + 0x48]
call fcn.140034bd0
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x50]
call fcn.14003d63c
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
call fcn.140025764
movzx eax, al
test eax, eax
je 0x14003a42a
cmp dword [rsp + 0xa0], 0
jne 0x14003a42a
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rsp + 0x98]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop
lea rcx, [rsp + 0x50]
call fcn.1400351e8
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1400887f0
add rsp, 0x88
ret

Function at 0x14003a44c
Capabilities:
Check for debugger via api
Terminate process

Disassembly:
sub rsp, 0x38
mov qword [rsp + 0x28], 0xffffffffffffffff
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CheckRemoteDebuggerPresent]
cmp dword [rsp + 0x20], 0
je 0x14003a48b
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
add rsp, 0x38
ret
Function at 0x14003a7b4
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x38
mov qword [rsp + 0x28], 0xbeef
mov dword [rsp + 0x20], 0
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14003a7de
cmp dword [rsp + 0x20], 0
je 0x14003a7ed
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
add rsp, 0x38
ret

Function at 0x14003a808
Capabilities:
Check for outputdebugstring error
Print debug messages
Terminate process

Disassembly:
push rdi
sub rsp, 0x50
mov rax, qword [0x1400a8bc0]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rax, [rsp + 0x20]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x21]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x22]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
mov r9b, byte [rsp + 0x20]
mov r8b, byte [rsp + 0x21]
mov dl, byte [rsp + 0x22]
lea rcx, [rsp + 0x30]
call fcn.140030594
mov rcx, rax
call fcn.14003dff8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x14003a893
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400887f0
add rsp, 0x50
pop rdi
ret

Function at 0x14003a8a8
Capabilities:
Terminate process

Disassembly:
push rdi
sub rsp, 0x510
mov rax, qword [0x1400a8bc0]
xor rax, rsp
mov qword [rsp + 0x500], rax
mov dword [rsp + 0x20], 0
lea rax, [rsp + 0x30]
mov rdi, rax
xor eax, eax
mov ecx, 0x4d0
rep stosb byte [rdi], al
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x60], 0x100010
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x14003a94a
cmp qword [rsp + 0x78], 0
jne 0x14003a942
cmp qword [rsp + 0x80], 0
jne 0x14003a942
cmp qword [rsp + 0x88], 0
jne 0x14003a942
cmp qword [rsp + 0x90], 0
jne 0x14003a942
cmp qword [rsp + 0x98], 0
jne 0x14003a942
cmp qword [rsp + 0xa0], 0
je 0x14003a94a
mov dword [rsp + 0x20], 1
cmp dword [rsp + 0x20], 0
je 0x14003a959
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov rcx, qword [rsp + 0x500]
xor rcx, rsp
call fcn.1400887f0
add rsp, 0x510
pop rdi
ret

Function at 0x14003a974
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x38
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x14003a999
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
add rsp, 0x38
ret
Function at 0x14003aadc
Capabilities:
Terminate process

Disassembly:
push rdi
sub rsp, 0x70
mov rax, qword [0x1400a8bc0]
xor rax, rsp
mov qword [rsp + 0x60], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x14003abe7
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x30]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x24], 0
jmp 0x14003ab67
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x38]
add rax, 0x28
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 6]
cmp dword [rsp + 0x24], eax
jge 0x14003abe7
lea rax, [rsp + 0x20]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x21]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x22]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
mov r9b, byte [rsp + 0x20]
mov r8b, byte [rsp + 0x21]
mov dl, byte [rsp + 0x22]
lea rcx, [rsp + 0x50]
call fcn.140030664
mov rcx, rax
call fcn.14003dff8
mov rcx, qword [rsp + 0x38]
mov rdx, rax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x14003abe2
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
jmp 0x14003ab4f
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400887f0
add rsp, 0x70
pop rdi
ret