joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000b800
Capabilities:
Check if file exists
Delete file
Get file attributes
Terminate process

Disassembly:
sub rsp, 0x68
mov rcx, qword [0x14002fdd8]
test rcx, rcx
je 0x14000b83b
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x14000b82e
mov rcx, qword [0x14002fdd8]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [0x14002fdd8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x14002fde8], 0
je 0x14000b92e
mov qword [rsp + 0x70], rbx
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x78], rbp
lea rbp, [0x140029908]
mov qword [rsp + 0x80], rsi
lea rsi, [0x140030610]
mov qword [rsp + 0x88], rdi
xor edi, edi
mov qword [rsp + 0x60], r14
mov r14d, 0x414
mov word [rsp + 0x40], r14w
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rbp
mov dword [rsp + 0x44], edi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rbp
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ebx, edi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000b90f
test al, 0x10
je 0x14000b90f
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rbp
mov word [rsp + 0x40], r14w
mov dword [rsp + 0x44], edi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rbp
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
inc ebx
cmp ebx, 0x14
jl 0x14000b8b5
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
mov r14, qword [rsp + 0x60]
add rsp, 0x68
ret
Function at 0x140006bf0
Capabilities:
Initialize winsock library

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x1d8
mov rax, qword [0x140037040]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
mov rcx, qword [rsp + 0x1e0]
call fcn.140006bb0
mov rax, qword [rsp + 0x1e0]
lea rcx, vtable.CTcpSocket.0
mov qword [rax], rcx
mov rax, qword [rsp + 0x1e0]
add rax, 0x40
mov rcx, rax
call fcn.1400019e0
nop
mov rax, qword [rsp + 0x1e0]
add rax, 0x60
mov rcx, rax
call fcn.1400019e0
nop
mov rax, qword [rsp + 0x1e0]
add rax, 0x80
mov rcx, rax
call fcn.1400019e0
nop
lea rdx, str.CTcpSocket::CTcpSocket
lea rcx, [0x140031728]
call fcn.140006b90
lea rdx, [rsp + 0x20]
mov cx, 0x202
call qword [sym.imp.WS2_32.dll_WSAStartup]
xor r9d, r9d
xor r8d, r8d
mov edx, 1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov rcx, qword [rsp + 0x1e0]
mov qword [rcx + 8], rax
mov rax, qword [rsp + 0x1e0]
add rax, 0x20
xor ecx, ecx
xchg dword [rax], ecx
mov rax, qword [rsp + 0x1e0]
mov qword [rax + 0xb0], 0xffffffffffffffff
mov rax, qword [rsp + 0x1e0]
mov qword [rax + 0xa0], 0
mov rax, qword [rsp + 0x1e0]
mov qword [rax + 0xa8], 0
mov rax, qword [rsp + 0x1e0]
mov dword [rax + 0x1c], 0
mov rax, qword [rsp + 0x1e0]
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.14000e220
add rsp, 0x1d8
ret

