joyce8/EMBER2024-capa huggingface dataset:
Function at 0x468ac0
Capabilities:
Identify system language via api

Disassembly:
push rbp
sub rsp, 0x50
mov rbp, rsp
mov qword [rbp + 0x28], rcx
mov word [rbp + 0x36], dx
mov qword [rbp + 0x38], 0
mov qword [rbp + 0x40], 0
mov qword [rbp + 0x48], 0
nop
lea rcx, [0x01089b60]
call fcn.00766090
movzx rax, word [rbp + 0x36]
cmp word [0x01089b88], ax
jne 0x468b2a
mov rcx, qword [rbp + 0x28]
lea rdx, [0x01089b8a]
mov r8d, 0x55
call fcn.00464550
lea rcx, [0x01089b60]
call fcn.00766378
jmp 0x468c33
lea rcx, [0x01089b60]
call fcn.00766378
mov rcx, qword [rbp + 0x28]
call fcn.004629a0
movzx rcx, word [rbp + 0x36]
movzx ecx, cx
mov edx, 2
call fcn.00766358
test eax, eax
je 0x468bee
cmp byte [0x01089b58], 0
je 0x468b82
mov rcx, rbp
lea rdx, [rbp + 0x48]
movzx r8, word [rbp + 0x36]
call fcn.00468960
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x48]
call fcn.00463030
jmp 0x468bee
mov rcx, rbp
lea rdx, [rbp + 0x40]
movzx r8, word [rbp + 0x36]
call fcn.004686c0
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x40]
call fcn.00463030
call fcn.00766278
movzx rcx, word [rbp + 0x36]
cmp cx, ax
mov word [rbp + 0x36], cx
je 0x468bee
mov rax, qword [rbp + 0x28]
cmp qword [rax], 0
je 0x468bcd
mov rcx, qword [rbp + 0x28]
lea rdx, [0x00468c78]
call fcn.004647c0
call fcn.00766278
mov rcx, rbp
lea rdx, [rbp + 0x38]
mov r8d, eax
call fcn.004686c0
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x38]
call fcn.004647c0
lea rcx, [0x01089b60]
call fcn.00766090
movzx rax, word [rbp + 0x36]
mov word [0x01089b88], ax
mov rax, qword [rbp + 0x28]
mov rcx, qword [rax]
call fcn.00464460
lea rcx, [0x01089b8a]
mov edx, 0xaa
mov r8, rax
call fcn.004684b0
lea rcx, [0x01089b60]
call fcn.00766378
nop
lea rcx, [rbp + 0x38]
mov edx, 3
call fcn.00462a80
mov rax, qword [rbp + 0x28]
lea rsp, [rbp + 0x50]
pop rbp
ret
Function at 0x468ef0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
sub rsp, 0x280
mov rbp, rsp
mov qword [rbp + 0x58], 0
mov qword [rbp + 0x38], rbp
mov qword [rbp + 0x290], rcx
mov qword [rbp + 0x298], rdx
mov rcx, qword [rbp + 0x298]
call fcn.00462b70
nop
cmp qword [rbp + 0x298], 0
jne 0x468f3f
xor ecx, ecx
lea rdx, [rbp + 0x66]
mov r8d, 0x105
call fcn.00766208
jmp 0x468f5c
mov rcx, qword [rbp + 0x298]
call fcn.00464460
lea rcx, [rbp + 0x66]
mov edx, 0x105
mov r8, rax
call fcn.004684b0
cmp word [rbp + 0x66], 0
je 0x4691b6
mov qword [rbp + 0x278], 0
mov ecx, 0x80000001
lea rdx, [0x00469248]
xor r8, r8
mov r9d, 0x20019
lea rax, [rbp + 0x270]
mov qword [rsp + 0x20], rax
call fcn.00765f78
test eax, eax
je 0x46907e
mov ecx, 0x80000002
lea rdx, [0x00469248]
xor r8, r8
mov r9d, 0x20019
lea rax, [rbp + 0x270]
mov qword [rsp + 0x20], rax
call fcn.00765f78
test eax, eax
je 0x46907e
mov ecx, 0x80000001
lea rdx, [0x00469282]
xor r8, r8
mov r9d, 0x20019
lea rax, [rbp + 0x270]
mov qword [rsp + 0x20], rax
call fcn.00765f78
test eax, eax
je 0x46907e
mov ecx, 0x80000002
lea rdx, [0x00469282]
xor r8, r8
mov r9d, 0x20019
lea rax, [rbp + 0x270]
mov qword [rsp + 0x20], rax
call fcn.00765f78
test eax, eax
je 0x46907e
mov ecx, 0x80000001
lea rdx, [0x004692b6]
xor r8, r8
mov r9d, 0x20019
lea rax, [rbp + 0x270]
mov qword [rsp + 0x20], rax
call fcn.00765f78
test eax, eax
je 0x46907e
mov ecx, 0x80000001
lea rdx, [0x004692e8]
xor r8, r8
mov r9d, 0x20019
lea rax, [rbp + 0x270]
mov qword [rsp + 0x20], rax
call fcn.00765f78
test eax, eax
jne 0x4691b5
nop
mov rcx, rbp
lea rdx, [rbp + 0x66]
lea r8, [rbp + 0x58]
call fcn.00468cb0
mov qword [rbp + 0x50], rax
mov rcx, qword [rbp + 0x270]
mov rdx, qword [rbp + 0x50]
xor r8, r8
xor r9, r9
mov qword [rsp + 0x20], 0
lea rax, [rbp + 0x4c]
mov qword [rsp + 0x28], rax
call fcn.00765f88
test eax, eax
jne 0x469112
movsxd rcx, dword [rbp + 0x4c]
call fcn.0045b4e0
mov qword [rbp + 0x278], rax
mov rcx, qword [rbp + 0x270]
mov rdx, qword [rbp + 0x50]
xor r8, r8
xor r9, r9
mov rax, qword [rbp + 0x278]
mov qword [rsp + 0x20], rax
lea rax, [rbp + 0x4c]
mov qword [rsp + 0x28], rax
call fcn.00765f88
mov rcx, qword [rbp + 0x290]
mov rdx, qword [rbp + 0x278]
call fcn.004644f0
jmp 0x469192
mov rcx, qword [rbp + 0x270]
lea rdx, [0x00469328]
xor r8, r8
xor r9, r9
mov qword [rsp + 0x20], 0
lea rax, [rbp + 0x4c]
mov qword [rsp + 0x28], rax
call fcn.00765f88
test eax, eax
jne 0x469192
movsxd rcx, dword [rbp + 0x4c]
call fcn.0045b4e0
mov qword [rbp + 0x278], rax
mov rcx, qword [rbp + 0x270]
lea rdx, [0x00469328]
xor r8, r8
xor r9, r9
mov rax, qword [rbp + 0x278]
mov qword [rsp + 0x20], rax
lea rax, [rbp + 0x4c]
mov qword [rsp + 0x28], rax
call fcn.00765f88
mov rcx, qword [rbp + 0x290]
mov rdx, qword [rbp + 0x278]
call fcn.004644f0
nop
cmp qword [rbp + 0x278], 0
je 0x4691a9
mov rcx, qword [rbp + 0x278]
call fcn.0045b510
mov rcx, qword [rbp + 0x270]
call fcn.00765f28
nop
lea rcx, [rbp + 0x58]
call fcn.004629a0
lea rcx, [rbp + 0x298]
call fcn.004629a0
mov rax, qword [rbp + 0x290]
lea rsp, [rbp + 0x280]
pop rbp
ret
Function at 0x4695e0
Capabilities:
Get geographical location
Identify system language via api

Disassembly:
push rbp
sub rsp, 0x50
mov rbp, rsp
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], 0
mov qword [rbp + 0x38], 0
mov qword [rbp + 0x70], r8
mov rcx, qword [rbp + 0x70]
call fcn.00462b70
nop
call fcn.007662c8
movzx ecx, ax
mov edx, 3
lea r8, [rbp + 0x48]
mov r9d, 4
call fcn.007661f0
lea rcx, [rbp + 0x38]
lea rdx, [rbp + 0x48]
mov r8d, 4
call fcn.00464550
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x70]
mov r8, qword [rbp + 0x38]
call fcn.00464890
mov rcx, qword [rbp + 0x20]
mov rax, qword [rbp + 0x28]
mov rdx, qword [rax]
call fcn.00469430
test al, al
jne 0x4696aa
mov word [rbp + 0x4c], 0
lea rcx, [rbp + 0x30]
lea rdx, [rbp + 0x48]
mov r8d, 4
call fcn.00464550
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x70]
mov r8, qword [rbp + 0x30]
call fcn.00464890
mov rcx, qword [rbp + 0x20]
mov rax, qword [rbp + 0x28]
mov rdx, qword [rax]
call fcn.00469430
test al, al
jne 0x4696aa
mov rcx, qword [rbp + 0x28]
call fcn.004629a0
nop
lea rcx, [rbp + 0x30]
mov edx, 2
call fcn.00462a80
lea rcx, [rbp + 0x70]
call fcn.004629a0
mov rax, qword [rbp + 0x28]
lea rsp, [rbp + 0x50]
pop rbp
ret
Function at 0x469700
Capabilities:
Identify system language via api

Disassembly:
push rbp
sub rsp, 0x70
mov rbp, rsp
mov qword [rbp + 0x28], rcx
mov qword [rbp + 0x30], 0
mov qword [rbp + 0x40], 0
mov qword [rbp + 0x38], 0
mov qword [rbp + 0x50], 0
mov qword [rbp + 0x48], 0
mov qword [rbp + 0x58], 0
mov qword [rbp + 0x68], 0
mov qword [rbp + 0x60], 0
mov qword [rbp + 0x88], rdx
mov qword [rbp + 0x90], r8
mov rcx, qword [rbp + 0x88]
call fcn.00462b70
mov rcx, qword [rbp + 0x90]
call fcn.00462b70
nop
mov rcx, qword [rbp + 0x28]
call fcn.004629a0
cmp qword [rbp + 0x90], 0
je 0x4698bf
lea rcx, [rbp + 0x60]
mov rdx, qword [rbp + 0x90]
call fcn.004630c0
xor eax, eax
mov rcx, qword [rbp + 0x90]
test rcx, rcx
je 0x4697ab
mov eax, dword [rcx - 4]
cmp eax, 1
jl 0x4697e4
mov rcx, qword [rbp + 0x90]
movsxd rdx, eax
cmp word [rcx + rdx*2 - 2], 0x2e
jne 0x4697dd
lea rcx, [rbp + 0x60]
mov rdx, qword [rbp + 0x90]
mov r8d, 1
mov r9d, eax
call fcn.00464ae0
jmp 0x4697e4
sub eax, 1
test eax, eax
jne 0x4697b0
nop
lea rcx, [rbp + 0x68]
mov rdx, qword [rbp + 0x88]
call fcn.00469330
cmp qword [rbp + 0x68], 0
je 0x469822
mov rcx, rbp
lea rdx, [rbp + 0x58]
mov r8, qword [rbp + 0x60]
mov r9, qword [rbp + 0x68]
call fcn.004694c0
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x58]
call fcn.00463030
jmp 0x4698be
call fcn.007662c8
lea rcx, [rbp + 0x48]
mov edx, eax
call fcn.00468ac0
mov rcx, rbp
lea rdx, [rbp + 0x50]
mov r8, qword [rbp + 0x60]
mov r9, qword [rbp + 0x48]
call fcn.004694c0
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x50]
call fcn.00463030
mov rax, qword [rbp + 0x28]
cmp qword [rax], 0
jne 0x469897
cmp byte [0x01089b58], 0
jne 0x469897
call fcn.00766278
lea rcx, [rbp + 0x38]
mov edx, eax
call fcn.00468ac0
mov rcx, rbp
lea rdx, [rbp + 0x40]
mov r8, qword [rbp + 0x60]
mov r9, qword [rbp + 0x38]
call fcn.004694c0
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x40]
call fcn.00463030
mov rax, qword [rbp + 0x28]
cmp qword [rax], 0
jne 0x4698be
mov rcx, rbp
lea rdx, [rbp + 0x30]
mov r8, qword [rbp + 0x60]
call fcn.004695e0
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x30]
call fcn.00463030
nop
lea rcx, [rbp + 0x30]
mov edx, 8
call fcn.00462a80
lea rcx, [rbp + 0x88]
mov edx, 2
call fcn.00462a80
mov rax, qword [rbp + 0x28]
lea rsp, [rbp + 0x70]
pop rbp
ret

Function at 0x46b860
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x58
lea rcx, [rsp + 0x20]
call fcn.00766280
mov eax, dword [rsp + 0x40]
add rsp, 0x58
ret

Function at 0x46b880
Capabilities:
Check os version

Disassembly:
sub rsp, 0x28
call fcn.007662d0
mov ecx, eax
and ecx, 0xff
and eax, 0xff00
shr eax, 8
cmp ecx, 5
jne 0x46b8a4
cmp eax, 1
jae 0x46b8a9
cmp ecx, 5
jbe 0x46b8b5
mov dword [0x01085688], 0x7f
jmp 0x46b8bf
mov dword [0x01085688], 0x409
add rsp, 0x28
ret
Function at 0x46c950
Capabilities:
Accept command line arguments

Disassembly:
push rbp
sub rsp, 0x20
mov rbp, rsp
nop
sub dword [0x01085698], 1
cmp dword [0x01085698], 0xffffffff
jne 0x46ca30
call fcn.0045f0c0
call fcn.0045e520
call fcn.0045b1b0
mov ecx, 0x400
call fcn.007664a8
call fcn.00468380
mov byte [0x0096e350], 2
lea rax, [fcn.00766410]
mov qword [0x01084c80], rax
lea rax, [0x00766460]
mov qword [0x01084c88], rax
mov byte [0x01084d02], 2
call fcn.0046b860
mov dword [0x01084d08], eax
lea rax, [0x00466ed0]
mov qword [0x01084c58], rax
call fcn.0045f110
call fcn.0045f140
mov word [0x01084d18], 0xd7b0
mov word [0x01085010], 0xd7b0
mov word [0x01085308], 0xd7b0
call fcn.00766148
mov qword [0x01084ce8], rax
call fcn.004594a0
mov dword [0x01084ce0], eax
call fcn.00766130
mov dword [0x01085680], eax
mov dword [0x01085684], 0x4b0
call fcn.00766168
mov dword [0x01084cd8], eax
call fcn.0046b880
nop
lea rsp, [rbp + 0x20]
pop rbp
ret

Function at 0x477930
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
mov rbp, rsp
mov rbx, rcx
mov esi, edx
mov rcx, rbx
call fcn.00464460
mov rdi, rax
mov rcx, rdi
call fcn.007661b0
cmp eax, 0xffffffff
je 0x4779d7
mov ecx, eax
test ecx, 0x400
je 0x4779cc
test sil, sil
jne 0x47796f
mov al, 1
jmp 0x477a00
test eax, 0x10
je 0x47797e
xor eax, eax
jmp 0x477a00
mov rcx, rdi
mov edx, 0x80000000
mov r8d, 1
xor r9, r9
mov dword [rsp + 0x20], 3
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x30], 0
call fcn.00766018
cmp rax, 0xffffffffffffffff
je 0x4779bf
mov rcx, rax
call fcn.00765fd8
mov al, 1
jmp 0x477a00
call fcn.007661d8
cmp eax, 0x20
sete al
jmp 0x477a00
test eax, 0x10
sete al
jmp 0x477a00
call fcn.007661d8
cmp eax, 2
je 0x4779fa
cmp eax, 3
je 0x4779fa
cmp eax, 0x7b
je 0x4779fa
mov rcx, rbp
mov rdx, rbx
call fcn.004778e0
test al, al
jne 0x4779fe
xor eax, eax
jmp 0x477a00
mov al, 1
lea rsp, [rbp + 0x48]
pop rbx
pop rsi
pop rdi
pop rbp
ret

Function at 0x477a10
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push r13
push rdi
push rsi
push rbx
sub rsp, 0x38
mov ebx, edx
xor esi, esi
call fcn.00464460
mov r13, rax
mov rcx, r13
call fcn.007661b0
mov edi, eax
cmp edi, 0xffffffff
je 0x477af1
mov eax, edi
test eax, 0x400
jne 0x477a52
test edi, 0x10
setne sil
jmp 0x477af1
test bl, bl
je 0x477a9f
mov rcx, r13
mov edx, 0x80000000
mov r8d, 1
xor r9, r9
mov dword [rsp + 0x20], 3
mov dword [rsp + 0x28], 0x2000000
mov qword [rsp + 0x30], 0
call fcn.00766018
cmp rax, 0xffffffffffffffff
je 0x477af1
mov rcx, rax
call fcn.00765fd8
test edi, 0x10
setne sil
jmp 0x477af1
test edi, 0x10
je 0x477aac
mov sil, 1
jmp 0x477af1
mov rcx, r13
mov edx, 0x80000000
mov r8d, 1
xor r9, r9
mov dword [rsp + 0x20], 3
mov dword [rsp + 0x28], 0x2000000
mov qword [rsp + 0x30], 0
call fcn.00766018
cmp rax, 0xffffffffffffffff
je 0x477aee
mov rcx, rax
call fcn.00765fd8
xor esi, esi
jmp 0x477af1
mov sil, 1
mov eax, esi
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop r13
ret
Function at 0x477c60
Capabilities:
Check if file exists
Delete directory
Delete file

Disassembly:
push r13
push rdi
push rsi
push rbx
sub rsp, 0x28
mov rbx, rcx
mov rcx, rbx
call fcn.00464460
mov r13, rax
mov rcx, r13
call fcn.00766070
test eax, eax
setne sil
test sil, sil
jne 0x477ccf
call fcn.007661d8
mov edi, eax
mov rcx, r13
call fcn.007661b0
cmp eax, 0xffffffff
je 0x477cc8
mov ecx, eax
test ecx, 0x400
je 0x477cc8
test eax, 0x10
je 0x477cc8
mov rcx, rbx
call fcn.00464460
mov rcx, rax
call fcn.00766438
test eax, eax
setne sil
jmp 0x477ccf
mov ecx, edi
call fcn.007664a0
mov eax, esi
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r13
ret

Function at 0x478270
Capabilities:
Create directory

Disassembly:
sub rsp, 0x28
call fcn.00464460
mov rcx, rax
xor edx, edx
call fcn.00766000
test eax, eax
setne al
add rsp, 0x28
ret
Function at 0x482940
Capabilities:
Write file on windows

Disassembly:
push rbp
push rsi
push rbx
sub rsp, 0x8e0
mov rbp, rsp
mov qword [rbp + 0x40], rcx
mov qword [rbp + 0x48], rdx
mov qword [rbp + 0x58], 0
nop
mov rcx, qword [rbp + 0x40]
mov rdx, qword [rbp + 0x48]
lea r8, [rbp + 0x60]
mov r9d, 0x400
call fcn.00482740
mov ebx, eax
mov rax, qword [0x010803d0]
cmp byte [rax], 0
je 0x482a6f
mov rcx, qword [0x01080420]
call fcn.0045e490
call fcn.0045b920
mov ecx, 1
xor edx, edx
lea r8, [rbp + 0x60]
mov r9d, ebx
mov qword [rsp + 0x20], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
call fcn.00766568
mov esi, eax
lea rcx, [rbp + 0x58]
mov rdx, qword [0x00785aa0]
mov r8d, 1
movsxd r9, esi
call fcn.00467900
mov ecx, 1
xor edx, edx
lea r8, [rbp + 0x60]
mov r9d, ebx
mov rax, qword [rbp + 0x58]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
call fcn.00766568
mov ecx, 0xfffffff4
call fcn.00766258
mov rcx, rax
mov rdx, qword [rbp + 0x58]
mov r8d, esi
lea r9, [rbp + 0x54]
mov qword [rsp + 0x20], 0
call fcn.00766570
mov ecx, 0xfffffff4
call fcn.00766258
mov rcx, rax
lea rdx, [0x00482afc]
mov r8d, 2
lea r9, [rbp + 0x54]
mov qword [rsp + 0x20], 0
call fcn.00766570
jmp 0x482ab2
mov rcx, qword [0x010833b8]
call fcn.00468340
mov rcx, rax
mov rax, qword [0x010809b0]
mov edx, dword [rax + 8]
lea r8, [rbp + 0x860]
mov r9d, 0x40
call fcn.00766ef0
xor ecx, ecx
lea rdx, [rbp + 0x60]
lea r8, [rbp + 0x860]
mov r9d, 0x2010
call fcn.00766f20
nop
lea rcx, [rbp + 0x58]
mov rdx, qword [0x00785aa0]
call fcn.00467ad0
lea rsp, [rbp + 0x8e0]
pop rbx
pop rsi
pop rbp
ret
Function at 0x484ad0
Capabilities:
Check os version
Query or enumerate registry value

Disassembly:
push rbp
sub rsp, 0x160
mov rbp, rsp
mov qword [rbp + 0x38], rbp
mov dword [rbp + 0x44], 0x114
lea rcx, [rbp + 0x44]
call fcn.007662e0
test eax, eax
je 0x484b12
mov eax, dword [rbp + 0x54]
mov dword [0x0108b518], eax
lea rcx, [0x0108b520]
lea rdx, [rbp + 0x58]
mov r8d, 0x80
call fcn.00464550
lea rcx, [0x0108b528]
call fcn.004629a0
mov dword [0x0108b530], 0
mov qword [rbp + 0x158], 0
cmp dword [0x0108b2b4], 0xa
jl 0x484cd6
mov rcx, 0xffffffff80000002
lea rdx, [0x00484d0c]
xor r8, r8
mov r9d, 0x20019
lea rax, [rbp + 0x158]
mov qword [rsp + 0x20], rax
call fcn.00765f78
test eax, eax
jne 0x484cd6
nop
mov rcx, qword [rbp + 0x158]
lea rdx, [0x00484d66]
xor r8, r8
xor r9, r9
mov qword [rsp + 0x20], 0
lea rax, [rbp + 0x40]
mov qword [rsp + 0x28], rax
call fcn.00765f88
test eax, eax
jne 0x484bfe
cmp dword [rbp + 0x40], 2
jle 0x484bfe
lea rcx, [0x0108b528]
mov edx, dword [rbp + 0x40]
sub edx, 2
shr edx, 0x1f
mov eax, dword [rbp + 0x40]
sub eax, 2
add edx, eax
sar edx, 1
call fcn.004646e0
mov rcx, qword [0x0108b528]
call fcn.00464460
mov rcx, qword [rbp + 0x158]
lea rdx, [0x00484d66]
xor r8, r8
xor r9, r9
mov qword [rsp + 0x20], rax
lea rax, [rbp + 0x40]
mov qword [rsp + 0x28], rax
call fcn.00765f88
jmp 0x484c86
mov rcx, qword [rbp + 0x158]
lea rdx, [0x00484d84]
xor r8, r8
xor r9, r9
mov qword [rsp + 0x20], 0
lea rax, [rbp + 0x40]
mov qword [rsp + 0x28], rax
call fcn.00765f88
test eax, eax
jne 0x484c86
cmp dword [rbp + 0x40], 2
jle 0x484c86
lea rcx, [0x0108b528]
mov edx, dword [rbp + 0x40]
sub edx, 2
shr edx, 0x1f
mov eax, dword [rbp + 0x40]
sub eax, 2
add edx, eax
sar edx, 1
call fcn.004646e0
mov rcx, qword [0x0108b528]
call fcn.00464460
mov rcx, qword [rbp + 0x158]
lea rdx, [0x00484d84]
xor r8, r8
xor r9, r9
mov qword [rsp + 0x20], rax
lea rax, [rbp + 0x40]
mov qword [rsp + 0x28], rax
call fcn.00765f88
mov dword [rbp + 0x40], 4
mov rcx, qword [rbp + 0x158]
lea rdx, [0x00484d98]
xor r8, r8
xor r9, r9
lea rax, [0x0108b530]
mov qword [rsp + 0x20], rax
lea rax, [rbp + 0x40]
mov qword [rsp + 0x28], rax
call fcn.00765f88
test eax, eax
je 0x484cc9
mov dword [0x0108b530], 0
nop
mov rcx, qword [rbp + 0x158]
call fcn.00765f28
mov byte [0x009736a0], 1
lea rsp, [rbp + 0x160]
pop rbp
ret
Function at 0x484e80
Capabilities:
Get file version info

Disassembly:
push rbp
sub rsp, 0x60
mov rbp, rsp
mov qword [rbp + 0x48], 0
mov qword [rbp + 0x28], rbp
mov qword [rbp + 0x70], rcx
nop
mov dword [rbp + 0x54], 0xffffffff
lea rcx, [rbp + 0x48]
mov rdx, qword [rbp + 0x70]
call fcn.004630c0
lea rcx, [rbp + 0x48]
call fcn.00463350
mov rcx, qword [rbp + 0x48]
call fcn.00464460
mov rcx, rax
lea rdx, [rbp + 0x40]
call fcn.007665b0
mov dword [rbp + 0x44], eax
cmp dword [rbp + 0x44], 0
je 0x484f31
mov ecx, dword [rbp + 0x44]
call fcn.0045b4e0
mov qword [rbp + 0x58], rax
nop
mov rcx, qword [rbp + 0x48]
call fcn.00464460
mov rcx, rax
mov edx, dword [rbp + 0x40]
mov r8d, dword [rbp + 0x44]
mov r9, qword [rbp + 0x58]
call fcn.007665b8
test eax, eax
je 0x484f27
mov rcx, qword [rbp + 0x58]
lea rdx, [0x00484f88]
lea r8, [rbp + 0x38]
lea r9, [rbp + 0x34]
call fcn.007665c0
test eax, eax
je 0x484f27
mov rax, qword [rbp + 0x38]
mov eax, dword [rax + 8]
mov dword [rbp + 0x54], eax
nop
mov rcx, qword [rbp + 0x58]
call fcn.0045b510
nop
lea rcx, [rbp + 0x48]
call fcn.004629a0
mov eax, dword [rbp + 0x54]
lea rsp, [rbp + 0x60]
pop rbp
ret

Function at 0x4862b0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r13
push rdi
push rsi
push rbx
sub rsp, 0x240
mov rbp, rsp
mov rbx, rcx
mov rcx, rbx
call fcn.00463230
mov r13d, eax
mov ecx, 0xfde9
xor edx, edx
mov r8, rbx
mov r9d, r13d
mov qword [rsp + 0x20], 0
mov dword [rsp + 0x28], 0
call fcn.0046b840
mov esi, eax
cmp esi, 0x104
jbe 0x48630b
mov ecx, esi
add ecx, ecx
mov ecx, ecx
call fcn.0045b4e0
mov rdi, rax
jmp 0x48630f
lea rdi, [rbp + 0x38]
mov ecx, 0xfde9
xor edx, edx
mov r8, rbx
mov r9d, r13d
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], esi
call fcn.0046b840
mov rcx, rdi
call fcn.00766b40
xor ebx, ebx
xor ecx, ecx
mov edx, esi
sub edx, 1
mov eax, ecx
cmp eax, edx
jg 0x486365
sub edx, ecx
add edx, 1
mov ecx, ebx
shl ecx, 5
shr ebx, 0x1b
or ecx, ebx
mov ebx, ecx
movsxd rcx, eax
movzx ecx, word [rdi + rcx*2]
xor ebx, ecx
add eax, 1
sub edx, 1
test edx, edx
jne 0x486346
nop
lea rax, [rbp + 0x38]
cmp rdi, rax
je 0x486377
mov rcx, rdi
call fcn.0045b510
mov eax, ebx
lea rsp, [rbp + 0x240]
pop rbx
pop rsi
pop rdi
pop r13
pop rbp
ret

Function at 0x487a50
Capabilities:
Query environment variable

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x828
mov rbp, rsp
mov rbx, rcx
mov rsi, rdx
mov rcx, rbx
call fcn.004629a0
mov rcx, rsi
call fcn.00464460
mov rdi, rax
mov rcx, rdi
lea rdx, [rbp + 0x20]
mov r8d, 0x400
call fcn.00766198
mov esi, eax
cmp esi, 0x400
jge 0x487aa4
mov rcx, rbx
lea rdx, [rbp + 0x20]
mov r8d, esi
call fcn.00462ca0
jmp 0x487ac7
mov rcx, rbx
mov edx, esi
sub edx, 1
call fcn.004646e0
mov rcx, qword [rbx]
call fcn.00464460
mov rcx, rdi
mov rdx, rax
mov r8d, esi
call fcn.00766198
mov rax, rbx
lea rsp, [rbp + 0x828]
pop rbx
pop rsi
pop rdi
pop rbp
ret
jmp 0x487a50

Function at 0x49ffb0
Capabilities:
Encode data using xor

Disassembly:
mov al, 0xb5
mov r8, rcx
xor edx, edx
mov ecx, edx
and ecx, 0x3f
mov r9, r8
shr r9, cl
and r9b, 0xff
xor al, r9b
add edx, 1
cmp edx, 8
jne 0x49ffb7
nop
ret
Function at 0x4a4060
Capabilities:
Encode data using xor

Disassembly:
mov eax, r8d
mov edx, edx
lea rdx, [rcx + rdx]
cmp rcx, rdx
jae 0x4a4084
movzx r8, byte [rcx]
xor eax, r8d
imul eax, eax, 0x1000193
add rcx, 1
cmp rcx, rdx
jb 0x4a406e
nop
ret

Function at 0x4ab050
Capabilities:
Get system information on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x68
mov rbp, rsp
mov qword [rbp + 0x28], rbp
mov qword [rbp + 0x80], rcx
mov byte [rbp + 0x88], dl
cmp byte [rbp + 0x88], 0
je 0x4ab08e
mov rcx, qword [rbp + 0x80]
movzx rdx, byte [rbp + 0x88]
call fcn.004602a0
mov qword [rbp + 0x80], rax
nop
mov rcx, qword [0x00797590]
mov dl, 1
call fcn.004c61d0
mov rcx, qword [rbp + 0x80]
mov qword [rcx + 8], rax
mov rcx, qword [0x0079e2b0]
mov dl, 1
call fcn.004caf70
mov rcx, qword [rbp + 0x80]
mov qword [rcx + 0x10], rax
mov rcx, qword [0x0079e2b0]
mov dl, 1
call fcn.004caf70
mov rcx, qword [rbp + 0x80]
mov qword [rcx + 0x18], rax
lea rcx, [rbp + 0x30]
call fcn.00766280
mov rax, qword [rbp + 0x80]
mov ecx, dword [rbp + 0x34]
mov dword [rax + 0x20], ecx
cmp byte [rbp + 0x88], 0
je 0x4ab14b
mov rcx, qword [rbp + 0x80]
call fcn.004602e0
mov qword [rbp + 0x80], rax
jmp 0x4ab14b
mov rax, qword [rbp + 0x80]
lea rsp, [rbp + 0x68]
pop rbx
pop rbp
ret

Function at 0x4ee0f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov rbp, rsp
mov rbx, rcx
mov rsi, rdx
mov qword [rbp + 0x60], r8
movzx rax, byte [rbp + 0x70]
mov byte [rbp + 0x70], al
mov rcx, rsi
mov rdx, qword [rbp + 0x60]
mov r8, r9
call fcn.007660f8
mov qword [rbx + 0x20], rax
cmp qword [rbx + 0x20], 0
jne 0x4ee12f
mov rcx, rbp
call fcn.004ee010
mov rcx, rsi
mov rdx, qword [rbx + 0x20]
call fcn.00766398
mov qword [rbx + 0x28], rax
cmp qword [rbx + 0x28], 0
jne 0x4ee14e
mov rcx, rbp
call fcn.004ee010
mov rcx, qword [rbx + 0x28]
call fcn.007663c0
mov rdi, rax
mov rcx, rsi
mov rdx, qword [rbx + 0x20]
call fcn.007664b8
mov rcx, rbx
mov rdx, rdi
mov r8d, eax
call fcn.004ed110
lea rsp, [rbp + 0x28]
pop rbx
pop rsi
pop rdi
pop rbp
ret

Function at 0x4f9d90
Capabilities:
Resume thread

Disassembly:
sub rsp, 0x28
movzx rax, byte [rcx + 0x19]
or al, dl
test al, al
je 0x4f9de0
cmp byte [rcx + 0x1d], 0
jne 0x4f9de0
cmp byte [rcx + 0x40], 0
jne 0x4f9de0
mov byte [rcx + 0x1b], 0
mov byte [rcx + 0x19], 0
mov rcx, qword [rcx + 0x10]
call fcn.00766450
cmp eax, 1
je 0x4f9dfd
mov rcx, qword [0x007c5ad0]
mov dl, 1
mov r8, qword [0x01081160]
call fcn.00482da0
mov rcx, rax
call fcn.00461d70
jmp 0x4f9dfd
mov rcx, qword [0x007c5ad0]
mov dl, 1
mov r8, qword [0x01081160]
call fcn.00482da0
mov rcx, rax
call fcn.00461d70
add rsp, 0x28
ret

Function at 0x4faaf0
Capabilities:
Suspend thread

Disassembly:
push rbp
sub rsp, 0x40
mov rbp, rsp
mov qword [rbp + 0x28], rbp
mov qword [rbp + 0x50], rcx
mov rax, qword [rbp + 0x50]
movzx rax, byte [rax + 0x1b]
mov byte [rbp + 0x3f], al
nop
mov rax, qword [rbp + 0x50]
mov byte [rax + 0x1b], 1
mov rax, qword [rbp + 0x50]
mov rcx, qword [rax + 0x10]
call fcn.007664c8
mov rcx, qword [rbp + 0x50]
test eax, eax
setge dl
call fcn.004f9c10
jmp 0x4fab4b
lea rsp, [rbp + 0x40]
pop rbp
ret
Function at 0x4fab70
Capabilities:
Resume thread

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rbx, rcx
mov rcx, qword [rbx + 0x10]
call fcn.00766450
mov esi, eax
mov rcx, rbx
test esi, esi
setge dl
call fcn.004f9c10
cmp esi, 1
jne 0x4fab9a
mov byte [rbx + 0x1b], 0
add rsp, 0x28
pop rbx
pop rsi
ret

Function at 0x4fe630
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov qword [rsp + 0x40], rcx
cmp qword [0x01091498], 0
jne 0x4fe6d2
xor ecx, ecx
mov edx, 0x1000
mov r8d, 0x1000
mov r9d, 0x40
call fcn.00766530
mov rbx, rax
mov rax, qword [0x01091490]
mov qword [rbx], rax
lea rcx, [0x00975f80]
lea rdx, [rbx + 8]
mov r8d, 8
call fcn.0045b9a0
lea rax, [0x004fe5f0]
mov qword [rbx + 0x10], rax
lea rsi, [rbx + 0x18]
mov byte [rsi], 0xe8
mov rcx, rsi
lea rdx, [rbx + 8]
call fcn.004fe620
mov dword [rsi + 1], eax
mov rax, qword [0x01091498]
mov qword [rsi + 5], rax
mov qword [0x01091498], rsi
add rsi, 0x15
mov rax, rsi
sub rax, rbx
cmp rax, 0xfed
jl 0x4fe694
mov qword [0x01091490], rbx
mov rax, qword [0x01091498]
mov rsi, qword [0x01091498]
mov rcx, qword [rsi + 5]
mov qword [0x01091498], rcx
mov rcx, qword [rsp + 0x40]
lea rdi, [rsi + 5]
mov rsi, rcx
movsq qword [rdi], qword [rsi]
movsq qword [rdi], qword [rsi]
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret