joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140003110
Capabilities:
Parse pe header

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

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

Disassembly:
mov rdx, qword [0x1410a1d60]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140003170
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140003178
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140003170
sub rcx, rdx
movzx r9d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
test r9w, r9w
je 0x140003170
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 0x1400031c4
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x1400031d0
add rdx, 0x28
cmp r9, rdx
jne 0x1400031b0
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

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

Disassembly:
mov r11, qword [0x1410a1d60]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x140003202
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x140003210
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140003202
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x140003202
movzx edx, word [r8 + 0x14]
movzx r10d, word [r8 + 6]
lea rdx, [r8 + rdx + 0x18]
test r10w, r10w
je 0x140003202
lea r8d, [r10 - 1]
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop word cs:[rax + rax]
mov r9d, dword [rdx + 0xc]
mov r8, r9
cmp rax, r9
jb 0x140003265
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x140003278
add rdx, 0x28
cmp rdx, r10
jne 0x140003250
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x140003287
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x140003297
mov edx, dword [rax + 0xc]
test edx, edx
je 0x14000326e
test ecx, ecx
jg 0x140003280
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x14079d058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.14079d1df
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 0x14079d089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14079d06f
add dl, dl
jne 0x14079d096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14079d0f6
xor eax, eax
add dl, dl
jne 0x14079d0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14079d1ad
add dl, dl
jne 0x14079d0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14079d0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14079d0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14079d0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x14079d0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14079d07e
mov eax, 1
add dl, dl
jne 0x14079d106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14079d113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14079d0fb
sub eax, ebx
mov ebx, 1
jne 0x14079d14c
mov ecx, 1
add dl, dl
jne 0x14079d12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14079d13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14079d123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14079d07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x14079d168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14079d175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14079d15d
cmp eax, 0x7d00
jae 0x14079d19b
cmp eax, 0x500
jb 0x14079d196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14079d07e
cmp eax, 0x7f
ja 0x14079d19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14079d07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x14079d1d2
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 0x14079d07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1400026a0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rdi
cmp dword [0x140034a94], 0
lea rdi, [0x140034a90]
mov r11d, r8d
mov r9d, edx
mov r10, rcx
jne 0x140002778
mov qword [rsp + 0x10], rbx
xor edx, edx
mov rbx, rdi
nop dword [rax]
mov r8d, edx
lea rbx, [rbx + 4]
and r8d, 1
mov eax, edx
shr eax, 1
neg r8d
and r8d, 0xedb88320
inc edx
xor r8d, eax
mov eax, r8d
shr r8d, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, r8d
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov dword [rbx - 4], eax
cmp edx, 0x100
jb 0x1400026d0
mov rbx, qword [rsp + 0x10]
not r11d
mov eax, r11d
test r9d, r9d
jle 0x1400027ae
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [r10]
lea r10, [r10 + 1]
movzx edx, al
xor rdx, rcx
shr eax, 8
xor eax, dword [rdi + rdx*4]
sub r9d, 1
jne 0x140002790
not eax
pop rdi
ret
movzx r9d, byte [r10]
lea r8, [r10 + 1]
test r9b, r9b
je 0x1400027ef
nop dword [rax + rax]
cmp r9b, 0x23
jne 0x1400027d3
cmp byte [r8], r9b
jne 0x1400027d3
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rdi + rdx*4]
test r9b, r9b
jne 0x1400027c0
not eax
pop rdi
ret
Function at 0x140002940
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov rdi, r8
test r8, r8
je 0x140002959
mov qword [r8], 0
lea rdx, [0x14002a720]
call fcn.140002800
mov rbx, rax
test rax, rax
jne 0x140002978
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
xor edx, edx
mov qword [rsp + 0x30], rbp
mov rcx, rbx
mov qword [rsp + 0x38], rsi
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140002a38
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x140002a38
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140002a38
mov rax, qword [0x140034960]
mov rbp, rsi
test rax, rax
je 0x1400029d5
inc dword [rax + 0x3c8]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x140002a38
mov r9, rbx
mov r8, rbp
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rbp
je 0x140002a25
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x140034960]
test rax, rax
je 0x140002a1a
dec dword [rax + 0x3c8]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140002a41
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rdi, rdi
je 0x140002a33
mov qword [rdi], rbp
mov rax, rsi
jmp 0x140002a43
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140011a20
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
push r15
sub rsp, 0x20
mov rdi, qword [0x140034960]
xor esi, esi
mov r15, rcx
mov dword [rdi + 0x2d9c], esi
test rcx, rcx
je 0x140011b3a
mov qword [rsp + 0x40], rbx
lea rbx, [rdi + 0x2da0]
mov dword [rdi + 0x2d9c], esi
mov ecx, dword [rbx + 4]
mov qword [rsp + 0x48], rbp
test ecx, ecx
jns 0x140011a7a
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
mov rcx, rbx
test eax, eax
cmovg edx, eax
call fcn.140012970
mov dword [rbx], esi
cmp dword [rbx + 4], esi
jne 0x140011a8e
mov edx, 8
mov rcx, rbx
call fcn.140012970
movsxd rcx, dword [rbx]
mov ebp, esi
mov rax, qword [rbx + 8]
mov byte [rcx + rax], sil
inc dword [rbx]
cmp dword [rdi + 0x2db0], esi
jle 0x140011ada
mov qword [rsp + 0x50], r14
mov r14, rsi
nop dword [rax]
mov r9, qword [rdi + 0x2db8]
mov r8, rbx
add r9, r14
mov rcx, rdi
mov rdx, r9
call qword [r9 + 0x20]
inc ebp
add r14, 0x30
cmp ebp, dword [rdi + 0x2db0]
jl 0x140011ab0
mov r14, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x48]
cmp qword [rbx + 8], rsi
je 0x140011ae9
mov esi, dword [rbx]
dec esi
mov rax, qword [rdi + 0x2da8]
lea rdx, [0x14002a724]
test rax, rax
movsxd rsi, esi
lea rdi, [0x140034958]
mov rcx, r15
cmovne rdi, rax
call fcn.140002800
mov rbx, rax
test rax, rax
je 0x140011b35
mov r9, rax
mov r8, rsi
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r15
pop rdi
pop rsi
ret
Function at 0x1400195e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov r11, rsp
push r13
push r14
sub rsp, 0xb8
mov r13, rcx
movsxd rax, r9d
xor ecx, ecx
mov qword [rsp + 0x60], rax
mov dword [rsp + 0xe8], ecx
mov r14, rdx
test r9d, r9d
jle 0x140019842
mov qword [r11 + 8], rbx
lea rbx, [r8 + 0x20]
mov qword [r11 + 0x10], rbp
movzx ebp, byte [r13 + 0x24]
mov qword [r11 + 0x18], rsi
mov qword [r11 - 0x18], rdi
mov edi, pe_nt_image_headers64
mov qword [r11 - 0x20], r12
xor r12d, r12d
mov qword [r11 - 0x28], r15
movaps xmmword [r11 - 0x38], xmm6
movaps xmmword [r11 - 0x48], xmm7
xorps xmm7, xmm7
movaps xmmword [r11 - 0x58], xmm8
movzx r11d, byte [r13 + 0x20]
movss xmm8, dword [0x14002e890]
nop word [rax + rax]
movss xmm6, dword [rbx - 0x20]
comiss xmm6, xmm7
jbe 0x1400196aa
movsxd r10, dword [r14 + 0x24]
mov r9, qword [r14 + 8]
movsx ecx, di
movzx eax, byte [r10 + r9 + 7]
movzx edx, byte [r10 + r9 + 6]
imul edx, ecx
movsx ecx, di
add dx, ax
movzx eax, byte [r10 + r9 + 5]
movsx r8d, dx
movzx edx, byte [r10 + r9 + 4]
imul edx, ecx
add ax, dx
cwde
sub eax, r8d
movd xmm0, eax
jmp 0x1400196c9
movsxd rdx, dword [r14 + 0x1c]
xorps xmm6, xmm8
mov rax, qword [r14 + 8]
movzx ecx, byte [rdx + rax + 0x12]
movzx eax, byte [rdx + rax + 0x13]
shl ecx, 8
add ecx, eax
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
xor edi, edi
mov byte [rbx], r11b
mov byte [rbx + 1], bpl
divss xmm6, xmm0
cmp dword [rbx - 0x10], edi
jle 0x1400197e0
mov r15, qword [rsp + 0xf0]
mov rax, r12
shl rax, 4
add r15, 6
xor esi, esi
add r15, rax
nop word [rax + rax]
mov rax, qword [rbx - 0x18]
test rax, rax
jne 0x140019710
mov edx, dword [rbx - 0x1c]
add edx, edi
jmp 0x140019713
mov edx, dword [rax + rsi]
mov eax, dword [r13 + 0x24]
xorps xmm3, xmm3
xorps xmm2, xmm2
mov rcx, r14
cvtsi2ss xmm3, rax
mov eax, dword [r13 + 0x20]
cvtsi2ss xmm2, rax
mulss xmm3, xmm6
mulss xmm2, xmm6
call fcn.140014910
mov edx, eax
mov rcx, r14
lea rax, [rsp + 0x5c]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x54]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
movss dword [rsp + 0x28], xmm7
movss dword [rsp + 0x20], xmm7
call fcn.140017260
movzx ecx, word [r13 + 0x1c]
inc r12
movzx r11d, word [r13 + 0x20]
movzx eax, cx
sub ax, word [rsp + 0x50]
dec cx
movzx ebp, word [r13 + 0x24]
dec ax
add ax, r11w
inc edi
add ax, word [rsp + 0x54]
add rsi, 4
mov word [r15 - 2], ax
movzx eax, bp
sub ax, word [rsp + 0x58]
add ax, cx
mov ecx, dword [rsp + 0xe8]
add ax, word [rsp + 0x5c]
inc ecx
mov word [r15], ax
add r15, 0x10
mov dword [rsp + 0xe8], ecx
cmp edi, dword [rbx - 0x10]
jl 0x140019700
jmp 0x1400197e7
mov ecx, dword [rsp + 0xe8]
add rbx, 0x28
mov edi, pe_nt_image_headers64
sub qword [rsp + 0x60], 1
jne 0x140019660
movaps xmm8, xmmword [rsp + 0x70]
movaps xmm7, xmmword [rsp + 0x80]
movaps xmm6, xmmword [rsp + 0x90]
mov r15, qword [rsp + 0xa0]
mov r12, qword [rsp + 0xa8]
mov rdi, qword [rsp + 0xb0]
mov rsi, qword [rsp + 0xe0]
mov rbp, qword [rsp + 0xd8]
mov rbx, qword [rsp + 0xd0]
mov eax, ecx
add rsp, 0xb8
pop r14
pop r13
ret
Function at 0x14001d470
Capabilities:
Resolve function by parsing pe exports

Disassembly:
test r9d, 0xff000000
je 0x14001d627
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
movss xmm3, dword [rsp + 0x70]
xorps xmm0, xmm0
comiss xmm3, xmm0
mov esi, r9d
mov rdi, r8
mov rbp, rdx
mov rbx, rcx
jbe 0x14001d506
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x20], eax
call fcn.14001cde0
mov r8d, dword [rbx + 0x80]
mov r9d, esi
mov rdx, qword [rbx + 0x88]
mov rcx, rbx
call fcn.14001c410
mov ecx, dword [rbx + 0x84]
test ecx, ecx
jns 0x14001d4f7
mov eax, ecx
cdq
sub eax, edx
xor edx, edx
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x80]
test eax, eax
cmovg edx, eax
call fcn.1400126b0
mov dword [rbx + 0x80], 0
jmp 0x14001d613
mov edx, 6
movaps xmmword [rsp + 0x30], xmm6
lea r8d, [rdx - 2]
call fcn.14001b250
movzx edx, word [rbx + 0x48]
mov rax, qword [rbx + 0x38]
movss xmm1, dword [rdi]
movss xmm2, dword [rbp + 4]
movss xmm3, dword [rbp]
lea ecx, [rdx + 1]
movss xmm6, dword [rax + 4]
movss xmm5, dword [rax]
movss xmm4, dword [rdi + 4]
mov rax, qword [rbx + 0x58]
mov word [rax], dx
mov rax, qword [rbx + 0x58]
mov word [rax + 2], cx
lea ecx, [rdx + 2]
mov rax, qword [rbx + 0x58]
mov word [rax + 4], cx
mov rax, qword [rbx + 0x58]
mov word [rax + 6], dx
add dx, 3
mov rax, qword [rbx + 0x58]
mov word [rax + 8], cx
mov rax, qword [rbx + 0x58]
mov word [rax + 0xa], dx
movsd xmm0, qword [rbp]
mov rax, qword [rbx + 0x50]
movsd qword [rax], xmm0
mov rax, qword [rbx + 0x50]
movss dword [rax + 8], xmm5
movss dword [rax + 0xc], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x10], esi
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x14], xmm1
movss dword [rax + 0x18], xmm2
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x1c], xmm5
movss dword [rax + 0x20], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x24], esi
movsd xmm0, qword [rdi]
mov rax, qword [rbx + 0x50]
movsd qword [rax + 0x28], xmm0
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x30], xmm5
movss dword [rax + 0x34], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x38], esi
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x3c], xmm3
movss dword [rax + 0x40], xmm4
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x44], xmm5
movss dword [rax + 0x48], xmm6
mov rax, qword [rbx + 0x50]
movaps xmm6, xmmword [rsp + 0x30]
mov dword [rax + 0x4c], esi
add qword [rbx + 0x50], 0x50
add dword [rbx + 0x48], 4
add qword [rbx + 0x58], 0xc
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x140026d50
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0xe0
mov rax, qword [0x140034040]
xor rax, rsp
mov qword [rsp + 0xc8], rax
xor ebx, ebx
mov qword [rsp + 0x60], 0x50
lea rax, [0x140026be0]
mov qword [rsp + 0x70], rbx
mov edx, 0x7f00
mov qword [rsp + 0x68], rax
xor ecx, ecx
mov qword [rsp + 0x78], rbx
call qword [sym.imp.USER32.dll_LoadIconW]
mov edx, 0x7f00
xor ecx, ecx
mov qword [rsp + 0x80], rax
call qword [sym.imp.USER32.dll_LoadCursorW]
mov qword [rsp + 0x88], rax
xorps xmm0, xmm0
mov edx, 0x7f00
movdqa xmmword [rsp + 0x90], xmm0
lea rax, [0x14002e568]
xor ecx, ecx
mov qword [rsp + 0xa0], rax
call qword [sym.imp.USER32.dll_LoadIconW]
lea rcx, [rsp + 0x60]
mov qword [rsp + 0xa8], rax
call qword [sym.imp.USER32.dll_RegisterClassExW]
test ax, ax
jne 0x140026e00
lea ecx, [rbx + 1]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
lea rdx, str.PLAYERUNKNOWNS_BATTLEGROUNDS
lea rcx, str.UnrealWindow
call qword [sym.imp.USER32.dll_FindWindowW]
mov qword [0x140034980], rax
test rax, rax
je 0x140026fdf
lea rdx, [0x1400349d0]
movaps xmmword [rsp + 0xd0], xmm6
mov rcx, rax
call qword [sym.imp.USER32.dll_GetClientRect]
mov rcx, qword [0x140034980]
lea rdx, [rsp + 0xb0]
call qword [sym.imp.USER32.dll_ClientToScreen]
movss xmm6, dword [0x14002e72c]
mov r9d, 0x90000000
mov ecx, dword [rsp + 0xb4]
mov rax, qword [rsp + 0xb0]
movd xmm0, dword [0x1400349dc]
movd xmm1, dword [0x1400349d8]
cvtdq2ps xmm0, xmm0
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x40], rbx
cvtdq2ps xmm1, xmm1
mov dword [0x1400349d4], ecx
mov dword [0x1400349d0], eax
movss dword [0x140034144], xmm0
addss xmm0, xmm6
movss dword [0x140034140], xmm1
addss xmm1, xmm6
cvttss2si r8d, xmm0
cvttss2si edx, xmm1
mov dword [rsp + 0x38], r8d
lea r8, str.MoneyTrees
movd xmm0, ecx
mov dword [rsp + 0x30], edx
lea rdx, str.MoneyTrees
movd xmm1, eax
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
subss xmm0, xmm6
subss xmm1, xmm6
cvttss2si ecx, xmm0
cvttss2si eax, xmm1
mov dword [rsp + 0x28], ecx
xor ecx, ecx
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_CreateWindowExA]
movd xmm0, dword [0x1400349d0]
lea rdx, [rsp + 0xb8]
movd xmm1, dword [0x1400349d4]
mov r8, rax
cvtdq2ps xmm0, xmm0
mov qword [0x140034988], rax
cvtdq2ps xmm1, xmm1
subss xmm0, xmm6
subss xmm1, xmm6
cvttss2si ecx, xmm0
movss xmm0, dword [0x140034140]
mov dword [rsp + 0xb8], ecx
addss xmm0, xmm6
cvttss2si ecx, xmm1
movss xmm1, dword [0x140034144]
mov dword [rsp + 0xbc], ecx
addss xmm1, xmm6
cvttss2si ecx, xmm0
cvttss2si eax, xmm1
mov dword [rsp + 0xc0], ecx
mov rcx, r8
mov dword [rsp + 0xc4], eax
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov rcx, qword [0x140034988]
mov edx, 0xffffffec
mov r8d, 0x800a0
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov rcx, qword [0x140034988]
mov edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x140034988]
call qword [sym.imp.USER32.dll_UpdateWindow]
movaps xmm6, xmmword [rsp + 0xd0]
mov rcx, qword [rsp + 0xc8]
xor rcx, rsp
call fcn.1400287b0
add rsp, 0xe0
pop rbx
ret
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x140028100
Capabilities:
Create thread
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0xc0
mov rax, qword [0x140034040]
xor rax, rsp
mov qword [rsp + 0xb0], rax
xor edi, edi
mov dword [rsp + 0x34], edi
mov qword [rsp + 0x40], rdi
mov dword [rsp + 0x54], edi
mov edx, 0x1c0
xor ecx, ecx
lea r9d, [rdi + 4]
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
je 0x140028215
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x38], rbx
lea rcx, [rbx + 0x380]
mov qword [rsp + 0x40], rcx
lea rax, [rbx + 0x390]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x50], 0x999
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], edi
lea r9, [rsp + 0x30]
lea r8, [0x140025d40]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [0x140034959], dil
je 0x1400281d5
lea rdx, str.Error_Connecting
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140028370
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_getchar]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [0x140034998], xmm0
movups xmm2, xmmword [rsp + 0x40]
movups xmmword [0x1400349a8], xmm2
movsd xmm0, qword [rsp + 0x50]
movsd qword [0x1400349b8], xmm0
movdqa xmm1, xmm2
psrldq xmm1, 8
movq rax, xmm1
mov word [rax], 1
movq rax, xmm2
mov dword [rax], edi
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x80], xmm0
movups xmmword [rsp + 0x90], xmm0
mov qword [rsp + 0xa0], rax
lea rcx, [rsp + 0x60]
call fcn.140025de0
nop
cmp qword [0x1400349c8], 0
jne 0x140028271
lea rdx, str.PLAYERUNKNOWNS_BATTLEGROUNDS
lea rcx, str.UnrealWindow
call qword [sym.imp.USER32.dll_FindWindowW]
mov qword [0x1400349c8], rax
test rax, rax
je 0x140028251
lea rdx, str.___Found_Game_Window
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140028370
mov rcx, rax
lea rdx, [0x140028540]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
call fcn.140026d50
call fcn.140026ff0
nop
call fcn.1400272f0
jmp 0x1400282a0

Function at 0x1400293b0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400293fa
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400293fa
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400293fa
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400293fa
cmp dword [rcx + 0x84], 0xe
jbe 0x1400293fa
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400293fc
xor al, al
add rsp, 0x28
ret
Function at 0x18000b0f0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x40], rbx
mov rdi, rdx
mov rbx, rcx
lea rcx, section..data
mov rax, qword [section..data]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x50], rax
movzx r8d, word [rbx + 0x1c]
mov r9, rdi
lea rdx, str._c:_s
lea rcx, [rsp + 0x50]
call fcn.180004730
mov rbx, qword [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x18000b188
xor r9d, r9d
mov r8, rbx
mov edx, 0x2005
mov ecx, 0x800
call qword [sym.imp.SHELL32.dll_SHChangeNotify]
nop
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x18000b1fe
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
jmp 0x18000b1fe
test al, 0x10
je 0x18000b1b8
xor r9d, r9d
mov r8, rbx
mov edx, 0x1005
lea ecx, [r9 + 4]
call qword [sym.imp.SHELL32.dll_SHChangeNotify]
xor r9d, r9d
mov r8, rbx
mov edx, 0x1005
lea ecx, [r9 + 8]
call qword [sym.imp.SHELL32.dll_SHChangeNotify]
jmp 0x18000b1e3
xor r9d, r9d
mov r8, rbx
mov edx, 0x1005
lea ecx, [r9 + 0x10]
call qword [sym.imp.SHELL32.dll_SHChangeNotify]
xor r9d, r9d
mov r8, rbx
mov edx, 0x1005
lea ecx, [r9 + 2]
call qword [sym.imp.SHELL32.dll_SHChangeNotify]
nop
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x18000b1fe
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x18000c370
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 0x18000c3a3
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]
mov rbx, rax
test rax, rax
je 0x18000c3e7
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov r11d, eax
add r11, rbx
and edi, 0xf
jbe 0x18000c3e2
cmp rbx, r11
jae 0x18000c3e7
add edi, 0xffffffff
movzx eax, word [rbx]
lea rbx, [rbx + rax*2 + 2]
jne 0x18000c3d0
cmp rbx, r11
jb 0x18000c3eb
xor eax, eax
jmp 0x18000c3f7
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