joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14003c2b0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
mov rax, qword [rsp + 0x50]
movzx eax, byte [rax + 0xaa8]
test eax, eax
je 0x14003c3ba
mov rax, qword [rsp + 0x50]
cmp qword [rax + 0x260], 0
je 0x14003c345
mov rcx, qword [rsp + 0x50]
call fcn.14001bf60
mov byte [rsp + 0x30], al
mov dl, 1
mov rcx, qword [rsp + 0x50]
call fcn.14001bef0
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x1d8]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x68]
mov r8, qword [rsp + 0x60]
mov edx, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x50]
call qword [rax + 0x260]
movzx edx, byte [rsp + 0x30]
mov rcx, qword [rsp + 0x50]
call fcn.14001bef0
jmp 0x14003c3ba
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
je 0x14003c364
cmp dword [rsp + 0x34], 1
je 0x14003c364
cmp dword [rsp + 0x34], 2
je 0x14003c364
jmp 0x14003c3ba
movsxd rax, dword [rsp + 0x58]
imul rax, rax, 3
lea rcx, [0x14012f890]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x50]
mov r9, qword [rcx + 0x1d0]
mov r8d, 1
mov edx, 2
mov rcx, rax
call fcn.1400d1550
mov rax, qword [rsp + 0x50]
mov r9, qword [rax + 0x1d0]
mov r8d, 1
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
call fcn.1400d1550
add rsp, 0x40
pop rdi
ret

Function at 0x14003fe10
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x20
mov rcx, qword [rsp + 0x40]
call fcn.14003fc70
mov r8d, eax
mov rdx, qword [rsp + 0x38]
mov ecx, dword [rsp + 0x30]
call fcn.1400fccd0
cdqe
add rsp, 0x20
pop rdi
ret
Function at 0x140040380
Capabilities:
Initialize winsock library

Disassembly:
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x220
lea rdi, [rsp + 0x30]
mov ecx, 0x7c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x230]
mov rax, qword [0x14016e010]
xor rax, rsp
mov qword [rsp + 0x210], rax
mov eax, dword [rsp + 0x230]
and eax, 2
test eax, eax
je 0x140040457
mov eax, 0x202
mov word [rsp + 0x30], ax
lea rdx, [rsp + 0x50]
movzx ecx, word [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_WSAStartup]
mov dword [rsp + 0x1f4], eax
cmp dword [rsp + 0x1f4], 0
je 0x1400403fd
mov eax, 2
jmp 0x14004050f
movzx eax, word [rsp + 0x50]
and rax, 0xff
movzx eax, al
movzx ecx, word [rsp + 0x30]
and rcx, 0xff
movzx ecx, cl
cmp eax, ecx
jne 0x140040447
movzx eax, word [rsp + 0x50]
shr rax, 8
and rax, 0xff
movzx eax, al
movzx ecx, word [rsp + 0x30]
shr rcx, 8
and rcx, 0xff
movzx ecx, cl
cmp eax, ecx
je 0x140040457
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 2
jmp 0x14004050f
call fcn.1400a2bb0
mov dword [rsp + 0x1f8], eax
cmp dword [rsp + 0x1f8], 0
je 0x140040479
mov eax, dword [rsp + 0x1f8]
jmp 0x14004050f
lea rcx, [0x14016f9e8]
call fcn.1400405b0
mov qword [0x14045c748], rax
cmp qword [0x14045c748], 0
je 0x1400404cc
lea rdx, [0x14016f9f8]
mov rcx, qword [0x14045c748]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x200], rax
cmp qword [rsp + 0x200], 0
je 0x1400404cc
mov rax, qword [rsp + 0x200]
mov qword [0x14045c740], rax
mov dword [rsp + 0x20], 3
mov r9d, 2
xor r8d, r8d
xor edx, edx
mov ecx, 6
call fcn.1400a2700
movzx eax, al
test eax, eax
je 0x1400404f9
mov byte [0x140461dac], 1
jmp 0x140040500
mov byte [0x140461dac], 0
lea rcx, [0x140461db0]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
xor eax, eax
mov rdi, rax
mov rcx, rsp
lea rdx, reloc.WS2_32.dll_accept
call fcn.140124e60
mov rax, rdi
mov rcx, qword [rsp + 0x210]
xor rcx, rsp
call fcn.14000b980
add rsp, 0x220
pop rdi
ret
Function at 0x1400405b0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x60
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x28], 0
lea rcx, [0x14016fa08]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x1400405ed
xor eax, eax
jmp 0x140040789
lea rdx, [0x14016fa18]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x28], rax
lea rdx, [0x14016fa14]
mov rcx, qword [rsp + 0x70]
call fcn.1400f5d40
test rax, rax
je 0x140040659
cmp qword [rsp + 0x28], 0
je 0x14004063a
mov r8d, 8
xor edx, edx
mov rcx, qword [rsp + 0x70]
call qword [rsp + Ordinal_41]
mov qword [rsp + 0x50], rax
jmp 0x14004064a
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
jmp 0x140040784
cmp qword [rsp + 0x28], 0
je 0x140040693
lea rdx, [0x14016fa28]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140040693
mov r8d, 0x800
xor edx, edx
mov rcx, qword [rsp + 0x70]
call qword [rsp + Ordinal_41]
mov qword [rsp + 0x20], rax
jmp 0x140040784
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
je 0x140040784
mov rcx, qword [rsp + 0x70]
call fcn.1400eddd0
mov qword [rsp + 0x40], rax
mov eax, dword [rsp + 0x38]
inc eax
mov eax, eax
add rax, qword [rsp + 0x40]
mov rcx, rax
call qword [fcn.1400db860]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x140040779
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x140040779
mov rcx, qword [rsp + 0x48]
call fcn.1400eddd0
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
lea rdx, [0x14016fa38]
mov rcx, rax
call fcn.1400f5a60
mov rcx, qword [rsp + 0x48]
call fcn.1400eddd0
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov rdx, qword [rsp + 0x70]
mov rcx, rax
call fcn.1400f5a60
cmp qword [rsp + 0x28], 0
je 0x14004075f
mov r8d, 8
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [rsp + Ordinal_41]
mov qword [rsp + 0x58], rax
jmp 0x14004076f
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x48]
call qword [fcn.1400d19c0]
mov rax, qword [rsp + 0x20]
add rsp, 0x60
pop rdi
ret
Function at 0x140048480
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xa0
lea rdi, [rsp + 0x50]
mov ecx, reloc.WS2_32.dll_sendto
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xb0]
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x84]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x64]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x4004747b
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.WS2_32.dll_WSAIoctl]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jne 0x140048521
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x64]
mov r8d, 0x1001
mov edx, 0xffff
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.WS2_32.dll_setsockopt]
mov rcx, rsp
lea rdx, reloc.WS2_32.dll_bind
call fcn.140124e60
add rsp, 0xa0
pop rdi
ret
Function at 0x14004eab0
Capabilities:
Check for software breakpoints

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
mov rax, qword [rsp + 0x50]
add rax, 0xe8
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x20]
mov ecx, dword [rcx + 0x60]
mov dword [rax + 0x1350], ecx
mov rax, qword [rsp + 0x58]
movzx eax, byte [rax + 0x70f]
mov rcx, qword [rsp + 0x50]
mov dword [rcx + 0x1358], eax
mov rax, qword [rsp + 0x50]
movzx eax, byte [rax + 0x1161]
test eax, eax
je 0x14004eb25
mov rax, qword [rsp + 0x50]
movzx eax, byte [rax + 0x1161]
mov rcx, qword [rsp + 0x58]
movzx ecx, byte [rcx + 0x70f]
cmp eax, ecx
jle 0x14004eb3c
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
movzx ecx, byte [rcx + 0x70f]
mov byte [rax + 0x1161], cl
mov rax, qword [rsp + 0x50]
cmp qword [rax + 0x1170], 0
je 0x14004eb75
mov rax, qword [rsp + 0x50]
movzx eax, byte [rax + 0x11e8]
test eax, eax
jne 0x14004eb75
mov rax, qword [rsp + 0x20]
cmp dword [rax + 0x60], 0x1a0
jne 0x14004eb75
mov rax, qword [rsp + 0x20]
mov byte [rax + 0xdd], 1
mov rax, qword [rsp + 0x58]
movzx eax, byte [rax + 0x70f]
cmp eax, 0xa
jne 0x14004eba8
lea rdx, [0x140171638]
mov rcx, qword [rsp + 0x50]
call fcn.14003bfe0
mov edx, 1
mov rcx, qword [rsp + 0x58]
call fcn.14003d3f0
jmp 0x14004ec10
mov rax, qword [rsp + 0x58]
movzx eax, byte [rax + 0x70f]
cmp eax, 0x14
je 0x14004ebcf
mov rax, qword [rsp + 0x20]
cmp dword [rax + 0x7c], 2
jne 0x14004ebe9
mov rax, qword [rsp + 0x20]
cmp dword [rax + 0x60], 0x65
jne 0x14004ebe9
xor eax, eax
test eax, eax
jne 0x14004ebcf
mov rax, qword [rsp + 0x58]
mov rax, qword [rax + 0x6d0]
mov dword [rax], 2
jmp 0x14004ec10
mov rax, qword [rsp + 0x58]
movzx eax, byte [rax + 0x70f]
cmp eax, 0xb
jl 0x14004ec10
mov rax, qword [rsp + 0x58]
movzx eax, byte [rax + 0x2ce]
test eax, eax
jne 0x14004ec10
xor eax, eax
test eax, eax
jne 0x14004ec0a
mov rax, qword [rsp + 0x20]
cmp dword [rax + 0x60], 0x64
jl 0x14004ec33
mov rax, qword [rsp + 0x20]
cmp dword [rax + 0x60], 0xc8
jge 0x14004ec33
mov dword [rsp + 0x28], 1
jmp 0x14004ec3b
mov dword [rsp + 0x28], 0
cmp dword [rsp + 0x28], 0
jne 0x14004ec4c
mov dword [rsp + 0x2c], 0
jmp 0x14004ec54
mov dword [rsp + 0x2c], 1
mov rax, qword [rsp + 0x20]
movzx ecx, byte [rsp + 0x2c]
mov byte [rax + 0xde], cl
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0x60]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0xcc
je 0x14004eca2
cmp dword [rsp + 0x30], 0x130
je 0x14004ec86
jmp 0x14004ecc7
mov rax, qword [rsp + 0x50]
movzx eax, byte [rax + 0x528]
test eax, eax
je 0x14004eca2
mov rax, qword [rsp + 0x50]
mov byte [rax + 0x1434], 1
mov rax, qword [rsp + 0x20]
mov qword [rax], 0
mov rax, qword [rsp + 0x20]
mov qword [rax + 8], 0
mov rax, qword [rsp + 0x20]
mov byte [rax + 0xde], 1
xor eax, eax
add rsp, 0x40
pop rdi
ret
Function at 0x14005ac10
Capabilities:
Get socket status

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x70
lea rdi, [rsp + 0x30]
mov ecx, reloc.WS2_32.dll_recv
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x80]
cmp qword [rsp + 0x88], 0
je 0x14005ac5a
mov rax, qword [rsp + 0x88]
cmp dword [rax], 0
jne 0x14005ac9c
cmp qword [rsp + 0x90], 0
je 0x14005ac72
mov rax, qword [rsp + 0x90]
cmp dword [rax], 0
jne 0x14005ac9c
cmp qword [rsp + 0x98], 0
je 0x14005ac8a
mov rax, qword [rsp + 0x98]
cmp dword [rax], 0
jne 0x14005ac9c
mov rcx, qword [rsp + 0xa0]
call fcn.14005ab90
jmp 0x14005ad6d
mov rdx, qword [rsp + 0xa0]
lea rcx, [rsp + 0x38]
call fcn.1400acdd0
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x98], 0
je 0x14005acda
mov rax, qword [rsp + 0x98]
cmp dword [rax], 0
je 0x14005acda
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x50], rax
jmp 0x14005ace3
mov qword [rsp + 0x50], 0
cmp qword [rsp + 0x90], 0
je 0x14005ad0a
mov rax, qword [rsp + 0x90]
cmp dword [rax], 0
je 0x14005ad0a
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x58], rax
jmp 0x14005ad13
mov qword [rsp + 0x58], 0
cmp qword [rsp + 0x88], 0
je 0x14005ad3a
mov rax, qword [rsp + 0x88]
cmp dword [rax], 0
je 0x14005ad3a
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x60], rax
jmp 0x14005ad43
mov qword [rsp + 0x60], 0
mov eax, dword [rsp + 0x80]
inc eax
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x20], rcx
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
mov ecx, eax
call qword [sym.imp.WS2_32.dll_select]
mov rdi, rax
mov rcx, rsp
lea rdx, reloc.WS2_32.dll_accept
call fcn.140124e60
mov rax, rdi
add rsp, 0x70
pop rdi
ret
Function at 0x140061320
Capabilities:
Move file

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0xd8
lea rdi, [rsp + 0x20]
mov ecx, reloc.WLDAP32.dll_Ordinal_46
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xf0]
mov rax, qword [0x14016e010]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov dword [rsp + 0x20], 0x3e8
lea rcx, [rsp + 0x78]
call fcn.140025280
lea rcx, [rsp + 0x38]
mov rdi, rcx
mov rsi, rax
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov rcx, qword [rsp + 0xf0]
call fcn.140127670
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0xf8]
call fcn.140127670
mov qword [rsp + 0x60], rax
mov r8d, 1
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
je 0x140061407
cmp qword [rsp + 0x58], 0
je 0x1400613db
mov rcx, qword [rsp + 0x58]
call fcn.1400d19c0
mov qword [rsp + 0x58], 0
xor eax, eax
test eax, eax
jne 0x1400613c0
cmp qword [rsp + 0x60], 0
je 0x1400613fc
mov rcx, qword [rsp + 0x60]
call fcn.1400d19c0
mov qword [rsp + 0x60], 0
xor eax, eax
test eax, eax
jne 0x1400613e1
jmp 0x1400614ca
lea rax, [rsp + 0xb0]
lea rcx, [rsp + 0x38]
mov rdi, rax
mov rsi, rcx
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0x88]
call fcn.140025280
lea rcx, [rsp + 0xa0]
mov rdi, rcx
mov rsi, rax
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0xa0]
call fcn.140025390
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
jl 0x140061471
movsxd rax, dword [rsp + 0x20]
cmp qword [rsp + 0x68], rax
jle 0x1400614ba
cmp qword [rsp + 0x58], 0
je 0x14006148c
mov rcx, qword [rsp + 0x58]
call fcn.1400d19c0
mov qword [rsp + 0x58], 0
xor eax, eax
test eax, eax
jne 0x140061471
cmp qword [rsp + 0x60], 0
je 0x1400614ad
mov rcx, qword [rsp + 0x60]
call fcn.1400d19c0
mov qword [rsp + 0x60], 0
xor eax, eax
test eax, eax
jne 0x140061492
mov eax, 1
jmp 0x1400614cc
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400613a6
xor eax, eax
mov rdi, rax
mov rcx, rsp
lea rdx, reloc.WS2_32.dll_accept
call fcn.140124e60
mov rax, rdi
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.14000b980
add rsp, 0xd8
pop rdi
pop rsi
ret
Function at 0x140062770
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9, qword [rsp + 0x58]
mov r8, qword [rsp + 0x50]
xor edx, edx
xor ecx, ecx
call fcn.1400fa7b0
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x1400627cb
mov ecx, 0xffffffff
call fcn.140062880
cmp qword [rsp + 0x30], rax
jne 0x1400627cf
xor eax, eax
jmp 0x1400627d4
mov rax, qword [rsp + 0x30]
add rsp, 0x40
pop rdi
ret

Function at 0x140062b80
Capabilities:
Generate random numbers via winapi

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x20
mov r8, qword [rsp + 0x38]
xor edx, edx
mov rcx, qword [rsp + 0x30]
call fcn.1400bca60
mov r9d, 2
mov r8d, dword [rsp + 0x38]
mov rdx, qword [rsp + 0x30]
xor ecx, ecx
call sub.bcrypt.dll_BCryptGenRandom
test eax, eax
je 0x140062bc2
mov eax, 2
jmp 0x140062bc4
xor eax, eax
add rsp, 0x20
pop rdi
ret
Function at 0x140068890
Capabilities:
Create new key via cryptacquirecontext
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xd0
lea rdi, [rsp + 0x30]
mov ecx, Ordinal_41
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xe0]
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x58], 0
mov dword [rsp + 0x74], 0
mov dword [rsp + 0x94], 4
mov eax, dword [rsp + 0xf8]
mov dword [rsp + 0xb4], eax
mov r8, qword [rsp + 0xf8]
xor edx, edx
mov rcx, qword [rsp + 0xf0]
call fcn.1400bca60
mov dword [rsp + 0x20], 0xf0000040
mov r9d, dword [rsp + 0x100]
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x140068938
jmp 0x140068a22
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, dword [rsp + 0x108]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x140068963
jmp 0x1400689fa
xor r9d, r9d
mov r8d, dword [rsp + 0xe8]
mov rdx, qword [rsp + 0xe0]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x140068987
jmp 0x1400689fa
mov dword [rsp + 0x20], 0
lea r9, [rsp + 0x94]
lea r8, [rsp + 0x74]
mov edx, 4
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
jne 0x1400689b2
jmp 0x1400689fa
mov eax, dword [rsp + 0x74]
cmp qword [rsp + 0xf8], rax
jae 0x1400689c2
jmp 0x1400689fa
mov dword [rsp + 0x20], 0
lea r9, [rsp + 0xb4]
mov r8, qword [rsp + 0xf0]
mov edx, 2
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x1400689f0
jmp 0x1400689fa
xor eax, eax
test eax, eax
jne 0x140068938
cmp qword [rsp + 0x58], 0
je 0x140068a0d
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
cmp qword [rsp + 0x38], 0
je 0x140068a22
xor edx, edx
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov rcx, rsp
lea rdx, reloc.WS2_32.dll_getpeername
call fcn.140124e60
add rsp, 0xd0
pop rdi
ret
Function at 0x140068ae0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
mov qword [rsp + 0x20], 0
mov dword [rsp + 0x34], 1
mov dword [rsp + 0x38], 0x8000
mov eax, dword [rsp + 0x34]
mov edx, eax
mov rcx, qword [rsp + 0x20]
call qword [0x14016e060]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x140068b30
mov rcx, qword [rsp + 0x20]
call qword [fcn.1400d19c0]
xor eax, eax
jmp 0x140068b9b
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x20], rax
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x30], eax
mov r8d, dword [rsp + 0x30]
mov rdx, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
je 0x140068b76
mov eax, dword [rsp + 0x30]
cmp dword [rsp + 0x34], eax
je 0x140068b76
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0x34], eax
jbe 0x140068b85
mov rcx, qword [rsp + 0x20]
call qword [fcn.1400d19c0]
xor eax, eax
jmp 0x140068b9b
mov eax, dword [rsp + 0x30]
cmp dword [rsp + 0x34], eax
jae 0x140068b96
mov rax, qword [rsp + 0x20]
jmp 0x140068b9b
jmp 0x140068b03
add rsp, 0x40
pop rdi
ret

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

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x50
lea rdi, [rsp + 0x20]
mov ecx, ntohs
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x60]
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x40], rax
mov eax, 1
imul rax, rax, 0
mov byte [rsp + rax + 0x24], 0xff
mov eax, 1
imul rax, rax, 1
movzx ecx, byte [rsp + 0x68]
mov byte [rsp + rax + 0x24], cl
mov eax, 1
imul rax, rax, 2
movzx ecx, byte [rsp + 0x70]
mov byte [rsp + rax + 0x24], cl
mov eax, 8
imul rax, rax, 0
xor r9d, r9d
mov r8d, 3
lea rdx, [rsp + 0x24]
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx + rax + 0x1a8]
call qword [sym.imp.WS2_32.dll_send]
cdqe
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jge 0x14006a892
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x48], eax
mov r8d, dword [rsp + 0x48]
lea rdx, [0x140175858]
mov rcx, qword [rsp + 0x60]
call fcn.14003c120
mov r9d, dword [rsp + 0x70]
mov r8d, dword [rsp + 0x68]
lea rdx, [0x140175874]
mov rcx, qword [rsp + 0x60]
call fcn.14006a500
mov rcx, rsp
lea rdx, reloc.WS2_32.dll_accept
call fcn.140124e60
add rsp, 0x50
pop rdi
ret
Function at 0x1400805e0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x120
lea rdi, [rsp + 0x20]
mov ecx, 0x40
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x130]
mov rax, qword [0x14016e010]
xor rax, rsp
mov qword [rsp + 0x118], rax
mov rax, qword [rsp + 0x130]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x20], rax
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0x20]
mov rax, qword [rcx + rax + 0x1a8]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x38], 0xffffffffffffffff
mov dword [rsp + 0xf4], 0x80
lea r8, [rsp + 0xf4]
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x14008069c
mov dword [rsp + 0xf4], 0x80
lea r8, [rsp + 0xf4]
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.WS2_32.dll_accept]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0xffffffffffffffff
jne 0x1400806c2
lea rdx, [0x140176d48]
mov rcx, qword [rsp + 0x130]
call fcn.14003c120
mov eax, reloc.WLDAP32.dll_Ordinal_30
jmp 0x1400807ba
lea rdx, [0x140176d70]
mov rcx, qword [rsp + 0x130]
call fcn.14003bfe0
mov rax, qword [rsp + 0x20]
mov byte [rax + 0x2d5], 0
mov edx, 1
mov rcx, qword [rsp + 0x38]
call fcn.1400acec0
lea r9, [rsp + 0x38]
mov r8d, 1
mov rdx, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x130]
call fcn.1400969a0
mov dword [rsp + 0x104], eax
cmp dword [rsp + 0x104], 0
je 0x14008072b
mov eax, dword [rsp + 0x104]
jmp 0x1400807ba
mov rax, qword [rsp + 0x130]
cmp qword [rax + 0x270], 0
je 0x1400807b8
mov dword [rsp + 0x108], 0
mov dl, 1
mov rcx, qword [rsp + 0x130]
call fcn.14001bef0
mov r8d, 1
mov rdx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x130]
mov rcx, qword [rax + 0x278]
mov rax, qword [rsp + 0x130]
call qword [rax + 0x270]
mov dword [rsp + 0x108], eax
xor edx, edx
mov rcx, qword [rsp + 0x130]
call fcn.14001bef0
cmp dword [rsp + 0x108], 0
je 0x1400807b8
mov rdx, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x130]
call fcn.140080490
mov eax, Ordinal_46
jmp 0x1400807ba
xor eax, eax
mov rdi, rax
mov rcx, rsp
lea rdx, reloc.WS2_32.dll_closesocket
call fcn.140124e60
mov rax, rdi
mov rcx, qword [rsp + 0x118]
xor rcx, rsp
call fcn.14000b980
add rsp, 0x120
pop rdi
ret
Function at 0x140083f00
Capabilities:
Check http status code

Disassembly:
mov byte [rsp + 0x18], r8b
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov dword [rsp + 0x20], 0
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x48]
cdq
mov ecx, 0x64
idiv ecx
cmp eax, 2
je 0x140083f55
lea rdx, [0x140177598]
mov rcx, qword [rsp + 0x40]
call fcn.14003c120
mov eax, reloc.WS2_32.dll_recvfrom
jmp 0x140083fe4
cmp dword [rsp + 0x48], 0xc8
je 0x140083f75
mov r8d, dword [rsp + 0x48]
lea rdx, [0x140177498]
mov rcx, qword [rsp + 0x40]
call fcn.14003bfe0
movzx eax, byte [rsp + 0x50]
cmp eax, 0x13
jne 0x140083f94
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x40]
call fcn.140082320
mov dword [rsp + 0x20], eax
jmp 0x140083fe0
movzx eax, byte [rsp + 0x50]
cmp eax, 0x14
jne 0x140083fae
mov rcx, qword [rsp + 0x40]
call fcn.1400823e0
mov dword [rsp + 0x20], eax
jmp 0x140083fe0
movzx eax, byte [rsp + 0x50]
cmp eax, 0x15
jne 0x140083fc8
mov rcx, qword [rsp + 0x40]
call fcn.1400826a0
mov dword [rsp + 0x20], eax
jmp 0x140083fe0
movzx eax, byte [rsp + 0x50]
cmp eax, 0x16
jne 0x140083fe0
mov rcx, qword [rsp + 0x40]
call fcn.1400826d0
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
add rsp, 0x30
pop rdi
ret

Function at 0x1400961c0
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x90
lea rdi, [rsp + 0x30]
mov ecx, Ordinal_26
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xa0]
mov dword [rsp + 0x34], 0x4020
mov dword [rsp + 0x54], 0
mov dword [rsp + 0x74], 4
cmp dword [0x14045c7bc], 0
jne 0x140096241
mov dword [rsp + 0x20], 3
mov r9d, 2
xor r8d, r8d
xor edx, edx
mov ecx, 6
call fcn.1400a2700
movzx eax, al
test eax, eax
je 0x140096237
mov dword [0x14045c7bc], 2
jmp 0x140096241
mov dword [0x14045c7bc], 1
cmp dword [0x14045c7bc], 2
jne 0x14009624c
jmp 0x1400962aa
lea rax, [rsp + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x54]
mov r8d, 0x1001
mov edx, 0xffff
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.WS2_32.dll_getsockopt]
test eax, eax
jne 0x140096284
mov eax, dword [rsp + 0x34]
cmp dword [rsp + 0x54], eax
jle 0x140096284
jmp 0x1400962aa
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x34]
mov r8d, 0x1001
mov edx, 0xffff
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.WS2_32.dll_setsockopt]
mov rcx, rsp
lea rdx, reloc.WS2_32.dll_closesocket
call fcn.140124e60
add rsp, 0x90
pop rdi
ret