joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000189c
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov dword [rsp + 0x18], r8d
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r12d, r8d
mov ebx, edx
mov r15d, ecx
mov ecx, 8
call fcn.140002ee0
nop
cmp dword [0x14000b600], 1
je 0x140001848
mov dword [0x14000b5fc], 1
mov byte [0x14000b5f8], r12b
test ebx, ebx
jne 0x140001834
mov rcx, qword [0x14000c078]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140001821
mov rcx, qword [0x14000c070]
call sub.KERNEL32.dll_DecodePointer
mov rdi, rax
mov qword [rsp + 0x20], rax
mov r14, rsi
mov qword [rsp + 0x28], rsi
mov r13, rax
mov qword [rsp + 0x38], rax
sub rdi, 8
mov qword [rsp + 0x20], rdi
cmp rdi, rsi
jb 0x1400017c0
call fcn.140002834
cmp qword [rdi], rax
jne 0x1400017c0
jmp 0x1400017a6
cmp rdi, rsi
jb 0x140001821
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.140002834
mov qword [rdi], rax
call rbx
mov rcx, qword [0x14000c078]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x14000c070]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x1400017ff
cmp r13, rax
je 0x14000181f
mov r14, rbx
mov qword [rsp + 0x28], rbx
mov rsi, rbx
mov qword [rsp + 0x30], rbx
mov r13, rax
mov qword [rsp + 0x38], rax
mov rdi, rax
mov qword [rsp + 0x20], rax
jmp 0x1400017a6
lea rdx, [0x140007278]
lea rcx, [0x140007270]
call fcn.1400015f0
lea rdx, [0x140007288]
lea rcx, [0x140007280]
call fcn.1400015f0
nop
test r12d, r12d
je 0x140001857
mov ecx, 8
call fcn.140002de0
test r12d, r12d
jne 0x140001882
mov dword [0x14000b600], 1
lea ecx, [r12 + 8]
call fcn.140002de0
mov ecx, r15d
call fcn.140001584
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
xor r8d, r8d
xor edx, edx
jmp 0x140001710

Function at 0x1400018a8
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x140001710
Function at 0x1400036d0
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
mov ebp, r8d
mov r13, rdx
mov r14, rcx
call fcn.140002834
xor ebx, ebx
mov rdi, rax
cmp qword [0x14000bcd8], rbx
jne 0x1400037d6
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x1400038ab
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400038ab
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x14000bcd8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x14000bce0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetUserObjectInformationA
mov rcx, rsi
mov qword [0x14000bce8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x14000bcf8], rax
test rax, rax
je 0x1400037cd
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x14000bcf0], rax
jmp 0x1400037dd
mov rax, qword [0x14000bcf0]
jmp 0x1400037e4
mov rax, qword [0x14000bcf0]
mov r11, qword [0x14000bcf8]
cmp rax, rdi
je 0x14000384c
cmp r11, rdi
je 0x14000384c
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x14000bcf8]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x14000384c
test rax, rax
je 0x14000384c
call rsi
test rax, rax
je 0x140003846
lea rcx, [rsp + 0x88]
mov r9d, 0xc
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x140003846
test byte [rsp + 0x38], 1
jne 0x14000384c
bts ebp, 0x15
jmp 0x14000388a
mov rcx, qword [0x14000bce0]
cmp rcx, rdi
je 0x14000388a
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14000388a
call rax
mov rbx, rax
test rax, rax
je 0x14000388a
mov rcx, qword [0x14000bce8]
cmp rcx, rdi
je 0x14000388a
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14000388a
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x14000bcd8]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x1400038ab
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x1400038ad
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x140001487
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x14000ca30]
mov dword [rax], 1
mov rax, qword [0x14000ca40]
mov dword [rax], 1
mov rax, qword [0x14000ca50]
mov dword [rax], 1
mov rax, qword [0x14000c9c0]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400014d8
mov eax, 0
jmp 0x140001585
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x140001504
mov eax, 0
jmp 0x140001585
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
movzx eax, ax
cmp eax, 0x10b
je 0x14000152a
cmp eax, 0x20b
je 0x140001551
jmp 0x140001580
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x14000153d
mov eax, 0
jmp 0x140001585
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001585
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x14000156c
mov eax, 0
jmp 0x140001585
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001585
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x1400018e0
Capabilities:
Delete file

Disassembly:
push rbx
sub rsp, 0x90
movaps xmmword [rsp + 0x80], xmm6
lea rbx, [0x14000c074]
lea rax, [0x1400200e0]
mov rcx, qword [0x1400220e8]
movq xmm6, rax
movq xmm0, rbx
punpcklqdq xmm6, xmm0
test rcx, rcx
je 0x14000194f
call qword [sym.imp.KERNEL32.dll_GetProcessId]
xor ecx, ecx
mov edx, eax
call qword [sym.imp.KERNEL32.dll_GenerateConsoleCtrlEvent]
test eax, eax
je 0x1400019b8
mov rcx, qword [0x1400220e8]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [0x1400220e8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x1400220e0], 0
jne 0x140001970
movaps xmm6, xmmword [rsp + 0x80]
add rsp, 0x90
pop rbx
ret
mov eax, 0x414
mov dword [rsp + 0x48], 3
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x40], 0
mov word [rsp + 0x60], ax
mov dword [rsp + 0x64], 0
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x70], rbx
movaps xmmword [rsp + 0x50], xmm6
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
jmp 0x140001958
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, 0x400
xor edx, edx
mov qword [rsp + 0x30], 0
mov r8d, eax
lea rax, [rsp + 0x40]
mov dword [rsp + 0x28], 0
mov ecx, 0x1300
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
lea rcx, str.Failed_to_send_CTRL_C_to_child_process.
call sub.msvcrt.dll_puts
mov rcx, qword [rsp + 0x40]
call sub.msvcrt.dll_puts
jmp 0x140001930
Function at 0x140002c30
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call fcn.140009b30
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call fcn.140009b30
mov r8, rbx
mov rdx, qword [rbp + 0x20]
mov rcx, rax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop

Function at 0x1400038e2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x1400221c8]
test eax, eax
je 0x14000397a
lea rax, [0x1400221a0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x1400221d0]
mov qword [rbp - 8], rax
jmp 0x14000395e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x140003952
cmp qword [rbp - 0x10], 0
je 0x140003952
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x140003918
lea rax, [0x1400221a0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x14000397b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x140003a80
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x140003aa8
mov eax, 0
jmp 0x140003af6
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x140003ad1
mov eax, 0
jmp 0x140003af6
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x140003af1
mov eax, 0
jmp 0x140003af6
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x140003afc
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x140003b7a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x140003b71
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x140003b71
mov rax, qword [rbp - 8]
jmp 0x140003b8f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x140003b44
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x180040170
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 0x180040235
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x180040235
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 0x18004024e
lea eax, [r9 + r9*4]
dec edi
lea ecx, [r8 + rax*2]
mov rax, qword [rbx + 0x10]
mov dword [rbx + 0x74], ecx
mov rcx, qword [rbx]
cmp rcx, rax
je 0x180040225
cmp byte [rcx], 0x5c
jne 0x18004021e
lea rdx, [rcx + 1]
cmp rdx, rax
je 0x18004021e
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x18004020c
movzx eax, byte [rdx]
sub al, 0x28
cmp al, 1
jbe 0x18004021b
test r8b, 0x10
jne 0x18004021e
movzx eax, byte [rdx]
sub al, 0x7b
test al, 0xfd
jne 0x18004021e
mov rcx, rdx
lea rax, [rcx + 1]
mov qword [rbx], rax
mov rcx, rbx
call fcn.1800436e0
test edi, edi
jne 0x180040190
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.180041990
int3
Function at 0x180043d10
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x180043d44
movabs r10, 0x100000001b3
nop
movzx ecx, byte [rdx + r9]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x180043d30
ret

Function at 0x18004d850
Capabilities:
Read file on windows

Disassembly:
push rbx
push r14
push r15
sub rsp, 0x20
mov r15, r8
mov r14, rdx
mov rbx, rcx
test r8, r8
jg 0x18004d874
xor eax, eax
add rsp, 0x20
pop r15
pop r14
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rdi
je 0x18004d902
mov rdi, r15
mov qword [rsp + 0x40], rbp
lea rsi, [rcx + 0x50]
mov rax, qword [rbx + 0x38]
mov rdx, qword [rax]
test rdx, rdx
je 0x18004d8d0
mov rax, qword [rsi]
movsxd rcx, dword [rax]
test ecx, ecx
jle 0x18004d8d0
cmp rdi, rcx
mov rbp, rdi
cmovge rbp, rcx
mov rcx, r14
mov r8, rbp
call fcn.1801f2e70
mov rax, qword [rsi]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x18004d8ed
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x18004d8f5
mov byte [r14], al
lea rsi, [rbx + 0x50]
dec rdi
mov ebp, 1
add r14, rbp
test rdi, rdi
jg 0x18004d891
mov rbp, qword [rsp + 0x40]
sub r15, rdi
jmp 0x18004d9e0
mov rax, qword [rcx + 0x38]
mov rsi, r15
mov rdx, qword [rax]
test rdx, rdx
je 0x18004d919
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x18004d91b
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x18004d94d
cmp rax, r15
mov rdi, r15
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call fcn.1801f2e70
mov rax, qword [rbx + 0x50]
add r14, rdi
sub rsi, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x18004d9dd
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x18004d988
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 rsi, 0xfff
jbe 0x18004d9be
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call fcn.1801acdcc
add r14, rax
sub rsi, rax
cmp rax, 0xfff
jne 0x18004d9dd
cmp rsi, rax
ja 0x18004d991
test rsi, rsi
je 0x18004d9dd
mov r9, qword [rbx + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.1801acdcc
sub rsi, rax
sub r15, rsi
mov rsi, qword [rsp + 0x48]
mov rax, r15
mov rdi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rbx
ret
Function at 0x180061490
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 0x18006152c
xorps xmm0, xmm0
mov qword [rbp - 0x10], rax
mov ecx, 0x20
mov qword [rbp - 8], rax
movups xmmword [rbp - 0x20], xmm0
call fcn.1801323fc
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 [0x18020db60]
movsd qword [rax + 0x10], xmm0
movzx ecx, word [0x18020db68]
mov word [rax + 0x18], cx
movzx eax, byte [0x18020db6a]
mov byte [rdx + 0x1a], al
mov byte [rdx + 0x1b], dil
xor edx, edx
jmp 0x18006168b
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
jne 0x18006159c
xor eax, eax
xorps xmm0, xmm0
mov ecx, 0x20
mov qword [rbp - 0x10], rax
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 8], rax
call fcn.1801323fc
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 [0x18020db80]
movsd qword [rax + 0x10], xmm0
movzx ecx, word [0x18020db88]
mov word [rax + 0x18], cx
mov byte [rax + 0x1a], 0
jmp 0x18006168b
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
jne 0x180061615
xorps xmm0, xmm0
mov qword [rbp - 0x10], rax
mov ecx, 0x20
mov qword [rbp - 8], rax
movups xmmword [rbp - 0x20], xmm0
call fcn.1801323fc
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 [0x18020dba0]
movsd qword [rax + 0x10], xmm0
movzx ecx, word [0x18020dba8]
mov word [rax + 0x18], cx
movzx eax, byte [0x18020dbaa]
mov byte [rdx + 0x1a], al
mov byte [rdx + 0x1b], 0
xor edx, edx
jmp 0x18006168b
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
jne 0x18006167a
xorps xmm0, xmm0
mov qword [rbp - 0x10], rax
mov ecx, 0x20
mov qword [rbp - 8], rax
movups xmmword [rbp - 0x20], xmm0
call fcn.1801323fc
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 [0x18020dbc0]
mov dword [rax + 0x10], ecx
movzx ecx, word [0x18020dbc4]
mov word [rax + 0x14], cx
mov byte [rax + 0x16], 0
jmp 0x18006168b
mov rdx, rax
lea rcx, [rbp - 0x20]
call fcn.18001c350
mov r8, rax
mov dl, 1
lea rcx, [rbp - 0x30]
call fcn.180061210
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x50
pop rbp
ret
Function at 0x180061d20
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 [0x1802dc580]
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.180061fe0
nop
mov rdx, rax
lea rcx, [rbp - 9]
call fcn.180060540
nop
mov rdx, qword [rbp - 0x11]
cmp rdx, 0xf
jbe 0x180061da6
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180061da1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180061e9b
call fcn.180132438
movdqa xmm0, xmmword [0x18020aed0]
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 0x180061ea1
mov qword [rsi], rbx
mov qword [rsi + 8], rbx
mov qword [rsi + 0x10], rbx
mov edx, r14d
mov rcx, rsi
call fcn.1800616b0
mov rcx, qword [rsi]
lea rbx, [rcx + r14]
mov r8d, r14d
xor edx, edx
call fcn.1801f3510
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 0x180061edf
mov rdx, qword [rbp + 0xf]
cmp rdx, 7
jbe 0x180061e6e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180061e69
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180061e95
call fcn.180132438
mov rax, rsi
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.180132af0
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.18017ecd8
nop
call fcn.18017ecd8
int3
lea rcx, [rbp + 0x17]
call fcn.180061f20
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.18005ec70
lea rdx, [0x1802d7918]
lea rcx, [rbp - 0x51]
call fcn.18016f7e4
nop
lea rcx, [rbp + 0x17]
call fcn.180061f20
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.18005ec70
lea rdx, [0x1802d7918]
lea rcx, [rbp - 0x51]
call fcn.18016f7e4
int3
Function at 0x18007dc00
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rdi, rcx
mov rax, qword [rcx + 0x28]
nop
cmp rax, qword [rcx + 0x10]
jb 0x18007dc2f
xor al, al
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
mov ecx, reloc.WS2_32.dll_recv
call fcn.1801323fc
mov rbx, rax
mov qword [rsp + 0x40], rax
test rax, rax
je 0x18007dc8b
mov ecx, 8
call fcn.1801323fc
test rax, rax
je 0x18007dc58
mov qword [rax], rdi
mov qword [rsp + 0x48], rax
lea rsi, [rbx + 8]
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x18007cdf0]
xor edx, edx
xor ecx, ecx
call fcn.1801b06d4
mov qword [rbx], rax
test rax, rax
je 0x18007dcaa
jmp 0x18007dc8d
xor ebx, ebx
mov rdx, rbx
mov rcx, rdi
call fcn.18007da20
mov al, 1
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
mov dword [rsi], 0
mov ecx, 6
call fcn.1801407fc
int3

Function at 0x18007dea0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x30
mov rdi, rcx
xor r15d, r15d
mov eax, dword [rcx + 0x20]
nop
test eax, eax
je 0x18007ded4
mov eax, 0xffffffff
mov rbx, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov eax, 1
xchg dword [rcx + 0x20], eax
cmp rdx, qword [rcx + 8]
cmovb rdx, qword [rcx + 8]
mov rbp, qword [rcx + 0x10]
cmp rdx, rbp
cmovbe rbp, rdx
mov rsi, r15
test rbp, rbp
je 0x18007df7f
nop dword [rax]
mov rax, qword [rdi + 0x28]
nop
cmp rax, qword [rdi + 0x10]
jae 0x18007df77
mov ecx, reloc.WS2_32.dll_recv
call fcn.1801323fc
mov rbx, rax
mov qword [rsp + 0x60], rax
test rax, rax
je 0x18007df69
mov ecx, 8
call fcn.1801323fc
test rax, rax
je 0x18007df36
mov qword [rax], rdi
jmp 0x18007df39
mov rax, r15
mov qword [rsp + 0x70], rax
lea r14, [rbx + 8]
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], r15d
mov r9, rax
lea r8, [0x18007cdf0]
xor edx, edx
xor ecx, ecx
call fcn.1801b06d4
mov qword [rbx], rax
test rax, rax
je 0x18007df92
jmp 0x18007df6c
mov rbx, r15
mov rdx, rbx
mov rcx, rdi
call fcn.18007da20
inc rsi
cmp rsi, rbp
jb 0x18007df00
xor eax, eax
mov rbx, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov dword [r14], r15d
mov ecx, 6
call fcn.1801407fc
int3