joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1402496bc
Capabilities:
Clear file content

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 r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.140231990
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.140231990
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x14024980c
cmp rax, 0xffffffffffffffff
je 0x14024980c
xor edi, edi
test rbp, rbp
jle 0x1402497b7
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14023e400
mov rbx, rax
test rax, rax
jne 0x140249744
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x1402497ad
mov edx, 0x8000
mov ecx, r14d
call fcn.14023ab24
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.1402371ac
cmp eax, 0xffffffff
je 0x14024978d
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140249754
mov edx, r15d
mov ecx, r14d
call fcn.14023ab24
jmp 0x1402497ad
cmp byte [rsi + 0x38], dil
je 0x1402497a4
cmp dword [rsi + 0x34], 5
jne 0x1402497a4
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x1402497ad
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14023c69c
jmp 0x140249820
jns 0x140249820
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.140231990
cmp rax, 0xffffffffffffffff
jne 0x1402497d8
cmp byte [rsi + 0x30], dil
je 0x140249820
mov edi, dword [rsi + 0x2c]
jmp 0x140249820
mov ecx, r14d
call fcn.140237ac4
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140249820
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x140249820
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140249819
mov eax, dword [rsi + 0x2c]
jmp 0x14024981e
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.140231990
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x14024a47c
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.14022d3cc
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14024a506
cmp byte [rbp - 0x21], r15b
je 0x14024a501
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14024a53c
call fcn.14023f570
test eax, eax
jne 0x14024a528
cmp byte [rbp - 0x21], r15b
je 0x14024a520
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14024a53c
cmp byte [rbp - 0x21], r15b
je 0x14024a539
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.14022e378
test eax, eax
jne 0x14024a5dc
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14022d3cc
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14024a57b
cmp byte [rbp - 0x21], r15b
je 0x14024a5b0
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14024a5b0
call fcn.14023f570
test eax, eax
jne 0x14024a59c
cmp byte [rbp - 0x21], r15b
je 0x14024a595
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x14024a5b0
cmp byte [rbp - 0x21], r15b
je 0x14024a5ad
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.14022e378
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14024a5dc
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14024a5df
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14024a5ed
mov rcx, rdi
call fcn.14023c69c
cmp byte [rbp + 0x3f], r15b
je 0x14024a5fc
mov rcx, qword [rbp + 0x27]
call fcn.14023c69c
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
Function at 0x14024b9c0
Capabilities:
Accept command line arguments

Disassembly:
sub rsp, 0x88
call fcn.140231b94
mov ecx, dword [rax]
mov dword [rsp + 0x90], ecx
call fcn.140231b9c
mov rdx, qword [rax]
test rdx, rdx
je 0x14024b7f6
mov ecx, dword [rsp + 0x90]
call fcn.14002b240
add rsp, 0x88
ret
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x48], r15
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
lea rdx, [rsp + 0x90]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov qword [rsp + 0xa8], rax
mov rdi, rax
test rax, rax
jne 0x14024b83d
mov r15, qword [rsp + 0x48]
lea rax, [rdi - 1]
mov rdi, qword [rsp + 0x68]
add rsp, 0x88
ret
mov eax, dword [rsp + 0x90]
mov r15, 0xffffffffffffffff
inc eax
mov qword [rsp + 0x80], rbx
movsxd rcx, eax
mov eax, 8
mul rcx
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x50], r14
cmovo rax, r15
mov rcx, rax
call fcn.140220114
mov r14, rax
mov qword [rsp + 0xa0], rax
mov eax, dword [rsp + 0x90]
xor ebx, ebx
test eax, eax
je 0x14024b93f
mov qword [rsp + 0x78], rbp
mov qword [rsp + 0x60], r12
mov r12, r14
mov qword [rsp + 0x58], r13
mov r13, rdi
sub r13, r14
mov r14d, ebx
nop dword [rax]
mov rbp, qword [r12 + r13]
mov r9d, r15d
mov qword [rsp + 0x38], rbx
mov r8, rbp
mov qword [rsp + 0x30], rbx
xor edx, edx
mov dword [rsp + 0x28], ebx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd rdi, eax
mov rcx, rdi
call fcn.140220114
mov qword [rsp + 0x38], rbx
mov r9d, r15d
mov qword [rsp + 0x30], rbx
mov r8, rbp
mov dword [rsp + 0x28], edi
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rax
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov qword [r12], rsi
lea r12, [r12 + 8]
mov eax, dword [rsp + 0x90]
inc r14d
cmp r14d, eax
jne 0x14024b8b0
mov r13, qword [rsp + 0x58]
mov r12, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x78]
mov r14, qword [rsp + 0xa0]
mov rdi, qword [rsp + 0xa8]
cdqe
mov rcx, rdi
mov qword [r14 + rax*8], rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [rsp + 0x90]
mov rdx, r14
call fcn.14002b240
mov esi, eax
cmp dword [rsp + 0x90], ebx
je 0x14024b98c
mov rdi, r14
nop dword [rax + rax]
mov rcx, qword [rdi]
test rcx, rcx
je 0x14024b98c
call fcn.1402200d0
inc ebx
add rdi, 8
cmp ebx, dword [rsp + 0x90]
jne 0x14024b970
mov rcx, r14
call fcn.1402200d0
mov r14, qword [rsp + 0x50]
mov eax, esi
mov rsi, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x80]
mov rdi, qword [rsp + 0x68]
mov r15, qword [rsp + 0x48]
add rsp, 0x88
ret
jmp 0x14024b7c0

Function at 0x14024baf0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14024bb18
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14024bb18
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x180011550
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
lea r14d, [rcx - 6]
movaps xmmword [rsp + 0x30], xmm6
mov r15, rdx
mov esi, ecx
cmp ecx, r14d
jbe case.0x1800115a6.4
mov r13, qword [rsp + 0x90]
lea ebp, [rcx - 0x12]
movss xmm6, dword [rsp + 0x80]
lea r12, [0x180000000]
cmp ebp, 7
ja case.0x1800115a6.2
mov ecx, dword [r12 + rbp*4 + 0x11740]
add rcx, r12
jmp rcx
mov qword [rsp + 0x28], 0
lea r8, [0x180011530]
mov r9, r15
mov dword [rsp + 0x20], 0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [r15], rax
test rax, rax
jne case.0x1800115a6.2
mov byte [rsp + 0x80], al
mov eax, dword [rsp + 0x80]
mov rbx, qword [rsp + 0x88]
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov r13, r15
test r15, r15
je 0x180011717
mov rbx, qword [r15 + 0x60]
mov edi, 0x7b
nop dword [rax]
mov eax, edi
sub eax, 0x14
je 0x18001168c
sub eax, 0x67
je 0x180011672
sub eax, 0x61
je 0x18001164c
cmp eax, 0x1d38
jne 0x18001169c
movss xmm0, dword [rbx]
addss xmm0, dword [rbx + 4]
movss dword [rbx + 4], xmm6
movss dword [rbx], xmm0
jmp 0x18001169c
mov rcx, rbx
call qword [0x180079a00]
mov rcx, rbx
call qword [0x1800799f0]
mov rcx, rbx
call qword [0x1800799d0]
movss xmm6, dword [rbx]
subss xmm6, dword [rbx + 4]
jmp 0x18001169c
test rbx, rbx
je 0x1800116ae
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x18001169c
xor edx, edx
mov r8d, 0x123
mov rcx, rbx
call fcn.1800165c0
add edi, 0x1056
cmp edi, 0x4158
jbe 0x180011620
mov rdx, qword [r15 + 0x70]
mov r8d, 0xab
xor ecx, ecx
call fcn.18002aec0
jmp case.0x1800115a6.2
mov r9d, 0xf2
mov dword [rsp + 0x90], 1
xor r8d, r8d
lea rcx, [rsp + 0x90]
mov rdx, r15
call fcn.180018cf0
jmp case.0x1800115a6.2
mov eax, 0x1e
nop dword [rax]
cmp eax, 0x1e
je 0x180011721
add eax, 0x19
cmp eax, 0x37
jb 0x1800116f0
mov byte [rsp + 0x80], 1
dec esi
dec ebp
cmp esi, r14d
ja 0x180011592
jmp case.0x1800115a6.4
mov eax, 0xffffffff
jmp 0x1800115e7
mov rcx, qword [r13 + 0x48]
mov edx, 0xe6
call fcn.180023140
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor eax, eax
jmp 0x1800115e7
Function at 0x180015ea0
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
push rbp
push r12
push r14
push r15
sub rsp, 0x68
lea eax, [r8 + 0x298]
mov r12, r9
mov dword [rsp + 0x20], eax
mov r14d, r8d
mov rbp, rdx
mov r15, rcx
cmp r8d, eax
jae 0x180016039
mov rcx, qword [rsp + 0xb0]
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
mov qword [r11 + 0x20], rdi
mov qword [r11 - 0x28], r13
mov r13, qword [rsp + 0x20]
movaps xmmword [rsp + 0x50], xmm6
xorps xmm6, xmm6
movaps xmmword [rsp + 0x40], xmm7
movss xmm7, dword [0x180072bfc]
movaps xmmword [r11 - 0x58], xmm8
movss xmm8, dword [0x180072a74]
nop
mov eax, r14d
sub eax, 0x14
je 0x180015fa2
sub eax, 0x44
je 0x180015f88
sub eax, 0x69
je 0x180015f4a
cmp eax, 0x3d
jne 0x180015ffa
lea edx, [rax - 0x35]
mov rcx, r13
call fcn.1800504dc
mov qword [0x180079940], 0
jmp 0x180015ff2
xor ecx, ecx
cmp qword [rbp], rcx
jbe 0x180015ff2
mov rdx, r12
mov rax, r15
sub rdx, r15
nop
movss xmm0, dword [rdx + rax]
comiss xmm0, xmm6
jbe 0x180015f70
divss xmm0, xmm7
jmp 0x180015f75
mulss xmm0, xmm8
movss dword [rax], xmm0
inc rcx
add rax, 4
cmp rcx, qword [rbp]
jb 0x180015f60
jmp 0x180015ff2
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 0x4f]
call fcn.18001d870
mov rax, qword [0x180079940]
mov r13, qword [rax + 0x48]
jmp 0x180015ff2
xor edi, edi
cmp dword [r15], edi
jle 0x180015ffa
mov rsi, rbp
mov rbx, rcx
sub rsi, rcx
nop dword [rax]
nop word [rax + rax]
mov eax, dword [rsi + rbx]
lea r9, [rsp + 0xa0]
xor eax, dword [r12]
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0xa0], eax
mov ecx, 0xe5
call fcn.1800048a0
mov dword [rbx], eax
lea rbx, [rbx + 4]
inc edi
cmp edi, dword [r15]
jl 0x180015fc0
mov rcx, qword [rsp + 0xb0]
add r14d, 0xa6
cmp r14d, dword [rsp + 0x20]
jb 0x180015f10
movaps xmm8, xmmword [rsp + 0x30]
movaps xmm7, xmmword [rsp + 0x40]
movaps xmm6, xmmword [rsp + 0x50]
mov r13, qword [rsp + 0x60]
mov rdi, qword [rsp + 0xa8]
mov rsi, qword [rsp + 0x98]
mov rbx, qword [rsp + 0x90]
add rsp, 0x68
pop r15
pop r14
pop r12
pop rbp
ret
Function at 0x18001d6d0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
imul eax, edx, 0x228
mov r15, r9
mov rbp, r8
mov r13d, edx
mov r10, rcx
mov ebx, edx
mov dword [rsp + 0x88], eax
cmp edx, eax
ja 0x18001d83f
mov r12, qword [rsp + 0xc0]
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x30]
mov r14, qword [rsp + 0x30]
xor eax, eax
cmp ebx, 0x5d5d
ja 0x18001d7b8
je 0x18001d77a
mov eax, ebx
sub eax, 0xc9
je 0x18001d76d
sub eax, 0x38
je 0x18001d761
cmp eax, 0x4804
jne 0x18001d82c
mov rdi, qword [rsp + 0xa0]
mov r14, qword [rsp + 0xb8]
jmp 0x18001d82c
mov qword [0x180079948], rbp
jmp 0x18001d82c
mov rdi, qword [rsp + 0x30]
mov rsi, rbp
jmp 0x18001d82c
mov qword [rsp + 0x28], rax
lea r8, [0x18001e140]
mov r9, rbp
mov dword [rsp + 0x20], eax
xor edx, edx
mov qword [rbp + 0x80], r12
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x18001d85f
xchg qword [0x180079950], rax
mov r10, qword [rsp + 0x80]
jmp 0x18001d82c
cmp ebx, 0x9141
je 0x18001d7cc
cmp ebx, 0xb9b9
jne 0x18001d82c
mov al, 1
jmp 0x18001d847
cmp dword [r15], 0
mov r9d, eax
jle 0x18001d82c
nop word [rax + rax]
movsx r8d, word [rsi]
inc r9d
movsx eax, word [r12]
add rsi, 2
movsx edx, word [rdi]
add rdi, 2
imul r8d, eax
mov rax, qword [rsp + 0xa8]
mov ecx, dword [rax]
movsx eax, word [r10]
imul edx, eax
mov rax, qword [rsp + 0xb0]
sar r8d, cl
mov ecx, dword [rax]
sar edx, cl
add r8w, dx
mov word [r14], r8w
add r14, 2
cmp r9d, dword [r15]
jl 0x18001d7e0
imul eax, r13d, 0x5c
add ebx, eax
cmp ebx, dword [rsp + 0x88]
jbe 0x18001d723
movzx eax, byte [rsp + 0x88]
mov rbx, qword [rsp + 0x90]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
jmp 0x18001d847
Function at 0x18001e260
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov ebx, dword [rsp + 0x68]
lea r12d, [rdx + 7]
mov r14, rcx
cmp edx, r12d
jae case.0x18001e2b7.4
mov ebp, dword [rsp + 0x68]
lea r15d, [rdx - 0x125]
lea r13, [0x180000000]
cmp r15d, 8
ja case.0x18001e2b7.5
mov ecx, dword [r13 + r15*4 + 0x1e3e4]
add rcx, r13
jmp rcx
xor r9d, r9d
xor r8d, r8d
mov rcx, r14
lea edx, [r9 + 0x7b]
call fcn.18000dcd0
test al, al
je 0x18001e3ce
mov rcx, qword [r14 + 0x28]
xor ebp, ebp
call qword [r14 + 0x20]
test al, al
je 0x18001e335
mov esi, 0xf2
mov eax, esi
sub eax, 0xf2
je 0x18001e306
cmp eax, 1
jne 0x18001e32b
mov eax, 0x10624dd3
mul ebp
mov ebp, edx
shr ebp, 6
call qword [r14 + 0x50]
jmp 0x18001e32b
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r9d, 0xc8
xor r8d, r8d
xor edx, edx
mov rcx, r14
mov edi, eax
call fcn.180014810
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebp, eax
sub ebp, edi
inc esi
cmp esi, 0xf4
jb 0x18001e2e6
mov rcx, qword [0x180079948]
mov edx, 0x49
call fcn.180040fd0
jmp case.0x18001e2b7.5
mov rdx, qword [0x180079948]
xor r9d, r9d
mov r8d, 0xce
xor ecx, ecx
call fcn.180004230
test al, al
je 0x18001e3df
jmp case.0x18001e2b7.5
mov ebx, dword [r14 + 0x18]
shr ebx, 1
jmp case.0x18001e2b7.5
mov rdx, qword [0x180079948]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 0x104
xor ecx, ecx
mov byte [rsp + 0x68], 1
call fcn.18002d790
jmp case.0x18001e2b7.5
mov ebx, ebp
inc r15d
lea eax, [r15 + 0x125]
cmp eax, r12d
jb 0x18001e2a2
mov eax, ebx
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov rcx, qword [0x180079948]
mov edx, 0x49
call fcn.180040fd0
xor eax, eax
jmp 0x18001e3b1
Function at 0x1800334f0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov ebx, dword [rsp + 0x50]
lea r14d, [rcx + 0x510]
mov rsi, r8
mov r15, rdx
mov ebp, ecx
cmp ecx, r14d
jae 0x18003355a
mov r12d, dword [0x180079860]
xor r13d, r13d
mov edi, dword [rsp + 0x50]
cmp ebp, 0x158
ja 0x180033665
je 0x18003359c
mov eax, ebp
sub eax, 0x53
je 0x18003358b
sub eax, 0x75
je 0x180033583
sub eax, 0x17
je 0x180033579
cmp eax, 4
jne 0x1800336a0
mov eax, ebx
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
test rsi, rsi
je 0x18003355a
jmp 0x1800336a0
mov edi, r13d
jmp 0x1800336a0
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ebx, r13d
jmp 0x1800336a0
test rsi, rsi
je 0x1800336b4
movsxd r8, dword [r15]
test r8d, r8d
jle 0x1800336b4
mov rcx, r13
cmp r8d, 8
jb 0x18003363d
cmp r12d, 2
jl 0x18003363d
movd xmm2, edi
mov edx, r8d
pshufd xmm2, xmm2, 0
movdqa xmm3, xmm2
and edx, 0x80000007
jge 0x1800335e3
dec edx
or edx, 0xfffffff8
inc edx
mov eax, r8d
sub eax, edx
movsxd rdx, eax
nop dword [rax + rax]
movdqu xmm0, xmmword [rsi + rcx*4]
pabsd xmm1, xmm0
movdqu xmm0, xmmword [rsi + rcx*4 + 0x10]
add rcx, 8
pmaxud xmm2, xmm1
pabsd xmm1, xmm0
pmaxud xmm3, xmm1
cmp rcx, rdx
jl 0x1800335f0
pmaxud xmm2, xmm3
movdqa xmm0, xmm2
psrldq xmm0, 8
pmaxud xmm2, xmm0
movdqa xmm0, xmm2
psrldq xmm0, 4
pmaxud xmm2, xmm0
movd edi, xmm2
cmp rcx, r8
jge 0x180033657
mov eax, dword [rsi + rcx*4]
cdq
xor eax, edx
sub eax, edx
cmp eax, edi
cmova edi, eax
inc rcx
cmp rcx, r8
jl 0x180033642
mov eax, 0x7fffffff
cmp edi, eax
cmovb eax, edi
mov edi, eax
jmp 0x1800336a0
mov eax, ebp
sub eax, 0x16f
je 0x180033696
sub eax, 0x79
je 0x1800336be
sub eax, 0x17
je 0x180033684
cmp eax, 0x90
jne 0x1800336a0
mov rcx, rsi
jmp 0x18003369a
mov rcx, qword [rsi]
mov qword [rsi + 8], r13
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi], r13
jmp 0x1800336a0
mov rcx, qword [rsi + 8]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add ebp, 0x90
cmp ebp, r14d
jb 0x180033532
jmp 0x18003355a
mov eax, 0xffffffff
jmp 0x18003355c
mov eax, edi
jmp 0x18003355c
Function at 0x180036050
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x10], edx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r13, rcx
mov r15, r8
imul ecx, edx, 0x3b2
mov eax, edx
mov r14d, edx
mov dword [rsp + 0x34], ecx
cmp edx, ecx
ja 0x1800361cd
movzx eax, word [rsp + 0x88]
xor esi, esi
movzx ebp, word [rsp + 0x88]
mov ebx, dword [rsp + 0x88]
movzx r12d, word [rsp + 0x88]
movzx edi, word [rsp + 0x88]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x2c], ebp
nop word [rax + rax]
cmp r14d, 0x4033
ja 0x1800361f4
je 0x1800361e9
cmp r14d, 0x27
je 0x18003615f
cmp r14d, 0x5f
je 0x180036153
cmp r14d, 0xd41
je 0x18003614c
cmp r14d, 0x1a5b
je 0x1800361cd
cmp r14d, 0x2049
jne 0x1800361b7
test ebx, ebx
je 0x1800362b9
xor edx, edx
mov dword [rsp + 0x98], ebx
mov r8d, 0x10e
lea rcx, [rsp + 0x98]
call fcn.1800348d0
movzx ecx, al
mov edi, eax
mov eax, dword [rsp + 0x28]
shl ebx, cl
cmp ebx, 0x7fff8000
jge 0x180036145
add ebx, 0x8000
jmp 0x1800361b7
mov ebx, 0x7fffffff
jmp 0x1800361b7
mov byte [rsp + 0x30], sil
jmp 0x1800361b7
mov ebx, dword [r13]
mov r12d, 0x5a82
jmp 0x1800361b7
movzx eax, byte [r15]
movzx ebp, si
test al, al
je 0x1800361af
nop word [rax + rax]
mov byte [rsp + 0x20], al
lea rdx, [rsp + 0x98]
movzx eax, byte [r13]
lea rcx, [rsp + 0x20]
mov r8d, 0x37
mov byte [rsp + 0x98], al
call fcn.18004fa00
test al, al
jne 0x1800362c0
inc bp
movzx eax, bp
movzx eax, byte [rax + r15]
test al, al
jne 0x180036170
mov ebp, dword [rsp + 0x2c]
mov eax, dword [rsp + 0x28]
imul ecx, dword [rsp + 0x88], 0x56
add r14d, ecx
cmp r14d, dword [rsp + 0x34]
jbe 0x1800360c0
mov eax, dword [rsp + 0x30]
mov rbx, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov eax, ebx
sar eax, 0x10
mov dword [rsp + 0x28], eax
jmp 0x1800361b7
cmp r14d, 0x601d
je 0x1800362a6
cmp r14d, 0x9ff1
je 0x18003622b
cmp r14d, 0xbfdb
je 0x180036226
cmp r14d, 0xdfc5
jne 0x1800361b7
movzx ecx, bpl
sar ebx, cl
mov eax, ebx
jmp 0x1800361d1
movzx ebx, bx
jmp 0x1800361b7
cwde
mov ecx, 0x65
shl eax, 0x10
cdq
xor eax, edx
sub eax, edx
lea rdx, [rsp + 0x98]
mov dword [rsp + 0x98], eax
call fcn.18000f340
movsx ecx, bp
mov ebx, eax
add ecx, ecx
movsx eax, di
cmp ecx, eax
jne 0x18003629e
mov eax, 0x11f
cmp eax, 0x11f
je 0x180036279
cmp eax, 0x8e61
jne 0x18003628d
sar ebx, 0xf
and ebx, 0xfffe
jmp 0x18003628d
sar ebx, 0x10
movsx ebx, bx
movsx ecx, r12w
imul ebx, ecx
lea ebx, [rbx*2 + 0x8000]
add eax, 0x8d42
cmp eax, 0x11a84
jbe 0x180036260
jmp 0x1800361b3
sar ebx, 0x10
jmp 0x1800361b3
movsx eax, di
cdq
sub eax, edx
sar eax, 1
mov ebp, eax
mov dword [rsp + 0x2c], eax
jmp 0x1800361b3
mov eax, esi
jmp 0x1800361d1
mov byte [rsp + 0x30], 1
jmp 0x1800361cd
Function at 0x18003d000
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xb0
mov rax, qword [0x180079880]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov ebx, dword [rsp + 0x20]
mov rdi, r9
imul r15d, ecx, 0x298
mov r14, r8
mov r12, rdx
mov ebp, ecx
mov esi, ecx
cmp ecx, r15d
ja 0x18003d073
xor r13d, r13d
cmp esi, 8
je 0x18003d0ec
cmp esi, 0x16
je 0x18003d0c6
cmp esi, 0x11b
je 0x18003d0a6
cmp esi, 0xb89d
jne 0x18003d184
mov eax, ebx
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.180050c90
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
test rdi, rdi
je 0x18003d0bf
mov rax, qword [rdi + 0x10]
mov ebx, dword [rax + 0x1c]
mov rax, qword [rax + 0x50]
cmp dword [rax + 0x10], ebx
je 0x18003d184
mov eax, 0xffffffff
jmp 0x18003d075
mov eax, 0x104
nop dword [rax + rax]
cmp eax, 0x104
je 0x18003d19a
add eax, 0x99
cmp eax, 0x19d
jb 0x18003d0d0
jmp 0x18003d184
mov r9d, 0x64
mov dword [rdi], r13d
lea r8, [rsp + 0x30]
mov edx, 0x1009
lea ecx, [r9 + 0x1b]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x18003d122
lea r8, [rsp + 0x30]
mov edx, 0x1009
mov ecx, 0x7f
call qword [sym.imp.KERNEL32.dll_SetLocaleInfoW]
mov r8d, 0xb6
nop dword [rax + rax]
cmp r8d, 0xb6
jne 0x18003d174
mov edx, dword [rdi]
mov eax, r13d
test edx, edx
je 0x18003d154
mov r8, qword [r14]
mov ecx, eax
cmp qword [rdi + rcx*8 + 8], r8
je 0x18003d154
inc eax
cmp eax, edx
jb 0x18003d145
mov esi, 8
mov r8d, 0xb6
cmp eax, edx
jne 0x18003d174
cmp edx, 0x40
jae 0x18003d174
mov ecx, eax
mov rax, qword [r14]
mov qword [rdi + rcx*8 + 8], rax
inc dword [rdi]
add r8d, 0x3e90
cmp r8d, 0x3e90
jbe 0x18003d130
imul eax, ebp, 0xa6
add esi, eax
cmp esi, r15d
jbe 0x18003d051
jmp 0x18003d073
movzx eax, word [r14]
add word [rdi], ax
movsx ecx, word [r12]
movsx eax, word [rdi]
imul eax, ecx
movzx ecx, word [r14]
add word [rdi + 0xc], cx
movsx edx, word [r12 + 0xc]
movsx ecx, word [rdi + 0xc]
imul edx, ecx
add eax, edx
jmp 0x18003d075