Function at 0x140006d30
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
lea rdx, str.CTcpSocket::Disconnect
lea rcx, [0x140031748]
call fcn.140006b90
mov rax, qword [rsp + 0x50]
cmp dword [rax + 0x20], 0
jne 0x140006d5c
jmp 0x140006de7
mov eax, 1
mov word [rsp + 0x30], ax
xor eax, eax
mov word [rsp + 0x32], ax
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x30]
mov r8d, 0x80
mov edx, 0xffff
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax + 0xb0]
call qword [sym.imp.WS2_32.dll_setsockopt]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax + 0xb0]
call qword [sym.imp.KERNEL32.dll_CancelIo]
mov rax, qword [rsp + 0x50]
add rax, 0x20
xor ecx, ecx
xchg dword [rax], ecx
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax + 0xb0]
call qword [sym.imp.WS2_32.dll_closesocket]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rax, qword [rsp + 0x50]
mov qword [rax + 0xb0], 0xffffffffffffffff
add rsp, 0x48
ret
Function at 0x1400076c0
Capabilities:
Send data
Send data on socket

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov dword [rsp + 0x24], 0
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x30], select
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x20], eax
jmp 0x14000771c
mov eax, dword [rsp + 0x68]
mov ecx, dword [rsp + 0x20]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x68]
cmp dword [rsp + 0x20], eax
jl 0x1400077bb
mov dword [rsp + 0x2c], 0
mov dword [rsp + 0x2c], 0
jmp 0x140007746
mov eax, dword [rsp + 0x2c]
inc eax
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x30]
cmp dword [rsp + 0x2c], eax
jge 0x14000777e
xor r9d, r9d
mov r8d, dword [rsp + 0x68]
mov rdx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax + 0xb0]
call qword [sym.imp.WS2_32.dll_send]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jle 0x14000777c
jmp 0x14000777e
jmp 0x14000773c
mov eax, dword [rsp + 0x30]
cmp dword [rsp + 0x2c], eax
jne 0x140007792
mov eax, 0xffffffff
jmp 0x140007846
mov eax, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x28]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
jmp 0x14000770c
cmp dword [rsp + 0x20], 0
jle 0x14000782f
mov dword [rsp + 0x34], 0
jmp 0x1400077d6
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x30]
cmp dword [rsp + 0x34], eax
jge 0x14000780e
xor r9d, r9d
mov r8d, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax + 0xb0]
call qword [sym.imp.WS2_32.dll_send]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jle 0x14000780c
jmp 0x14000780e
jmp 0x1400077cc
mov eax, dword [rsp + 0x30]
cmp dword [rsp + 0x34], eax
jne 0x14000781f
mov eax, 0xffffffff
jmp 0x140007846
mov eax, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x28]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x60]
cmp dword [rsp + 0x28], eax
jne 0x140007841
mov eax, dword [rsp + 0x28]
jmp 0x140007846
mov eax, 0xffffffff
add rsp, 0x48
ret

Function at 0x140007c90
Capabilities:
Initialize winsock library

Disassembly:
mov byte [rsp + 0x20], r9b
mov byte [rsp + 0x18], r8b
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
sub rsp, 0x30
lea rbp, [rsp + 0x20]
mov rax, qword [0x140037040]
xor rax, rbp
mov qword [rbp + 8], rax
mov rax, qword [rbp + 0x28]
mov qword [rbp], rax
cmp qword [rbp], 0
jne 0x140007ce1
mov eax, dword [rsp]
mov eax, 0x1a0
sub rsp, rax
lea rax, [rsp + 0x20]
mov ecx, dword [rax]
mov qword [rbp], rax
movzx eax, byte [rbp + 0x38]
and rax, 0xff
movzx eax, al
movzx ecx, byte [rbp + 0x30]
and rcx, 0xff
movzx ecx, cl
shl ecx, 8
or eax, ecx
mov rdx, qword [rbp]
movzx ecx, ax
call qword [sym.imp.WS2_32.dll_WSAStartup]
mov rcx, qword [rbp + 0x20]
mov dword [rcx], eax
mov rax, qword [rbp + 0x20]
mov rcx, qword [rbp + 8]
xor rcx, rbp
call fcn.14000e220
lea rsp, [rbp + 0x10]
pop rbp
ret
Function at 0x1400080a0
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 0x20], r9
mov word [rsp + 0x18], r8w
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov dword [rsp + 0x38], 0x598
mov rax, qword [rsp + 0x70]
cmp dword [rax + 0x21c], 0
jne 0x1400080e0
mov rax, qword [rsp + 0x70]
mov ecx, dword [rsp + 0x38]
mov dword [rax + 0x23c], ecx
jmp 0x14000810e
mov rax, qword [rsp + 0x70]
mov ecx, dword [rsp + 0x38]
cmp dword [rax + 0x21c], ecx
jbe 0x1400080f8
xor eax, eax
jmp 0x1400082fc
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x70]
mov ecx, dword [rcx + 0x21c]
mov dword [rax + 0x23c], ecx
mov rax, qword [rsp + 0x70]
mov dword [rax + 0x8c], 0
mov rcx, qword [rsp + 0x70]
call fcn.140008310
mov rax, qword [rsp + 0x70]
add rax, 0x48
mov dword [rsp + 0x20], 1
xor r9d, r9d
mov r8d, 5
mov edx, 1
mov rcx, rax
call fcn.140007e00
mov dword [rsp + 0x34], 0
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.140007dc0
lea rcx, [0x1400398a0]
call fcn.140007b80
mov rcx, qword [rsp + 0x70]
mov qword [rcx + 0x68], rax
mov rax, qword [rsp + 0x70]
cmp qword [rax + 0x68], 0
jne 0x14000819b
lea rcx, [0x1400398a0]
call fcn.140007b80
mov rcx, qword [rsp + 0x70]
mov qword [rcx + 0x68], rax
mov dword [rsp + 0x30], 0x40000
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x30]
mov r8d, 0x1001
mov edx, 0xffff
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax + 0x58]
call qword [sym.imp.WS2_32.dll_setsockopt]
mov dword [rsp + 0x30], 0x40000
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x30]
mov r8d, 0x1002
mov edx, 0xffff
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax + 0x58]
call qword [sym.imp.WS2_32.dll_setsockopt]
movzx r8d, word [rsp + 0x80]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
call fcn.140008440
test eax, eax
je 0x140008290
mov rax, qword [rsp + 0x70]
add rax, 0x80
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
mov r9, qword [rsp + 0x70]
lea r8, [0x140008760]
xor edx, edx
xor ecx, ecx
call fcn.14001791c
mov rcx, qword [rsp + 0x70]
mov qword [rcx + 0x78], rax
mov rax, qword [rsp + 0x70]
cmp qword [rax + 0x78], 0
je 0x140008272
mov dword [rsp + 0x34], 1
mov rax, qword [rsp + 0x70]
add rax, 0x40
mov rcx, rax
call fcn.140007fc0
jmp 0x14000828e
mov r9d, 0x65f
lea r8, [0x140031d10]
mov edx, 8
mov rcx, qword [rsp + 0x70]
call fcn.140009800
jmp 0x1400082af
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r9d, eax
lea r8, str.CUdpSocket::Start
mov edx, 0xb
mov rcx, qword [rsp + 0x70]
call fcn.140009800
cmp dword [rsp + 0x34], 0
jne 0x1400082f8
mov rax, qword [rsp + 0x70]
add rax, 0x48
mov dword [rsp + 0x20], 1
xor r9d, r9d
mov r8d, 5
xor edx, edx
mov rcx, rax
call fcn.140007e00
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x3c], eax
mov rcx, qword [rsp + 0x70]
call fcn.1400093e0
mov ecx, dword [rsp + 0x3c]
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [rsp + 0x34]
add rsp, 0x68
ret
Function at 0x140008a90
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax + 0x58]
call qword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
jne 0x140008ad9
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0x2733
jne 0x140008ad9
mov dword [rsp + 0x20], 0
mov rax, qword [rsp + 0x40]
mov rdx, qword [rax + 0x68]
lea rcx, str._C_CNNID:__Iu__send_0_bytes__detect_package__n
call fcn.140006b90
mov eax, dword [rsp + 0x20]
add rsp, 0x38
ret

Function at 0x140008ff0
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
xor eax, eax
cmp eax, 1
je 0x14000918f
xor r9d, r9d
mov r8d, 0x598
mov rax, qword [rsp + 0x50]
mov rdx, qword [rax + 0xa0]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax + 0x58]
call qword [sym.imp.WS2_32.dll_recv]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jle 0x140009123
cmp dword [rsp + 0x30], 0x10
jne 0x14000908e
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [0x140031840]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax + 0xa0]
call fcn.140025260
test eax, eax
jne 0x14000908e
mov rax, qword [rsp + 0x50]
add rax, 0x48
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 5
mov edx, 1
mov rcx, rax
call fcn.140007e00
xor eax, eax
jmp 0x140009194
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, qword [rsp + 0x50]
add rax, 0x268
mov rcx, qword [rsp + 0x50]
mov ecx, dword [rcx + 0x244]
mov dword [rsp + 0x20], ecx
mov rcx, qword [rsp + 0x50]
mov r9, qword [rcx + 0x250]
mov r8d, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rcx + 0xa0]
mov rcx, rax
call fcn.14000a510
cmp eax, 2
jne 0x140009121
mov rax, qword [rsp + 0x50]
mov rdx, qword [rax + 0x68]
lea rcx, str._C_CNNID:__Iu__OnReceive___event_return_HR_ERROR__connection_will_be_closed___n
call fcn.140006b90
mov ecx, 0x4c7
call fcn.140007c60
mov rcx, qword [rsp + 0x50]
add rcx, 0x48
mov dword [rsp + 0x20], 1
mov r9d, eax
mov r8d, 4
mov edx, 1
call fcn.140007e00
xor eax, eax
jmp 0x140009194
jmp 0x14000918a
cmp dword [rsp + 0x30], 0xffffffff
jne 0x14000918a
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0x2733
jne 0x140009142
jmp 0x14000918f
cmp dword [rsp + 0x34], 0x2744
je 0x140009156
cmp dword [rsp + 0x34], 0x2746
jne 0x14000915d
jmp 0x140008ff9
mov rax, qword [rsp + 0x50]
add rax, 0x48
mov dword [rsp + 0x20], 1
mov r9d, dword [rsp + 0x34]
mov r8d, 4
mov edx, 1
mov rcx, rax
call fcn.140007e00
xor eax, eax
jmp 0x140009194
jmp 0x140008ff9
mov eax, 1
add rsp, 0x48
ret
Function at 0x1400091a0
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x68
xor eax, eax
cmp eax, 1
je 0x140009358
mov rcx, qword [rsp + 0x70]
call fcn.140009370
mov rcx, qword [rsp + 0x70]
add rcx, 0xb8
mov r8, rax
mov rdx, rcx
lea rcx, [rsp + 0x50]
call fcn.14000a470
nop
lea rcx, [rsp + 0x50]
call fcn.14000a4b0
movzx eax, al
test eax, eax
je 0x14000933d
lea rcx, [rsp + 0x50]
call fcn.14000a4a0
mov rcx, rax
call fcn.1400025d0
mov dword [rsp + 0x38], eax
lea rcx, [rsp + 0x50]
call fcn.14000a4a0
mov rcx, rax
call fcn.140007c50
xor r9d, r9d
mov ecx, dword [rsp + 0x38]
mov r8d, ecx
mov rdx, rax
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax + 0x58]
call qword [sym.imp.WS2_32.dll_send]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jle 0x140009280
mov rax, qword [rsp + 0x70]
add rax, 0x1b8
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.140002930
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 0x218]
sub eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x70]
mov dword [rcx + 0x218], eax
lea rcx, [rsp + 0x48]
call fcn.140002910
jmp 0x14000933b
cmp dword [rsp + 0x30], 0xffffffff
jne 0x14000933b
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0x2733
jne 0x1400092fa
mov rax, qword [rsp + 0x70]
add rax, 0x1b8
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140002930
nop
lea rcx, [rsp + 0x50]
call fcn.14000a4e0
mov rcx, qword [rsp + 0x70]
add rcx, 0x1e0
mov rdx, rax
call fcn.14000a900
nop
lea rcx, [rsp + 0x40]
call fcn.140002910
nop
lea rcx, [rsp + 0x50]
call fcn.14000a450
jmp 0x140009358
mov rax, qword [rsp + 0x70]
add rax, 0x48
mov dword [rsp + 0x20], 1
mov r9d, dword [rsp + 0x34]
mov r8d, 3
mov edx, 1
mov rcx, rax
call fcn.140007e00
mov dword [rsp + 0x3c], 0
lea rcx, [rsp + 0x50]
call fcn.14000a450
mov eax, dword [rsp + 0x3c]
jmp 0x14000935d
jmp 0x140009349
lea rcx, [rsp + 0x50]
call fcn.14000a450
jmp 0x140009358
lea rcx, [rsp + 0x50]
call fcn.14000a450
jmp 0x1400091a9
mov eax, 1
add rsp, 0x68
ret

Function at 0x1400096b0
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rcx, qword [rsp + 0x30]
call fcn.140008040
test eax, eax
jne 0x1400096c9
jmp 0x1400096ff
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x54], 0
je 0x1400096f3
xor r9d, r9d
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [0x140031840]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0x58]
call qword [sym.imp.WS2_32.dll_send]
xor edx, edx
mov rcx, qword [rsp + 0x30]
call fcn.140008070
add rsp, 0x28
ret
Function at 0x14000b7c0
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x170
mov rax, qword [0x140037040]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rax, qword gs:[0x60]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x14000b941
mov rax, qword [rsp + 0x28]
cmp qword [rax + 0x50], 0
je 0x14000b92d
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x48]
cmp eax, 0x103
jge 0x14000b92b
lea rax, [rsp + 0x50]
mov rdi, rax
xor eax, eax
mov ecx, 0x104
rep stosb byte [rdi], al
mov dword [rsp + 0x20], 0
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 0x50]
movzx eax, word [rcx + rax*2]
test eax, eax
je 0x14000b8e5
mov eax, dword [rsp + 0x20]
cmp rax, 0x103
jae 0x14000b8e5
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 0x50]
movsx eax, byte [rcx + rax*2]
cmp eax, 0x61
jl 0x14000b8bd
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 0x50]
movsx eax, byte [rcx + rax*2]
cmp eax, 0x7a
jg 0x14000b8bd
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 0x50]
movsx eax, byte [rcx + rax*2]
sub eax, 0x20
mov ecx, dword [rsp + 0x20]
mov byte [rsp + rcx + 0x50], al
jmp 0x14000b8d6
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 0x50]
mov edx, dword [rsp + 0x20]
movzx eax, byte [rcx + rax*2]
mov byte [rsp + rdx + 0x50], al
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
jmp 0x14000b852
mov eax, dword [rsp + 0x20]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0x104
jae 0x14000b8fb
jmp 0x14000b900
call fcn.14000e6e4
mov rax, qword [rsp + 0x30]
mov byte [rsp + rax + 0x50], 0
mov rdx, qword [rsp + 0x180]
lea rcx, [rsp + 0x50]
call fcn.14000b730
test eax, eax
jne 0x14000b92b
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x20]
jmp 0x14000b943
jmp 0x14000b92f
jmp 0x14000b941
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
jmp 0x14000b809
xor eax, eax
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.14000e220
add rsp, 0x170
pop rdi
ret
Function at 0x14000b960
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x88
cmp qword [rsp + 0x90], 0
jne 0x14000b983
xor eax, eax
jmp 0x14000badc
mov qword [rsp + 0x78], 0
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x60]
lea rax, [rcx + rax + 0x88]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 0
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x18]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x28]
dec eax
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x38], 0
je 0x14000bad7
mov rax, qword [rsp + 0x48]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x70], rax
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x70]
call fcn.14000b730
test eax, eax
jne 0x14000bab6
mov rax, qword [rsp + 0x50]
movzx eax, word [rax]
mov rcx, qword [rsp + 0x40]
lea rax, [rcx + rax*4]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
jmp 0x14000bad7
mov rax, qword [rsp + 0x48]
add rax, 4
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x50]
add rax, 2
mov qword [rsp + 0x50], rax
jmp 0x14000ba41
mov rax, qword [rsp + 0x58]
add rsp, 0x88
ret
Function at 0x14000dc80
Capabilities:
Create thread
Hide graphical window

Disassembly:
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x38
lea rcx, [0x14000dc50]
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, eax
call qword [sym.imp.USER32.dll_PostThreadMessageA]
call qword [sym.imp.USER32.dll_GetInputState]
call fcn.14000d260
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x14000d6f0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [0x14003ab50], rax
mov edx, 0xffffffff
mov rcx, qword [0x14003ab50]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [0x14003ab50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 0x12c
call qword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
add rsp, 0x38
ret

Function at 0x14000ee0c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000ee56
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000ee56
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000ee56
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000ee56
cmp dword [rcx + 0x84], 0xe
jbe 0x14000ee56
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14000ee58
xor al, al
add rsp, 0x28
ret

Function at 0x14001791c
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, edx
mov rbp, rcx
test r8, r8
jne 0x140017953
call fcn.140017ad8
mov dword [rax], reloc.WS2_32.dll_shutdown
call fcn.140014fa4
xor eax, eax
jmp 0x1400179e1
mov rdx, r9
mov rcx, r8
call fcn.1400178b8
mov rbx, rax
test rax, rax
je 0x1400179de
lea rax, [rsp + 0x50]
mov rdx, rsi
mov qword [rsp + 0x28], rax
lea r8, [0x1400177e4]
mov eax, dword [rsp + 0x60]
mov r9, rbx
mov rcx, rbp
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x1400179cb
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140017a4c
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1400179b2
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x1400179c1
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.140019d84
jmp 0x1400179de
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1400179db
mov eax, dword [rsp + 0x50]
mov dword [rcx], eax
mov rdi, rdx
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x1400189a0
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14001879c
Function at 0x14001e018
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x14001e09f
mov rsi, rbx
cmp word [rax], bp
je 0x14001e05e
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x14001e048
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x14001e044
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.14001a498
mov rdi, rax
test rax, rax
je 0x14001e08c
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.140024820
mov rbp, rdi
xor ecx, ecx
call fcn.140019d84
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140024390
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400243b8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1400243b8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret