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

Disassembly:
mov edx, dword [rcx]
test edx, edx
jne 0x140006148
mov dword [rcx + 4], 2
lea rax, [rcx + 4]
cmp edx, 3
jne 0x140006171
mov dword [rax], 4
cmp edx, 0x22
jne 0x14000617c
mov dword [rax], 0x4a
ret
cmp edx, 1
jne 0x140006152
mov dword [rcx + 4], edx
jmp 0x14000612d
cmp edx, 2
jne 0x14000612d
lea rax, [rcx + 4]
mov dword [rax], 3
cmp edx, 0x17
jne 0x140006314
mov dword [rax], 0x38
ret
cmp edx, 4
jne 0x140006188
mov dword [rax], 5
cmp edx, 0x23
jne 0x140006193
mov dword [rax], 0x4b
ret
cmp edx, 5
jne 0x14000619f
mov dword [rax], 6
cmp edx, 0x24
jne 0x1400061aa
mov dword [rax], 0x4c
ret
cmp edx, 6
jne 0x1400061b6
mov dword [rax], 8
cmp edx, 0x25
jne 0x1400061c1
mov dword [rax], 0x4d
ret
cmp edx, 7
jne 0x1400061cd
mov dword [rax], 9
cmp edx, 0x26
jne 0x1400061d8
mov dword [rax], 0x4e
ret
cmp edx, 8
jne 0x1400061e4
mov dword [rax], 0xc
cmp edx, 0x27
jne 0x1400061ef
mov dword [rax], 0x4f
ret
cmp edx, 9
jne 0x1400061fb
mov dword [rax], 0xd
cmp edx, 0x28
jne 0x140006206
mov dword [rax], 0x50
ret
cmp edx, 0xa
jne 0x140006212
mov dword [rax], 0x10
cmp edx, 0x29
jne 0x14000621d
mov dword [rax], 0x51
ret
cmp edx, 0xb
jne 0x140006229
mov dword [rax], 0x11
cmp edx, 0x2a
jne 0x140006234
mov dword [rax], 0x52
ret
cmp edx, 0xc
jne 0x140006240
mov dword [rax], 0x12
cmp edx, 0x2b
jne 0x14000624b
mov dword [rax], 0x53
ret
cmp edx, 0xd
jne 0x140006257
mov dword [rax], 0x13
cmp edx, 0x2c
jne 0x140006262
mov dword [rax], 0x54
ret
cmp edx, 0xe
jne 0x14000626e
mov dword [rax], 0x14
cmp edx, 0x2d
jne 0x140006279
mov dword [rax], 0x55
ret
cmp edx, 0xf
jne 0x140006285
mov dword [rax], 0x30
cmp edx, 0x2e
jne 0x140006290
mov dword [rax], 0x56
ret
cmp edx, 0x10
jne 0x14000629c
mov dword [rax], 0x31
cmp edx, 0x2f
jne 0x1400062a7
mov dword [rax], 0x57
ret
cmp edx, 0x11
jne 0x1400062b3
mov dword [rax], 0x32
cmp edx, 0x30
jne 0x1400062be
mov dword [rax], 0x58
ret
cmp edx, 0x12
jne 0x1400062ca
mov dword [rax], 0x33
cmp edx, 0x31
jne 0x1400062d5
mov dword [rax], 0x59
ret
cmp edx, 0x13
jne 0x1400062e1
mov dword [rax], 0x34
cmp edx, 0x32
jne 0x1400062ec
mov dword [rax], 0x5a
ret
cmp edx, 0x14
jne 0x1400062f8
mov dword [rax], 0x35
cmp edx, 0x33
jne 0x1400062f7
mov dword [rax], 0x18
ret
cmp edx, 0x15
jne 0x140006304
mov dword [rax], 0x36
ret
cmp edx, 0x16
jne 0x140006161
mov dword [rax], 0x37
ret
cmp edx, 0x18
jne 0x140006320
mov dword [rax], 0x39
ret
cmp edx, 0x19
jne 0x14000632c
mov dword [rax], 0x41
ret
cmp edx, 0x1a
jne 0x140006338
mov dword [rax], 0x42
ret
cmp edx, 0x1b
jne 0x140006344
mov dword [rax], 0x43
ret
cmp edx, 0x1c
jne 0x140006350
mov dword [rax], 0x44
ret
cmp edx, 0x1d
jne 0x14000635c
mov dword [rax], 0x45
ret
cmp edx, 0x1e
jne 0x140006368
mov dword [rax], 0x46
ret
cmp edx, 0x1f
jne 0x140006374
mov dword [rax], 0x47
ret
cmp edx, 0x20
jne 0x140006380
mov dword [rax], 0x48
ret
cmp edx, 0x21
jne 0x14000613c
mov dword [rax], 0x49
ret
Function at 0x14000d330
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x14000d38d
lea rbx, [0x140098f60]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x14000d374
cmp r10, 2
jb 0x14000d374
cmp byte [r9], r8b
jne 0x14000d374
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x14000d350
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14000d3cf
lea rbx, [0x140098f60]
cmp r8b, 0x23
jne 0x14000d3b3
cmp byte [r9], r8b
jne 0x14000d3b3
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x14000d3a0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x14000d510
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x14000d52a
mov qword [r8], 0
lea rdx, [0x140098adc]
call fcn.14000d3e0
mov rbx, rax
test rax, rax
jne 0x14000d54a
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call fcn.140065564
mov esi, eax
cmp eax, 0xffffffff
je 0x14000d618
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call fcn.140065eb0
test eax, eax
jne 0x14000d618
mov rcx, rbx
call fcn.140065564
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x14000d618
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call fcn.140065eb0
test eax, eax
jne 0x14000d618
cmp rdi, 0xffffffffffffffff
je 0x14000d618
mov rax, qword [0x14019b390]
test rax, rax
je 0x14000d5ba
inc dword [rax + 0xf4]
mov rcx, rdi
call fcn.14006c400
mov rsi, rax
test rax, rax
je 0x14000d618
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call fcn.140066d94
mov rcx, rbx
cmp rax, rdi
je 0x14000d606
call fcn.140065b10
mov rax, qword [0x14019b390]
test rax, rax
je 0x14000d5fc
dec dword [rax + 0xf4]
mov rcx, rsi
call fcn.140064f28
jmp 0x14000d620
call fcn.140065b10
test r14, r14
je 0x14000d613
mov qword [r14], rdi
mov rax, rsi
jmp 0x14000d622
mov rcx, rbx
call fcn.140065b10
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x140010c20
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xe8]
mov rax, qword [rcx + 0xf0]
movsxd r9, edx
mov ebx, dword [rax + r8*4 - 4]
lea r8, [0x140098f60]
not ebx
movzx eax, r9b
movzx ecx, bl
xor rcx, rax
shr ebx, 8
mov eax, r9d
shr eax, 8
movzx edx, al
mov eax, r9d
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r9d
shr rdx, 0x18
xor rdx, rcx
mov rcx, qword [0x14019b390]
xor ebx, dword [r8 + rdx*4]
not ebx
cmp dword [rcx + 0x3ee8], ebx
jne 0x140010cb6
mov r8, r9
mov edx, 4
mov ecx, ebx
call fcn.140024550
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x140010cc0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
mov rax, qword [rcx + 0xf0]
lea r9, [0x140098f60]
movss xmm2, dword [rcx + 0x108]
movss xmm3, dword [rcx + 0x10c]
movsxd rcx, dword [rcx + 0xe8]
movss xmm0, dword [rdx]
movss xmm1, dword [rdx + 4]
subss xmm0, xmm2
subss xmm1, xmm3
mov r8d, dword [rax + rcx*4 - 4]
not r8d
movzx ecx, r8b
shr r8d, 8
movss dword [rsp], xmm0
movzx eax, byte [rsp]
xor rcx, rax
movss xmm0, dword [rdx + 8]
movzx eax, byte [rsp + 1]
subss xmm0, xmm2
movss dword [rsp + 4], xmm1
movss xmm1, dword [rdx + 0xc]
xor r8d, dword [r9 + rcx*4]
subss xmm1, xmm3
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 2]
movss dword [rsp + 8], xmm0
movss dword [rsp + 0xc], xmm1
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 3]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 4]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 5]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 6]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 7]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 8]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 9]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xa]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xb]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xc]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xd]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xe]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
xor r8d, dword [r9 + rcx*4]
movzx ecx, byte [rsp + 0xf]
movzx edx, r8b
shr r8d, 8
xor rdx, rcx
xor r8d, dword [r9 + rdx*4]
not r8d
mov eax, r8d
add rsp, 0x18
ret
Function at 0x14001d7b0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1400af020]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x14019b390]
mov edi, ecx
cmp byte [rbx + 0x4a2d], 0
jne 0x14001d811
cmp byte [rbx + 0x4a2e], 0
jne 0x14001d811
movsx r9d, word [rbx + 0x5b32]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.14000d1f0
test dil, 1
je 0x14001d938
jmp 0x14001d89a
movss xmm1, dword [rbx + 0x3898]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5b32]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x14009e4b4]
mulss xmm1, dword [0x14009e494]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0xdfc]
addss xmm1, dword [rbx + 0xe00]
mov qword [rbx + 0x4790], rax
mov dword [rbx + 0x477c], 1
movss dword [rbx + 0x4788], xmm0
movss dword [rbx + 0x478c], xmm1
movss xmm0, dword [rbx + 0x38f4]
mulss xmm0, dword [0x14009e3c0]
or dword [rbx + 0x4778], 0x41
movss dword [rbx + 0x47d8], xmm0
call fcn.14000d1f0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x14001d8f0
lea r11, [0x140098f60]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x14001d8d3
cmp byte [r8], r9b
jne 0x14001d8d3
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x14001d8c0
not ecx
call fcn.140014a50
test rax, rax
je 0x14001d938
cmp byte [rax + 0xae], 0
je 0x14001d938
mov byte [rax + 0xb5], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xd0], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x5b32]
mov edx, 0x10
movsx r9d, word [rbx + 0x5b32]
call fcn.14000d1f0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.1400171a0
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14005aac0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x140023420
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x14019b390]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x140023483
mov qword [rsp], rbx
lea rbx, [0x140098f60]
nop dword [rax]
cmp r9b, 0x23
jne 0x140023463
cmp byte [r8], r9b
jne 0x140023463
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 [rbx + rdx*4]
test r9b, r9b
jne 0x140023450
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5b90]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x1400234b7
mov r10, qword [r10 + 0x5b98]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x1400234be
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x1400234a4
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret
Function at 0x14005833c
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
mov rdi, rcx
test r8, r8
jg 0x14005836a
xor eax, eax
jmp 0x140058450
cmp qword [rcx + 0x68], 0
je 0x14005837b
call fcn.140055ad0
jmp 0x140058450
mov rax, qword [rcx + 0x38]
mov rsi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x140058392
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140058394
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1400583c6
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call fcn.14005ce30
mov rax, qword [rdi + 0x50]
add r14, rbx
sub rsi, rbx
sub dword [rax], ebx
mov rcx, qword [rdi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rdi + 0x80], 0
je 0x14005844a
mov r8, qword [rdi + 0x18]
lea rax, [rdi + 0x70]
cmp qword [r8], rax
jne 0x1400583fd
mov rcx, qword [rdi + 0x88]
mov rdx, qword [rdi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rdi + 0x38]
mov qword [rax], rcx
mov rax, qword [rdi + 0x50]
mov dword [rax], edx
mov ebx, 0xfff
jmp 0x140058426
mov r9, qword [rdi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call fcn.140066d94
add r14, rax
sub rsi, rax
cmp rax, rbx
jne 0x14005844a
cmp rsi, rbx
ja 0x140058404
test rsi, rsi
je 0x14005844a
mov r9, qword [rdi + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.140066d94
sub rsi, rax
sub rbp, rsi
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x14005b984
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14005b9ce
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14005b9ce
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14005b9ce
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14005b9ce
cmp dword [rcx + 0x84], 0xe
jbe 0x14005b9ce
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14005b9d0
xor al, al
add rsp, 0x28
ret
Function at 0x1400652e4
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.14005b620
sub rsp, rax
mov rax, qword [0x1400af020]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.140074958
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x140065333
mov rax, rbp
jmp 0x14006543b
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x19ac30]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.140075d5c
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x19ac30]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x140065437
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140065437
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.140075d5c
test rax, rax
js 0x140065437
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x140065437
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x140065429
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x140065429
cmp byte [rcx], 0xd
jne 0x14006540f
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x14006541e
cmp byte [rcx + 1], 0xa
jne 0x14006541e
inc rcx
jmp 0x14006541e
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0xaf410]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x1400653f1
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x14006543b
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.14005aac0
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x14006cf5c
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, edx
mov rbp, rcx
test r8, r8
jne 0x14006cf93
call fcn.14006d118
mov dword [rax], 0x16
call fcn.1400617a4
xor eax, eax
jmp 0x14006d021
mov rdx, r9
mov rcx, r8
call fcn.14006cef8
mov rbx, rax
test rax, rax
je 0x14006d01e
lea rax, [rsp + 0x50]
mov rdx, rsi
mov qword [rsp + 0x28], rax
lea r8, [0x14006ce24]
mov eax, dword [rsp + 0x60]
mov r9, rbx
mov rcx, rbp
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x14006d00b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14006d08c
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x14006cff2
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x14006d001
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.1400734e4
jmp 0x14006d01e
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14006d01b
mov eax, dword [rsp + 0x50]
mov dword [rcx], eax
mov rdi, rdx
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x14006f9e4
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14006f7e0

Function at 0x140075e08
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x14019ac30]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x140075e5f
cmp word [rdx], r13w
jne 0x140075e5f
or byte [rax + rdi*8 + 0x38], cl
jmp 0x140075e64
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x140075f89
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x140075faa
lea r9, [rdx + 2]
cmp cx, r11w
je 0x140075e9d
mov rdx, r9
mov word [rbx], cx
jmp 0x140075ec4
cmp r9, r8
jae 0x140075ed4
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x140075e7e
jmp 0x140075f89
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140075f7e
cmp dword [rsp + 0x80], esi
je 0x140075f7e
lea r8, [0x14019ac30]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x140075f56
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x140075f26
mov word [rbx], r13w
jmp 0x140075f86
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x140075f33
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x140075f86
cmp word [rsp + 0x70], r13w
jne 0x140075f63
cmp rbx, r14
je 0x140075f20
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.140075d64
cmp word [rsp + 0x70], r13w
je 0x140075f89
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x14019ac30]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x140075f83
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x140075f89
Function at 0x140077be0
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x140077bf6
mov al, 1
jmp 0x140077c56
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x140077c07
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x140077c54
mov ecx, dword [rcx + 0x18]
nop
call fcn.14007c98c
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140077c54
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x140077c54
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x140077c54
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x140077c56
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x14007bc78
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x14007bca8
xor eax, eax
jmp 0x14007bd6b
mov rbp, rbx
cmp word [rax], si
je 0x14007bccd
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14007bcb4
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14007bcb0
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.14007a574
movsxd r14, eax
test eax, eax
jne 0x14007bd0b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14007bca1
mov rcx, r14
call fcn.140073520
mov rdi, rax
test rax, rax
jne 0x14007bd24
xor ecx, ecx
call fcn.1400734e4
jmp 0x14007bd00
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.14007a574
test eax, eax
jne 0x14007bd55
mov rcx, rdi
call fcn.1400734e4
jmp 0x14007bd5f
xor ecx, ecx
call fcn.1400734e4
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x14007eee0
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.140073184
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x14007ef81
cmp ebx, dword [rsp + 0x30]
je 0x14007ef7a
test esi, esi
je 0x14007ef7a
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x14007ef55
sub r8w, 0x61
cmp r8w, 0x19
ja 0x14007ef62
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x14007ef3f
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x14007ef66
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x14007ef83
mov eax, 1
jmp 0x14007ef83
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140082794
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.140064cd0
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14008281e
cmp byte [rbp - 0x21], r15b
je 0x140082819
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x140082854
call fcn.1400750f8
test eax, eax
jne 0x140082840
cmp byte [rbp - 0x21], r15b
je 0x140082838
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x140082854
cmp byte [rbp - 0x21], r15b
je 0x140082851
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.14006f214
test eax, eax
jne 0x1400828f4
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140064cd0
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x140082893
cmp byte [rbp - 0x21], r15b
je 0x1400828c8
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1400828c8
call fcn.1400750f8
test eax, eax
jne 0x1400828b4
cmp byte [rbp - 0x21], r15b
je 0x1400828ad
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1400828c8
cmp byte [rbp - 0x21], r15b
je 0x1400828c5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.14006f214
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1400828f4
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1400828f7
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x140082905
mov rcx, rdi
call fcn.1400734e4
cmp byte [rbp + 0x3f], r15b
je 0x140082914
mov rcx, qword [rbp + 0x27]
call fcn.1400734e4
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret