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

Disassembly:
cmp rcx, qword [0x0041b110]
jne 0x40a17a
rol rcx, 0x10
test cx, 0xffff
jne 0x40a176
repz ret
ror rcx, 0x10
jmp 0x40b810
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x0041c440]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x0041c538]
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 0x40b895
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, [0x0041c440]
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 0x40b8b7
mov rax, qword [rsp + 0x88]
mov qword [0x0041c538], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x0041c4d8], rax
mov rax, qword [0x0041c538]
mov qword [0x0041c3b0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x0041c4c0], rax
mov dword [0x0041c3a0], 0xc0000409
mov dword [0x0041c3a4], 1
mov rax, qword [0x0041b110]
mov qword [rsp + 0x68], rax
mov rax, qword [0x0041b118]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x0041c438], eax
mov ecx, 1
call fcn.0040f8c0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x004146f8]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x0041c438], 0
jne 0x40b93e
mov ecx, 1
call fcn.0040f8c0
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 0x4110a0
Capabilities:
Link many functions at runtime

Disassembly:
mov rax, rsp
sub rsp, 0x68
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax - 8], r12
mov qword [rax - 0x10], r13
mov r13, rcx
mov edi, r8d
mov r12, rdx
call fcn.0040bf40
xor ebx, ebx
cmp qword [0x0041d110], rbx
mov rsi, rax
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x34], ebx
jne 0x4111d1
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
mov rbp, rax
jne 0x411103
xor eax, eax
jmp 0x4112b1
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x4110fc
mov rcx, rax
call fcn.0040bed0
lea rdx, str.GetActiveWindow
mov rcx, rbp
mov qword [0x0041d110], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.0040bed0
lea rdx, str.GetLastActivePopup
mov rcx, rbp
mov qword [0x0041d118], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.0040bed0
lea rcx, [rsp + 0x30]
mov qword [0x0041d120], rax
call fcn.0040e0b0
test eax, eax
je 0x411187
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call fcn.0040b4d0
cmp dword [rsp + 0x30], 2
jne 0x4111d1
lea rdx, str.GetUserObjectInformationA
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.0040bed0
test rax, rax
mov qword [0x0041d130], rax
je 0x4111d1
lea rdx, str.GetProcessWindowStation
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.0040bed0
mov qword [0x0041d128], rax
mov rcx, qword [0x0041d128]
cmp rcx, rsi
je 0x411263
cmp qword [0x0041d130], rsi
je 0x411263
call fcn.0040bfa0
call rax
test rax, rax
mov rbp, rax
je 0x41122e
mov rcx, qword [0x0041d130]
call fcn.0040bfa0
lea rcx, [rsp + 0x38]
mov r9d, 0xc
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
lea r8, [rsp + 0x40]
mov rcx, rbp
call rax
test eax, eax
je 0x41122e
test byte [rsp + 0x48], 1
jne 0x411263
lea rcx, [rsp + 0x34]
call fcn.0040e100
test eax, eax
je 0x411250
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call fcn.0040b4d0
cmp dword [rsp + 0x34], 4
jb 0x41125d
bts edi, 0x15
jmp 0x411297
bts edi, 0x12
jmp 0x411297
mov rcx, qword [0x0041d118]
cmp rcx, rsi
je 0x411297
call fcn.0040bfa0
call rax
test rax, rax
mov rbx, rax
je 0x411297
mov rcx, qword [0x0041d120]
cmp rcx, rsi
je 0x411297
call fcn.0040bfa0
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x0041d110]
call fcn.0040bfa0
mov r9d, edi
mov r8, r12
mov rdx, r13
mov rcx, rbx
call rax
mov r13, qword [rsp + 0x58]
mov r12, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
add rsp, 0x68
ret
Function at 0x18002cab0
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 0x18002cb7c
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x18002cb7c
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 0x18002cb95
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 0x18002cb6c
cmp byte [rax], 0x5c
jne 0x18002cb66
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x18002cb66
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x18002cb52
movzx ecx, byte [rdx]
sub cl, 0x28
cmp cl, 1
jbe 0x18002cb63
test r8b, 0x10
jne 0x18002cb66
movzx ecx, byte [rdx]
sub cl, 0x7b
test cl, 0xfd
jne 0x18002cb66
mov rax, rdx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.1800303a0
test edi, edi
jne 0x18002cad0
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.18002e6e0
int3

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

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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x110
mov rax, qword [0x18032c340]
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 [0x180338d98]
mov rax, qword gs:[0x58]
mov edx, setsockopt
mov rax, qword [rax + rcx*8]
mov ecx, dword [rdx + rax]
cmp dword [0x1803383b0], ecx
jg 0x18005a9d9
lea rbx, [0x180338360]
mov qword [rsp + 0xa0], rbx
mov rcx, rbx
call fcn.180158bfc
test eax, eax
jne 0x18005aa23
mov eax, dword [0x1803383ac]
cmp eax, 0x7fffffff
je 0x18005aa2d
xor edx, edx
lea rcx, [rsp + 0x80]
call fcn.180013fc0
nop
lea rcx, [rsp + 0x50]
call fcn.18005aa50
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.180017e60
nop
jmp 0x18005a898
lea rax, [rsp + 0x50]
mov qword [rsp + 0x60], rax
mov rdx, rdi
lea rcx, [rsp + 0x50]
call fcn.180040260
mov rdi, rax
mov rdx, rsi
lea rcx, [rsp + 0xb8]
call fcn.180014110
mov rdx, rax
lea rcx, [rsp + 0x80]
call fcn.1800150a0
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.180017e60
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.180042ea0
mov rdi, rax
lea rcx, [rsp + 0xe0]
call fcn.18007bd90
mov rdx, rdi
mov rcx, rax
call fcn.18006cd50
lea rcx, [rsp + 0xe0]
call fcn.18001f520
nop
mov rdx, qword [rsp + 0xd0]
cmp rdx, 0xf
jbe 0x18005a990
inc rdx
mov rcx, qword [rsp + 0xb8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005a98a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18005aa40
call fcn.18014ea60
nop
movzx edx, byte [rsp + 0x80]
lea rcx, [rsp + 0x88]
call fcn.180017e60
nop
mov rcx, rbx
call fcn.180158c5c
mov al, 1
jmp 0x18005a9b4
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.18014eb80
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
lea rcx, [0x1803383b0]
call fcn.18014ec80
cmp dword [0x1803383b0], 0xffffffff
jne 0x18005a7fe
mov edx, 2
lea rbx, [0x180338360]
mov rcx, rbx
call fcn.180158be8
lea rcx, [0x180229dc0]
call fcn.18014f160
lea rcx, [0x1803383b0]
call fcn.18014ec14
jmp 0x18005a805
mov ecx, 5
call fcn.180159510
dec eax
mov dword [0x1803383ac], eax
mov ecx, 6
call fcn.180159510
nop
call fcn.1801980c0
int3
Function at 0x1800692c0
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 [0x18032c340]
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 [0x180338440]
lea rdx, str.D:_aSteam_DLCSteam_DLCKoalaBox_srckoalaboxhttp_client.cpp
lea rcx, [rbp - 0x10]
call fcn.180061eb0
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.180052930
nop
mov rdx, qword [rbp + 8]
cmp rdx, 0xf
jbe 0x1800693b6
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800693b1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18006953c
call fcn.18014ea60
mov rdx, rsi
lea rcx, [rbp - 0x30]
call fcn.180014110
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.1800670a0
mov rbx, rax
lea rcx, [rbp + 0x160]
call fcn.180083de0
nop
mov rdx, rbx
lea rcx, [rbp + 0x160]
call fcn.18008a630
lea rdx, [rbp + 0x20]
lea rcx, [rbp + 0x160]
call fcn.180086c70
nop
lea rcx, [rbp + 0x160]
call fcn.180067980
nop
mov rdx, qword [rbp + 0x10]
cmp rdx, 0xf
jbe 0x18006945b
inc rdx
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180069456
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180069542
call fcn.18014ea60
movdqa xmm0, xmmword [0x18022c990]
movdqu xmmword [rbp + 8], xmm0
mov byte [rbp - 8], 0
lea r9, [fcn.180014990]
mov edx, 0x20
lea r8d, [rdx - 0x1f]
lea rcx, [rbp - 0x30]
call fcn.18014f180
cmp dword [rbp + 0x30], 0xc8
jne 0x1800694de
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.1800669b0
nop
lea rcx, [rbp + 0x20]
call fcn.180067730
mov rax, rdi
mov rcx, qword [rbp + 0x420]
xor rcx, rsp
call fcn.18014eb80
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.180066590
lea rdx, [0x180302a38]
lea rcx, [rsp + 0x70]
call fcn.180187bc8
nop
call fcn.1801980c0
nop
call fcn.1801980c0
int3
Function at 0x18006a890
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 0x18006a8c1
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 0x18006a93b
mov rdi, r14
mov rcx, rbx
call fcn.18005c290
test rax, rax
jle 0x18006a913
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.18020c260
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 0x18006a92b
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x18006a933
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x18006a8d5
sub r14, rdi
jmp 0x18006aa1f
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x18006a952
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x18006a954
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x18006a986
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.18020c260
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 0x18006aa1c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x18006a9c1
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 0x18006a9fd
nop word [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.1801c6230
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x18006aa1c
cmp rbp, rax
ja 0x18006a9d0
test rbp, rbp
je 0x18006aa1c
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.1801c6230
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 0x18007dd60
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 0x18007ddfe
xorps xmm0, xmm0
mov qword [rbp - 0x10], rax
lea ecx, [rax + 0x20]
mov qword [rbp - 8], reloc.WS2_32.dll_ntohs
movups xmmword [rbp - 0x20], xmm0
call fcn.18014ea24
movups xmm0, xmmword [str.FindResource_returned_null.]
mov qword [rbp - 0x20], rax
lea r8, [rbp - 0x20]
mov qword [rbp - 0x10], 0x1b
mov rcx, rax
mov qword [rbp - 8], 0x1f
xor edx, edx
movups xmmword [rax], xmm0
movsd xmm0, qword [0x1802329a8]
movsd qword [rax + 0x10], xmm0
movzx eax, word [0x1802329b0]
mov word [rcx + 0x18], ax
movzx eax, byte [0x1802329b2]
mov byte [rcx + 0x1a], al
mov byte [rcx + 0x1b], dil
jmp 0x18007df65
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
jne 0x18007de72
xorps xmm0, xmm0
mov qword [rbp - 0x10], 0
lea ecx, [rax + 0x20]
mov qword [rbp - 8], reloc.WS2_32.dll_ntohs
movups xmmword [rbp - 0x20], xmm0
call fcn.18014ea24
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 [0x1802329c8]
movsd qword [rax + 0x10], xmm0
movzx ecx, word [0x1802329d0]
mov word [rax + 0x18], cx
mov byte [rax + 0x1a], 0
jmp 0x18007df65
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
jne 0x18007deed
xorps xmm0, xmm0
mov qword [rbp - 0x10], rax
lea ecx, [rax + 0x20]
mov qword [rbp - 8], reloc.WS2_32.dll_ntohs
movups xmmword [rbp - 0x20], xmm0
call fcn.18014ea24
movups xmm0, xmmword [str.LockResource_returned_null.]
mov qword [rbp - 0x20], rax
lea r8, [rbp - 0x20]
mov qword [rbp - 0x10], 0x1b
mov rcx, rax
mov qword [rbp - 8], 0x1f
xor edx, edx
movups xmmword [rax], xmm0
movsd xmm0, qword [0x1802329e8]
movsd qword [rax + 0x10], xmm0
movzx eax, word [0x1802329f0]
mov word [rcx + 0x18], ax
movzx eax, byte [0x1802329f2]
mov byte [rcx + 0x1a], al
mov byte [rcx + 0x1b], 0
jmp 0x18007df65
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
jne 0x18007df54
xorps xmm0, xmm0
mov qword [rbp - 0x10], rax
lea ecx, [rax + 0x20]
mov qword [rbp - 8], reloc.WS2_32.dll_ntohs
movups xmmword [rbp - 0x20], xmm0
call fcn.18014ea24
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 [0x180232a08]
mov dword [rax + 0x10], ecx
movzx ecx, word [0x180232a0c]
mov word [rax + 0x14], cx
mov byte [rax + 0x16], 0
jmp 0x18007df65
mov rdx, rax
lea rcx, [rbp - 0x20]
call fcn.180014230
mov r8, rax
mov dl, 1
lea rcx, [rbp - 0x30]
call fcn.18007da80
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x50
pop rbp
ret
Function at 0x18007e5f0
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 [0x18032c340]
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.18007e8a0
nop
mov rdx, rax
lea rcx, [rbp - 9]
call fcn.18007cda0
nop
mov rdx, qword [rbp - 0x11]
cmp rdx, 0xf
jbe 0x18007e676
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18007e671
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18007e76b
call fcn.18014ea60
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 0x18007e771
mov qword [rsi], rbx
mov qword [rsi + 8], rbx
mov qword [rsi + 0x10], rbx
mov edx, r14d
mov rcx, rsi
call fcn.18007df80
mov rcx, qword [rsi]
lea rbx, [rcx + r14]
mov r8d, r14d
xor edx, edx
call fcn.18020c900
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 0x18007e7af
mov rdx, qword [rbp + 0xf]
cmp rdx, 7
jbe 0x18007e73e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18007e739
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18007e765
call fcn.18014ea60
mov rax, rsi
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.18014eb80
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.1801980c0
nop
call fcn.1801980c0
int3
lea rcx, [rbp + 0x17]
call fcn.18007e7f0
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.18007b500
lea rdx, [0x180302a38]
lea rcx, [rbp - 0x51]
call fcn.180187bc8
nop
lea rcx, [rbp + 0x17]
call fcn.18007e7f0
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.18007b500
lea rdx, [0x180302a38]
lea rcx, [rbp - 0x51]
call fcn.180187bc8
int3
Function at 0x18009a430
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 0x18009a45f
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.18014ea24
mov rbx, rax
mov qword [rsp + 0x40], rax
test rax, rax
je 0x18009a4bb
mov ecx, 8
call fcn.18014ea24
test rax, rax
je 0x18009a488
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, [0x1800995a0]
xor edx, edx
xor ecx, ecx
call fcn.1801c9b38
mov qword [rbx], rax
test rax, rax
je 0x18009a4da
jmp 0x18009a4bd
xor ebx, ebx
mov rdx, rbx
mov rcx, rdi
call fcn.18009a260
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.180159510
int3

Function at 0x18009a6d0
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 0x18009a703
lea eax, [r15 - 1]
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 0x18009a7af
nop dword [rax + rax]
mov rax, qword [rdi + 0x28]
nop
cmp rax, qword [rdi + 0x10]
jae 0x18009a7a7
mov ecx, reloc.WS2_32.dll_recv
call fcn.18014ea24
mov rbx, rax
mov qword [rsp + 0x60], rax
test rax, rax
je 0x18009a799
mov ecx, 8
call fcn.18014ea24
test rax, rax
je 0x18009a766
mov qword [rax], rdi
jmp 0x18009a769
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, [0x1800995a0]
xor edx, edx
xor ecx, ecx
call fcn.1801c9b38
mov qword [rbx], rax
test rax, rax
je 0x18009a7c2
jmp 0x18009a79c
mov rbx, r15
mov rdx, rbx
mov rcx, rdi
call fcn.18009a260
inc rsi
cmp rsi, rbp
jb 0x18009a730
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.180159510
int3