joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001000
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov dword [rsp + 0x30], 0
jmp 0x140001021
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x58]
cmp dword [rsp + 0x30], eax
jae 0x140001034
cmp dword [rsp + 0x30], 0x64
jae 0x140001034
jmp 0x140001017
mov eax, dword [rsp + 0x58]
lea r9, [rsp + 0x20]
mov r8d, 0x40
mov edx, eax
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rcx, str.ntdll
call qword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
lea rdx, str.NtTestAlert
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov qword [rsp + 0x28], rax
call qword [sym.imp.KERNEL32.DLL_GetCurrentThread]
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.DLL_QueueUserAPC]
call qword [rsp + 0x28]
add rsp, 0x48
ret

Function at 0x140002070
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.140001ee0
Function at 0x140004428
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov rax, qword [0x14000b4d0]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.140002f54
xor ebx, ebx
cmp qword [0x14000cab8], rbx
mov rdi, rax
jne 0x14000453b
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.DLL_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x140004612
lea rdx, [0x140007f68]
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
test rax, rax
je 0x140004612
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x14000cab8], rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_EncodePointer]
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x14000cac0], rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_EncodePointer]
lea rdx, str.GetUserObjectInformationW
mov rcx, rsi
mov qword [0x14000cac8], rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_EncodePointer]
mov r11, rax
mov qword [0x14000cad8], rax
test rax, rax
je 0x140004532
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_EncodePointer]
mov qword [0x14000cad0], rax
jmp 0x140004542
mov rax, qword [0x14000cad0]
jmp 0x140004549
mov rax, qword [0x14000cad0]
mov r11, qword [0x14000cad8]
cmp rax, rdi
je 0x1400045b0
cmp r11, rdi
je 0x1400045b0
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_DecodePointer]
mov rcx, qword [0x14000cad8]
mov rsi, rax
call qword [sym.imp.KERNEL32.DLL_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x1400045b0
test rax, rax
je 0x1400045b0
call rsi
test rax, rax
je 0x1400045aa
lea rcx, [rsp + 0x30]
mov r9d, 0xc
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x1400045aa
test byte [rsp + 0x40], 1
jne 0x1400045b0
bts ebp, 0x15
jmp 0x1400045f0
mov rcx, qword [0x14000cac0]
cmp rcx, rdi
je 0x1400045f0
call qword [sym.imp.KERNEL32.DLL_DecodePointer]
test rax, rax
je 0x1400045f0
call rax
mov rbx, rax
test rax, rax
je 0x1400045f0
mov rcx, qword [0x14000cac8]
cmp rcx, rdi
je 0x1400045f0
call qword [sym.imp.KERNEL32.DLL_DecodePointer]
test rax, rax
je 0x1400045f0
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x14000cab8]
call qword [sym.imp.KERNEL32.DLL_DecodePointer]
test rax, rax
je 0x140004612
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x140004614
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140004860
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400058cf
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x14000b4d0]
jne 0x14000487a
rol rcx, 0x10
test cx, 0xffff
jne 0x140004876
repz ret
ror rcx, 0x10
jmp 0x140005828
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x14000cc10]
call qword [sym.imp.KERNEL32.DLL_RtlCaptureContext]
mov rax, qword [0x14000cd08]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.DLL_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x1400058ad
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x14000cc10]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.DLL_RtlVirtualUnwind
jmp 0x1400058cf
mov rax, qword [rsp + 0x88]
mov qword [0x14000cd08], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x14000cca8], rax
mov rax, qword [0x14000cd08]
mov qword [0x14000cb80], rax
mov rax, qword [rsp + 0x90]
mov qword [0x14000cc90], rax
mov dword [0x14000cb70], 0xc0000409
mov dword [0x14000cb74], 1
mov rax, qword [0x14000b4d0]
mov qword [rsp + 0x68], rax
mov rax, qword [0x14000b4d8]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.DLL_IsDebuggerPresent]
mov dword [0x14000cc08], eax
mov ecx, 1
call fcn.14000570c
xor ecx, ecx
call qword [sym.imp.KERNEL32.DLL_SetUnhandledExceptionFilter]
lea rcx, [0x140008c68]
call qword [sym.imp.KERNEL32.DLL_UnhandledExceptionFilter]
cmp dword [0x14000cc08], 0
jne 0x140005956
mov ecx, 1
call fcn.14000570c
call qword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_TerminateProcess]
add rsp, 0x88
ret
Function at 0x18002cb20
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov dword [rcx + 0x74], 0
mov rbx, rcx
mov edi, 0x7fffffff
movsx ecx, byte [rbx + 0x78]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x18002cbec
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x18002cbec
mov r9d, dword [rbx + 0x74]
mov ecx, 0x7fffffff
sub ecx, r8d
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp r9d, edx
jg 0x18002cc05
lea eax, [r9 + r9*4]
dec edi
lea ecx, [r8 + rax*2]
mov rax, qword [rbx]
mov dword [rbx + 0x74], ecx
mov rcx, qword [rbx + 0x10]
cmp rax, rcx
je 0x18002cbdc
cmp byte [rax], 0x5c
jne 0x18002cbd6
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x18002cbd6
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x18002cbc2
movzx ecx, byte [rdx]
sub cl, 0x28
cmp cl, 1
jbe 0x18002cbd3
test r8b, 0x10
jne 0x18002cbd6
movzx ecx, byte [rdx]
sub cl, 0x7b
test cl, 0xfd
jne 0x18002cbd6
mov rax, rdx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.1800303f0
test edi, edi
jne 0x18002cb40
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rsi, qword [rsp + 0x38]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
mov rcx, rbx
call fcn.18002e730
int3

