joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401405e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
movzx ebx, byte [rdx + 0x38]
xor r15d, r15d
cmp bl, 1
setne dl
mov eax, 0
sbb eax, eax
mov r14, rcx
or al, dl
movzx ecx, al
cmp cl, 0xff
je 0x140140613
test ecx, ecx
jne 0x140140662
movzx r15d, byte [rdi + 0x3a]
cmp al, 0xff
je 0x140140620
test ecx, ecx
jne 0x140140662
mov rcx, rdi
call fcn.1401404c0
movzx r10d, al
test bl, bl
jne 0x140140669
lea rax, [rdi + 0x10]
xor esi, esi
cmp byte [rdi + 0x10], 6
cmove rax, rsi
je case.0x140140656.2
movzx ecx, byte [rax]
mov esi, 6
lea rdx, [0x1401407dc]
movsxd rcx, dword [rdx + rcx*4]
add rcx, rdx
jmp rcx
mov rsi, qword [rax + 0x10]
add rsi, 4
jmp case.0x140140656.2
xor r10d, r10d
test bl, bl
je 0x140140630
xor esi, esi
movzx eax, r15b
lea rcx, [r10 + rax]
add rcx, rsi
mov rdx, qword [rdi + 8]
cmp rdx, rcx
jb 0x1401407be
mov r11, qword [rdi]
lea r9, [r11 + rcx]
cmp rdx, rcx
jne 0x14014069b
movzx r8d, byte [rdi + 0x10]
xor edi, edi
jmp 0x140140718
movzx r8d, byte [rdi + 0x10]
add rsi, r10
add rsi, rax
sub rsi, rdx
inc rsi
lea rax, [rdx + r11]
dec rax
xor edi, edi
cmp r8b, 3
jae 0x1401406e0
nop dword [rax + rax]
cmp byte [rax], 0x5c
je 0x1401406fb
inc rsi
dec rax
cmp rsi, 1
jne 0x1401406c0
jmp 0x140140718
movzx ebx, byte [rax]
cmp ebx, 0x2f
je 0x1401406fb
cmp ebx, 0x5c
je 0x1401406fb
inc rsi
dec rax
cmp rsi, 1
jne 0x1401406e0
jmp 0x140140718
neg rsi
add rcx, rsi
inc rcx
cmp rdx, rcx
jb 0x1401407cc
add r11, rcx
mov edi, 1
mov r9, r11
sub rdx, rcx
je 0x140140742
mov al, 9
cmp rdx, 2
je 0x140140746
cmp rdx, 1
jne 0x140140756
cmp byte [r9], 0x2e
jne 0x140140756
xor eax, eax
cmp r8b, 3
setae al
lea eax, [rax + rax*2]
add eax, 7
jmp 0x140140756
mov al, 0xa
jmp 0x140140756
cmp byte [r9], 0x2e
jne 0x140140756
cmp byte [r9 + 1], 0x2e
sete al
xor al, 9
add rdi, rdx
mov qword [r14], rdi
mov qword [r14 + 8], r9
mov qword [r14 + 0x10], rdx
mov byte [r14 + 0x18], al
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov rcx, qword [rax + 0x10]
mov rax, qword [rax + 0x20]
lea rdx, [rax + 1]
test rax, rax
cmove rdx, rax
lea rsi, [rcx + rdx]
add rsi, 8
jmp case.0x140140656.2
mov rcx, qword [rax + 0x10]
mov rax, qword [rax + 0x20]
lea rdx, [rax + 1]
test rax, rax
cmove rdx, rax
lea rsi, [rcx + rdx]
add rsi, 2
jmp case.0x140140656.2
mov esi, 2
jmp case.0x140140656.2
lea r8, str.library_std_srcpath.rs
call fcn.14016f3b0
ud2
lea r8, str.library_std_srcpath.rs
call fcn.14016f3b0
ud2
Function at 0x140146d60
Capabilities:
Resolve dns

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x1e8
mov rsi, rcx
mov rdi, qword [rdx]
mov rbx, qword [rdx + 8]
movzx ebp, word [rdx + 0x10]
mov rax, qword [0x140221378]
cmp rax, 3
jne 0x140146e88
cmp rbx, 0x17f
ja 0x140146e9a
lea rcx, [rsp + 0x68]
mov rdx, rdi
mov r8, rbx
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsp + rbx + 0x68], 0
lea r8, [rbx + 1]
cmp rbx, 0xe
ja 0x140146dd9
lea rcx, [rbx + 1]
xor eax, eax
xor edx, edx
nop
cmp byte [rsp + rdx + 0x68], 0
je 0x140146dec
inc rdx
cmp rcx, rdx
jne 0x140146dc0
mov rdx, r8
test rax, rax
jne 0x140146df6
jmp 0x140146e52
lea rdx, [rsp + 0x68]
xor ecx, ecx
call fcn.14005be50
test rax, rax
jne 0x140146df6
jmp 0x140146e52
mov eax, 1
test rax, rax
je 0x140146e52
cmp rdx, rbx
jne 0x140146e52
xorps xmm0, xmm0
movaps xmmword [rsp + 0x30], xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x38], 1
mov qword [rsp + 0x28], 0
lea rcx, [rsp + 0x68]
lea r8, [rsp + 0x30]
lea r9, [rsp + 0x28]
xor edx, edx
call qword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
je 0x140146e66
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
jmp 0x140146e79
lea rax, str.file_name_contained_an_unexpected_NUL_byte
mov qword [rsi + 8], rax
mov qword [rsi], 1
jmp 0x140146e7c
mov rax, qword [rsp + 0x28]
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], rax
mov word [rsi + 0x18], bp
xor eax, eax
mov qword [rsi], rax
add rsp, 0x1e8
pop rbx
pop rbp
pop rdi
pop rsi
ret
call fcn.140174b10
cmp rbx, 0x17f
jbe 0x140146d97
mov rcx, rsi
mov rdx, rdi
mov r8, rbx
mov r9d, ebp
add rsp, 0x1e8
pop rbx
pop rbp
pop rdi
pop rsi
jmp fcn.140174b80
Function at 0x140147c40
Capabilities:
Create thread

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
lea rbp, [rsp + 0x50]
mov qword [rbp - 8], 0xfffffffffffffffe
mov rdi, r8
mov rbx, rdx
mov r14, rcx
mov qword [rbp - 0x20], rdx
mov qword [rbp - 0x18], r8
mov rcx, qword [0x140221370]
test rcx, rcx
jne 0x140147c8d
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
test rax, rax
je 0x140147d4b
mov rcx, rax
mov qword [0x140221370], rax
mov r8d, reloc.WS2_32.dll_recv
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
je 0x140147d4b
mov rsi, rax
mov qword [rax], rbx
mov qword [rax + 8], rdi
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x10000
lea r8, [0x140147dd0]
xor edi, edi
xor ecx, ecx
mov rdx, r14
mov r9, rax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x140147d3d
mov rcx, qword [rsi]
mov rax, qword [rsi + 8]
mov qword [rbp - 0x10], rsi
call qword [rax]
mov rsi, qword [rbp - 0x10]
mov rax, qword [rsi + 8]
cmp qword [rax + 8], 0
je 0x140147d17
mov r8, qword [rsi]
cmp qword [rax + 0x10], 0x11
jb 0x140147d08
mov r8, qword [r8 - 8]
mov rcx, qword [0x140221370]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, qword [0x140221370]
xor edx, edx
mov r8, rsi
call qword [sym.imp.KERNEL32.dll_HeapFree]
call sub.KERNEL32.dll_GetLastError
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov edi, 1
mov rax, rdi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
mov ecx, reloc.WS2_32.dll_recv
mov edx, 8
call fcn.14016c090
ud2

Function at 0x140147f30
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push rbp
sub rsp, 0x80
lea rbp, [rsp + 0x80]
mov qword [rbp - 8], 0xfffffffffffffffe
xorps xmm0, xmm0
movaps xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
mov edx, reloc.WS2_32.dll_recv
call qword [sym.imp.ADVAPI32.dll_SystemFunction036]
test al, al
je 0x140147f73
mov rax, qword [rbp - 0x20]
mov rdx, qword [rbp - 0x18]
add rsp, 0x80
pop rbp
ret
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov qword [rbp - 0x10], rax
lea rax, [rbp - 0x10]
mov qword [rbp - 0x30], rax
lea rax, [fcn.140141ad0]
mov qword [rbp - 0x28], rax
lea rax, str.fallback_RNG_broken:
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], 1
mov qword [rbp - 0x60], 0
lea rax, [rbp - 0x30]
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], 1
lea rdx, str.library_std_src_syswindows_rand.rs
lea rcx, [rbp - 0x60]
call fcn.14016f2f0
ud2

Function at 0x14014c4e0
Capabilities:
Generate random numbers via winapi

Disassembly:
sub rsp, 0x38
xorps xmm0, xmm0
movaps xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x20]
xor ecx, ecx
mov r8d, reloc.WS2_32.dll_recv
mov r9d, 2
call qword [sym.imp.bcrypt.dll_BCryptGenRandom]
test eax, eax
js 0x14014c515
mov rax, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
jmp 0x14014c51a
call fcn.140147f30
mov r8d, dword [0x140221400]
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx + r8*8]
mov qword [rcx + 0x18], 1
mov qword [rcx + 0x20], rax
mov qword [rcx + 0x28], rdx
add rsp, 0x38
ret
Function at 0x14014c7c0
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x50
mov rbx, r8
mov rsi, rcx
test rdx, rdx
je 0x14014c7eb
mov qword [rsi + 8], rbx
mov qword [rsi], 1
add rsp, 0x50
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
mov rax, qword [0x140221378]
cmp rax, 3
jne 0x14014c96a
cmp word [rbx], 0
mov eax, 2
mov ebp, 0x17
cmove ebp, eax
mov dword [rsp + 0x28], 0x81
mov dword [rsp + 0x20], 0
mov ecx, ebp
mov edx, 2
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_WSASocketW]
mov r14, rax
cmp rax, 0xffffffffffffffff
je 0x14014c860
cmp word [rbx], 0
je 0x14014c8d8
movups xmm0, xmmword [rbx + 4]
mov eax, dword [rbx + 0x14]
mov edx, dword [rbx + 0x18]
movzx ecx, word [rbx + 0x1c]
mov r8d, 0x1c
mov bp, 0x17
jmp 0x14014c8ec
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2739
je 0x14014c87a
mov edi, eax
cmp eax, 0x2726
jne 0x14014c959
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 0
mov ecx, ebp
mov edx, 2
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_WSASocketW]
cmp rax, 0xffffffffffffffff
je 0x14014c951
mov r14, rax
mov rcx, rax
mov edx, 1
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_SetHandleInformation]
test eax, eax
jne 0x14014c839
call sub.KERNEL32.dll_GetLastError
mov edi, eax
mov rcx, r14
call qword [sym.imp.WS2_32.dll_closesocket]
jmp 0x14014c959
mov eax, dword [rbx + 2]
movzx ecx, word [rbx + 6]
xorps xmm0, xmm0
mov r8d, reloc.WS2_32.dll_recv
mov bp, 2
rol cx, 8
mov word [rsp + 0x30], bp
mov word [rsp + 0x32], cx
mov dword [rsp + 0x34], eax
movups xmmword [rsp + 0x38], xmm0
mov dword [rsp + 0x48], edx
lea rdx, [rsp + 0x30]
mov rcx, r14
call qword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
je 0x14014c92a
mov qword [rsi + 8], r14
mov qword [rsi], 0
jmp 0x14014c7e0
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov qword [rsi], 1
mov rcx, r14
call qword [sym.imp.WS2_32.dll_closesocket]
jmp 0x14014c7e0
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
shl rdi, 0x20
or rdi, 2
mov qword [rsi + 8], rdi
jmp 0x14014c7d9
call fcn.140174b10
jmp 0x14014c7fc
Function at 0x140154f00
Capabilities:
Send data
Send data on socket

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
mov qword [rsp + 0x30], r9
mov r13, r8
mov rsi, rdx
mov qword [rsp + 0x28], rcx
mov rax, qword [rsp + 0xb0]
cmp rax, 0x7fffffff
mov edi, 0x7fffffff
cmovb rdi, rax
jmp 0x140154f61
mov rcx, qword [0x140221370]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, qword [0x140221370]
xor edx, edx
mov r8, rbx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsi + 0x20]
lea rcx, [rsp + 0x38]
mov rdx, rbx
mov r8, r13
mov r9b, 1
call fcn.1401544a0
movzx eax, byte [rsp + 0x41]
cmp al, 3
je 0x14015511c
mov rbp, qword [rsp + 0x38]
cmp al, 2
je 0x14015512a
mov rcx, qword [rsi + 8]
cmp rcx, 0xffffffffffffffff
je 0x140155171
movzx r12d, byte [rsp + 0x40]
mov rdx, qword [rsp + 0x30]
mov r8d, edi
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
jne 0x14015513c
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r14, rax
shl r14, 0x20
or r14, 2
mov ecx, eax
call fcn.14013c510
cmp al, 0xd
jne 0x140155030
mov rax, qword [rsi]
test rax, rax
je 0x140155030
mov rcx, qword [rax + 8]
mov rdx, qword [rax + 0x10]
lock inc qword [rdx]
jle 0x14015518b
add rcx, 0x10
mov r8, qword [rax]
movzx r9d, byte [rax + 0x18]
call fcn.1400a0610
test rax, rax
cmovne r14, rax
mov r15d, r14d
and r15d, 3
lea rcx, [0x140155190]
movsxd rax, dword [rcx + r15*4]
add rax, rcx
jmp rax
mov r15d, r14d
and r15d, 3
lea rcx, [0x140155190]
movsxd rax, dword [rcx + r15*4]
add rax, rcx
jmp rax
movzx eax, byte [r14 + 0x10]
cmp al, 0xd
je 0x1401550a0
jmp 0x140155150
movzx eax, byte [r14 + 0xf]
cmp al, 0xd
je 0x1401550a0
jmp 0x140155150
mov rcx, r14
shr rcx, 0x20
call fcn.14013c510
cmp al, 0xd
je 0x1401550a0
jmp 0x140155150
mov rax, r14
shr rax, 0x20
cmp eax, 0xd
jne 0x140155150
movzx ecx, r12b
and ebp, 0x23
mov rax, qword [rbx + 0xd0]
shl rcx, 0x10
xor rbp, 0x2f
nop word cs:[rax + rax]
mov rdx, rax
shr rdx, 0x10
cmp r12b, dl
jne 0x1401550de
mov edx, eax
and edx, ebp
or rdx, rcx
lock cmpxchg qword [rbx + 0xd0], rdx
jne 0x1401550c0
cmp r15d, 1
jne 0x140154f61
lea rbx, [r14 - 1]
mov rcx, qword [r14 - 1]
mov rax, qword [r14 + 7]
call qword [rax]
mov rax, qword [r14 + 7]
cmp qword [rax + 8], 0
je 0x140154f4f
mov r8, qword [rbx]
cmp qword [rax + 0x10], 0x11
jb 0x140154f40
mov r8, qword [r8 - 8]
jmp 0x140154f40
mov rax, qword [rsp + 0x28]
mov qword [rax], 2
jmp 0x140155160
mov rax, qword [rsp + 0x28]
mov qword [rax], 1
mov qword [rax + 8], rbp
jmp 0x140155160
cdqe
mov rcx, qword [rsp + 0x28]
mov qword [rcx], 0
mov qword [rcx + 8], rax
jmp 0x140155160
mov rax, qword [rsp + 0x28]
mov qword [rax], 1
mov qword [rax + 8], r14
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, str.called__Option::unwrap____on_a__None__value_rustc_84c898d65adf2f39a5a98507f1fe0ce10a2b8dbclibrarycore_src_strpattern.rs
lea r8, str.C:UsersUser.cargo_registry_srcgithub.com_1ecc6299db9ec823_tokio_1.32.0_srciopoll_evented.rs
mov edx, 0x2b
call fcn.14016f3d0
ud2
ud2
Function at 0x140174b80
Capabilities:
Resolve dns

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0x70]
mov qword [rbp], 0xfffffffffffffffe
mov r12, r8
inc r12
je 0x140174d76
js 0x140174d90
mov r14d, r9d
mov rdi, r8
mov rsi, rdx
mov r15, rcx
mov rcx, qword [0x140221370]
test rcx, rcx
jne 0x140174be0
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
test rax, rax
je 0x140174d67
mov rcx, rax
mov qword [0x140221370], rax
xor edx, edx
mov r8, r12
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
je 0x140174d67
mov r13, rax
mov qword [rbp - 0x20], r12
mov qword [rbp - 0x18], rax
mov rcx, rax
mov rdx, rsi
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov qword [rbp - 0x10], rdi
cmp rdi, 0x10
jae 0x140174c38
test rdi, rdi
je 0x140174c53
xor eax, eax
xor ebx, ebx
cmp byte [rsi + rbx], 0
je 0x140174c9f
inc rbx
cmp rdi, rbx
jne 0x140174c20
mov rbx, rdi
test rax, rax
jne 0x140174c5c
jmp 0x140174ca9
mov byte [rbp - 1], 1
xor ecx, ecx
mov rdx, rsi
mov r8, rdi
call fcn.14005be50
mov rbx, rdx
test rax, rax
jne 0x140174c5c
jmp 0x140174ca9
xor ebx, ebx
xor eax, eax
test rax, rax
je 0x140174ca9
test r13, r13
je 0x140174ccc
lea rax, str.file_name_contained_an_unexpected_NUL_byte
mov qword [r15 + 8], rax
mov qword [r15], 1
test r12, r12
je 0x140174d35
mov rcx, qword [0x140221370]
xor edx, edx
mov r8, r13
add rsp, 0x78
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
jmp qword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, 1
test rax, rax
jne 0x140174c5c
mov rax, qword [rbp - 0x10]
mov qword [rbp - 0x40], rax
movups xmm0, xmmword [rbp - 0x20]
movaps xmmword [rbp - 0x50], xmm0
mov byte [rbp - 1], 0
lea rcx, [rbp - 0x50]
call fcn.140013a00
mov rbx, rax
mov r12, rdx
xorps xmm0, xmm0
movaps xmmword [rbp - 0x50], xmm0
movaps xmmword [rbp - 0x30], xmm0
movaps xmmword [rbp - 0x40], xmm0
mov dword [rbp - 0x48], 1
mov qword [rbp - 0x20], 0
lea r8, [rbp - 0x50]
lea r9, [rbp - 0x20]
mov rcx, rbx
xor edx, edx
call qword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
je 0x140174d47
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
mov qword [r15 + 8], rax
mov eax, 1
mov qword [r15], rax
mov byte [rbx], 0
test r12, r12
je 0x140174d35
mov rcx, qword [0x140221370]
xor edx, edx
mov r8, rbx
call qword [sym.imp.KERNEL32.dll_HeapFree]
nop
add rsp, 0x78
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rax, qword [rbp - 0x20]
mov qword [r15 + 8], rax
mov qword [r15 + 0x10], rax
mov word [r15 + 0x18], r14w
xor eax, eax
mov qword [r15], rax
mov byte [rbx], 0
test r12, r12
jne 0x140174d23
jmp 0x140174d35
mov edx, 1
mov rcx, r12
call fcn.14016c090
ud2
lea rcx, str.called__Option::unwrap____on_a__None__value_rustc_84c898d65adf2f39a5a98507f1fe0ce10a2b8dbclibrarycore_src_strpattern.rs
lea r8, str.library_alloc_src_ffic_str.rs
mov edx, 0x2b
call fcn.14016f3d0
ud2
call fcn.140013880
ud2
Function at 0x18005d035
Capabilities:
Authenticate hmac

Disassembly:
adc ax, bp
xor ebx, r8d
sub r10, qword [rsp + r10*2 - 0x5c0b3d39]
bswap ebx
adc r10w, ax
ror r10w, 0x6b
ror ebx, 3
dec ebx
ror byte [rsp + rdx*8 - 0x4f525], 0x21
sbb r10w, 0xf2ad
neg ebx
movsx r11d, byte [rsp + rdx - 0x9ea0]
rol rbp, 0xbe
sar r11, 0xa8
lea ebx, [rbx + rax - 0x4f68c6b3]
or dword [rsp + rdx*2 - 0x13d34], ebp
dec rbp
rol ebp, 0x28
xor ebx, 0x9f1456a7
push rax
sub r11d, r10d
mov qword [rsp + rdx*4 - 0x27a7c], r8
xor dword [rsp + rbp - 0x27a7e0], ebx
mov r8, qword [rsp + rdx*4 - 0x27a7c]
xor dl, r10b
movsxd rbx, ebx
adc rdi, rbx
or byte [rsp + rdx - 0x9e8a], r10b
adc eax, dword [rsp + rdx - 0x9ea0]
pop rdx
pop rdx
pop rbp
pop r11
pop rdx
jno fcn.180053f76
and word [rsp + r10 - 0x2e059e8c], dx
movsx eax, r10w
lea rsi, [r10 + rsi - 0x2e059ea9]
mov word [rsi + r10 - 0x2e059ea7], cx
and byte [rsp + rdx*4 - 0x27a96], bh
lea r9, [r10 + r9 - 0x2e059eab]
dec ebp
inc dword [rsp + r10 - 0x2e059e9e]
mov ebx, dword [r9 + r10 - 0x2e059ea7]
jg 0x18004ec50
movzx edx, bl
pop rbx
not eax
call fcn.18005e76c
sub r9, 2
mov r10d, 0x2e059ea7
movzx edx, r10w
mov ebx, 0x549f81ad
movzx ecx, word [r9 + r10*2 - 0x5c0b3d4e]
xor cx, r8w
mov ebp, 0x4438b3ac
push rdx
dec cx
xadd qword [rsp + r10 - 0x2e059ea7], rbp
inc ebx
push rdx
xor cx, 0x2618
ror cx, 1
dec cx
push rbx
push rdx
xor r8w, cx
jmp 0x18005c9b3

Function at 0x180074ad2
Capabilities:
Encode data using base64

Disassembly:
or r10w, r10w
ror dl, 1
inc dl
push r11
rol dl, 1
neg dl
xor dword [rsp + rbx - 0x3282e], 0x6105fd34
xor r8b, dl
jmp 0x180078fef
mov qword [rsp + rbx*2 - 0x6505c], r8
and dx, ax
inc r11w
xor dword [rsp + rbx*2 - 0x6505c], ebp
movzx ecx, dx
pop r8
sal dl, 0xc5
movsxd rbp, ebp
add rdi, rbp
dec rax
movsx ebp, r11b
lea r9, [r9 + rbx*2 - 0x6505d]
movzx edx, byte [r9 + rbx - 0x3282e]
lea r10, [rbx*4 - 0x7b68bd6b]
and al, 0x30
adc al, 0xa
xor dl, r8b
inc rax
sub dl, 0xb4
jmp 0x1800520a4
lea rdx, [rsp + rdx + 8]
shl bx, cl
mov rcx, qword [rdx + rbx - 0x3c000]
mov edx, dword [rsp + rbx - 0x3c000]
lea rsi, [rbx + rsi - 0x3c008]
xchg byte [rsp + rbx*2 - 0x77ffc], al
xchg r10b, r11b
dec r11d
mov qword [rsi + rbx*8 - 0x1e0000], rcx
xor dword [rsp + rbx*4 - 0xeffff], 0xbd03ec0b
pop r11
jno fcn.180053f76
Function at 0x180079036
Capabilities:
Encode data using base64

Disassembly:
pop r8
neg r11w
lea rax, [r10*4 + 0x13188033]
movsxd rbx, ebx
mov ebp, eax
add rdi, rbx
rol bp, 0x66
mov ax, word [rsi + r10 - 0xfc]
movsx ebx, bp
sub r11, rdx
movzx ecx, bl
mov cx, word [rsi + r10 - 0xfa]
lea rsi, [rsi + r10*2 - 0x1f6]
or rdx, r10
add bp, 0xf18b
call fcn.18006f7d4
xadd word [rsp + 2], bx
not bpl
neg bpl
sub bpl, 0xa9
or byte [rsp + 6], al
ror bpl, 1
neg bpl
movzx r10d, bx
xadd qword [rsp + r10*2 - 0x21aa], r10
lea rax, [r10 + rax - 0x1972facc]
xor r8b, bpl
mov edx, 0xaa0bd6a1
shl byte [rsp + 1], 0x81
lea rbp, [rsp + rbp + 8]
movsx r11d, dl
xadd rdx, r11
setl byte [rsp + 5]
mov word [rbp + riz], cx
lea rbp, [r11 + r11*4 - 0x55710e4d]
shr byte [rsp + 5], 0xc6
xadd qword [rsp], rdx
sbb r9, 4
rol rbp, 0xd2
shl al, 0x26
or word [rsp + 4], r10w
mov r10d, dword [r9]
pop rbx
lea rdx, [rdx*8 - 0x285eb0de]
xor r10d, r8d
sal eax, 0x5d
dec r10d
ror r10d, 1
neg ebx
sar r11, 4
jne 0x180060f33
ror edx, 3
inc edx
bswap ebx
rol edx, 1
sar rax, 0xbb
setbe bl
call fcn.1800779ea
push rax
inc qword [rsp + rax]
movsxd r10, r10d
add dx, 0x101f
adc rdi, r10
jmp 0x180061e31
dec r10d
shl bpl, 0x85
and al, 0x3b
shl bpl, 0x43
neg r10d
jmp 0x180066165
sub byte [rsp + rax*2 + 4], bpl
push rbp
mov qword [rsp + rax*2], rdi
ret 8
lea rcx, [rax*2 - 0x2cece758]
dec r10d
sar ax, 5
push r8
sal rcx, cl
lea rcx, [rax + rcx*8 - 0x5af8c7fd]
xor dword [rsp + rax], r10d
movsx r8d, r11w
shr ebx, 0x88
pop r8
jns 0x180060954
add rsi, 2
ror qword [rsp], 3
sub r9, 1
lea rbp, [rbx*2 - 0x18d431ca]
movzx ebp, byte [r9]
sub word [rsp], bx
xor bpl, r8b
jmp 0x1800546ba
mov edx, dword [r9 + rbp*2]
mov qword [rsp + rbp*2], rbp
shl ecx, 0x1e
pop r10
xor edx, r8d
ror r11b, 0xe1
sbb eax, r11d
or ax, ax
lea edx, [rdx + rcx + 0x612d8eb6]
jnp 0x18007573f
lea r10, [rbp + rax*4 + 0x2208c2b8]
or ax, 0x4ebb
ror edx, 2
inc ecx
neg edx
ror rcx, cl
xchg bp, ax
dec edx
lea rbp, [rbp*4 + 0x212719bb]
add eax, ebp
push rcx
xor edx, 0xaaace397
neg edx
inc edx
inc byte [rsp + rbp*2 - 0x4252294d]
shr byte [rsp + r10 - 0x220a82b1], 0xa5
mov qword [rsp + rbp - 0x212914a7], r8
xor dword [rsp + rbp*2 - 0x4252294e], edx
sub bpl, 2
pop r8
call fcn.18006c8a8
mov qword [rsp + r11*2 - 0x39405bf0], r8
xor dword [rsp + r11*4 - 0x7280b7e0], ebx
jmp 0x18004d6ca
Function at 0x140010410
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
sub rsp, 0x20
mov eax, r8d
mov rbp, rdx
mov ebx, r8d
shr eax, 4
mov rsi, rcx
mov r8d, 6
add ax, 1
mov rcx, rbp
movzx edx, ax
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
mov r12, rax
je 0x140010572
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140010572
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
mov rdi, rax
je 0x140010572
mov rdx, r12
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov r11d, eax
add r11, rdi
and ebx, 0xf
jbe 0x1400104b6
nop
cmp rdi, r11
jae 0x140010572
add ebx, 0xffffffff
movzx eax, word [rdi]
lea rdi, [rdi + rax*2 + 2]
jne 0x1400104a0
cmp rdi, r11
jae 0x140010572
movzx eax, word [rdi]
test ax, ax
je 0x140010572
movzx ebx, ax
mov rax, qword [rsi]
mov ecx, 1
sub ecx, dword [rax - 8]
mov eax, dword [rax - 0xc]
sub eax, ebx
or ecx, eax
jge 0x1400104ec
mov edx, ebx
mov rcx, rsi
call fcn.140010630
movzx ecx, word [rdi]
lea r8, [rdi + 2]
cmp ecx, 0xffffffff
jne 0x140010509
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, r8
repne scasw ax, word [rdi]
not rcx
and ecx, ecx
movsxd r9, ecx
mov rcx, qword [rsi]
lea rdi, [rbx + rbx]
mov rdx, rdi
add r9, r9
call fcn.140071c20
test eax, eax
je 0x140010548
cmp eax, 0xc
je 0x140010542
cmp eax, 0x16
je 0x14001053c
cmp eax, 0x22
je 0x14001053c
cmp eax, 0x50
je 0x140010548
call fcn.140046214
int3
call fcn.140046214
int3
call fcn.1400461cc
int3
test ebx, ebx
js 0x140010567
mov rcx, qword [rsi]
cmp ebx, dword [rcx - 0xc]
jg 0x140010567
mov dword [rcx - 0x10], ebx
mov rcx, qword [rsi]
mov eax, 1
mov word [rdi + rcx], 0
jmp 0x140010574
mov ecx, 0x80070057
call fcn.140010c90
int3
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r12
ret

Function at 0x140010590
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
jne 0x1400105c3
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov rcx, rax
mov qword [rsp + 0x30], rbx
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
mov rbx, rax
je 0x140010607
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov r11d, eax
add r11, rbx
and edi, 0xf
jbe 0x140010602
cmp rbx, r11
jae 0x140010607
add edi, 0xffffffff
movzx eax, word [rbx]
lea rbx, [rbx + rax*2 + 2]
jne 0x1400105f0
cmp rbx, r11
jb 0x14001060b
xor eax, eax
jmp 0x140010617
xor eax, eax
cmp word [rbx], ax
cmove rbx, rax
mov rax, rbx
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret