joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400083b0
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
mov eax, 0x2280
call fcn.14000c8c0
sub rsp, rax
mov rax, qword [0x14003e040]
xor rax, rsp
mov qword [rsp + 0x2270], rax
mov rbp, rcx
lea r8, [0x14002d970]
mov r9, rcx
mov ebx, 0x1000
mov edx, ebx
lea rcx, [rsp + 0x270]
call fcn.1400026b0
mov edi, eax
cmp eax, ebx
jge 0x1400084f3
dec edi
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x270]
sub ebx, edi
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x1400084f3
nop
movzx edx, word [rsp + 0x4c]
movzx ecx, word [rsp + 0x4e]
cmp dx, 0x2e
jne 0x140008457
test cx, cx
je 0x1400084c3
cmp dx, dx
jne 0x140008457
cmp cx, dx
jne 0x140008457
cmp word [rsp + 0x50], 0
je 0x1400084c3
movsxd rax, edi
lea rcx, [rsp + 0x270]
movsxd rdx, ebx
lea r9, [rsp + 0x4c]
lea r8, [0x14002d97c]
lea rcx, [rcx + rax*2]
call fcn.1400026b0
cmp eax, ebx
jge 0x1400084c3
mov eax, dword [rsp + 0x20]
test al, 0x10
je 0x1400084b5
bt eax, 0xa
jae 0x1400084a6
cmp dword [rsp + 0x44], 0xa000000c
jne 0x1400084a6
lea rcx, [rsp + 0x270]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x1400084c3
lea rcx, [rsp + 0x270]
call fcn.1400083b0
jmp 0x1400084c3
lea rcx, [rsp + 0x270]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140008430
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
dec eax
neg eax
sbb eax, eax
jmp 0x1400084f8
mov eax, 0xffffffff
mov rcx, qword [rsp + 0x2270]
xor rcx, rsp
call fcn.14000c5c0
lea r11, [rsp + 0x2280]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140008850
Capabilities:
Create directory
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
mov eax, 0x2050
call fcn.14000c8c0
sub rsp, rax
mov rax, qword [0x14003e040]
xor rax, rsp
mov qword [rsp + 0x2040], rax
xor r14d, r14d
mov rbp, rcx
cmp qword [rcx + 0x3068], r14
je 0x1400088ea
lea rcx, [0x14002d848]
call fcn.140008a20
mov rcx, qword [rbp + 0x3068]
mov r14, rax
call fcn.1400081c0
mov rdi, rax
test rax, rax
je 0x1400088d8
mov rdx, rax
lea rcx, [0x14002d850]
call fcn.1400182a8
mov rcx, rdi
mov ebx, eax
call fcn.140014fa0
test ebx, ebx
je 0x1400088ea
lea rcx, str.LOADER:_failed_to_set_the_TMP_environment_variable._n
call fcn.140002810
mov rcx, r14
call fcn.140014fa0
mov eax, 0xffffffff
jmp 0x1400089f5
lea rdx, [rsp + 0x40]
mov ecx, 0x1000
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
call sub.KERNEL32.dll_GetCurrentProcessId
mov r9d, eax
lea r8, str._MEI_d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.1400025c0
xor ebx, ebx
mov esi, 0xffffffff
nop
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
call fcn.140018bd8
mov rdx, qword [rbp + 0x3038]
mov rcx, rax
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov rcx, rdi
test eax, eax
jne 0x140008957
call fcn.140014fa0
inc ebx
cmp ebx, 5
jl 0x140008920
jmp 0x140008986
lea rdx, [rbp + 0x2022]
mov r8d, 0x1000
call fcn.1400094b0
test rax, rax
jne 0x14000897c
lea rcx, str.LOADER:_length_of_teporary_directory_path_exceeds_maximum_path_length__n
call fcn.140002810
jmp 0x14000897e
xor esi, esi
mov rcx, rdi
call fcn.140014fa0
cmp qword [rbp + 0x3068], 0
je 0x1400089f3
xor r8d, r8d
lea rcx, [0x14002d848]
xor edx, edx
call fcn.140009400
test r14, r14
je 0x1400089d9
xor r8d, r8d
xor edx, edx
mov rcx, r14
mov rdi, rax
call fcn.140009400
mov rdx, rax
mov rcx, rdi
mov rbx, rax
call fcn.1400182a8
mov rcx, rdi
call fcn.140014fa0
mov rcx, rbx
call fcn.140014fa0
mov rcx, r14
jmp 0x1400089ee
lea rdx, [0x14002d564]
mov rcx, rax
mov rbx, rax
call fcn.1400182a8
mov rcx, rbx
call fcn.140014fa0
mov eax, esi
mov rcx, qword [rsp + 0x2040]
xor rcx, rsp
call fcn.14000c5c0
lea r11, [rsp + 0x2050]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret

Function at 0x140008a20
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x4038
call fcn.14000c8c0
sub rsp, rax
mov rax, qword [0x14003e040]
xor rax, rsp
mov qword [rsp + 0x4020], rax
xor r8d, r8d
xor edx, edx
call fcn.140009400
mov r8d, 0x1000
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
dec eax
cmp eax, 0xffe
ja 0x140008ab2
mov r8d, 0x1000
lea rdx, [rsp + 0x2020]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
dec eax
cmp eax, 0xffe
ja 0x140008ab2
xor r8d, r8d
lea rcx, [rsp + 0x2020]
xor edx, edx
call fcn.1400094b0
mov rcx, qword [rsp + 0x4020]
xor rcx, rsp
call fcn.14000c5c0
add rsp, 0x4038
ret
xor eax, eax
mov rcx, qword [rsp + 0x4020]
xor rcx, rsp
call fcn.14000c5c0
add rsp, 0x4038
ret
Function at 0x14000d328
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000d372
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000d372
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000d372
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000d372
cmp dword [rcx + 0x84], 0xe
jbe 0x14000d372
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14000d374
xor al, al
add rsp, 0x28
ret

Function at 0x140015c74
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x250
mov rax, qword [0x14003e040]
xor rax, rsp
mov qword [rsp + 0x240], rax
lea rdx, [0x140032460]
mov rbp, rcx
call fcn.14001f720
xor edi, edi
test rax, rax
je 0x140015d5a
mov ebx, edi
call fcn.140014f78
mov r14d, dword [rax]
call fcn.140014f78
mov r8d, 0x104
lea rcx, [rsp + 0x30]
mov rdx, rbp
mov dword [rax], edi
call fcn.140017e78
mov rsi, rax
test rax, rax
je 0x140015ceb
call fcn.140014f78
mov dword [rax], r14d
jmp 0x140015d15
call fcn.140014f78
cmp dword [rax], 0x22
jne 0x140015d52
call fcn.140014f78
xor r8d, r8d
mov rdx, rbp
xor ecx, ecx
mov dword [rax], r14d
call fcn.140017e78
mov rbx, rax
mov rsi, rax
test rax, rax
je 0x140015d52
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], di
jne 0x140015d19
cmp rax, 3
je 0x140015d34
mov rcx, rsi
call fcn.140015bd0
test al, al
je 0x140015d45
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x140015d45
mov dil, 1
mov rcx, rbx
call fcn.140014fa0
mov al, dil
jmp 0x140015d5c
mov rcx, rbx
call fcn.140014fa0
xor al, al
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14000c5c0
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x2915ecda0
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 sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call fcn.2915ede80
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop

Function at 0x2915ed7a2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2915fa108]
test eax, eax
je 0x2915ed83a
lea rax, [0x2915fa0e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2915fa110]
mov qword [rbp - 8], rax
jmp 0x2915ed81e
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 0x2915ed812
cmp qword [rbp - 0x10], 0
je 0x2915ed812
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 0x2915ed7d8
lea rax, [0x2915fa0e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2915ed83b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2915ed940
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 0x2915ed968
mov eax, 0
jmp 0x2915ed9b6
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 0x2915ed991
mov eax, 0
jmp 0x2915ed9b6
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 0x2915ed9b1
mov eax, 0
jmp 0x2915ed9b6
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2915ed9bc
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 0x2915eda3a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2915eda31
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 0x2915eda31
mov rax, qword [rbp - 8]
jmp 0x2915eda4f
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 0x2915eda04
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x18003f750
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 0x18003f81c
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x18003f81c
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 0x18003f835
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 0x18003f80c
cmp byte [rax], 0x5c
jne 0x18003f806
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x18003f806
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x18003f7f2
movzx ecx, byte [rdx]
sub cl, 0x28
cmp cl, 1
jbe 0x18003f803
test r8b, 0x10
jne 0x18003f806
movzx ecx, byte [rdx]
sub cl, 0x7b
test cl, 0xfd
jne 0x18003f806
mov rax, rdx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.180042c90
test edi, edi
jne 0x18003f770
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.180040f50
int3
Function at 0x1800432b0
Capabilities:
Encode data using xor
Hash data using fnv

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

Function at 0x18004cc20
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 0x18004cc51
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 0x18004cccb
mov rdi, r14
mov rcx, rbx
call fcn.1800344f0
test rax, rax
jle 0x18004cca3
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.1801ee600
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 0x18004ccbb
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x18004ccc3
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x18004cc65
sub r14, rdi
jmp 0x18004cdaf
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x18004cce2
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x18004cce4
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x18004cd16
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.1801ee600
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 0x18004cdac
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x18004cd51
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 0x18004cd8d
nop word [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.1801a855c
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x18004cdac
cmp rbp, rax
ja 0x18004cd60
test rbp, rbp
je 0x18004cdac
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.1801a855c
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 0x180060480
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 0x18006051e
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.180130d4c
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 [0x180209a80]
movsd qword [rax + 0x10], xmm0
movzx eax, word [0x180209a88]
mov word [rcx + 0x18], ax
movzx eax, byte [0x180209a8a]
mov byte [rcx + 0x1a], al
mov byte [rcx + 0x1b], dil
jmp 0x180060685
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
jne 0x180060592
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.180130d4c
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 [0x180209aa0]
movsd qword [rax + 0x10], xmm0
movzx ecx, word [0x180209aa8]
mov word [rax + 0x18], cx
mov byte [rax + 0x1a], 0
jmp 0x180060685
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
jne 0x18006060d
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.180130d4c
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 [0x180209ac0]
movsd qword [rax + 0x10], xmm0
movzx eax, word [0x180209ac8]
mov word [rcx + 0x18], ax
movzx eax, byte [0x180209aca]
mov byte [rcx + 0x1a], al
mov byte [rcx + 0x1b], 0
jmp 0x180060685
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
jne 0x180060674
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.180130d4c
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 [0x180209ae0]
mov dword [rax + 0x10], ecx
movzx ecx, word [0x180209ae4]
mov word [rax + 0x14], cx
mov byte [rax + 0x16], 0
jmp 0x180060685
mov rdx, rax
lea rcx, [rbp - 0x20]
call fcn.18001bbd0
mov r8, rax
mov dl, 1
lea rcx, [rbp - 0x30]
call fcn.1800601a0
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x50
pop rbp
ret
Function at 0x180060d10
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 [0x1802d93c0]
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.180060fc0
nop
mov rdx, rax
lea rcx, [rbp - 9]
call fcn.18005f4c0
nop
mov rdx, qword [rbp - 0x11]
cmp rdx, 0xf
jbe 0x180060d96
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180060d91
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180060e8b
call fcn.180130d88
movdqa xmm0, xmmword [0x180206e80]
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 0x180060e91
mov qword [rsi], rbx
mov qword [rsi + 8], rbx
mov qword [rsi + 0x10], rbx
mov edx, r14d
mov rcx, rsi
call fcn.1800606a0
mov rcx, qword [rsi]
lea rbx, [rcx + r14]
mov r8d, r14d
xor edx, edx
call fcn.1801eeca0
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 0x180060ecf
mov rdx, qword [rbp + 0xf]
cmp rdx, 7
jbe 0x180060e5e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180060e59
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180060e85
call fcn.180130d88
mov rax, rsi
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.180131440
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.18017a460
nop
call fcn.18017a460
int3
lea rcx, [rbp + 0x17]
call fcn.180060f10
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.18005dc20
lea rdx, [0x1802d2f50]
lea rcx, [rbp - 0x51]
call fcn.180169f74
nop
lea rcx, [rbp + 0x17]
call fcn.180060f10
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.18005dc20
lea rdx, [0x1802d2f50]
lea rcx, [rbp - 0x51]
call fcn.180169f74
int3
Function at 0x18007cc80
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 0x18007ccaf
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.180130d4c
mov rbx, rax
mov qword [rsp + 0x40], rax
test rax, rax
je 0x18007cd0b
mov ecx, 8
call fcn.180130d4c
test rax, rax
je 0x18007ccd8
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, [0x18007bdf0]
xor edx, edx
xor ecx, ecx
call fcn.1801abe64
mov qword [rbx], rax
test rax, rax
je 0x18007cd2a
jmp 0x18007cd0d
xor ebx, ebx
mov rdx, rbx
mov rcx, rdi
call fcn.18007cab0
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.18013a86c
int3

Function at 0x18007cf20
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 0x18007cf53
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 0x18007cfff
nop dword [rax + rax]
mov rax, qword [rdi + 0x28]
nop
cmp rax, qword [rdi + 0x10]
jae 0x18007cff7
mov ecx, reloc.WS2_32.dll_recv
call fcn.180130d4c
mov rbx, rax
mov qword [rsp + 0x60], rax
test rax, rax
je 0x18007cfe9
mov ecx, 8
call fcn.180130d4c
test rax, rax
je 0x18007cfb6
mov qword [rax], rdi
jmp 0x18007cfb9
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, [0x18007bdf0]
xor edx, edx
xor ecx, ecx
call fcn.1801abe64
mov qword [rbx], rax
test rax, rax
je 0x18007d012
jmp 0x18007cfec
mov rbx, r15
mov rdx, rbx
mov rcx, rdi
call fcn.18007cab0
inc rsi
cmp rsi, rbp
jb 0x18007cf80
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.18013a86c
int3