Function at 0x180030ae0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x180030b14
movabs r10, 0x100000001b3
nop
movzx ecx, byte [rdx + r9]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x180030b00
ret
Function at 0x18005a210
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x110
mov rax, qword [0x18032d340]
xor rax, rsp
mov qword [rsp + 0x100], rax
mov rdi, rdx
mov rsi, rcx
mov qword [rsp + 0x98], rcx
mov qword [rsp + 0x60], rdx
mov ecx, dword [0x180339d88]
mov rax, qword gs:[0x58]
mov edx, setsockopt
mov rax, qword [rax + rcx*8]
mov ecx, dword [rdx + rax]
cmp dword [0x1803393a0], ecx
jg 0x18005a449
lea rbx, [0x180339350]
mov qword [rsp + 0xa0], rbx
mov rcx, rbx
call fcn.180158704
test eax, eax
jne 0x18005a493
mov eax, dword [0x18033939c]
cmp eax, 0x7fffffff
je 0x18005a49d
xor edx, edx
lea rcx, [rsp + 0x80]
call fcn.180013d30
nop
lea rcx, [rsp + 0x50]
call fcn.18005a4c0
movzx r8d, byte [rsp + 0x80]
movzx ecx, byte [rax]
mov byte [rsp + 0x80], cl
mov byte [rax], r8b
lea rcx, [rax + 8]
mov rax, qword [rsp + 0x88]
mov rdx, qword [rcx]
mov qword [rsp + 0x88], rdx
mov qword [rcx], rax
movzx edx, r8b
call fcn.180017e10
nop
jmp 0x18005a308
lea rax, [rsp + 0x50]
mov qword [rsp + 0x60], rax
mov rdx, rdi
lea rcx, [rsp + 0x50]
call fcn.18003ffb0
mov rdi, rax
mov rdx, rsi
lea rcx, [rsp + 0xb8]
call fcn.180013e80
mov rdx, rax
lea rcx, [rsp + 0x80]
call fcn.180014e10
nop
movzx edx, byte [rax]
movzx ecx, byte [rdi]
mov byte [rax], cl
mov byte [rdi], dl
lea rcx, [rdi + 8]
mov rdx, qword [rax + 8]
mov r9, qword [rcx]
mov qword [rax + 8], r9
mov qword [rcx], rdx
movzx edx, byte [rdi]
call fcn.180017e10
nop
mov dword [rsp + 0x28], 0
mov byte [rsp + 0x20], 0
mov r9b, 0x20
mov r8d, 2
lea rdx, [rsp + 0xb8]
lea rcx, [rsp + 0x80]
call fcn.180042bf0
mov rdi, rax
lea rcx, [rsp + 0xe0]
call fcn.18007b7f0
mov rdx, rdi
mov rcx, rax
call fcn.18006c7a0
lea rcx, [rsp + 0xe0]
call fcn.18001f310
nop
mov rdx, qword [rsp + 0xd0]
cmp rdx, 0xf
jbe 0x18005a400
inc rdx
mov rcx, qword [rsp + 0xb8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005a3fa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18005a4b0
call fcn.18014e690
nop
movzx edx, byte [rsp + 0x80]
lea rcx, [rsp + 0x88]
call fcn.180017e10
nop
mov rcx, rbx
call fcn.180158748
mov al, 1
jmp 0x18005a424
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.18014e7b0
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
lea rcx, [0x1803393a0]
call fcn.18014e8b0
cmp dword [0x1803393a0], 0xffffffff
jne 0x18005a26e
mov edx, 2
lea rbx, [0x180339350]
mov rcx, rbx
call fcn.1801586f0
lea rcx, [0x180229690]
call fcn.18014ed90
lea rcx, [0x1803393a0]
call fcn.18014e844
jmp 0x18005a275
mov ecx, 5
call fcn.180158ffc
dec eax
mov dword [0x18033939c], eax
mov ecx, 6
call fcn.180158ffc
nop
call fcn.180197330
int3
Function at 0x180068d10
Capabilities:
Check http status code

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x430]
sub rsp, 0x530
mov rax, qword [0x18032d340]
xor rax, rsp
mov qword [rbp + 0x420], rax
mov rsi, rdx
mov rdi, rcx
mov qword [rsp + 0x40], rcx
xor r14d, r14d
mov rbx, qword [0x180339430]
lea rdx, str.C:UsersTimDesktopSmokeAPIKoalaBox_srckoalaboxhttp_client.cpp
lea rcx, [rbp - 0x10]
call fcn.180061920
nop
mov dword [rsp + 0x40], reloc.WS2_32.dll_send
mov qword [rbp - 0x28], r14
mov qword [rbp - 0x30], r14
mov qword [rbp - 0x20], r14
lea rcx, str._:_3::24__GET_
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x58], reloc.WS2_32.dll_socket
movups xmm0, xmmword [rbp - 0x30]
movaps xmmword [rsp + 0x70], xmm0
movsd xmm1, qword [rbp - 0x20]
movsd qword [rbp - 0x80], xmm1
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x50]
lea r8d, [r14 + 1]
lea rdx, [rsp + 0x70]
mov rcx, rbx
call fcn.180052390
nop
mov rdx, qword [rbp + 8]
cmp rdx, 0xf
jbe 0x180068e06
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180068e01
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180068f8c
call fcn.18014e690
mov rdx, rsi
lea rcx, [rbp - 0x30]
call fcn.180013e80
nop
lea rax, [rbp - 0x30]
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x10]
call fcn.180066b00
mov rbx, rax
lea rcx, [rbp + 0x160]
call fcn.180083940
nop
mov rdx, rbx
lea rcx, [rbp + 0x160]
call fcn.18008a1a0
lea rdx, [rbp + 0x20]
lea rcx, [rbp + 0x160]
call fcn.1800867e0
nop
lea rcx, [rbp + 0x160]
call fcn.1800673e0
nop
mov rdx, qword [rbp + 0x10]
cmp rdx, 0xf
jbe 0x180068eab
inc rdx
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180068ea6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180068f92
call fcn.18014e690
movdqa xmm0, xmmword [0x18022c990]
movdqu xmmword [rbp + 8], xmm0
mov byte [rbp - 8], 0
lea r9, [fcn.180014700]
mov edx, 0x20
lea r8d, [rdx - 0x1f]
lea rcx, [rbp - 0x30]
call fcn.18014edb0
cmp dword [rbp + 0x30], 0xc8
jne 0x180068f2e
mov qword [rbp - 0x38], r14
mov byte [rsp + 0x20], 0
mov r9b, 1
lea r8, [rbp - 0x70]
lea rdx, [rbp + 0x38]
mov rcx, rdi
call fcn.180066410
nop
lea rcx, [rbp + 0x20]
call fcn.180067190
mov rax, rdi
mov rcx, qword [rbp + 0x420]
xor rcx, rsp
call fcn.18014e7b0
lea r11, [rsp + 0x530]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
mov eax, dword [rbp + 0xb8]
mov dword [rsp + 0x40], eax
lea rax, str.Status_code:___Error_code:___nResponse_headers:_n_nBody:_n
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 0x3e
lea rax, [rbp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0xe0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x40]
lea r8, [rbp + 0x30]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x70]
call fcn.180065ff0
lea rdx, [0x1803035b8]
lea rcx, [rsp + 0x70]
call fcn.180186e4c
nop
call fcn.180197330
nop
call fcn.180197330
int3
Function at 0x18006a2e0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x18006a311
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rdi
je 0x18006a38b
mov rdi, r14
mov rcx, rbx
call fcn.18005bd00
test rax, rax
jle 0x18006a363
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov rax, qword [rbx + 0x38]
mov r8, rbp
mov rdx, qword [rax]
call fcn.18020bad0
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x18006a37b
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x18006a383
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x18006a325
sub r14, rdi
jmp 0x18006a46f
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x18006a3a2
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x18006a3a4
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x18006a3d6
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.18020bad0
mov rax, qword [rbx + 0x50]
add rsi, rdi
sub rbp, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x18006a46c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x18006a411
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
cmp rbp, 0xfff
jbe 0x18006a44d
nop word [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.1801c5b24
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x18006a46c
cmp rbp, rax
ja 0x18006a420
test rbp, rbp
je 0x18006a46c
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.1801c5b24
sub rbp, rax
sub r14, rbp
mov rbp, qword [rsp + 0x30]
mov rax, r14
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x18007d7c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rbx, rdx
lea rax, [rbp + 0x30]
mov rcx, rbx
mov qword [rbp - 0x30], rax
mov rdx, r9
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdi, rax
test rax, rax
jne 0x18007d85a
xorps xmm0, xmm0
mov qword [rbp - 0x10], rax
lea ecx, [rax + 0x20]
mov qword [rbp - 8], rax
movups xmmword [rbp - 0x20], xmm0
call fcn.18014e654
movups xmm0, xmmword [str.FindResource_returned_null.]
mov qword [rbp - 0x20], rax
lea r8, [rbp - 0x20]
mov qword [rbp - 0x10], 0x1b
mov rdx, rax
mov qword [rbp - 8], 0x1f
movups xmmword [rax], xmm0
movsd xmm0, qword [0x180232c90]
movsd qword [rax + 0x10], xmm0
movzx ecx, word [0x180232c98]
mov word [rax + 0x18], cx
movzx eax, byte [0x180232c9a]
mov byte [rdx + 0x1a], al
mov byte [rdx + 0x1b], dil
xor edx, edx
jmp 0x18007d9b3
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
jne 0x18007d8c8
xor eax, eax
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rax
lea ecx, [rax + 0x20]
call fcn.18014e654
movups xmm0, xmmword [str.SizeofResource_returned_0.]
mov qword [rbp - 0x20], rax
lea r8, [rbp - 0x20]
mov qword [rbp - 0x10], 0x1a
xor edx, edx
mov qword [rbp - 8], 0x1f
movups xmmword [rax], xmm0
movsd xmm0, qword [0x180232cb0]
movsd qword [rax + 0x10], xmm0
movzx ecx, word [0x180232cb8]
mov word [rax + 0x18], cx
mov byte [rax + 0x1a], 0
jmp 0x18007d9b3
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
jne 0x18007d93f
xorps xmm0, xmm0
mov qword [rbp - 0x10], rax
lea ecx, [rax + 0x20]
mov qword [rbp - 8], rax
movups xmmword [rbp - 0x20], xmm0
call fcn.18014e654
movups xmm0, xmmword [str.LockResource_returned_null.]
mov qword [rbp - 0x20], rax
lea r8, [rbp - 0x20]
mov qword [rbp - 0x10], 0x1b
mov rdx, rax
mov qword [rbp - 8], 0x1f
movups xmmword [rax], xmm0
movsd xmm0, qword [0x180232cd0]
movsd qword [rax + 0x10], xmm0
movzx ecx, word [0x180232cd8]
mov word [rax + 0x18], cx
movzx eax, byte [0x180232cda]
mov byte [rdx + 0x1a], al
mov byte [rdx + 0x1b], 0
xor edx, edx
jmp 0x18007d9b3
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
jne 0x18007d9a2
xorps xmm0, xmm0
mov qword [rbp - 0x10], rax
lea ecx, [rax + 0x20]
mov qword [rbp - 8], rax
movups xmmword [rbp - 0x20], xmm0
call fcn.18014e654
movups xmm0, xmmword [str.Resource_data_is_null.]
mov qword [rbp - 0x20], rax
lea r8, [rbp - 0x20]
mov qword [rbp - 0x10], socket
xor edx, edx
mov qword [rbp - 8], 0x1f
movups xmmword [rax], xmm0
mov ecx, dword [0x180232cf0]
mov dword [rax + 0x10], ecx
movzx ecx, word [0x180232cf4]
mov word [rax + 0x14], cx
mov byte [rax + 0x16], 0
jmp 0x18007d9b3
mov rdx, rax
lea rcx, [rbp - 0x20]
call fcn.180013fa0
mov r8, rax
mov dl, 1
lea rcx, [rbp - 0x30]
call fcn.18007d4d0
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x50
pop rbp
ret
Function at 0x18007e040
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0xc0
mov rax, qword [0x18032d340]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rsi, rcx
mov qword [rbp - 0x39], rcx
xor ebx, ebx
mov dword [rbp - 0x55], ebx
lea rcx, [rbp - 0x29]
call fcn.18007e2f0
nop
mov rdx, rax
lea rcx, [rbp - 9]
call fcn.18007c800
nop
mov rdx, qword [rbp - 0x11]
cmp rdx, 0xf
jbe 0x18007e0c6
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18007e0c1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18007e1bb
call fcn.18014e690
movdqa xmm0, xmmword [0x18022c990]
movdqu xmmword [rbp - 0x19], xmm0
mov byte [rbp - 0x29], 0
mov dword [rbp - 0x59], ebx
lea rcx, [rbp - 9]
cmp qword [rbp + 0xf], 7
cmova rcx, qword [rbp - 9]
lea rdx, [rbp - 0x59]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov r14d, eax
test eax, eax
je 0x18007e1c1
mov qword [rsi], rbx
mov qword [rsi + 8], rbx
mov qword [rsi + 0x10], rbx
mov edx, r14d
mov rcx, rsi
call fcn.18007d9d0
mov rcx, qword [rsi]
lea rbx, [rcx + r14]
mov r8d, r14d
xor edx, edx
call fcn.18020c170
mov qword [rsi + 8], rbx
mov dword [rbp - 0x55], 1
lea rcx, [rbp - 9]
cmp qword [rbp + 0xf], 7
cmova rcx, qword [rbp - 9]
mov r9, qword [rsi]
mov r8d, r14d
mov edx, dword [rbp - 0x59]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x18007e1ff
mov rdx, qword [rbp + 0xf]
cmp rdx, 7
jbe 0x18007e18e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18007e189
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18007e1b5
call fcn.18014e690
mov rax, rsi
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.18014e7b0
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.180197330
nop
call fcn.180197330
int3
lea rcx, [rbp + 0x17]
call fcn.18007e240
nop
lea rcx, str.Failed_to_GetFileVersionInfoSize._Error:_
mov qword [rbp - 0x29], rcx
mov qword [rbp - 0x21], 0x2b
mov r8, rax
lea rdx, [rbp - 0x29]
lea rcx, [rbp - 0x51]
call fcn.18007af60
lea rdx, [0x1803035b8]
lea rcx, [rbp - 0x51]
call fcn.180186e4c
nop
lea rcx, [rbp + 0x17]
call fcn.18007e240
nop
lea rcx, str.Failed_to_GetFileVersionInfo._Error:_
mov qword [rbp - 0x29], rcx
mov qword [rbp - 0x21], 0x27
mov r8, rax
lea rdx, [rbp - 0x29]
lea rcx, [rbp - 0x51]
call fcn.18007af60
lea rdx, [0x1803035b8]
lea rcx, [rbp - 0x51]
call fcn.180186e4c
int3
Function at 0x1800b4eb0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, r9
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_recv]
movsxd rcx, eax
cmp rcx, 0xffffffffffffffff
jne 0x1800b4ef2
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, 0x38
mov qword [rbx], 0
cmp eax, 0x2733
mov edx, 0x51
cmove ecx, edx
mov eax, ecx
add rsp, 0x20
pop rbx
ret
mov qword [rbx], rcx
xor eax, eax
add rsp, 0x20
pop rbx
ret

Function at 0x1800b5090
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x130
mov rax, qword [0x18032d340]
xor rax, rsp
mov qword [rsp + 0x120], rax
mov rsi, qword [rsp + 0x190]
mov rbp, rcx
mov rcx, qword [rcx + 0x18]
mov r15, r8
movsxd r8, edx
mov r12, r9
mov rax, r8
shl rax, 5
lea rbx, [rcx + 0x230]
mov r14, qword [rcx + r8*8 + 0x1e8]
add rbx, rax
mov rax, qword [rcx + 0x410]
mov rdi, qword [rbx + 8]
sub rdi, qword [rbx + 0x10]
test byte [rax + 0x84], 3
je 0x1800b519c
lea rax, [0x1800b4f40]
cmp qword [rcx + r8*8 + 0x210], rax
jne 0x1800b519c
cmp qword [rbx], 0
je 0x1800b5121
test rdi, rdi
je 0x1800b519c
mov rdx, 0xffffffffffffffff
xor r9d, r9d
mov r8, rdx
mov rcx, r14
call fcn.1800cb1f0
cmp eax, 0xffffffff
je 0x1800b519c
test al, 1
je 0x1800b519c
mov rcx, qword [rbx]
test rcx, rcx
jne 0x1800b517b
mov eax, dword [rbp + 0x734]
add eax, eax
movsxd rcx, eax
mov qword [rbx + 8], rcx
call qword [fcn.1801c6c20]
mov qword [rbx], rax
mov rcx, rax
test rax, rax
je 0x1800b51d6
mov rdi, qword [rbx + 8]
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], 0
mov rdx, qword [rbx + 0x10]
xor r9d, r9d
add rdx, rcx
mov r8d, edi
mov rcx, r14
call qword [sym.imp.WS2_32.dll_recv]
movsxd rcx, eax
test eax, eax
jle 0x1800b519c
add qword [rbx + 0x10], rcx
xor r9d, r9d
mov r8d, r12d
mov rdx, r15
mov rcx, r14
call qword [sym.imp.WS2_32.dll_send]
movsxd rbx, eax
mov dword [rsi], 0
cmp rbx, 0xffffffffffffffff
jne 0x1800b5215
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
cmp eax, 0x2733
jne 0x1800b51e5
xor ebx, ebx
mov dword [rsi], 0x51
jmp 0x1800b5215
mov dword [rsi], 0x1b
mov rax, 0xffffffffffffffff
jmp 0x1800b5218
mov r8d, 0x100
lea rdx, [rsp + 0x20]
mov ecx, edi
call fcn.1800bef80
mov r8, rax
lea rdx, str.Send_failure:__s
mov rcx, rbp
call fcn.1800b4c20
mov dword [rbp + 0xde4], edi
mov dword [rsi], 0x37
mov rax, rbx
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
call fcn.18014e7b0
add rsp, 0x130
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret