joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001125d
Capabilities:
Terminate process

Disassembly:
jmp 0x140013f60
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x1400112fd
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400152b0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400152d0
xor al, al
jmp 0x140015351
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400152e3
xor al, al
jmp 0x140015351
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001530d
xor al, al
jmp 0x140015351
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140015321
xor al, al
jmp 0x140015351
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140015333
xor al, al
jmp 0x140015351
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001534f
xor al, al
jmp 0x140015351
mov al, 1
add rsp, 0x38
ret
Function at 0x140005e1e
Capabilities:
Generate random numbers via winapi

Disassembly:
sub rsp, 0x38
test rcx, rcx
je 0x140005e3c
mov r8, qword [rcx]
mov rax, qword [rcx + 8]
mov rdx, qword [rcx + 0x10]
and qword [rcx], 0
cmp r8, 1
je 0x140005e70
xorps xmm0, xmm0
lea rdx, [rsp + 0x20]
movaps xmmword [rdx], xmm0
xor ecx, ecx
mov r8d, 0x10
mov r9d, 2
call qword [sym.imp.bcrypt.dll_BCryptGenRandom]
test eax, eax
js 0x140005e6b
mov rax, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
jmp 0x140005e70
call fcn.14001d0c0
mov ecx, dword [0x140051198]
mov r8, qword gs:[0x58]
mov rcx, qword [r8 + rcx*8]
mov qword [rcx + 8], 1
mov qword [rcx + 0x10], rax
mov qword [rcx + 0x18], rdx
add rsp, 0x38
ret
Function at 0x14000cdd0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rax, rdx
mov rsi, qword [rsp + 0x90]
mov rdi, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x80]
mov ebx, ecx
shr ebx, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov r15, rax
movzx r14d, byte [rax + 1]
add rax, 2
lea r10, [r11 + r14]
cmp byte [r15], bl
jne 0x14000ce60
cmp r10, r11
jb 0x14000ced6
cmp r10, rdx
ja 0x14000ceea
add r11, r9
xor r15d, r15d
nop word cs:[rax + rax]
cmp r14, r15
je 0x14000ce62
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x14000ce40
jmp 0x14000cec4
ja 0x14000ce6a
mov r11, r10
cmp rax, r8
jne 0x14000ce04
add rsi, rdi
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r8, [rdi + 1]
movzx edx, byte [rdi]
test dl, dl
js 0x14000cea0
mov rdi, r8
sub ecx, edx
jns 0x14000cebb
jmp 0x14000cec6
cmp r8, rsi
je 0x14000cefb
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x14000cec6
xor al, 1
cmp rdi, rsi
jne 0x14000ce80
jmp 0x14000cec6
xor eax, eax
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.140030510
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.140030310
ud2
lea rcx, str.called__Option::unwrap____on_a__None__valueinternal_error:_entered_unreachable_code_rustc_88fb1b922b047981fc0cfc62aa1418b4361ae72elibrary_alloc_src_vecmod.rs
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.140030320
ud2
Function at 0x140013d40
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x48
mov rsi, rcx
mov r9, qword [rcx]
test r9, r9
je 0x140013d9b
mov r10, qword [rsi + 8]
mov rcx, qword [rsi + 0x10]
cmp rcx, r10
jae 0x140013d9b
movzx eax, byte [r9 + rcx]
cmp eax, 0x49
je 0x140013db6
cmp eax, 0x42
jne 0x140013d9b
lea r11, [rcx + 1]
mov qword [rsi + 0x10], r11
cmp r11, r10
jae 0x140013e66
cmp byte [r9 + r11], 0x5f
jne 0x140013e66
lea rax, [rcx + 2]
mov qword [rsi + 0x10], rax
xor eax, eax
jmp 0x140013ece
mov rcx, rsi
xor edx, edx
call fcn.14000f7a0
mov edi, eax
add dil, dil
mov eax, edi
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r14
ret
inc rcx
mov qword [rsi + 0x10], rcx
mov rcx, rsi
xor edx, edx
call fcn.14000f7a0
test al, al
jne 0x140013f61
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x140013df2
lea rdx, [0x1400411e3]
mov r8d, 1
call fcn.14000acb0
test al, al
jne 0x140013f61
mov rax, qword [rsi]
mov dil, 1
test rax, rax
je 0x140013daa
xor r14d, r14d
lea rbx, [0x1400415ae]
nop word [rax + rax]
mov rcx, qword [rsi + 0x10]
cmp rcx, qword [rsi + 8]
jae 0x140013e24
cmp byte [rax + rcx], 0x45
je 0x140013f83
sub r14, 1
jb 0x140013e49
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x140013e49
mov r8d, 2
mov rdx, rbx
call fcn.14000acb0
test al, al
jne 0x140013f61
mov rcx, rsi
call fcn.140013fa0
test al, al
jne 0x140013f61
mov rax, qword [rsi]
test rax, rax
jne 0x140013e10
jmp 0x140013daa
xor eax, eax
mov edi, 0x3e
nop dword [rax]
mov r8b, 1
cmp r11, r10
jae 0x140013f28
movzx edx, byte [r9 + r11]
cmp dl, 0x5f
je 0x140013ec2
lea ebx, [rdx - 0x30]
cmp bl, 0xa
jb 0x140013eac
lea ebx, [rdx - 0x61]
cmp bl, 0x1a
jae 0x140013e9b
add dl, 0xa9
jmp 0x140013eaa
lea ebx, [rdx - 0x41]
cmp bl, 0x1a
jae 0x140013f28
add dl, 0xe3
mov ebx, edx
inc r11
mov qword [rsi + 0x10], r11
mul rdi
jo 0x140013f28
movzx edx, bl
add rax, rdx
jae 0x140013e70
jmp 0x140013f28
inc r11
mov qword [rsi + 0x10], r11
inc rax
je 0x140013f28
cmp rax, rcx
jae 0x140013f25
mov ecx, dword [rsi + 0x18]
inc ecx
cmp ecx, 0x1f4
ja 0x140013f7b
cmp qword [rsi + 0x20], 0
je 0x140013f8f
movups xmm0, xmmword [rsi]
movups xmm1, xmmword [rsi + 0x10]
movaps xmmword [rsp + 0x30], xmm1
movaps xmmword [rsp + 0x20], xmm0
mov qword [rsi + 0x10], rax
mov dword [rsi + 0x18], ecx
mov rcx, rsi
call fcn.140013d40
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm1
jmp 0x140013dac
mov r8b, 1
xor edi, edi
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x140013f69
lea rax, [0x140041579]
lea rdx, str.recursion_limit_reachedinvalid_syntax
test r8b, r8b
cmovne rdx, rax
xor r8b, 1
movzx eax, r8b
lea r8, [rax + rax*8]
or r8, 0x10
call fcn.14000acb0
test al, al
je 0x140013f69
mov dil, 2
jmp 0x140013daa
mov qword [rsi], 0
mov byte [rsi + 8], dil
xor edi, edi
jmp 0x140013daa
mov dil, 1
xor r8d, r8d
jmp 0x140013f2a
inc rcx
mov qword [rsi + 0x10], rcx
jmp 0x140013daa
xor edi, edi
jmp 0x140013daa
Function at 0x14001b290
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rdi, rdx
movzx ebp, byte [rdx + 0x38]
xor ebx, ebx
cmp bpl, 1
setne dl
mov eax, 0
sbb eax, eax
mov rsi, rcx
or al, dl
movzx ecx, al
cmp cl, 0xff
je 0x14001b2c0
test ecx, ecx
jne 0x14001b310
movzx ebx, byte [rdi + 0x3a]
cmp al, 0xff
je 0x14001b2cc
test ecx, ecx
jne 0x14001b310
mov rcx, rdi
call fcn.14001b170
movzx eax, al
test bpl, bpl
jne 0x14001b317
lea rdx, [rdi + 0x10]
xor ecx, ecx
cmp byte [rdi + 0x10], 6
cmove rdx, rcx
je case.0x14001b303.2
movzx r8d, byte [rdx]
mov ecx, 6
lea r9, [0x14001b488]
movsxd r8, dword [r9 + r8*4]
add r8, r9
jmp r8
mov rcx, qword [rdx + 0x10]
add rcx, 4
jmp case.0x14001b303.2
xor eax, eax
test bpl, bpl
je 0x14001b2dc
xor ecx, ecx
add rax, rcx
movzx r10d, bl
lea rcx, [rax + r10]
mov rdx, qword [rdi + 8]
cmp rdx, rcx
jb 0x14001b469
mov r11, qword [rdi]
lea r8, [r11 + rcx]
cmp rdx, rcx
jne 0x14001b34a
movzx r9d, byte [rdi + 0x10]
xor r10d, r10d
jmp 0x14001b3c9
movzx r9d, byte [rdi + 0x10]
add rax, r10
sub rax, rdx
inc rax
lea rdi, [rdx + r11]
dec rdi
xor r10d, r10d
cmp r9b, 3
jae 0x14001b390
nop dword [rax + rax]
cmp byte [rdi], 0x5c
je 0x14001b3ab
inc rax
dec rdi
cmp rax, 1
jne 0x14001b370
jmp 0x14001b3c9
movzx ebx, byte [rdi]
cmp ebx, 0x2f
je 0x14001b3ab
cmp ebx, 0x5c
je 0x14001b3ab
inc rax
dec rdi
cmp rax, 1
jne 0x14001b390
jmp 0x14001b3c9
neg rax
add rcx, rax
inc rcx
cmp rdx, rcx
jb 0x14001b477
add r11, rcx
mov r10d, 1
mov r8, r11
sub rdx, rcx
je 0x14001b3f3
mov al, 9
cmp rdx, 2
je 0x14001b3f7
cmp rdx, 1
jne 0x14001b407
cmp byte [r8], 0x2e
jne 0x14001b407
xor eax, eax
cmp r9b, 3
setae al
lea eax, [rax + rax*2]
add eax, 7
jmp 0x14001b407
mov al, 0xa
jmp 0x14001b407
cmp byte [r8], 0x2e
jne 0x14001b407
cmp byte [r8 + 1], 0x2e
sete al
xor al, 9
add r10, rdx
mov qword [rsi], r10
mov qword [rsi + 8], r8
mov qword [rsi + 0x10], rdx
mov byte [rsi + 0x18], al
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
ret
mov rcx, qword [rdx + 0x10]
mov rdx, qword [rdx + 0x20]
lea r8, [rdx + 1]
test rdx, rdx
cmove r8, rdx
add rcx, r8
add rcx, 8
jmp case.0x14001b303.2
mov rcx, qword [rdx + 0x10]
mov rdx, qword [rdx + 0x20]
lea r8, [rdx + 1]
test rdx, rdx
cmove r8, rdx
add rcx, r8
add rcx, 2
jmp case.0x14001b303.2
mov ecx, 2
jmp case.0x14001b303.2
lea r8, str.library_std_srcpath.rs
call fcn.140030300
ud2
lea r8, str.library_std_srcpath.rs
call fcn.140030300
ud2
Function at 0x14001d0c0
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push rbp
sub rsp, 0x80
lea rbp, [rsp + 0x80]
mov qword [rbp - 8], 0xfffffffffffffffe
xorps xmm0, xmm0
movaps xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
mov edx, 0x10
call qword [sym.imp.advapi32.dll_SystemFunction036]
test al, al
je 0x14001d103
mov rax, qword [rbp - 0x20]
mov rdx, qword [rbp - 0x18]
add rsp, 0x80
pop rbp
ret
call qword [sym.imp.kernel32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rbp - 0x10], rax
lea rax, [rbp - 0x10]
mov qword [rbp - 0x30], rax
lea rax, [0x14001c240]
mov qword [rbp - 0x28], rax
lea rax, str.fallback_RNG_broken:
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], 1
mov qword [rbp - 0x60], 0
lea rax, [rbp - 0x30]
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], 1
lea rdx, str.library_std_src_syswindows_rand.rs
lea rcx, [rbp - 0x60]
call fcn.140030240
ud2

Function at 0x1400262e8
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400260d8
Function at 0x140029350
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 0x140029380
xor eax, eax
jmp 0x140029443
mov rbp, rbx
cmp word [rax], si
je 0x1400293a5
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14002938c
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140029388
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.1400292a0
movsxd r14, eax
test eax, eax
jne 0x1400293e3
mov rcx, rbx
call qword [sym.imp.kernel32.dll_FreeEnvironmentStringsW]
jmp 0x140029379
mov rcx, r14
call fcn.14002a204
mov rdi, rax
test rax, rax
jne 0x1400293fc
xor ecx, ecx
call fcn.140027930
jmp 0x1400293d8
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.1400292a0
test eax, eax
jne 0x14002942d
mov rcx, rdi
call fcn.140027930
jmp 0x140029437
xor ecx, ecx
call fcn.140027930
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 0x14002c90c
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.1400283a4
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14002c996
cmp byte [rbp - 0x21], r15b
je 0x14002c991
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14002c9cc
call fcn.14002aa24
test eax, eax
jne 0x14002c9b8
cmp byte [rbp - 0x21], r15b
je 0x14002c9b0
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14002c9cc
cmp byte [rbp - 0x21], r15b
je 0x14002c9c9
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.140027980
test eax, eax
jne 0x14002ca6c
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.1400283a4
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14002ca0b
cmp byte [rbp - 0x21], r15b
je 0x14002ca40
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14002ca40
call fcn.14002aa24
test eax, eax
jne 0x14002ca2c
cmp byte [rbp - 0x21], r15b
je 0x14002ca25
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x14002ca40
cmp byte [rbp - 0x21], r15b
je 0x14002ca3d
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.140027980
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14002ca6c
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.kernel32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14002ca6f
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14002ca7d
mov rcx, rdi
call fcn.140027930
cmp byte [rbp + 0x3f], r15b
je 0x14002ca8c
mov rcx, qword [rbp + 0x27]
call fcn.140027930
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 0x10002f194
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rbx, rcx
call fcn.100030e78
test al, al
jne 0x10002f1c0
xor edx, edx
xor ecx, ecx
call fcn.1000605e8
test al, al
je 0x10002f2a2
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
and dword [rsp + 0x50], 0
lea rdx, [rsp + 0x50]
mov rcx, rax
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov r8d, 1
cmp dword [rsp + 0x50], r8d
jle 0x10002f20c
lea rdx, [rax + 8]
mov rsi, qword [rdx]
lea rdi, [0x100015f78]
mov ecx, 9
repe cmpsw word [rsi], word [rdi]
je 0x10002f23d
inc r8d
add rdx, 8
cmp r8d, dword [rsp + 0x50]
jl 0x10002f1ea
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rdx, qword [rbx + 0x58]
cmp byte [rdx + 0xd], 0
jne 0x10002f248
xor edx, edx
xor ecx, ecx
call fcn.1000605e8
test al, al
jne 0x10002f248
mov rcx, qword [0x1000b1078]
call fcn.100037940
jmp 0x10002f2d2
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x10002f2a2
mov rcx, rbx
call fcn.100031110
test al, al
je 0x10002f270
mov rax, qword [rbx]
mov edx, dword [rbx + 8]
mov rcx, rbx
call qword [rax + 0x10]
mov edx, dword [rbx + 8]
mov dword [rbx + 0xc], edx
mov edx, 2
mov dword [rbx + 8], edx
jmp 0x10002f2c9
mov edx, 0x1785
mov byte [rsp + 0x30], 1
and qword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
lea ecx, [rdx - 1]
mov r9d, 0xffff
mov r8d, 1
call fcn.1000609d4
mov rcx, rbx
call fcn.100030ec8
mov rcx, rbx
call fcn.1000332ac
mov rax, qword [rbx]
mov edx, dword [rbx + 8]
mov rcx, rbx
mov byte [rbx + 0x17d], 1
call qword [rax + 0x10]
mov edx, dword [rbx + 8]
and dword [rbx + 8], 0
mov dword [rbx + 0xc], edx
xor edx, edx
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov edx, 5
cmp dword [rbx + 8], edx
jne 0x10002f2fa
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
mov edx, dword [rbx + 8]
mov rax, qword [rbx]
and dword [rbx + 8], 0
mov dword [rbx + 0xc], edx
mov rcx, rbx
xor edx, edx
call qword [rax + 8]
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x10002f350
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rcx, qword [rcx + 0x150]
xor ebp, ebp
cmp rcx, rbp
je 0x10002f37e
mov rax, qword [rcx]
lea edx, [rbp + 1]
call qword [rax + 8]
mov rcx, qword [rdi + 0xb0]
mov qword [rdi + 0x150], rbp
cmp rcx, rbp
je 0x10002f39c
mov rax, qword [rcx]
mov edx, 1
call qword [rax + 8]
mov qword [rdi + 0xb0], rbp
mov dword [rdi + 0xd0], ebp
mov dword [rdi + 0xb8], ebp
mov dword [rdi + 0xe8], ebp
mov rcx, qword [rdi + 0x70]
cmp rcx, rbp
je 0x10002f3c7
call fcn.10003e518
mov qword [rdi + 0x70], rbp
mov rcx, qword [rdi + 0x50]
call sub.msvcrt.dll_free
mov rcx, qword [rdi + 0x58]
mov qword [rdi + 0x50], rbp
call sub.msvcrt.dll_free
mov rcx, qword [rdi + 0x60]
mov qword [rdi + 0x58], rbp
call sub.msvcrt.dll_free
mov rcx, qword [rdi + 0x80]
mov qword [rdi + 0x60], rbp
cmp rcx, rbp
je 0x10002f406
call fcn.10003e518
mov qword [rdi + 0x80], rbp
mov rcx, qword [rdi + 0x88]
cmp rcx, rbp
je 0x10002f41e
call fcn.10003e518
mov qword [rdi + 0x88], rbp
mov rcx, qword [rdi + 0x90]
cmp rcx, rbp
je 0x10002f436
call fcn.10003e518
mov qword [rdi + 0x90], rbp
mov rcx, qword [rdi + 0x98]
cmp rcx, rbp
je 0x10002f44e
call fcn.10003e518
mov qword [rdi + 0x98], rbp
mov esi, ebp
cmp dword [rdi + 0x20], ebp
jbe 0x10002f478
mov rbx, rbp
mov rcx, qword [rdi + 0x30]
mov rcx, qword [rcx + rbx]
call sub.msvcrt.dll_free
mov r11, qword [rdi + 0x30]
inc esi
mov qword [rbx + r11], rbp
add rbx, 8
cmp esi, dword [rdi + 0x20]
jb 0x10002f458
mov rcx, qword [rdi + 0x30]
mov dword [rdi + 0x20], ebp
mov dword [rdi + 0x24], ebp
call qword [sym.imp.msvcrt.dll_free]
mov qword [rdi + 0x30], rbp
mov esi, ebp
cmp dword [rdi + 0x38], ebp
jbe 0x10002f4b6
mov rbx, rbp
mov rcx, qword [rdi + 0x48]
mov rcx, qword [rbx + rcx]
call sub.msvcrt.dll_free
mov r11, qword [rdi + 0x48]
inc esi
mov qword [rbx + r11], rbp
add rbx, 8
cmp esi, dword [rdi + 0x38]
jb 0x10002f496
mov rcx, qword [rdi + 0x48]
mov dword [rdi + 0x38], ebp
mov dword [rdi + 0x3c], ebp
call qword [sym.imp.msvcrt.dll_free]
mov rbx, qword [0x1000b10d8]
mov qword [rdi + 0x48], rbp
lea rdx, [rdi + 0x10]
lea rcx, [rbx + 0x78]
mov qword [rdi + 0x130], rbp
call fcn.10004279c
lea rcx, [rbx + 0x60]
lea rdx, [rdi + 0x10]
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
jmp fcn.10004279c
Function at 0x10002fdb0
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
sub rsp, 0x160
mov rax, qword [0x1000a5140]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rax, qword [rcx + 0x60]
mov r12b, dl
mov rsi, rcx
test rax, rax
je 0x10002fdef
mov eax, dword [rax + 0xc]
or rdi, 0xffffffffffffffff
mov r13d, 0x80
lea r9, [0x100016f98]
lea rcx, [rsp + 0x50]
mov r8, rdi
mov rdx, r13
mov dword [rsp + 0x20], eax
call sub.msvcrt.dll__snwprintf_s
lea rdx, [rsp + 0x50]
lea rcx, [0x100015fe8]
call fcn.1000650f8
cmp dword [rsi + 0xe8], 0
lea ebx, [rdi + 0x35]
mov rbp, rax
jbe 0x10002fe5a
mov rcx, qword [rsi + 0xf8]
mov r8d, dword [rsi + 0xe8]
mov rdx, qword [rcx]
test rdx, rdx
je 0x10002fe50
sub ebx, dword [rdx + 0x130]
add rcx, 8
sub r8, 1
jne 0x10002fe42
cmp byte [0x1000b1cb8], 0
jne 0x10002fece
xor edx, edx
lea rcx, [rsp + 0x34]
mov byte [0x1000b1cb8], 1
lea r8d, [rdx + 0x1c]
mov dword [rsp + 0x30], 0x31
call sub.msvcrt.dll_memset
lea r8, [rsp + 0x30]
mov r9d, 0x10
mov edx, 0x1010
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x10002feb2
lea rdx, [0x100016fb0]
mov ecx, 0x10000001
call fcn.10005e464
xor edx, edx
lea rcx, [rsp + 0x30]
lea r8d, [rdx + 0xa]
call qword [sym.imp.msvcrt.dll_wcstol]
mov r11d, eax
mov dword [0x1000ae010], eax
jmp 0x10002fed5
mov r11d, dword [0x1000ae010]
test ebx, ebx
js 0x10002fee6
mov dword [rsp + 0x20], ebx
lea r9, [0x100017044]
jmp 0x10002ff3b
mov eax, ebx
neg eax
mov dword [rsp + 0x20], eax
test r11d, r11d
je 0x10002ff34
sub r11d, 2
mov r8, rdi
mov rdx, r13
lea rcx, [rsp + 0x50]
je 0x10002ff2b
sub r11d, 1
je 0x10002ff22
cmp r11d, 1
je 0x10002ff19
lea r9, [0x100017060]
jmp 0x10002ff46
lea r9, [0x100017080]
jmp 0x10002ff46
lea r9, [0x100017078]
jmp 0x10002ff46
lea r9, [0x100017068]
jmp 0x10002ff46
lea r9, [0x100017050]
mov r8, rdi
mov rdx, r13
lea rcx, [rsp + 0x50]
call sub.msvcrt.dll__snwprintf_s
lea rdx, [rsp + 0x50]
lea rcx, [0x100016020]
call fcn.1000650f8
mov rdx, rbp
xor ecx, ecx
mov rdi, rax
call fcn.100046480
test r12b, r12b
je 0x10002ff7d
cmp dword [rsi + 0x170], ebx
je 0x10002ffa3
mov ecx, 1
jmp 0x10002ff9b
mov eax, dword [rsi + 0x170]
cmp eax, ebx
je 0x10002ffa3
test ebx, ebx
jne 0x10002ff92
mov ecx, 0x301
jmp 0x10002ff9b
cmp eax, ebx
je 0x10002ffa3
mov ecx, 0x101
mov rdx, rdi
call fcn.100046480
test rbp, rbp
je 0x10002ffb1
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LocalFree]
test rdi, rdi
je 0x10002ffbf
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, rsi
mov dword [rsi + 0x170], ebx
call fcn.100030000
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1000995a0
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r13
pop r12
pop rdi
ret
Function at 0x100030ec8
Capabilities:
Delete file
Get common file path
Set current directory

Disassembly:
push rbx
sub rsp, 0x460
mov rax, qword [0x1000a5140]
xor rax, rsp
mov qword [rsp + 0x450], rax
xor ebx, ebx
lea rax, [0x100013fd0]
mov ecx, ebx
cmp word [rax], 0x3a
je 0x100030fcb
inc ecx
add rax, 2
cmp ecx, 0x18
jb 0x100030eee
lea rcx, [rsp + 0x240]
xor edx, edx
mov r8d, 0x104
call sub.msvcrt.dll_memset
xor r9d, r9d
lea r11, [rsp + 0x240]
lea edx, [r9 + 0x28]
xor r8d, r8d
xor ecx, ecx
mov qword [rsp + 0x20], r11
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea rcx, [rsp + 0x30]
xor edx, edx
mov r8d, 0x104
call sub.msvcrt.dll_memset
lea rdx, [rsp + 0x30]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea rcx, [rsp + 0x240]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea rcx, [0x10001be30]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
cmp eax, ebx
jne 0x100030f85
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
jmp 0x100030fe3
lea rcx, [0x10001b5d0]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
cmp eax, ebx
je 0x100030f78
mov rcx, qword [0x1000b1068]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
cmp eax, ebx
je 0x100030f78
lea rcx, [0x100013fd0]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rcx, [rsp + 0x30]
cmp eax, ebx
je 0x100030f7d
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov r11d, 1
jmp 0x100030fe6
lea r8, [0x100013fd0]
lea rdx, [0x10001b6e0]
mov ecx, 0x80
call fcn.10005e464
mov r11d, ebx
cmp r11d, 1
sete al
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.1000995a0
add rsp, 0x460
pop rbx
ret

Function at 0x1000332ac
Capabilities:
Get geographical location

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
xor ecx, ecx
call qword [sym.imp.msvcrt.dll_time]
mov rcx, rax
call qword [sym.imp.msvcrt.dll_srand]
call qword [sym.imp.msvcrt.dll_rand]
call qword [sym.imp.msvcrt.dll_rand]
call qword [sym.imp.msvcrt.dll_rand]
cmp eax, 1
mov r11d, eax
jl 0x1000332d2
cmp eax, 0xf4240
jg 0x1000332d2
mov rax, qword [rbx + 0x60]
mov dl, 1
mov rcx, rbx
mov dword [rax + 0xc], r11d
add rsp, 0x20
pop rbx
jmp fcn.10002fdb0