joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140018c20
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], rbx
push rsi
push rdi
push r14
sub rsp, 0xc0
mov rax, qword [0x1401900d0]
xor rax, rsp
mov qword [rsp + 0xb8], rax
mov r14, rdx
mov rsi, rcx
mov qword [r11 - 0x50], rcx
mov qword [r11 - 0x48], rdx
xor edi, edi
mov edx, r8d
lea rcx, [r11 - 0x70]
call fcn.1400134e0
mov rbx, rax
mov rdx, qword [rsi + 0x10]
mov r8, qword [r14 + 0x10]
movabs rcx, 0x7fffffffffffffff
sub rcx, rdx
cmp rcx, r8
jb 0x140018d79
mov r9, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x140018c8e
mov r9, qword [rsi]
mov rax, r14
cmp qword [r14 + 0x18], 0x10
jb 0x140018c9b
mov rax, qword [r14]
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdx
lea rcx, [rsp + 0x48]
call fcn.14001d8b0
nop
mov r9, rbx
lea r8, [rsp + 0x48]
lea rcx, [rsp + 0x98]
call fcn.14001d6c0
nop
lea rcx, [rsp + 0x48]
call fcn.14000d2f0
nop
lea rcx, [rsp + 0x68]
call fcn.14000d2f0
lea rcx, [rsp + 0x98]
cmp qword [rsp + 0xb0], 0x10
cmovae rcx, qword [rsp + 0x98]
movabs rbx, 0xcbf29ce484222325
mov rdx, qword [rsp + 0xa8]
test rdx, rdx
je 0x140018d33
movabs r8, 0x100000001b3
nop dword [rax + rax]
movzx eax, byte [rdi + rcx]
xor rbx, rax
imul rbx, r8
inc rdi
cmp rdi, rdx
jb 0x140018d20
lea rcx, [rsp + 0x98]
call fcn.14000d2f0
nop
mov rcx, rsi
call fcn.14000d2f0
nop
mov rcx, r14
call fcn.14000d2f0
mov rax, rbx
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
call fcn.140105820
mov rbx, qword [rsp + 0xf8]
add rsp, 0xc0
pop r14
pop rdi
pop rsi
ret
call fcn.14000cc90
nop
int3
Function at 0x140018e90
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
push rsi
push rdi
push r12
push r13
push r14
push r15
mov r14, qword [rsp + 0x58]
xor r15d, r15d
mov r11, qword [rsp + 0x70]
mov r13, rdx
mov rax, qword [rsp + 0x60]
mov qword [r14], r8
mov qword [r11], rax
mov rdi, qword [r14]
cmp rdi, r9
je 0x140019023
mov r12, qword [rsp + 0x68]
lea r8d, [r15 + 1]
mov rsi, qword [r11]
mov r9d, 0x3ff
mov r10d, 0x2400
mov ebx, 0x2800
cmp rsi, r12
je 0x140019023
movzx edx, word [r13]
xor bpl, bpl
movzx ecx, word [rdi]
cmp r8w, dx
jae 0x140018f29
lea eax, [r10 + rcx]
cmp ax, r9w
ja 0x140019047
mov eax, edx
sub ecx, 0xdc00
shl eax, 0xa
or eax, ecx
jmp 0x140018f3f
mov eax, ecx
add cx, bx
cmp cx, r9w
ja 0x140018f3f
shl eax, 0xa
mov bpl, 1
sub eax, 0x35f0000
cmp eax, 0x80
jae 0x140018f52
movzx r9d, al
mov r10d, r15d
mov ebx, r15d
jmp 0x140018f9d
mov r9d, eax
cmp eax, 0x800
jae 0x140018f6c
shr r9d, 6
mov r10d, r8d
or r9b, 0xc0
mov ebx, r8d
jmp 0x140018f9d
cmp eax, 0x10000
jae 0x140018f86
shr r9d, 0xc
mov r10d, 2
or r9b, 0xe0
mov ebx, r10d
jmp 0x140018f9d
shr r9d, 0x12
mov r10d, 3
movzx ebx, bpl
or r9b, 0xf0
xor ebx, 1
add ebx, ebx
lea r8d, [rbx + 1]
mov rdx, r12
sub rdx, rsi
mov ecx, r8d
cmp rdx, rcx
jl 0x140019023
lea rcx, [rdi + 2]
mov qword [r14], rcx
test bpl, bpl
jne 0x140018fc1
cmp r10d, 3
jae 0x140018fcd
mov rcx, qword [r11]
mov r8d, ebx
mov byte [rcx], r9b
inc qword [r11]
mov r9, qword [r11]
test r8d, r8d
jle 0x140018ffe
lea ecx, [r10 + r10*2]
add ecx, ecx
nop dword [rax + rax]
sub ecx, 6
mov edx, eax
shr edx, cl
dec r8d
and dl, 0x3f
or dl, 0x80
mov byte [r9], dl
inc qword [r11]
mov r9, qword [r11]
test r8d, r8d
jg 0x140018fe0
shr eax, 0xa
mov r8d, 1
test bpl, bpl
mov ecx, r8d
cmovne ecx, eax
mov word [r13], cx
mov rdi, qword [r14]
cmp rdi, qword [rsp + 0x50]
jne 0x140018ede
mov rax, qword [rsp + 0x48]
cmp rax, qword [r14]
sete r15b
mov eax, r15d
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
mov eax, 2
jmp 0x140019032
Function at 0x14002ca50
Capabilities:
Read file on windows

Disassembly:
push rbx
push rsi
push r14
sub rsp, 0x30
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x14002ca72
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rdi
je 0x14002caec
mov rdi, r14
mov rcx, rbx
call fcn.14002f5b0
test rax, rax
jle 0x14002cac4
mov rdx, qword [rbx + 0x38]
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov r8, rbp
mov rdx, qword [rdx]
call fcn.1401093a0
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 0x14002cadc
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x14002cae4
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x14002ca86
sub r14, rdi
jmp 0x14002cbcf
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x14002cb03
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14002cb05
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14002cb37
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.1401093a0
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 0x14002cbcc
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14002cb72
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 0x14002cbad
nop dword [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.14011a7a4
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x14002cbcc
cmp rbp, rax
ja 0x14002cb80
test rbp, rbp
je 0x14002cbcc
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.14011a7a4
sub rbp, rax
sub r14, rbp
mov rbp, qword [rsp + 0x28]
mov rax, r14
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
Function at 0x140059010
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x20], rsi
push rdi
sub rsp, 0xc0
mov rax, qword [0x1401900d0]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov rdi, r8
mov rbx, rdx
mov qword [rsp + 0x78], rdx
mov qword [r11 - 0x48], r8
xor esi, esi
mov qword [r11 - 0x50], rsi
xorps xmm0, xmm0
xor eax, eax
movups xmmword [r11 - 0x38], xmm0
mov qword [r11 - 0x28], rax
mov dword [r11 - 0x20], eax
mov word [r11 - 0x1c], ax
mov dword [r11 - 0x40], 0x200
mov rdx, r8
lea rcx, [r11 - 0x70]
call fcn.1400abaf0
nop
mov r8, rax
lea rdx, str.SOFTWAREWOW6432NodeASUSArmouryHttp_
lea rcx, [rsp + 0x38]
call fcn.140059e20
cmp qword [rax + 0x18], 8
jb 0x140059094
mov rax, qword [rax]
lea rcx, [rsp + 0x78]
mov qword [rsp + 0x20], rcx
mov r9d, 0xf003f
xor r8d, r8d
mov rdx, rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea rcx, [rsp + 0x38]
call fcn.14000d260
nop
lea rcx, [rsp + 0x58]
call fcn.14000d260
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x140059120
lea rax, [rsp + 0x88]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x14015c4a0]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x78]
test eax, eax
jne 0x14005911a
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, rsi
mov qword [rsp + 0x78], rcx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], rsi
lea rax, [rsp + 0x90]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140059140
lea rdx, [rsp + 0x90]
mov rcx, rbx
call fcn.14001c4f0
nop
mov rcx, rdi
call fcn.14000d2f0
mov rax, rbx
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.140105820
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x14005a620
Capabilities:
Hash data using fnv

Disassembly:
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov edi, 1
bsr rcx, rax
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x14005a7ce
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [0x14019ed68]
or rax, rdi
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x14019ed78]
lea rdx, [rdi + rdi]
call fcn.140059a90
mov rax, qword [0x14019ed68]
lea r9, [rdi - 1]
mov qword [0x14019ed90], r9
mov qword [0x14019ed98], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x14005a7c3
mov qword [rsp + 0x40], rsi
movabs rdi, 0x100000001b3
movabs rsi, 0xcbf29ce484222325
nop word [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rsi
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x12]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x13]
imul r11, rdi
xor r11, rdx
imul r11, rdi
and r11, r9
shl r11, 4
add r11, qword [0x14019ed78]
mov r9, qword [r11]
cmp r9, rbx
jne 0x14005a70f
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x14005a784
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x14005a74c
mov r10, qword [rdx]
cmp r10, rax
je 0x14005a746
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x14005a784
cmp r9, rdx
je 0x14005a760
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x14005a798
cmp r9, rdx
jne 0x14005a751
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
je 0x14005a7be
mov r9, qword [0x14019ed90]
jmp 0x14005a6c0
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x14005a784
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
lea rcx, str.invalid_hash_bucket_count
call fcn.1400e29d0
int3
Function at 0x14005b110
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x4a0
mov rax, qword [0x1401900d0]
xor rax, rsp
mov qword [rsp + 0x490], rax
mov rbx, rcx
mov qword [rsp + 0x50], rcx
xor edi, edi
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], rdi
mov qword [rcx + 0x18], 7
mov word [rcx], di
add rcx, 0x20
lea edx, [rdi + 2]
call fcn.1400e4080
nop
mov dword [rbx + 0x70], 0x409
mov qword [rbx + 0x78], rdi
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
movdqa xmm1, xmmword [0x140168c90]
movdqu xmmword [rsp + 0x78], xmm1
mov word [rsp + 0x68], di
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9d, 0x20219
xor r8d, r8d
lea rdx, str.SOFTWAREASUSArmouryDevice
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14005b225
mov dword [rsp + 0x60], 0x400
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.Installation_location
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14005b225
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
lea rax, [rsp + 0x90]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14005b210
lea rdx, [rsp + 0x90]
jmp 0x14005b25a
call fcn.140061ec0
mov rcx, rax
mov r8b, 1
lea rdx, str._LanguageManager__Get_dll_install_path_fail._rerun_default_path.
call fcn.1400616d0
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov r8d, 0x29
lea rdx, str.C:Program_Files__x86_ASUSArmouryDevice
lea rcx, [rsp + 0x30]
call fcn.14001c4f0
nop
lea rcx, [rsp + 0x68]
call fcn.14000d260
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.14001a080
lea rcx, [rsp + 0x30]
call fcn.14000d260
mov rcx, rbx
call fcn.14005b9a0
mov rcx, rbx
call fcn.14005b2c0
nop
mov rax, rbx
mov rcx, qword [rsp + 0x490]
xor rcx, rsp
call fcn.140105820
mov rbx, qword [rsp + 0x4b8]
add rsp, 0x4a0
pop rdi
ret
Function at 0x14005c750
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rdi, qword [rcx + 0x10]
mov rsi, rdx
mov rbx, rcx
test rdi, rdi
je 0x14005c805
cmp qword [rdi], 0
mov rbx, qword [rcx]
je 0x14005c7d1
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14005c7f0
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14005c7f0
mov rdx, qword [rdi]
xor r9d, r9d
mov qword [rsp + 0x28], 0
xor r8d, r8d
mov qword [rsp + 0x20], rdx
mov rcx, rbx
mov rdx, rsi
call rax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp dword [rdi + 8], 0
je 0x14005c7f0
mov rcx, rbx
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov eax, 1
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp byte [0x14019eda8], 0
jne 0x14005c850
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14005c840
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14019eda0], rax
mov byte [0x14019eda8], 1
jmp 0x14005c857
mov rax, qword [0x14019eda0]
mov byte [0x14019eda8], 1
jmp 0x14005c857
mov rax, qword [0x14019eda0]
mov rcx, qword [rbx]
mov rdx, rsi
test rax, rax
je 0x14005c7da
mov r8d, dword [rbx + 8]
xor r9d, r9d
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp rax
Function at 0x14005c980
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x280
mov rax, qword [0x1401900d0]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov r9d, dword [rcx + 8]
xor ebp, ebp
mov rsi, rdx
mov qword [rsp + 0x48], rbp
mov r8, rdx
mov qword [rsp + 0x40], rbp
mov rdx, qword [rcx]
mov rdi, rcx
or r9d, 0x2001f
mov qword [rsp + 0x50], rbp
lea rcx, [rsp + 0x40]
call fcn.14005c880
mov ebx, eax
test eax, eax
jne 0x14005ca97
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x58]
mov qword [rsp + 0x30], rbp
lea r8, [rsp + 0x70]
mov qword [rsp + 0x28], rbp
xor edx, edx
mov qword [rsp + 0x20], rbp
mov dword [rsp + 0x58], 0x100
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x14005ca71
nop dword [rax]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x40]
call fcn.14005c980
mov ebx, eax
test eax, eax
jne 0x14005ca97
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x58]
mov qword [rsp + 0x30], rbp
lea r8, [rsp + 0x70]
mov qword [rsp + 0x28], rbp
xor edx, edx
mov qword [rsp + 0x20], rbp
mov dword [rsp + 0x58], 0x100
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x14005ca20
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14005ca86
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x40], rbp
mov rdx, rsi
mov dword [rsp + 0x48], ebp
mov rcx, rdi
call fcn.14005c750
mov ebx, eax
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14005caa7
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140105820
mov rbx, qword [rsp + 0x2b0]
add rsp, 0x280
pop rdi
pop rsi
pop rbp
ret
Function at 0x14005d010
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x480
mov rax, qword [0x1401900d0]
xor rax, rsp
mov qword [rsp + 0x470], rax
mov r15, r9
mov rsi, r8
mov rbx, rdx
xor r14d, r14d
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], r14
xor edx, edx
mov r8d, 0x408
lea rcx, [rsp + 0x60]
call fcn.140109a40
mov qword [rsp + 0x60], r14
xor edx, edx
lea r8d, [r14 + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x14005d0a7
xor edx, edx
lea r8d, [r14 + 2]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x14005d0a7
call fcn.14005c510
mov ebx, eax
jmp 0x14005d1cc
mov r8, r15
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
jne 0x14005d0c8
call fcn.14005c510
jmp 0x14005d1bb
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
mov qword [rsp + 0x40], rax
test rax, rax
jne 0x14005d0eb
call fcn.14005c510
jmp 0x14005d1bb
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
mov dword [rsp + 0x30], eax
inc eax
cmp eax, ebx
jae 0x14005d10d
mov ebx, 0x8007000e
jmp 0x14005d1bd
mov ecx, eax
test eax, eax
je 0x14005d142
xor edx, edx
mov rax, 0xffffffffffffffff
div rcx
cmp rax, 2
jb 0x14005d204
lea rdx, [rcx + rcx]
cmp rdx, 0x400
jbe 0x14005d142
lea rcx, [rsp + 0x60]
call fcn.140060980
jmp 0x14005d14c
lea rax, [rsp + 0x68]
mov qword [rsp + 0x60], rax
jmp 0x14005d15f
cmp qword [rsp + 0x60], 0
jne 0x14005d16e
mov ebx, 0x8007000e
jmp 0x14005d1bd
mov dword [rsp + 0x28], ebx
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, ebx
mov r8, rsi
xor edx, edx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x14005d198
call fcn.14005c510
jmp 0x14005d1bb
mov ecx, eax
mov rax, qword [rsp + 0x60]
mov word [rax + rcx*2], r14w
mov r8d, dword [rsp + 0x4d0]
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x48]
call fcn.14005df30
mov ebx, eax
test rdi, rdi
je 0x14005d1cc
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
lea rax, [rsp + 0x68]
cmp qword [rsp + 0x60], rax
je 0x14005d1e3
lea rcx, [rsp + 0x60]
call fcn.140060970
nop
mov eax, ebx
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.140105820
add rsp, 0x480
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
mov ecx, 0x80070216
call fcn.140015010
int3
Function at 0x140060ce0
Capabilities:
Create directory
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x1401900d0]
xor rax, rsp
mov qword [rsp + 0x70], rax
movzx esi, dl
mov rbx, rcx
mov qword [rsp + 0x68], rcx
cmp qword [rcx + 0x18], 8
jb 0x140060d16
mov rcx, qword [rcx]
call qword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
setne dil
test eax, eax
jne 0x140060ddd
test sil, sil
je 0x140060ddd
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x140060d40
mov rdx, qword [rbx]
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
test eax, eax
sete dil
test eax, eax
je 0x140060ddd
mov edx, eax
lea rcx, [rsp + 0x48]
call fcn.1400134e0
nop
mov r9d, Ordinal_62
lea r8, str._ArmourySocketServer___Logger__IsFolderExisted___errCode_
mov rcx, rax
call fcn.14001db30
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x38], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x28], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x38], xmm1
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rcx, [rsp + 0x28]
cmp qword [rsp + 0x40], 0x10
cmovae rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea rcx, [rsp + 0x28]
call fcn.14000d2f0
nop
lea rcx, [rsp + 0x48]
call fcn.14000d2f0
nop
mov rcx, rbx
call fcn.14000d260
movzx eax, dil
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140105820
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1400616d0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x90
mov rax, qword [0x1401900d0]
xor rax, rsp
mov qword [rsp + 0x88], rax
movzx esi, r8b
mov rdi, rdx
mov rbp, rcx
lea r14, [0x14019e9e0]
mov qword [rsp + 0x20], r14
mov rcx, r14
call fcn.1400e409c
test eax, eax
jne 0x140061893
mov eax, dword [0x14019ea2c]
cmp eax, 0x7fffffff
je 0x140061880
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x58], xmm1
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop dword [rax]
inc r8
cmp byte [rdi + r8], 0
jne 0x140061750
mov rdx, rdi
lea rcx, [rsp + 0x48]
call fcn.14000d470
nop
lea rdx, [rsp + 0x28]
mov rcx, rbp
call fcn.140062e30
nop
lea r9, [rsp + 0x48]
mov r8, rax
lea rcx, [rsp + 0x68]
call fcn.14001d6c0
nop
lea rcx, [rsp + 0x28]
call fcn.14000d2f0
nop
lea rcx, [rsp + 0x48]
call fcn.14000d2f0
test sil, sil
je 0x14006181a
lea rdi, [rsp + 0x68]
cmp qword [rsp + 0x80], 0x10
cmovae rdi, qword [rsp + 0x68]
call fcn.140061ec0
mov eax, dword [reloc.WS2_32.dll_closesocket]
test eax, eax
jle 0x14006181a
cmp eax, 3
jl 0x14006181a
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x58], xmm1
nop dword [rax]
inc rbx
cmp byte [rdi + rbx], 0
jne 0x1400617e0
mov r8, rbx
mov rdx, rdi
lea rcx, [rsp + 0x48]
call fcn.14000d470
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 0x10
cmovae rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea rcx, [rsp + 0x48]
call fcn.14000d2f0
lea rbx, [rsp + 0x68]
cmp qword [rsp + 0x80], 0x10
cmovae rbx, qword [rsp + 0x68]
call fcn.140061ec0
mov rcx, rax
mov r8d, 3
mov rdx, rbx
call fcn.1400631f0
nop
lea rcx, [rsp + 0x68]
call fcn.14000d2f0
nop
mov rcx, r14
call fcn.1400e40c0
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140105820
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
dec eax
mov dword [0x14019ea2c], eax
mov ecx, 6
call fcn.1400e2fa8
int3
mov ecx, 5
call fcn.1400e2fa8
int3
Function at 0x1400618a0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xb0
mov rax, qword [0x1401900d0]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rdi, rdx
mov rsi, rcx
lea r15, [0x14019e9e0]
mov qword [rbp - 0x59], r15
mov rcx, r15
call fcn.1400e409c
test eax, eax
jne 0x140061a79
mov eax, dword [0x14019ea2c]
cmp eax, 0x7fffffff
je 0x140061a66
xorps xmm0, xmm0
movups xmmword [rbp - 0x51], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x41], xmm1
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp word [rdi + r8*2], 0
jne 0x140061911
mov rdx, rdi
lea rcx, [rbp - 0x51]
call fcn.14001c4f0
nop
lea rdx, [rbp - 0x11]
mov rcx, rsi
call fcn.140062e30
nop
lea rdx, [rbp - 0x11]
cmp qword [rbp + 7], 0x10
cmovae rdx, qword [rbp - 0x11]
mov r8, qword [rbp - 1]
add r8, rdx
lea rdx, [rbp - 0x11]
cmp qword [rbp + 7], 0x10
cmovae rdx, qword [rbp - 0x11]
lea rcx, [rbp - 0x31]
call fcn.140064e10
nop
lea rcx, [rbp - 0x11]
call fcn.14000d2f0
nop
lea r9, [rbp - 0x51]
lea r8, [rbp - 0x31]
lea rcx, [rbp + 0xf]
call fcn.14001d510
nop
lea rcx, [rbp - 0x31]
call fcn.14000d260
nop
lea rcx, [rbp - 0x51]
call fcn.14000d260
lea rdi, [rbp + 0xf]
mov rsi, qword [rbp + 0xf]
mov r14, qword [rbp + 0x27]
cmp r14, 8
cmovae rdi, rsi
call fcn.140061ec0
mov eax, dword [reloc.WS2_32.dll_closesocket]
test eax, eax
jle 0x140061a0e
cmp eax, 3
jl 0x140061a0e
xorps xmm0, xmm0
movups xmmword [rbp - 0x11], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 1], xmm1
nop dword [rax]
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x1400619d0
mov r8, rbx
mov rdx, rdi
lea rcx, [rbp - 0x11]
call fcn.14001c4f0
lea rcx, [rbp - 0x11]
cmp qword [rbp + 7], 8
cmovae rcx, qword [rbp - 0x11]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rcx, [rbp - 0x11]
call fcn.14000d260
mov r14, qword [rbp + 0x27]
mov rsi, qword [rbp + 0xf]
lea rbx, [rbp + 0xf]
cmp r14, 8
cmovae rbx, rsi
call fcn.140061ec0
mov rcx, rax
mov r8d, 3
mov rdx, rbx
call fcn.140063910
nop
lea rcx, [rbp + 0xf]
call fcn.14000d260
nop
mov rcx, r15
call fcn.1400e40c0
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.140105820
mov rbx, qword [rsp + 0xf0]
add rsp, 0xb0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
dec eax
mov dword [0x14019ea2c], eax
mov ecx, 6
call fcn.1400e2fa8
int3
mov ecx, 5
call fcn.1400e2fa8
int3