joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140033e10
Capabilities:
Initialize winsock library

Disassembly:
push rbx
sub rsp, 0x1c0
mov eax, dword [0x140650618]
mov ebx, ecx
mov edx, eax
inc eax
mov dword [0x140650618], eax
test edx, edx
jne 0x140033ed7
mov rax, qword [sym.imp.msvcrt.dll_malloc]
mov qword [sub.msvcrt.dll_malloc], rax
mov rax, qword [sym.imp.msvcrt.dll_free]
mov qword [fcn.14000409c], rax
mov rax, qword [sym.imp.msvcrt.dll_realloc]
mov qword [0x14064d268], rax
lea rax, case.0x14003c377.0
mov qword [case.0x14003c377.11], rax
mov rax, qword [sym.imp.msvcrt.dll_calloc]
mov qword [case.0x14003c377.1], rax
test cl, 1
je 0x140033e87
call fcn.14003d9a0
test eax, eax
je 0x140033ee8
test bl, 2
je 0x140033eba
lea rdx, [rsp + 0x20]
mov ecx, 0x202
call qword [sym.imp.WSOCK32.DLL_WSAStartup]
test eax, eax
jne 0x140033ee8
movzx eax, word [rsp + 0x20]
cmp al, 2
jne 0x140033ee2
shr ax, 8
cmp al, 2
jne 0x140033ee2
call fcn.14003e060
test eax, eax
jne 0x140033ee8
mov eax, dword [0x14065067c]
test bl, 4
mov ecx, 1
cmovne eax, ecx
mov dword [0x14065061c], ebx
mov dword [0x14065067c], eax
xor eax, eax
add rsp, 0x1c0
pop rbx
ret
call qword [sym.imp.WSOCK32.DLL_WSACleanup]
mov eax, 2
add rsp, 0x1c0
pop rbx
ret

Function at 0x140038c40
Capabilities:
Write file on windows

Disassembly:
mov rdx, qword [r8 + 0x10]
mov r9, rcx
or rax, 0xffffffffffffffff
mov qword [r8 + 0x18], rdx
nop
inc rax
cmp byte [rdx + rax], 0
jne 0x140038c50
test rax, rax
je 0x140038c6a
cmp byte [rdx + rax - 1], 0x2e
jne 0x140038c6a
mov byte [rdx + rax - 1], 0
mov rcx, qword [r8 + 0x10]
movzx eax, byte [rcx]
test al, al
je 0x140038c94
lea rcx, [rcx + 1]
and al, 0x80
jne 0x140038c85
movzx eax, byte [rcx]
test al, al
jne 0x140038c75
ret
lea rdx, str.IDN_support_not_present__cant_parse_Unicode_domains_n
mov rcx, r9
jmp fcn.14003e620
ret
Function at 0x14003ed80
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov r10, qword [rcx + 0x258]
mov rdi, r9
mov rsi, r8
mov rbx, rcx
test r10, r10
je 0x14003edc3
mov rax, qword [rcx + 0x1a8]
mov qword [rsp + 0x20], rax
call r10
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp edx, 2
ja 0x14003ee08
mov r9, qword [rbx + 0x1a0]
movsxd rax, edx
mov edx, 2
lea rcx, [rax + rax*2]
lea rax, [0x140072fc8]
lea r8d, [rdx - 1]
add rcx, rax
call qword [sym.imp.msvcrt.dll_fwrite]
mov r9, qword [rbx + 0x1a0]
mov r8d, 1
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.msvcrt.dll_fwrite]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
xor eax, eax
add rsp, 0x30
pop rdi
ret

Function at 0x140041dc0
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rbx, qword [rcx + 0x798]
mov rsi, rdx
mov rdi, rcx
test rbx, rbx
je 0x140041e2d
mov rax, qword [rcx + 0x80]
test rax, rax
jne 0x140041df3
cmp qword [rcx + 0x78], rax
je 0x140041e2d
mov qword [rsp + 0x20], rbx
mov byte [rsp + 0x28], 0
test rax, rax
jne 0x140041e06
mov rax, qword [rcx + 0x78]
mov rcx, qword [rax + 0x60]
lea r8, [0x140042d40]
lea rdx, [rsp + 0x20]
call fcn.14004ac40
cmp byte [rsp + 0x28], 0
jne 0x140041e41
mov qword [rdi + 0x798], 0
or rax, 0xffffffffffffffff
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
test rsi, rsi
je 0x140041e49
mov qword [rsi], rbx
cmp byte [rbx + 0x1f0], 0
mov rdi, qword [rbx + 0x1a8]
je 0x140041e67
mov rcx, rbx
call fcn.14003d330
test eax, eax
jne 0x140041e83
jmp 0x140041e2d
mov r9d, 2
lea rdx, [rsp + 0x40]
mov rcx, rdi
lea r8d, [r9 - 1]
call qword [sym.imp.WSOCK32.DLL_recv]
test eax, eax
je 0x140041e2d
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rax, rdi
add rsp, 0x30
pop rdi
ret

Function at 0x1400423f0
Capabilities:
Set socket configuration

Disassembly:
mov rax, rsp
push rbx
sub rsp, 0xd0
mov dword [rax + 0x18], 0x4020
mov dword [rax + 0x10], 0
mov dword [rax + 0x20], 4
mov eax, dword [0x140650640]
mov rbx, rcx
test eax, eax
jne 0x140042485
lea rcx, [rsp + 0x30]
xor edx, edx
mov r8d, 0x9c
call sub.msvcrt.dll_memset
mov r8b, 3
mov edx, 2
xor ecx, ecx
mov dword [rsp + 0x30], 0x9c
mov dword [rsp + 0x34], 6
call qword [sym.imp.KERNEL32.dll_VerSetConditionMask]
lea rcx, [rsp + 0x30]
mov edx, 2
mov r8, rax
call qword [sym.imp.KERNEL32.dll_VerifyVersionInfoA]
test eax, eax
je 0x140042479
mov dword [0x140650640], 2
add rsp, 0xd0
pop rbx
ret
mov dword [0x140650640], 1
jmp 0x14004248a
cmp eax, 2
je 0x1400424eb
lea rax, [rsp + 0xf8]
lea r9, [rsp + 0xe8]
mov edx, 0xffff
mov r8d, 0x1001
mov rcx, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.WSOCK32.DLL_getsockopt]
test eax, eax
jne 0x1400424c7
mov eax, dword [rsp + 0xf0]
cmp dword [rsp + 0xe8], eax
jg 0x1400424eb
lea r9, [rsp + 0xf0]
mov edx, 0xffff
mov r8d, 0x1001
mov rcx, rbx
mov dword [rsp + 0x20], 4
call qword [sym.imp.WSOCK32.DLL_setsockopt]
add rsp, 0xd0
pop rbx
ret
Function at 0x14005e310
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x40
cmp dword [0x1406506d0], 0
mov r14, rdx
mov r15, rcx
lea rbx, [0x1406506e0]
jne 0x14005e35d
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov rcx, rbx
mov dword [0x140650708], eax
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x1406506d0], 1
mov ecx, dword [0x140650708]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbp, rax
test rax, rax
jne 0x14005e432
mov rcx, qword [0x14064f5a0]
lea edx, [rax + 8]
lea r8d, [rax + 0x28]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbp, rax
test rax, rax
je 0x14005e45d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [0x1406506d8]
test rax, rax
je 0x14005e3ad
mov qword [rax], rbp
mov rcx, rbx
mov qword [rbp + 8], rax
mov qword [0x1406506d8], rbp
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
and dword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
lea r9, [rbp + 0x20]
mov r8, rdi
mov rcx, rax
mov rdx, rbx
mov dword [rsp + 0x20], 0x100000
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov rdx, qword [rbp + 0x20]
lea rcx, [rbp + 0x18]
lea r8, [0x14005e478]
mov r9, rbp
mov dword [rsp + 0x28], 8
or dword [rsp + 0x20], 0xffffffff
call qword [sym.imp.KERNEL32.dll_RegisterWaitForSingleObject]
mov ecx, dword [0x140650708]
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rcx, qword [0x14064f5a0]
xor edx, edx
lea r8d, [rdx + 0x18]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
je 0x14005e45d
mov qword [rax + 8], r15
mov qword [rax + 0x10], r14
mov rcx, qword [rbp + 0x10]
mov qword [rax], rcx
mov qword [rbp + 0x10], rax
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
Function at 0x6e6ee0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x6e6eed
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x6e6efd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x6e6ee5
lea eax, [rcx + 1]
call r11
adc eax, eax
add ebx, ebx
jne 0x6e6f15
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x6e6f02
sub eax, 3
jb 0x6e6f2f
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x6e6f66
movsxd rbp, eax
lea eax, [rcx + 1]
call r11
adc ecx, ecx
call r11
adc ecx, ecx
jne 0x6e6f56
mov ecx, eax
add eax, 2
call r11
adc ecx, ecx
add ebx, ebx
jne 0x6e6f54
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x6e6f43
cmp rbp, 0xfffffffffffff300
adc ecx, eax
call fcn.006e6ea2
jmp 0x6e6eed
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0xb0400
mov dl, 0x17
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x6e6fb2
cmp rsi, rcx
jae 0x6e6fba
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x6e6f99
cmp al, 0x8f
ja 0x6e6f99
cmp byte [rsi - 2], 0xf
je 0x6e6f9f
sub al, 0xe8
cmp al, 1
ja 0x6e6f83
cmp rsi, rcx
jae 0x6e6fba
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x6e6f89
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x6e6fba
lodsb al, byte [rsi]
jmp 0x6e6f99
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x2e3000]
mov eax, dword [rdi]
or eax, eax
je 0x6e7017
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x30f9e0]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x6e6fc7
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x6e7011
mov qword [rbx], rax
add rbx, 8
jmp 0x6e6fe7
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x6e7051
cmp al, 0xef
ja 0x6e7043
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x6e7023
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x6e7032
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x6e70a5
sub rsp, 0xffffffffffffff80
jmp 0x460d40
Function at 0x917920
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x917acb
sub rsp, 0x50
mov qword [rsp + 0x48], rbp
lea rbp, [rsp + 0x48]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.00932f60
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
nop
jne 0x91798e
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x9179a1
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
test rbx, rbx
jbe 0x9179c5
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x9179d9
cmp rbx, 0x1000
jae 0x917998
nop
jmp 0x917a49
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
nop
cmp rbx, 0x1000
jae 0x9179ed
xor edx, edx
jmp 0x917a40
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.00932f60
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
sete al
mov rcx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x38]
mov edx, eax
mov rax, qword [rsp + 0x40]
nop
test dl, dl
jne 0x9179cf
jmp 0x9179b5
call fcn.00964220
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call fcn.00937560
lea rax, [0x00be77e4]
mov ebx, 0x18
nop dword [rax + rax]
call fcn.00937e60
mov rax, qword [rsp + 0x38]
call fcn.00937b60
lea rax, [0x00be7934]
mov ebx, 0x19
nop dword [rax + rax]
call fcn.00937e60
mov rax, qword [rsp + 0x30]
call fcn.00937b60
call fcn.009377c0
call fcn.009375e0
lea rax, [0x00bebf06]
mov ebx, 0x21
call fcn.00935dc0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00960680
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00917920
Function at 0x917b00
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x917d2a
sub rsp, 0x58
mov qword [rsp + 0x50], rbp
lea rbp, [rsp + 0x50]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualAlloc]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
call fcn.00932fe0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rcx, rax
cmp qword [rsp + 0x28], rax
je 0x917b7b
mov rbx, qword [rsp + 0x68]
mov rax, rbx
jmp 0x917b8e
mov rbp, qword [rsp + 0x50]
add rsp, 0x58
ret
sub rdx, rbx
add rcx, rbx
mov rbx, rdx
test rbx, rbx
jbe 0x917bb0
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov rdx, rbx
jmp 0x917bc4
cmp rbx, 0x1000
jae 0x917b85
jmp 0x917c4e
mov rbp, qword [rsp + 0x50]
add rsp, 0x58
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x917bd6
xor esi, esi
jmp 0x917c40
mov rax, qword [sym.imp.kernel32.dll_VirtualAlloc]
mov qword [rsp], rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
nop dword [rax]
call fcn.00932fe0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
cmp qword [rsp + 0x28], 0
sete al
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
mov esi, eax
mov rax, qword [rsp + 0x68]
nop dword [rax + rax]
test sil, sil
jne 0x917bba
jmp 0x917ba2
call fcn.00964220
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov eax, dword [rsp]
mov dword [rsp + 0x34], eax
cmp eax, 8
jne 0x917cc9
call fcn.00937560
lea rax, [0x00be80a0]
mov ebx, 0x19
call fcn.00937e60
mov rax, qword [rsp + 0x68]
call fcn.00937b60
lea rax, [0x00be7934]
mov ebx, 0x19
nop
call fcn.00937e60
mov eax, dword [rsp + 0x34]
call fcn.00937b60
call fcn.009377c0
call fcn.009375e0
lea rax, [0x00be1994]
mov ebx, 0xd
call fcn.00935dc0
cmp eax, 0x5af
je 0x917c73
call fcn.00937560
lea rax, [0x00be80a0]
mov ebx, 0x19
call fcn.00937e60
mov rax, qword [rsp + 0x38]
call fcn.00937b60
lea rax, [0x00be7934]
mov ebx, 0x19
nop dword [rax]
call fcn.00937e60
mov eax, dword [rsp + 0x34]
call fcn.00937b60
call fcn.009377c0
call fcn.009375e0
lea rax, [0x00beb00c]
mov ebx, 0x1f
call fcn.00935dc0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00960680
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00917b00
Function at 0x92ec40
Capabilities:
Hash data using murmur3

Disassembly:
cmp rsp, qword [r14 + 0x18]
jbe 0x92eee6
sub rsp, 0x40
mov qword [rsp + 0x38], rbp
lea rbp, [rsp + 0x38]
test byte [rax], al
lea rsi, [rax + 0x1270]
mov rcx, qword [rax + 0x1260]
sub rcx, rsi
shr rcx, 3
cmp rcx, 0x200
ja 0x92eeda
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x30], rcx
mov qword [rax + 0x1260], 0
cmp byte [0x00e54ac5], 0
jne 0x92eca2
xor edx, edx
xor ebx, ebx
nop
jmp 0x92eceb
xor edx, edx
jmp 0x92ecce
mov qword [rsp + 0x28], rdx
mov rcx, qword [rax + rdx*8 + 0x1270]
mov rax, rcx
call 0x91f200
mov rcx, qword [rsp + 0x28]
lea rdx, [rcx + 1]
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
cmp rdx, rcx
jl 0x92eca6
add rax, 0x1260
call fcn.0092eac0
mov rbp, qword [rsp + 0x38]
add rsp, 0x40
ret
inc rdx
cmp rdx, rcx
jge 0x92ee72
mov rsi, qword [rax + rdx*8 + 0x1270]
nop dword [rax]
cmp rsi, 0x1000
jb 0x92ece8
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rbx
mov rax, rsi
xor ebx, ebx
mov rcx, rbx
nop dword [rax + rax]
call fcn.00913da0
test rax, rax
jne 0x92ed42
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
nop
jmp 0x92ece8
nop
mov rsi, rcx
shr rcx, 3
and esi, 7
mov rdx, rcx
mov rcx, rsi
mov r8d, 1
shl r8d, cl
nop
add rdx, qword [rbx + 0x50]
movzx esi, byte [rdx]
test r8b, sil
je 0x92ed85
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
nop dword [rax]
jmp 0x92ece8
nop
lock or byte [rdx], r8b
nop
nop
mov rcx, qword [rbx + 0x18]
nop
movabs rsi, 0x800000000000
lea r8, [rsi + rcx]
mov r9, r8
shr r8, 0x2a
cmp r8, 0x40
jae 0x92eecd
lea r10, [0x00e26f10]
mov r8, qword [r10 + r8*8]
shr r9, 0x16
and r9d, 0xfffff
mov r9, qword [r8 + r9*8]
test byte [r9], al
test byte [r8], al
mov r8, rcx
shr rcx, 0x10
and ecx, 0x3f
movzx r10d, byte [r9 + rcx + 0x21040]
lea r9, [r9 + rcx]
lea r9, [r9 + 0x21040]
shr r8, 0xd
and r8d, 7
mov rcx, r8
mov r8d, 1
shl r8d, cl
test r8b, r10b
jne 0x92ee0b
lock or byte [r9], r8b
movzx r8d, byte [rbx + 0x62]
test r8b, 1
je 0x92ee45
mov r8, qword [rsp + 0x48]
mov r9, qword [r8 + 0x1248]
add r9, qword [rbx + 0x68]
mov qword [r8 + 0x1248], r9
mov rax, r8
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
nop
jmp 0x92ece8
mov r8, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
cmp r8, rcx
jae 0x92eec5
mov r9, qword [rsp + 0x48]
mov qword [r9 + r8*8 + 0x1270], rax
lea rbx, [r8 + 1]
mov rax, r9
mov rdx, qword [rsp + 0x28]
jmp 0x92ece8
cmp rbx, 0x200
ja 0x92eeb7
lea rdx, [rax + 0x1270]
lea rsi, [rax + 0x1238]
mov rcx, rbx
mov edi, 0x200
mov rbx, rdx
mov rax, rsi
call fcn.00924e20
mov rdx, qword [rsp + 0x48]
lea rax, [rdx + 0x1260]
call fcn.0092eac0
mov rbp, qword [rsp + 0x38]
add rsp, 0x40
ret
mov rcx, rbx
mov edx, 0x200
nop
call fcn.00962de0
mov rax, r8
call fcn.00962d60
mov rax, r8
mov ecx, 0x40
call fcn.00962d80
mov edx, 0x200
nop
call fcn.00962dc0
nop
mov qword [rsp + 8], rax
call fcn.00964dc0
mov rax, qword [rsp + 8]
jmp fcn.0092ec40
Function at 0x962800
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov rax, qword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x00e54f40]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d1247
mul rcx
nop
nop
xor rax, rdx
ret
cmp byte [0x00e54ac4], 0
je 0x962836
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x00e55240]
aesenc xmm0, xmmword [0x00e55250]
aesenc xmm0, xmmword [0x00e55260]
movq rax, xmm0
ret
jmp 0x909c60
Function at 0x1404532d0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x1404532dd
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x1404532ed
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x1404532d5
lea eax, [rcx + 1]
jmp 0x1404532fb
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x14045330e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x1404532f4
sub eax, 3
jb 0x14045332e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x14045337d
sar eax, 1
movsxd rbp, eax
jb 0x140453364
jmp 0x14045333c
add ebx, ebx
jne 0x14045333a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140453364
inc ecx
add ebx, ebx
jne 0x14045334a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140453364
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14045335d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14045334c
add ecx, 2
jmp 0x140453369
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.140453292
jmp 0x1404532dd
pop rsi
pop rdi
pop rax
mov dword [rdi], eax
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0xee000
mov dl, 0x1d
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x1404533cd
cmp rsi, rcx
jae 0x1404533d5
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x1404533b4
cmp al, 0x8f
ja 0x1404533b4
cmp byte [rsi - 2], 0xf
je 0x1404533ba
sub al, 0xe8
cmp al, 1
ja 0x14045339e
cmp rsi, rcx
jae 0x1404533d5
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x1404533a4
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x1404533d5
lodsb al, byte [rsi]
jmp 0x1404533b4
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x450000]
mov eax, dword [rdi]
or eax, eax
je 0x140453432
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x4531dc]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x1404533e2
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x14045342c
mov qword [rbx], rax
add rbx, 8
jmp 0x140453402
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x140453476
cmp al, 0xef
ja 0x14045345e
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x14045343e
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0x14045344d
mov eax, dword [rdi]
add rdi, 4
jmp 0x14045344d
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x24f]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x1404534ca
sub rsp, 0xffffffffffffff80
jmp 0x1400b5d4c
Function at 0x140001ee8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001f32
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001f32
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001f32
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001f32
cmp dword [rcx + 0x84], 0xe
jbe 0x140001f32
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001f34
xor al, al
add rsp, 0x28
ret
Function at 0x140003150
Capabilities:
Initialize winhttp library
Prepare http request
Receive http response

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x70
mov rsi, rcx
xor r15d, r15d
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, str.A_WinHTTP_Example_Program_1.0
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov rbp, rax
test rax, rax
je 0x140003340
lea r8d, [r15 + 0x50]
xor r9d, r9d
lea rdx, str.api.ipify.org
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov r14, rax
test rax, rax
je 0x140003337
mov dword [rsp + 0x30], r15d
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
xor r9d, r9d
lea r8, [0x14005fcd4]
lea rdx, [0x14005fcd8]
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov rdi, rax
test rax, rax
je 0x14000332e
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
je 0x140003325
xor edx, edx
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x140003325
mov dword [rsp + 0xb0], r15d
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x60], 0xf
mov byte [rsp + 0x48], r15b
nop dword [rax]
nop word [rax + rax]
mov dword [rsp + 0xa8], r15d
lea rdx, [rsp + 0xa8]
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
je 0x1400032f7
mov ecx, dword [rsp + 0xa8]
inc ecx
call fcn.14005a5c0
mov rbx, rax
mov r8d, dword [rsp + 0xa8]
inc r8d
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
lea r9, [rsp + 0xb0]
mov r8d, dword [rsp + 0xa8]
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x1400032ef
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rbx + r8], 0
jne 0x1400032c0
mov rdx, rbx
lea rcx, [rsp + 0x48]
call fcn.140003ef0
mov rcx, rbx
call fcn.14005a58c
cmp dword [rsp + 0xa8], 0
ja 0x140003250
jmp 0x1400032f7
mov rcx, rbx
call fcn.14005a58c
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, rbp
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rsp + 0x58]
movups xmmword [rsi + 0x10], xmm1
jmp 0x14000334f
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, rbp
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
lea rdx, str.Error_retrieving_IP
mov rcx, rsi
call fcn.140003db0
mov rax, rsi
mov rbx, qword [rsp + 0xa0]
add rsp, 0x70
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret