joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14009cac8
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov byte [rsp + 0x20], r9b
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x90]
call fcn.140097428
nop
mov rax, qword [rsp + 0x90]
lea rcx, vtable.asio::detail::win_iocp_io_context.0
mov qword [rax], rcx
mov rax, qword [rsp + 0x90]
add rax, 0x28
mov rcx, rax
call fcn.140013d10
nop
mov rax, qword [rsp + 0x90]
mov dword [rax + 0x30], 0
mov rax, qword [rsp + 0x90]
mov dword [rax + 0x34], 0
mov rax, qword [rsp + 0x90]
mov dword [rax + 0x38], 0
mov rax, qword [rsp + 0x90]
mov dword [rax + 0x3c], 0
call fcn.1400bfacc
mov rcx, qword [rsp + 0x90]
mov dword [rcx + 0x40], eax
mov rax, qword [rsp + 0x90]
add rax, 0x48
mov qword [rsp + 0x38], rax
xor edx, edx
mov rcx, qword [rsp + 0x38]
call fcn.14000b2ac
nop
mov rax, qword [rsp + 0x90]
add rax, 0x50
mov rcx, rax
call fcn.140013d10
nop
mov rax, qword [rsp + 0x90]
mov dword [rax + 0x58], 0
mov rax, qword [rsp + 0x90]
add rax, 0x60
mov rcx, rax
call fcn.14009ce38
nop
mov rax, qword [rsp + 0x90]
add rax, 0x88
mov rcx, rax
call fcn.140013d10
mov rax, qword [rsp + 0x90]
add rax, 0x90
mov rcx, rax
call fcn.14003ec58
nop
mov rax, qword [rsp + 0x90]
mov ecx, dword [rsp + 0xa0]
mov dword [rax + 0xa0], ecx
mov rax, qword [rsp + 0x90]
add rax, 0xa8
mov qword [rsp + 0x40], rax
xor edx, edx
mov rcx, qword [rsp + 0x40]
call fcn.14000b2ac
nop
cmp dword [rsp + 0xa0], 0
jl 0x14009cc3c
mov eax, dword [rsp + 0xa0]
mov dword [rsp + 0x20], eax
jmp 0x14009cc44
mov dword [rsp + 0x20], 0xffffffff
mov r9d, dword [rsp + 0x20]
xor r8d, r8d
xor edx, edx
mov rcx, 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
mov rcx, qword [rsp + 0x90]
mov qword [rcx + 0x28], rax
mov rax, qword [rsp + 0x90]
cmp qword [rax + 0x28], 0
jne 0x14009cca7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x24], eax
call fcn.14003fc90
mov r8, rax
mov edx, dword [rsp + 0x24]
lea rcx, [rsp + 0x68]
call fcn.140014ac8
lea rdx, str.iocp
lea rcx, [rsp + 0x68]
call fcn.140040510
movzx eax, byte [rsp + 0xa8]
test eax, eax
je 0x14009cd46
mov rax, qword [rsp + 0x90]
add rax, 0x30
lock inc dword [rax]
mov rax, qword [rsp + 0x90]
add rax, 0xa8
mov qword [rsp + 0x58], rax
mov ecx, 0x18
call fcn.14018b200
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x14009cd23
mov rdx, qword [rsp + 0x90]
lea rcx, [rsp + 0x60]
call fcn.14000b2ac
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
xor r8d, r8d
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x28]
call fcn.1400702f0
mov qword [rsp + 0x30], rax
jmp 0x14009cd2c
mov qword [rsp + 0x30], 0
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x50], rax
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
call fcn.1400d5850
nop
mov rax, qword [rsp + 0x90]
add rsp, 0x88
ret

Function at 0x1400a0558
Capabilities:
Set thread local storage value

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rdx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x30]
mov ecx, dword [rax]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
add rsp, 0x28
ret
Function at 0x1400b3a18
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 0x20], r9
mov byte [rsp + 0x18], r8b
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov dword [rsp + 0x44], 0
cmp qword [rsp + 0x90], 0xffffffffffffffff
je 0x1400b3bbd
movzx eax, byte [rsp + 0xa0]
test eax, eax
je 0x1400b3abe
mov rax, qword [rsp + 0x98]
movzx eax, byte [rax]
and eax, 8
test eax, eax
je 0x1400b3abe
xor eax, eax
mov word [rsp + 0x48], ax
xor eax, eax
mov word [rsp + 0x4a], ax
lea rcx, [rsp + 0x50]
call fcn.14003ef10
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], 4
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 0x80
mov r8d, 0xffff
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x90]
call fcn.1400da450
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.WS2_32.dll_closesocket]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
je 0x1400b3ade
mov byte [rsp + 0x40], 1
jmp 0x1400b3ae3
mov byte [rsp + 0x40], 0
mov dl, byte [rsp + 0x40]
mov rcx, qword [rsp + 0xa8]
call fcn.1400bfe80
cmp dword [rsp + 0x44], 0
je 0x1400b3bbd
mov edx, 0x2733
lea rcx, [rsp + 0x60]
call fcn.140072d00
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0xa8]
call fcn.140017224
movzx eax, al
test eax, eax
jne 0x1400b3b4f
mov edx, 0x4d5
lea rcx, [rsp + 0x70]
call fcn.140072d00
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0xa8]
call fcn.140017224
movzx eax, al
test eax, eax
je 0x1400b3bbd
mov dword [rsp + 0x4c], 0
lea r8, [rsp + 0x4c]
mov edx, 0x8004667e
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.WS2_32.dll_ioctlsocket]
mov rax, qword [rsp + 0x98]
movzx eax, byte [rax]
and eax, 0xfffffffc
mov rcx, qword [rsp + 0x98]
mov byte [rcx], al
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.WS2_32.dll_closesocket]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
je 0x1400b3ba7
mov byte [rsp + 0x41], 1
jmp 0x1400b3bac
mov byte [rsp + 0x41], 0
mov dl, byte [rsp + 0x41]
mov rcx, qword [rsp + 0xa8]
call fcn.1400bfe80
mov eax, dword [rsp + 0x44]
add rsp, 0x88
ret

Function at 0x1400c8f44
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 8]
mov qword [rsp + 0x28], rax
mov r9d, 0xffffffff
xor r8d, r8d
lea rdx, [rsp + 0x20]
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.1400dca34
movzx eax, al
test eax, eax
je 0x1400c8fb0
xor edx, edx
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_TerminateThread]
jmp 0x1400c8fdd
xor r8d, r8d
mov rax, qword [rsp + 0x40]
mov rdx, qword [rax + 8]
lea rcx, [fcn.140008e54]
call qword [sym.imp.KERNEL32.dll_QueueUserAPC]
mov edx, 0xffffffff
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
add rsp, 0x38
ret
Function at 0x1400cb760
Capabilities:
Hash data with md5

Disassembly:
mov qword [rsp + 8], rcx
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 8]
mov dword [rcx + rax], 0
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 8]
mov dword [rcx + rax], 0
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 8], 0x67452301
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 8], 0xefcdab89
mov eax, 4
imul rax, rax, 2
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 8], 0x98badcfe
mov eax, 4
imul rax, rax, 3
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 8], 0x10325476
ret

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

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x40], 0
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x44], eax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x20], eax
lea r9, [rsp + 0x40]
mov r8d, dword [rsp + 0x48]
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.WS2_32.dll_WSASend]
mov dword [rsp + 0x4c], eax
mov dl, 1
mov rcx, qword [rsp + 0x80]
call fcn.1400bfe80
mov rcx, qword [rsp + 0x80]
call fcn.140008348
cmp eax, 0x40
jne 0x1400d8175
mov edx, 0x2746
mov rcx, qword [rsp + 0x80]
call fcn.140073390
jmp 0x1400d819b
mov rcx, qword [rsp + 0x80]
call fcn.140008348
cmp eax, 0x4d2
jne 0x1400d819b
mov edx, 0x274d
mov rcx, qword [rsp + 0x80]
call fcn.140073390
cmp dword [rsp + 0x4c], 0
je 0x1400d81a9
mov eax, 0xffffffff
jmp 0x1400d81cc
mov rcx, qword [rsp + 0x80]
call fcn.140020088
mov r8, rax
xor edx, edx
mov rcx, qword [rsp + 0x80]
call fcn.1400b01d8
mov eax, dword [rsp + 0x40]
add rsp, 0x58
ret

Function at 0x1400dabd4
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
sub rsp, 0x48
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, dword [rsp + 0x60]
mov edx, dword [rsp + 0x58]
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.WS2_32.dll_WSASocketW]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0xffffffffffffffff
jne 0x1400dac24
mov byte [rsp + 0x30], 1
jmp 0x1400dac29
mov byte [rsp + 0x30], 0
mov dl, byte [rsp + 0x30]
mov rcx, qword [rsp + 0x68]
call fcn.1400bfe80
cmp qword [rsp + 0x38], 0xffffffffffffffff
jne 0x1400dac46
mov rax, qword [rsp + 0x38]
jmp 0x1400dac7d
cmp dword [rsp + 0x50], 0x17
jne 0x1400dac78
mov dword [rsp + 0x34], 0
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x34]
mov r8d, 0x1b
mov edx, 0x29
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.WS2_32.dll_setsockopt]
mov rax, qword [rsp + 0x38]
add rsp, 0x48
ret
Function at 0x1400db444
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
call fcn.140007c18
mov rax, qword [rsp + 0x80]
mov rcx, qword [rax + 8]
call fcn.1400de6bc
movzx eax, byte [rsp + 0xa8]
test eax, eax
je 0x1400db4bc
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 8]
mov qword [rsp + 0x50], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x50]
call fcn.1400ccdd0
jmp 0x1400db5f6
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
call fcn.1400c8e94
movzx eax, al
test eax, eax
jne 0x1400db509
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 8]
mov qword [rsp + 0x58], rax
xor r9d, r9d
mov r8d, 0x2719
mov rdx, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x58]
call fcn.1400ccdd0
jmp 0x1400db5f6
mov dword [rsp + 0x44], 0
mov eax, dword [rsp + 0xa0]
mov dword [rsp + 0x48], eax
mov qword [rsp + 0x30], 0
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x44]
mov r8d, dword [rsp + 0x98]
mov rdx, qword [rsp + 0x90]
mov rax, qword [rsp + 0x88]
mov rcx, qword [rax]
call qword [sym.imp.WS2_32.dll_WSARecv]
mov dword [rsp + 0x4c], eax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0x40
jne 0x1400db581
mov dword [rsp + 0x40], 0x2746
jmp 0x1400db593
cmp dword [rsp + 0x40], 0x4d2
jne 0x1400db593
mov dword [rsp + 0x40], 0x274d
cmp dword [rsp + 0x4c], 0
je 0x1400db5d3
cmp dword [rsp + 0x40], 0x3e5
je 0x1400db5d3
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 8]
mov qword [rsp + 0x60], rax
mov r9d, dword [rsp + 0x44]
mov r8d, dword [rsp + 0x40]
mov rdx, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x60]
call fcn.1400ccdd0
jmp 0x1400db5f6
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 8]
mov qword [rsp + 0x68], rax
mov rdx, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x68]
call fcn.1400cce90
add rsp, 0x78
ret
Function at 0x1400db5fc
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
call fcn.140007c18
mov rax, qword [rsp + 0x80]
mov rcx, qword [rax + 8]
call fcn.1400de6bc
movzx eax, byte [rsp + 0xa8]
test eax, eax
je 0x1400db674
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 8]
mov qword [rsp + 0x50], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x50]
call fcn.1400ccdd0
jmp 0x1400db793
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
call fcn.1400c8e94
movzx eax, al
test eax, eax
jne 0x1400db6c1
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 8]
mov qword [rsp + 0x58], rax
xor r9d, r9d
mov r8d, 0x2719
mov rdx, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x58]
call fcn.1400ccdd0
jmp 0x1400db793
mov dword [rsp + 0x44], 0
mov qword [rsp + 0x30], 0
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0xa0]
mov dword [rsp + 0x20], eax
lea r9, [rsp + 0x44]
mov r8d, dword [rsp + 0x98]
mov rdx, qword [rsp + 0x90]
mov rax, qword [rsp + 0x88]
mov rcx, qword [rax]
call qword [sym.imp.WS2_32.dll_WSASend]
mov dword [rsp + 0x48], eax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0x4d2
jne 0x1400db730
mov dword [rsp + 0x40], 0x274d
cmp dword [rsp + 0x48], 0
je 0x1400db770
cmp dword [rsp + 0x40], 0x3e5
je 0x1400db770
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 8]
mov qword [rsp + 0x60], rax
mov r9d, dword [rsp + 0x44]
mov r8d, dword [rsp + 0x40]
mov rdx, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x60]
call fcn.1400ccdd0
jmp 0x1400db793
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 8]
mov qword [rsp + 0x68], rax
mov rdx, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x68]
call fcn.1400cce90
add rsp, 0x78
ret
Function at 0x1400e6820
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov rax, qword [0x1402506d8]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x2c], 0
mov dword [rsp + 0x20], 0
lea rcx, [rsp + 0x78]
call fcn.1400e6780
nop
lea rcx, [rsp + 0x58]
call fcn.140012f94
nop
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x48]
call fcn.140025d6c
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x48]
call fcn.1400e6504
mov qword [rsp + 0x50], rax
jmp 0x1400e68b3
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x38], rax
je 0x1400e69cd
mov rax, qword [rsp + 0x38]
mov al, byte [rax]
mov byte [rsp + 0x24], al
movzx eax, byte [rsp + 0x24]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x2c]
cdq
mov ecx, 3
idiv ecx
mov eax, edx
shl eax, 3
mov ecx, 0x10
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x28]
mov cl, al
mov eax, dword [rsp + 0x40]
shl eax, cl
mov ecx, dword [rsp + 0x20]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x28], 0x10
jne 0x1400e6938
mov eax, dword [rsp + 0x20]
shr eax, 0x12
and eax, 0x3f
mov eax, eax
mov edx, eax
lea rcx, [rsp + 0x78]
call fcn.1400e6528
mov dl, byte [rax]
lea rcx, [rsp + 0x58]
call fcn.140018728
cmp dword [rsp + 0x28], 8
jne 0x1400e6963
mov eax, dword [rsp + 0x20]
shr eax, 0xc
and eax, 0x3f
mov eax, eax
mov edx, eax
lea rcx, [rsp + 0x78]
call fcn.1400e6528
mov dl, byte [rax]
lea rcx, [rsp + 0x58]
call fcn.140018728
cmp dword [rsp + 0x28], 0
jne 0x1400e69be
cmp dword [rsp + 0x2c], 3
je 0x1400e69be
mov eax, dword [rsp + 0x20]
shr eax, 6
and eax, 0x3f
mov eax, eax
mov edx, eax
lea rcx, [rsp + 0x78]
call fcn.1400e6528
mov dl, byte [rax]
lea rcx, [rsp + 0x58]
call fcn.140018728
mov eax, dword [rsp + 0x20]
and eax, 0x3f
mov eax, eax
mov edx, eax
lea rcx, [rsp + 0x78]
call fcn.1400e6528
mov dl, byte [rax]
lea rcx, [rsp + 0x58]
call fcn.140018728
mov dword [rsp + 0x20], 0
mov eax, dword [rsp + 0x2c]
inc eax
mov dword [rsp + 0x2c], eax
jmp 0x1400e68a6
cmp dword [rsp + 0x28], 0x10
jne 0x1400e6a09
mov eax, dword [rsp + 0x20]
shr eax, 0xc
and eax, 0x3f
mov eax, eax
mov edx, eax
lea rcx, [rsp + 0x78]
call fcn.1400e6528
mov dl, byte [rax]
lea rcx, [rsp + 0x58]
call fcn.140018728
lea rdx, [0x1401ec704]
lea rcx, [rsp + 0x58]
call fcn.14003b05c
cmp dword [rsp + 0x28], 8
jne 0x1400e6a40
mov eax, dword [rsp + 0x20]
shr eax, 6
and eax, 0x3f
mov eax, eax
mov edx, eax
lea rcx, [rsp + 0x78]
call fcn.1400e6528
mov dl, byte [rax]
lea rcx, [rsp + 0x58]
call fcn.140018728
mov dl, 0x3d
lea rcx, [rsp + 0x58]
call fcn.140018728
lea rdx, [rsp + 0x58]
mov rcx, qword [rsp + 0xb0]
call fcn.1400127b8
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x58]
call fcn.140016068
nop
lea rcx, [rsp + 0x78]
call fcn.140016068
mov rax, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.14018b840
add rsp, 0xa8
ret
Function at 0x1400ebc74
Capabilities:
Get file size

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0xd8
mov rax, qword [0x1402506d8]
xor rax, rsp
mov qword [rsp + 0xc8], rax
lea rcx, [rsp + 0x58]
call fcn.1400f8618
mov rdx, qword [rsp + 0xf8]
lea rcx, [rsp + 0xa8]
call fcn.140039c30
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x48]
call fcn.140025d88
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x2000080
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, 3
mov edx, 0x80000000
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0xa8]
call fcn.140016090
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1400ebd98
mov r9d, 0x28
lea r8, [rsp + 0x80]
xor edx, edx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetFileInformationByHandleEx]
test eax, eax
je 0x1400ebd98
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x60], rax
mov eax, dword [rsp + 0xa0]
and eax, 0x10
test eax, eax
jne 0x1400ebd5c
mov dword [rsp + 0x68], 0
mov eax, dword [rsp + 0xa0]
and eax, 0x10
test eax, eax
je 0x1400ebd72
mov dword [rsp + 0x68], 1
mov rcx, qword [rsp + 0x80]
call fcn.1400f2c20
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x98]
call fcn.1400f2c20
mov qword [rsp + 0x78], rax
jmp 0x1400ebda0
mov dword [rsp + 0x58], reloc.WS2_32.dll_ntohs
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rax, [rsp + 0x58]
mov rdi, qword [rsp + 0xf0]
mov rsi, rax
mov ecx, 0x28
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0xc8]
xor rcx, rsp
call fcn.14018b840
add rsp, 0xd8
pop rdi
pop rsi
ret

Function at 0x140102c74
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [0x1402506d8]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x38]
call fcn.140039c30
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x30]
call fcn.140025d88
mov dword [rsp + 0x28], 5
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, rax
xor edx, edx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
lea rcx, [rsp + 0x38]
call fcn.140016090
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14018b840
add rsp, 0x68
ret
Function at 0x140103cb8
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
mov eax, 0x100f8
call fcn.14018b8b0
sub rsp, rax
mov rax, qword [0x1402506d8]
xor rax, rsp
mov qword [rsp + 0x100e0], rax
mov dword [rsp + 0x20], 0
mov rdx, qword [rsp + 0x10108]
lea rcx, [rsp + 0xc0]
call fcn.140039c30
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x38]
call fcn.140025d88
mov r8d, 0x7fff
lea rdx, [rsp + 0xe0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
jbe 0x140103d88
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0x60]
call fcn.14010b3e0
nop
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0xa0]
call fcn.140039d78
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x20]
or eax, 2
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x28], rax
jmp 0x140103db6
lea rdx, [0x1401ee7a6]
lea rcx, [rsp + 0x80]
call fcn.1400128d0
mov qword [rsp + 0x50], rax
mov eax, dword [rsp + 0x20]
or eax, 4
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x58], rax
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x10100]
call fcn.1400127b8
mov eax, dword [rsp + 0x20]
or eax, 8
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
and eax, 4
test eax, eax
je 0x140103dfb
and dword [rsp + 0x20], 0xfffffffb
lea rcx, [rsp + 0x80]
call fcn.140016068
nop
mov eax, dword [rsp + 0x20]
and eax, 2
test eax, eax
je 0x140103e19
and dword [rsp + 0x20], 0xfffffffd
lea rcx, [rsp + 0xa0]
call fcn.140016068
nop
mov eax, dword [rsp + 0x20]
and eax, 1
test eax, eax
je 0x140103e34
and dword [rsp + 0x20], 0xfffffffe
lea rcx, [rsp + 0x60]
call fcn.140016090
nop
lea rcx, [rsp + 0xc0]
call fcn.140016090
mov rax, qword [rsp + 0x10100]
mov rcx, qword [rsp + 0x100e0]
xor rcx, rsp
call fcn.14018b840
add rsp, 0x100f8
ret
Function at 0x140111530
Capabilities:
Hide graphical window

Disassembly:
sub rsp, 0x68
call fcn.1401114f8
movzx eax, al
test eax, eax
je 0x140111545
jmp 0x1401115dd
mov edx, 5
mov rcx, qword [0x14025b098]
call qword [sym.imp.USER32.dll_ShowWindow]
mov dword [rsp + 0x30], 0x43
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [0x14025b098]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [0x14025b098]
call qword [sym.imp.USER32.dll_SetForegroundWindow]
test eax, eax
jne 0x1401115cc
mov dword [rsp + 0x40], 0x20
mov rax, qword [0x14025b098]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x50], reloc.WS2_32.dll_ntohl
mov dword [rsp + 0x54], 0
mov dword [rsp + 0x58], 0
lea rcx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_FlashWindowEx]
call fcn.140114210
movzx eax, al
test eax, eax
je 0x1401115dd
call fcn.140114278
add rsp, 0x68
ret

Function at 0x140114278
Capabilities:
Hide graphical window

Disassembly:
sub rsp, 0x58
mov eax, dword [0x14025b1a8]
mov dword [rsp + 0x44], eax
mov eax, dword [0x14025b1ac]
mov dword [rsp + 0x40], eax
call fcn.140111454
movzx eax, al
test eax, eax
jne 0x1401142c3
movzx eax, byte [0x14025b122]
test eax, eax
je 0x1401142c3
mov dl, 1
lea rcx, [rsp + 0x48]
call fcn.140114108
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x4c]
mov dword [rsp + 0x40], eax
xor edx, edx
mov rcx, qword [0x14025b098]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rax, qword [0x14025b070]
mov r8d, dword [rax]
mov edx, 0xffffffec
mov rcx, qword [0x14025b098]
call qword [sym.imp.USER32.dll_SetWindowLongW]
mov dword [rsp + 0x30], 5
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, dword [rsp + 0x40]
mov r8d, dword [rsp + 0x44]
xor edx, edx
mov rcx, qword [0x14025b098]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov edx, 5
mov rcx, qword [0x14025b098]
call qword [sym.imp.USER32.dll_ShowWindow]
add rsp, 0x58
ret