joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140121d90
Capabilities:
Query environment variable

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
lea rdx, [0x140121e20]
mov ecx, 0x13
call fcn.140149d10
mov ecx, 0x40
call fcn.14011e0f0
mov qword [rsp + 0x38], rax
test rax, rax
je 0x140121dda
lea rdx, [rax + 0xd]
mov dword [rax + 8], 0x28
mov qword [rax], rdx
mov byte [rax + 0xc], 0
mov dword [rax + 0x38], 0
mov byte [rdx], 0
mov qword [0x14043f470], rax
test rax, rax
jne 0x140121df2
mov dword [rbx], 7
add rsp, 0x20
pop rbx
ret
lea rcx, str.ICU_TIMEZONE_FILES_DIR
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
lea rcx, [0x14028a64b]
mov rdx, rbx
test rax, rax
cmovne rcx, rax
add rsp, 0x20
pop rbx
jmp 0x140121ec0
push rbx
sub rsp, 0x30
cmp dword [rdx], 0
mov rbx, rdx
jg 0x140121f46
mov rax, qword [0x14043f470]
mov rdx, rcx
lea rcx, [rsp + 0x20]
mov dword [rax + 0x38], 0
mov rax, qword [rax]
mov byte [rax], 0
call fcn.14014cf90
mov rcx, qword [0x14043f470]
mov r9, rbx
movups xmm1, xmmword [rax]
movdqa xmm0, xmm1
movq rdx, xmm1
psrldq xmm0, 8
movd r8d, xmm0
call fcn.1401548f0
mov rax, qword [0x14043f470]
mov edx, 0x2f
mov rcx, qword [rax]
call qword [sym.imp.VCRUNTIME140.dll_strchr]
test rax, rax
je 0x140121f46
nop
mov edx, 0x2f
mov byte [rax], 0x5c
mov rcx, rax
call qword [sym.imp.VCRUNTIME140.dll_strchr]
test rax, rax
jne 0x140121f30
add rsp, 0x30
pop rbx
ret

Function at 0x1401222c0
Capabilities:
Get geographical location

Disassembly:
push rdi
sub rsp, 0xa0
mov rax, qword [0x14035d6e8]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rax, qword [0x14043f478]
xor edi, edi
mov dword [rsp + 0x20], edi
test rax, rax
jne 0x1401223f5
mov qword [rsp + 0xb0], rbx
lea r9d, [rdi + 0x55]
lea rbx, [0x14043f490]
xor ecx, ecx
mov r8, rbx
lea edx, [rdi + 0x5c]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jle 0x1401223d1
xor edx, edx
lea r8d, [rdi + 0x55]
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
mov r8d, edi
mov ecx, edi
nop
lea rdx, [rsp + 0x30]
add rdx, rcx
cmp word [rbx + rcx*2], 0x5f
jne 0x140122344
mov byte [rdx], 0x2d
jmp 0x14012234a
movzx eax, byte [rbx + rcx*2]
mov byte [rdx], al
cmp byte [rdx], dil
je 0x14012235b
inc r8d
inc rcx
cmp rcx, 0x55
jl 0x140122330
movzx eax, byte [rsp + 0x84]
cmp r8d, 0x55
mov ecx, 0x41
cmovge eax, edi
mov byte [rsp + 0x84], al
call fcn.140149ef0
mov rbx, rax
test rax, rax
je 0x1401223d1
lea r9, [rsp + 0x20]
mov r8d, 0x40
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.1401234b0
cmp dword [rsp + 0x20], edi
jg 0x1401223c9
movsxd rcx, eax
lea rdx, [0x140121e20]
mov qword [0x14043f478], rbx
mov byte [0x14043f480], 1
mov byte [rcx + rbx], dil
mov ecx, 0x13
call fcn.140149d10
jmp 0x1401223d1
mov rcx, rbx
call fcn.140149ec0
mov rcx, qword [0x14043f478]
lea rax, str.en_US
mov rbx, qword [rsp + 0xb0]
test rcx, rcx
cmovne rax, rcx
mov qword [0x14043f478], rax
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.14024f8b0
add rsp, 0xa0
pop rdi
ret
Function at 0x140148f30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
push r15
sub rsp, 0x28
cmp dword [r8], 0
mov r15d, edx
mov rbx, rcx
jg 0x1401490e1
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x20], r14
cmp edx, dword [rcx + 0x270]
jl 0x140148f82
mov ebp, dword [rcx + 0x11c]
mov r14d, dword [rcx + 0x124]
mov esi, dword [rcx + 0x120]
mov edi, dword [rcx + 0x118]
jmp 0x14014903c
lea esi, [rdx - 0x1a4450]
mov edx, 0x5b5
movd xmm0, esi
lea r8, [rsp + 0x50]
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x1402c0140]
addsd xmm0, qword [0x1402c0150]
call fcn.140194860
mov edx, 4
mov edi, eax
lea ecx, [rax - 1]
call fcn.140194840
imul ecx, edi, 0x16d
xor edx, edx
mov r8d, edi
and r8d, 3
sub esi, ecx
sub esi, eax
mov eax, r8d
add esi, 0x16d
neg eax
sbb ecx, ecx
add ecx, 0x3c
cmp esi, ecx
jl 0x140148fed
test r8d, r8d
setne dl
inc edx
lea eax, [rdx + rsi]
lea ecx, [rax + rax*2]
mov eax, 0x59493e15
lea ecx, [rcx*4 + 6]
imul ecx
lea rcx, [0x140000000]
mov ebp, edx
sar ebp, 7
mov eax, ebp
shr eax, 0x1f
add ebp, eax
movsxd rax, ebp
test r8d, r8d
jne 0x140149026
movzx edx, word [rcx + rax*2 + 0x2bff98]
jmp 0x14014902e
movzx edx, word [rcx + rax*2 + 0x2bff80]
mov r14d, esi
movsx eax, dx
sub r14d, eax
inc r14d
inc esi
cmp edi, dword [rbx + 0x280]
jne 0x140149056
cmp r15d, dword [rbx + 0x270]
jl 0x140149056
mov ecx, edi
call fcn.140148ef0
add esi, eax
mov dword [rbx + 0x14], ebp
mov ecx, 1
mov rbp, qword [rsp + 0x40]
mov dword [rbx + 0x88], 1
mov byte [rbx + 0x6a], 1
mov dword [rbx + 0x20], r14d
mov r14, qword [rsp + 0x20]
mov dword [rbx + 0x94], 1
mov word [rbx + 0x6d], 0x101
mov dword [rbx + 0x24], esi
mov rsi, qword [rsp + 0x48]
mov dword [rbx + 0x98], 1
mov dword [rbx + 0x58], edi
mov dword [rbx + 0xcc], 1
mov byte [rbx + 0x7b], 1
cmp edi, ecx
jge 0x1401490bc
xor ecx, ecx
mov eax, 1
sub eax, edi
mov edi, eax
mov dword [rbx + 0xc], ecx
mov dword [rbx + 0x80], 1
mov word [rbx + 0x68], 0x101
mov dword [rbx + 0x10], edi
mov rdi, qword [rsp + 0x58]
mov dword [rbx + 0x84], 1
add rsp, 0x28
pop r15
pop rbx
ret
Function at 0x14015a370
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x2e0]
sub rsp, 0x3e0
mov rax, qword [0x14035d6e8]
xor rax, rsp
mov qword [rbp + 0x2d0], rax
xor eax, eax
lea rcx, [rbp + 0x10]
xor edi, edi
mov dword [rbp + 0x1c0], eax
xor edx, edx
mov dword [rsp + 0x30], edi
mov r8d, 0x1b0
mov word [rbp + 0x1c4], ax
mov word [rsp + 0x34], ax
mov byte [rsp + 0x36], al
call sub.VCRUNTIME140.dll_memset
xor edx, edx
lea rcx, [rbp + 0x250]
mov r8d, 0x80
call sub.VCRUNTIME140.dll_memset
xor edx, edx
lea rcx, [rbp + 0x1d0]
mov r8d, 0x80
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_GetDynamicTimeZoneInformation]
cmp eax, 0xffffffff
jne 0x14015a403
xor eax, eax
jmp 0x14015a5e2
mov qword [rsp + 0x3f0], rbx
mov ecx, 0x10
mov qword [rsp + 0x3f8], rsi
call qword [sym.imp.KERNEL32.dll_GetUserGeoID]
mov r9d, 3
mov word [rsp + 0x20], di
lea r8, [rbp + 0x1c0]
mov ecx, eax
lea edx, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_GetGeoInfoW]
xor r8d, r8d
lea r9, [rbp + 0x1c0]
mov esi, eax
lea rcx, [rsp + 0x34]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea edx, [r8 + 3]
mov dword [rsp + 0x20], 3
call fcn.1401565f0
lea r8, [rsp + 0x30]
xor ecx, ecx
lea rdx, str.windowsZones
call fcn.14013a490
lea r9, [rsp + 0x30]
mov r8, rax
lea rdx, [0x1402bdd30]
mov rcx, rax
mov rbx, rax
call fcn.1401388d0
lea rax, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0xbc]
mov edx, 0x80
mov dword [rsp + 0x20], 0xffffffff
lea rcx, [rbp + 0x250]
call fcn.1401565f0
cmp dword [rsp + 0x30], edi
jle 0x14015a4dc
test rbx, rbx
je 0x14015a4d5
mov rcx, rbx
call fcn.140135b90
xor eax, eax
jmp 0x14015a5d2
cmp word [rbp + 0xbc], di
je 0x14015a5aa
lea rcx, [rsp + 0x40]
call fcn.140135b60
lea r9, [rsp + 0x30]
mov rcx, rbx
lea r8, [rsp + 0x40]
lea rdx, [rbp + 0x250]
call fcn.1401388d0
cmp dword [rsp + 0x30], edi
jg 0x14015a5a0
test esi, esi
je 0x14015a538
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x34]
lea rcx, [rsp + 0x40]
call fcn.14013a100
test rax, rax
jne 0x14015a557
lea r9, [rsp + 0x30]
mov dword [rsp + 0x30], edi
lea r8, [rsp + 0x38]
lea rdx, [0x1402bdd40]
lea rcx, [rsp + 0x40]
call fcn.14013a100
cmp dword [rsp + 0x30], edi
jg 0x14015a5a0
movzx ecx, word [rax]
mov r8d, edi
test cx, cx
je 0x14015a58d
lea rdx, [rbp + 0x1d0]
nop
cmp cx, 0x20
je 0x14015a58d
movzx ecx, byte [rax]
inc r8d
add rax, 2
mov byte [rdx], cl
inc rdx
movzx ecx, word [rax]
test cx, cx
jne 0x14015a570
movsxd rax, r8d
cmp rax, 0x80
jae 0x14015a602
mov byte [rbp + rax + 0x1d0], dil
lea rcx, [rsp + 0x40]
call fcn.140135b90
cmp byte [rbp + 0x1d0], dil
je 0x14015a5c2
lea rcx, [rbp + 0x1d0]
call fcn.14014df20
mov rdi, rax
test rbx, rbx
je 0x14015a5cf
mov rcx, rbx
call fcn.140135b90
mov rax, rdi
mov rbx, qword [rsp + 0x3f0]
mov rsi, qword [rsp + 0x3f8]
mov rcx, qword [rbp + 0x2d0]
xor rcx, rsp
call fcn.14024f8b0
mov rdi, qword [rsp + 0x400]
add rsp, 0x3e0
pop rbp
ret
call fcn.14024fbf0
int3
Function at 0x140167c60
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x14]
movzx r11d, dl
cdq
xor ebx, ebx
sub eax, edx
mov rdi, rcx
sar eax, 1
test eax, eax
jle 0x140167cdd
mov r14, qword [rcx + 8]
mov edx, ebx
movsxd rsi, eax
lea r9, [r14 + 4]
nop word [rax + rax]
mov r8d, dword [r14 + rdx*8]
mov ecx, dword [r9]
dec ecx
movzx r10d, r11b
mov eax, ecx
xor eax, r8d
test eax, 0xffffff00
movzx eax, r8b
jne 0x140167cc4
cmp eax, r10d
ja 0x140167cd1
jmp 0x140167cc9
cmp eax, r10d
jbe 0x140167d2e
movzx eax, cl
cmp r10d, eax
jbe 0x140167d2e
inc rdx
add r9, 8
cmp rdx, rsi
jl 0x140167ca0
mov rax, qword [rdi + 0x48]
test rax, rax
je 0x140167d16
cmp dword [rax + 8], ebx
jle 0x140167d16
movzx esi, r11b
nop
mov edx, ebx
mov rcx, rax
call fcn.1401af0c0
xor edx, edx
mov rcx, rax
call fcn.14011eec0
movzx ecx, al
cmp ecx, esi
je 0x140167d2e
mov rax, qword [rdi + 0x48]
inc ebx
cmp ebx, dword [rax + 8]
jl 0x140167cf0
xor al, al
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov al, 1
jmp 0x140167d18

Function at 0x140179860
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x14035d6e8]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rdx
mov rdi, rcx
mov r8, rcx
mov r9d, 4
mov rcx, rbx
mov edx, 0x20000019
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
lea r8, [rdi + 4]
mov edx, 0x20000012
mov r9d, 4
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov r9d, 0x14
lea r8, [rsp + 0x20]
mov rcx, rbx
lea edx, [r9 + 4]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
movzx edx, word [rsp + 0x20]
lea r8, [rsp + 0x20]
xor eax, eax
test dx, dx
je 0x140179902
lea ecx, [rdx - 0x31]
cmp cx, 7
ja 0x1401798ee
lea ecx, [rax + rax*4]
movzx eax, dx
lea eax, [rax + rcx*2]
add eax, 0xffffffd0
jmp 0x1401798f4
cmp dx, 0x3b
jne 0x140179902
movzx edx, word [r8 + 2]
add r8, 2
test dx, dx
jne 0x1401798d7
cmp word [r8], 0x30
je 0x14017990e
lea eax, [rax + rax*4]
add eax, eax
mov ecx, 0xc
mov dword [rdi + 8], eax
call fcn.140149ef0
mov r9d, 6
mov qword [rdi + 0x10], rax
mov r8, rax
mov rcx, rbx
lea edx, [r9 + 0x10]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov ecx, 0xc
call fcn.140149ef0
mov r9d, 6
mov qword [rdi + 0x18], rax
mov r8, rax
mov rcx, rbx
lea edx, [r9 + 0x11]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
lea r8, [rdi + 0x20]
mov edx, 0x2000001c
mov r9d, 4
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
lea r8, [rdi + 0x24]
mov edx, 0x2000001b
mov r9d, 4
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov ecx, 0x10
call fcn.140149ef0
mov r9d, 8
mov qword [rdi + 0x28], rax
mov r8, rax
mov rcx, rbx
lea edx, [r9 + 0xc]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14024f8b0
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x1401799e0
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x14035d6e8]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rdx
mov rdi, rcx
mov r8, rcx
mov r9d, 4
mov rcx, rbx
mov edx, 0x20000011
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
lea r8, [rdi + 4]
mov edx, 0x20000012
mov r9d, 4
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov r9d, 0xa
lea r8, [rsp + 0x20]
mov rcx, rbx
lea edx, [r9 + 6]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
movzx edx, word [rsp + 0x20]
lea r8, [rsp + 0x20]
xor eax, eax
test dx, dx
je 0x140179a82
lea ecx, [rdx - 0x31]
cmp cx, 7
ja 0x140179a6e
lea ecx, [rax + rax*4]
movzx eax, dx
lea eax, [rax + rcx*2]
add eax, 0xffffffd0
jmp 0x140179a74
cmp dx, 0x3b
jne 0x140179a82
movzx edx, word [r8 + 2]
add r8, 2
test dx, dx
jne 0x140179a57
cmp word [r8], 0x30
je 0x140179a8e
lea eax, [rax + rax*4]
add eax, eax
mov ecx, 0xc
mov dword [rdi + 8], eax
call fcn.140149ef0
mov r9d, 6
mov qword [rdi + 0x10], rax
mov r8, rax
mov rcx, rbx
lea edx, [r9 + 8]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov ecx, 0xc
call fcn.140149ef0
mov r9d, 6
mov qword [rdi + 0x18], rax
mov r8, rax
mov rcx, rbx
lea edx, [r9 + 9]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
lea r8, [rdi + 0x20]
mov edx, 0x20001010
mov r9d, 4
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14024f8b0
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x1401925d0
Capabilities:
Validate payment card number using luhn algorithm

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, 0x60
mov rax, qword [0x14035d6e8]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov eax, dword [rdx + 8]
xor ebx, ebx
mov r12d, dword [rdx + 8]
xor edi, edi
mov dword [rsp + 0x24], eax
mov r13, rcx
or eax, 0xffffffff
mov dword [rsp + 0x28], r9d
mov ebp, eax
mov dword [rsp + 0x3c], eax
mov r14d, eax
mov dword [rsp + 0x40], eax
mov word [rsp + 0x20], r8w
xor esi, esi
mov qword [rsp + 0x30], rdx
xor r15d, r15d
mov qword [rsp + 0x48], rbx
mov dword [rsp + 0x50], edi
mov dword [rsp + 0x38], ebx
call fcn.1401209e0
movsxd r8, dword [rsp + 0x24]
cmp r8d, eax
jge 0x14019272f
mov ebx, dword [rsp + 0xb0]
mov r10, r8
movzx edi, word [rsp + 0x20]
xor r9d, r9d
movsxd r11, eax
cmp r15d, ebx
jg 0x140192715
movzx ecx, word [r13 + 8]
test cx, cx
js 0x140192682
movsx eax, cx
sar eax, 5
jmp 0x140192686
mov eax, dword [r13 + 0xc]
cmp r12d, eax
jae 0x14019269f
lea rax, [r13 + 0xa]
test cl, 2
jne 0x140192698
mov rax, qword [r13 + 0x18]
movzx ecx, word [rax + r10*2]
jmp 0x1401926a4
mov ecx, 0xffff
cmp cx, di
jne 0x1401926c5
test r15d, r15d
jne 0x1401926b6
cmp dword [rsp + 0x38], esi
je 0x140192715
jmp 0x140192706
cmp dword [rsp + r9 + 0x38], 0xffffffff
jne 0x140192715
mov dword [rsp + r9 + 0x38], esi
jmp 0x140192706
mov r8d, dword [rsp + r9 + 0x38]
cmp r8d, 0xffffffff
je 0x140192715
lea eax, [rcx - 0x30]
cmp ax, 9
ja 0x140192715
movzx edx, cx
sub edx, 0x30
js 0x140192715
mov eax, dword [rsp + r9 + 0x48]
lea ecx, [rax + rax*4]
lea eax, [rdx + rcx*2]
mov dword [rsp + r9 + 0x48], eax
lea eax, [r8 + 1]
mov dword [rsp + r9 + 0x38], eax
cmp eax, 2
jl 0x140192706
inc r15d
add r9, 4
inc r12d
inc r10
cmp r10, r11
jl 0x140192667
mov edi, dword [rsp + 0x50]
mov esi, dword [rsp + 0x4c]
mov ebx, dword [rsp + 0x48]
mov r14d, dword [rsp + 0x40]
mov ebp, dword [rsp + 0x3c]
mov r8d, dword [rsp + 0x24]
xor edx, edx
xor ecx, ecx
cmp dword [rsp + 0x38], ecx
je 0x140192799
cmp ebx, 0x17
jle 0x14019275c
mov eax, 0x66666667
imul ebx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0x36ee80
xor eax, eax
lea ecx, [rax + 1]
jmp 0x14019279c
mov ecx, dword [rsp + 0x38]
xor eax, eax
imul edx, ebx, 0x36ee80
cmp ebp, 2
jne 0x14019279c
cmp esi, 0x3b
jg 0x14019279c
imul eax, esi, 0xea60
add ecx, 3
add edx, eax
lea eax, [rbp - 1]
cmp r14d, ebp
jne 0x14019279c
cmp edi, 0x3b
jg 0x14019279c
imul eax, edi, 0x3e8
add edx, eax
mov eax, ebp
add ecx, 3
jmp 0x14019279c
or eax, 0xffffffff
cmp eax, dword [rsp + 0x28]
mov rax, qword [rsp + 0x30]
jge 0x1401927af
mov dword [rax + 0xc], r8d
xor eax, eax
jmp 0x1401927b7
add ecx, r8d
mov dword [rax + 8], ecx
mov eax, edx
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14024f8b0
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x1401997b0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x48], rbx
mov rbx, rcx
call fcn.140148a10
nop
lea rax, vtable.icu_64::JapaneseCalendar.0
mov qword [rbx], rax
mov dword [rsp + 0x50], 0
mov eax, dword [0x140440668]
cmp eax, 2
je 0x140199875
lea rcx, [0x140440668]
call fcn.14014dbd0
test al, al
je 0x140199875
xor dil, dil
mov rcx, qword [str.ICU_ENABLE_TENTATIVE_ERA]
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
je 0x140199834
lea rdx, str.true
mov rcx, rax
call fcn.14014df80
movzx edi, dil
mov ecx, 1
test eax, eax
cmove edi, ecx
lea r8, [rsp + 0x50]
movzx edx, dil
lea rcx, str.japanese
call fcn.140212060
mov qword [0x140440660], rax
mov edx, dword [rsp + 0x50]
test edx, edx
jg 0x140199861
mov eax, dword [rax + 0xc]
mov dword [0x140440670], eax
mov dword [0x14044066c], edx
lea rcx, [0x140440668]
call fcn.14014db50
jmp 0x140199888
mov ecx, dword [rsp + 0x50]
mov eax, dword [0x14044066c]
test eax, eax
cmovg ecx, eax
mov dword [rsp + 0x50], ecx
lea rdx, [0x140199eb0]
mov ecx, 6
call fcn.14016f320
nop
mov rax, rbx
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x140199e20
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
xor bl, bl
mov rcx, qword [str.ICU_ENABLE_TENTATIVE_ERA]
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
je 0x140199e5d
lea rdx, str.true
mov rcx, rax
call fcn.14014df80
test eax, eax
movzx ebx, bl
mov ecx, 1
cmove ebx, ecx
mov r8, rdi
lea rcx, str.japanese
movzx edx, bl
call fcn.140212060
cmp dword [rdi], 0
mov qword [0x140440660], rax
jg 0x140199e84
mov eax, dword [rax + 0xc]
mov dword [0x140440670], eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1401e5610
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [rcx + 0x18]
mov rdx, rcx
mov r8d, eax
shl r8d, 8
test al, 0xc
je 0x1401e5625
xor r8d, dword [rcx + 0x1c]
mov r9d, dword [rcx + 0x48]
xor r8d, r9d
xor ecx, ecx
test r9d, r9d
jle 0x1401e5652
mov rax, qword [rdx + 0x40]
nop word [rax + rax]
mov edx, dword [rax]
lea rax, [rax + 4]
shl edx, cl
inc ecx
xor r8d, edx
cmp ecx, r9d
jl 0x1401e5640
mov eax, r8d
ret
Function at 0x14020c320
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xc0
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x110], rbx
mov rax, qword [0x14035d6e8]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov r14, rdx
mov rbx, rcx
mov rax, qword [rcx + 0x20]
test rax, rax
je 0x14020c504
xor r15d, r15d
cmp dword [rax + 8], r15d
jle 0x14020c4e9
lea r13, vtable.icu_64::UnicodeString.0
lea esi, [r15 + 2]
mov edx, r15d
mov rcx, qword [rbx + 0x20]
call fcn.1401af0c0
mov rdi, rax
lea edx, [r15 + 1]
mov rcx, qword [rbx + 0x20]
call fcn.1401af0c0
mov r12, rax
lea rax, [rsp + 0x20]
or r9d, 0xffffffff
mov r8, rdi
mov dl, 1
lea rcx, [rsp + 0x70]
call fcn.14011e250
nop
cmp qword [rbx + 0x10], 0
jne 0x14020c3f6
mov dword [rbx + 0x18], 0x200
mov ecx, 0x2000
call fcn.140149ef0
mov qword [rbx + 0x10], rax
test rax, rax
jne 0x14020c3e6
mov dword [r14], 7
jmp 0x14020c4cd
xor ecx, ecx
mov qword [rax], rcx
mov qword [rax + 8], rcx
mov dword [rbx + 0x1c], 1
mov qword [rsp + 0x30], r13
mov word [rsp + 0x38], si
cmp byte [rbx + 8], 0
je 0x14020c44f
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x30]
call fcn.1401204f0
mov rcx, rax
xor edx, edx
call fcn.140156c20
movzx eax, byte [rsp + 0x38]
test al, 0x11
je 0x14020c42c
xor esi, esi
jmp 0x14020c439
test al, 2
lea rsi, [rsp + 0x3a]
cmove rsi, qword [rsp + 0x48]
movzx eax, word [rsp + 0x38]
test ax, ax
js 0x14020c449
cwde
sar eax, 5
jmp 0x14020c47b
mov eax, dword [rsp + 0x3c]
jmp 0x14020c47b
movzx eax, word [rsp + 0x78]
test al, 0x11
je 0x14020c45c
xor esi, esi
jmp 0x14020c46c
test al, 2
lea rsi, [rsp + 0x7a]
cmove rsi, qword [rsp + 0x88]
test ax, ax
js 0x14020c477
cwde
sar eax, 5
jmp 0x14020c47b
mov eax, dword [rsp + 0x7c]
mov rcx, qword [rbx + 0x10]
xor edi, edi
movsxd rbp, eax
test eax, eax
jle 0x14020c4ae
nop dword [rax + rax]
mov r9, r14
movzx r8d, word [rsi + rdi*2]
mov rdx, rcx
mov rcx, rbx
call fcn.14020c090
mov rcx, rax
inc rdi
cmp rdi, rbp
jl 0x14020c490
mov r9, r14
mov r8, qword [rbx + 0x30]
mov rdx, r12
call fcn.14020c260
nop
lea rcx, [rsp + 0x30]
call fcn.14011e7e0
mov esi, 2
lea rcx, [rsp + 0x70]
call fcn.14011e7e0
add r15d, 2
mov rax, qword [rbx + 0x20]
cmp r15d, dword [rax + 8]
jl 0x14020c381
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x14020c4fc
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov qword [rbx + 0x20], 0
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.14024f8b0
mov rbx, qword [rsp + 0x110]
add rsp, 0xc0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140228510
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rdi
sub rsp, 0x50
mov rdi, qword [rsp + 0x88]
mov rbp, r8
mov ebx, edx
mov r10d, ecx
cmp dword [rdi], 0
jg 0x14022856b
test r9d, r9d
jle 0x140228720
test bpl, 3
jne 0x140228720
lea eax, [rcx + 1]
cmp eax, 2
ja 0x140228720
lea eax, [rdx + 1]
cmp eax, 3
ja 0x140228720
cmp r9d, 0x10
jge 0x14022857d
mov dword [rdi], 3
xor eax, eax
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
cmp dword [r8], 0x54726933
jne 0x140228565
movzx r8d, word [r8 + 4]
mov eax, r8d
mov ecx, r8d
shr eax, 6
and ecx, 7
and eax, 3
cmp eax, 1
ja 0x140228565
cmp ecx, 2
ja 0x140228565
test r8b, 0x38
jne 0x140228565
test r10d, r10d
cmovs r10d, eax
test ebx, ebx
cmovs ebx, ecx
cmp r10d, eax
jne 0x140228565
cmp ebx, ecx
jne 0x140228565
movzx ecx, word [rbp + 6]
xor eax, eax
mov qword [rsp + 0x38], rax
mov edx, r8d
mov qword [rsp + 0x30], rax
and edx, 0xf000
mov qword [rsp + 0x40], rax
and r8d, 0xf00
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rax
movzx eax, word [rbp + 8]
shl edx, 4
or edx, eax
shl r8d, 8
movzx eax, word [rbp + 0xa]
mov word [rsp + 0x46], ax
movzx eax, word [rbp + 0xc]
or r8d, eax
mov qword [rsp + 0x60], rsi
movzx eax, word [rbp + 0xe]
lea esi, [rcx*2 + 0x10]
shl eax, 9
mov dword [rsp + 0x38], eax
add eax, 0xfff
sar eax, 0xc
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x34], edx
mov dword [rsp + 0x48], r8d
mov word [rsp + 0x3c], ax
mov byte [rsp + 0x3e], r10b
mov byte [rsp + 0x3f], bl
test ebx, ebx
jne 0x140228653
lea esi, [rsi + rdx*2]
jmp 0x14022865f
cmp ebx, 1
jne 0x14022865d
lea esi, [rsi + rdx*4]
jmp 0x14022865f
add esi, edx
cmp r9d, esi
jl 0x1402286d7
mov ecx, 0x30
call fcn.140149ef0
mov rdx, rax
test rax, rax
jne 0x140228693
mov dword [rdi], 7
xor eax, eax
mov rsi, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
movups xmm0, xmmword [rsp + 0x20]
lea rcx, [rbp + 0x10]
movups xmm1, xmmword [rsp + 0x30]
movups xmmword [rax], xmm0
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rax + 0x10], xmm1
movups xmmword [rax + 0x20], xmm0
mov qword [rax], rcx
movsxd rax, dword [rax + 0x10]
lea r8, [rcx + rax*2]
mov ecx, dword [rdx + 0x28]
mov eax, dword [rdx + 0x14]
cmp ecx, eax
jl 0x1402286c9
lea ecx, [rax - 2]
test ebx, ebx
je 0x1402286fa
sub ebx, 1
je 0x1402286ed
cmp ebx, 1
je 0x1402286df
mov dword [rdi], 3
jmp 0x14022867c
movsxd rax, ecx
mov qword [rdx + 8], r8
movzx ecx, byte [rax + r8]
jmp 0x140228706
movsxd rax, ecx
mov qword [rdx + 8], r8
mov ecx, dword [r8 + rax*4]
jmp 0x140228706
movsxd rax, ecx
mov qword [rdx + 8], r8
movzx ecx, word [r8 + rax*2]
mov rax, qword [rsp + 0x80]
mov dword [rdx + 0x2c], ecx
test rax, rax
je 0x140228718
mov dword [rax], esi
mov rax, rdx
jmp 0x14022867e
mov rbx, qword [rsp + 0x68]
xor eax, eax
mov rbp, qword [rsp + 0x70]
mov dword [rdi], 1
add rsp, 0x50
pop rdi
ret