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

Disassembly:
sub rsp, 0x18
xor edx, edx
cmp rcx, rdx
je 0x1081592
cmp rcx, 0xffffffffffffffff
je 0x1081592
cmp word [rcx], 0x5a4d
jne 0x108158a
cmp dword [rcx + 0x3c], edx
jl 0x108158a
cmp dword [rcx + 0x3c], 0x10000000
jae 0x108158a
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x1081592
mov rax, rdx
add rsp, 0x18
ret

Function at 0x108174f
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x0109d1a0]
jne 0x107dbea
rol rcx, 0x10
test cx, 0xffff
jne 0x107dbe6
repz ret
ror rcx, 0x10
jmp 0x10816a8
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x010a1340]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x010a1438]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x108172d
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x010a1340]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x108174f
mov rax, qword [rsp + 0x88]
mov qword [0x010a1438], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x010a13d8], rax
mov rax, qword [0x010a1438]
mov qword [0x010a12b0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x010a13c0], rax
mov dword [0x010a12a0], 0xc0000409
mov dword [0x010a12a4], 1
mov rax, qword [0x0109d1a0]
mov qword [rsp + 0x68], rax
mov rax, qword [0x0109d1a8]
mov qword [rsp + 0x70], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x01018f90]
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, 0x88
ret

Function at 0x10817d0
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x530
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rbx, qword [rsp + 0x158]
lea rdx, [rsp + 0x40]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x108183b
and qword [rsp + 0x38], 0
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x50]
mov r9, rax
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x60]
mov r8, rbx
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_RtlVirtualUnwind]
jmp 0x108185b
mov rax, qword [rsp + 0x538]
mov qword [rsp + 0x158], rax
lea rax, [rsp + 0x538]
mov qword [rsp + 0xf8], rax
lea rcx, [0x01018fa0]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
add rsp, 0x530
pop rbx
ret
Function at 0x1086864
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0x50
mov ebx, r8d
mov r12, rdx
mov r13, rcx
call fcn.0108107c
xor ebp, ebp
and dword [rsp + 0x88], ebp
and dword [rsp + 0x30], ebp
cmp qword [0x010a1ac8], rbp
mov rdi, rax
jne 0x1086997
lea rcx, [0x01019118]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
test rax, rax
mov rsi, rax
jne 0x10868c3
xor eax, eax
jmp 0x1086a77
lea rdx, [0x01019108]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x10868bc
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x010190f8]
mov rcx, rsi
mov qword [0x010a1ac8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x010190e0]
mov rcx, rsi
mov qword [0x010a1ad0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rcx, [rsp + 0x88]
mov qword [0x010a1ad8], rax
call fcn.01080148
test eax, eax
je 0x108694a
and qword [rsp + 0x20], rbp
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.010817d0
cmp dword [rsp + 0x88], 2
jne 0x1086997
lea rdx, [0x010190c0]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
test rax, rax
mov qword [0x010a1ae8], rax
je 0x1086997
lea rdx, [0x010190a8]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x010a1ae0], rax
mov rcx, qword [0x010a1ae0]
cmp rcx, rdi
je 0x1086a29
cmp qword [0x010a1ae8], rdi
je 0x1086a29
call sub.KERNEL32.dll_DecodePointer
call rax
test rax, rax
mov rsi, rax
je 0x10869f4
mov rcx, qword [0x010a1ae8]
call sub.KERNEL32.dll_DecodePointer
lea rcx, [rsp + 0x34]
mov r9d, 0xc
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
lea r8, [rsp + 0x38]
mov rcx, rsi
call rax
test eax, eax
je 0x10869f4
test byte [rsp + 0x40], 1
jne 0x1086a29
lea rcx, [rsp + 0x30]
call fcn.01080194
test eax, eax
je 0x1086a16
and qword [rsp + 0x20], rbp
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.010817d0
cmp dword [rsp + 0x30], 4
jb 0x1086a23
bts ebx, 0x15
jmp 0x1086a5d
bts ebx, 0x12
jmp 0x1086a5d
mov rcx, qword [0x010a1ad0]
cmp rcx, rdi
je 0x1086a5d
call sub.KERNEL32.dll_DecodePointer
call rax
test rax, rax
mov rbp, rax
je 0x1086a5d
mov rcx, qword [0x010a1ad8]
cmp rcx, rdi
je 0x1086a5d
call sub.KERNEL32.dll_DecodePointer
mov rcx, rbp
call rax
mov rbp, rax
mov rcx, qword [0x010a1ac8]
call sub.KERNEL32.dll_DecodePointer
mov r9d, ebx
mov r8, r12
mov rdx, r13
mov rcx, rbp
call rax
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r13
pop r12
pop rdi
ret
Function at 0x108e7c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x10], rbx
xor ebx, ebx
test r8d, r8d
mov qword [rsp + 0x18], rsi
mov r9, rdx
mov rsi, rcx
je 0x108e87d
mov qword [rsp + 0x20], rdi
mov edi, r8d
nop
nop
nop
nop
mov r11b, byte [r9]
shr r11d, 4
and r11d, 0xf
xor r10d, r10d
movsxd rax, r11d
lea r8, [rsi + rax*8 + 4]
cmp r11d, 0xa
jae 0x108e85e
movzx edx, word [r9]
mov ecx, r10d
mov eax, pe_nt_image_headers64
shl eax, cl
test edx, eax
je 0x108e85e
xor dl, byte [r8 - 4]
test dl, 0xf
jne 0x108e84a
movzx eax, word [r8 - 2]
cmp word [r9 + 2], ax
jne 0x108e84a
movzx eax, word [r8]
cmp word [r9 + 4], ax
jne 0x108e84a
movzx eax, word [r8 + 2]
cmp word [r9 + 6], ax
je 0x108e85e
mov rax, qword [r9]
lea ecx, [r10 + r11*2]
mov edx, 1
shl edx, cl
mov qword [r8 - 4], rax
or ebx, edx
inc r10d
add r8, 0x50
cmp r10d, 2
jb 0x108e806
add r9, 8
dec rdi
jne 0x108e7f0
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x18]
mov eax, ebx
mov rbx, qword [rsp + 0x10]
ret

Function at 0x1418058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.014181df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, pe_nt_image_headers64
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1418089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141806f
add dl, dl
jne 0x1418096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14180f6
xor eax, eax
add dl, dl
jne 0x14180a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14181ad
add dl, dl
jne 0x14180b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14180c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14180d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14180dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x14180ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x141807e
mov eax, 1
add dl, dl
jne 0x1418106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1418113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14180fb
sub eax, ebx
mov ebx, 1
jne 0x141814c
mov ecx, 1
add dl, dl
jne 0x141812e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141813b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1418123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141807e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1418168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1418175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141815d
cmp eax, 0x7d00
jae 0x141819b
cmp eax, 0x500
jb 0x1418196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141807e
cmp eax, 0x7f
ja 0x141819e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141807e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x14181d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x141807e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x180002320
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
lea rax, [rcx + 8]
mov r9d, 0x270
nop word [rax + rax]
mov r8d, dword [rax - 4]
xor r8d, dword [rax]
lea rax, [rax + 4]
btr r8d, 0x1f
xor r8d, dword [rax - 8]
mov ecx, r8d
and cl, 1
neg cl
sbb edx, edx
shr r8d, 1
and edx, 0x9908b0df
xor edx, dword [rax + 0x62c]
xor edx, r8d
mov dword [rax + 0x9b8], edx
sub r9, 1
jne 0x180002330
ret

Function at 0x180002390
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 8
xor r10d, r10d
mov r11, rcx
test r9, r9
je 0x180002475
cmp r9, 0x40
jb 0x180002453
movsx eax, byte [rcx]
lea rcx, [rdx - 1]
add rcx, r9
movd xmm2, eax
lea rax, [r8 - 1]
punpcklbw xmm2, xmm2
add rax, r9
punpcklwd xmm2, xmm2
pshufd xmm2, xmm2, 0
cmp rdx, rax
ja 0x1800023dd
cmp rcx, r8
jae 0x180002453
cmp rdx, r11
ja 0x1800023e7
cmp rcx, r11
jae 0x180002453
mov rcx, r9
mov qword [rsp + 0x10], rbx
and rcx, 0xffffffffffffffc0
mov qword [rsp], rdi
mov rbx, r8
lea rax, [rdx + 0x10]
sub rbx, rdx
movdqu xmm0, xmmword [rbx + rax - 0x10]
add r10, 0x40
movdqu xmm1, xmmword [rbx + rax]
lea rax, [rax + 0x40]
xorps xmm0, xmm2
xorps xmm1, xmm2
movdqu xmmword [rax - 0x50], xmm0
movdqu xmm0, xmmword [rbx + rax - 0x30]
movdqu xmmword [rax - 0x40], xmm1
xorps xmm0, xmm2
movdqu xmm1, xmmword [rbx + rax - 0x20]
movdqu xmmword [rax - 0x30], xmm0
xorps xmm1, xmm2
movdqu xmmword [rax - 0x20], xmm1
cmp r10, rcx
jb 0x180002401
mov rbx, qword [rsp + 0x10]
mov rdi, qword [rsp]
cmp r10, r9
jae 0x180002475
sub r8, rdx
lea rax, [r10 + rdx]
sub r9, r10
nop dword [rax]
movzx ecx, byte [r8 + rax]
lea rax, [rax + 1]
xor cl, byte [r11]
mov byte [rax - 1], cl
sub r9, 1
jne 0x180002460
add rsp, 8
ret

Function at 0x180002920
Capabilities:
Encode data using xor

Disassembly:
mov dword [rcx + 4], edx
lea r10, [rcx + 8]
mov eax, 1
nop dword [rax]
mov r9d, edx
lea r10, [r10 + 4]
shr r9d, 0x1e
xor edx, r9d
imul edx, r8d
add edx, eax
inc rax
mov dword [r10 - 4], edx
cmp rax, 0x270
jb 0x180002930
mov dword [rcx], 0x270
ret

Function at 0x180008670
Capabilities:
Hash data using fnv

Disassembly:
movsx eax, dl
xor eax, ecx
imul eax, eax, 0x1000193
ret
Function at 0x18000c550
Capabilities:
Parse credit card information

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
xor al, al
mov ecx, dword [rcx + 0x7c]
cmp ecx, 0xffffffff
je 0x18000c708
cmp ecx, 0x7c
je 0x18000c708
cmp ecx, 0x29
jne 0x18000c598
cmp dword [rbx + 0x1c], 0
jne 0x18000c708
test dword [rbx + 0x80], 0x10000000
je 0x18000c721
jmp 0x18000c6d8
cmp ecx, 0x2e
jne 0x18000c5ab
lea rcx, [rbx + 0x40]
call fcn.18000bdf0
jmp 0x18000c6e5
cmp ecx, 0x5c
jne 0x18000c60f
mov rcx, rbx
call fcn.18000fc90
test byte [rbx + 0x80], 0x80
je 0x18000c602
movzx eax, byte [rbx + 0x78]
cmp al, 0x62
jne 0x18000c5df
lea rcx, [rbx + 0x40]
call fcn.18000c470
mov rcx, rbx
call fcn.18000fc90
jmp 0x18000c6f5
cmp al, 0x42
jne 0x18000c602
lea rcx, [rbx + 0x40]
call fcn.18000c470
lea rcx, [rbx + 0x40]
call fcn.18000fc10
mov rcx, rbx
call fcn.18000fc90
jmp 0x18000c6f5
mov rcx, rbx
call fcn.18000c7a0
jmp 0x18000c6ed
cmp ecx, 0x5b
jne 0x18000c63c
mov rcx, rbx
call fcn.18000fc90
mov rcx, rbx
call fcn.18000d3b0
mov edx, 0x5d
mov r8d, 4
mov rcx, rbx
call fcn.18000ea30
jmp 0x18000c6ed
cmp ecx, 0x28
jne 0x18000c672
mov rcx, rbx
call fcn.18000fc90
mov rcx, rbx
call fcn.180010900
mov edx, 0x29
mov r8d, 5
mov rcx, rbx
movzx edi, al
call fcn.18000ea30
test dil, dil
je 0x18000c6f5
jmp 0x18000c6ed
cmp ecx, 0x5e
jne 0x18000c68a
lea rcx, [rbx + 0x40]
call fcn.18000bb80
mov rcx, rbx
call fcn.18000fc90
jmp 0x18000c6f5
cmp ecx, 0x24
jne 0x18000c6a2
lea rcx, [rbx + 0x40]
call fcn.18000bea0
mov rcx, rbx
call fcn.18000fc90
jmp 0x18000c6f5
lea eax, [rcx - 0x2a]
cmp eax, 1
jbe 0x18000c713
cmp ecx, 0x3f
je 0x18000c713
cmp ecx, 0x7b
je 0x18000c713
cmp ecx, 0x7d
jne 0x18000c6c7
test dword [rbx + 0x80], 0x10000000
je 0x18000c72f
jmp 0x18000c6d8
cmp ecx, 0x5d
jne 0x18000c6d8
test dword [rbx + 0x80], 0x10000000
je 0x18000c73d
movzx edx, byte [rbx + 0x78]
lea rcx, [rbx + 0x40]
call fcn.18000bb90
mov rcx, rbx
call fcn.18000fc90
mov rcx, rbx
call fcn.18000fd40
mov ecx, dword [rbx + 0x7c]
mov al, 1
cmp ecx, 0xffffffff
je 0x18000c708
cmp ecx, 0x7c
jne 0x18000c574
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov edx, 0xa
mov rcx, rbx
call fcn.18000e9e0
int3
mov edx, 5
mov rcx, rbx
call fcn.18000e9e0
int3
mov edx, 6
mov rcx, rbx
call fcn.18000e9e0
int3
mov edx, 4
mov rcx, rbx
call fcn.18000e9e0
int3
Function at 0x1800186b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
test edx, edx
je 0x1800186c1
mov ecx, edx
jmp 0x18001870a
mov ecx, 1
call fcn.1800187c0
mov rcx, rax
call fcn.180018730
mov rcx, rax
mov rdx, rbx
call 0x1800188c0
test rax, rax
jne 0x180018727
mov ecx, 3
call fcn.1800187c0
mov rcx, rax
call fcn.180018730
mov rcx, rax
mov rdx, rbx
call 0x1800188c0
test rax, rax
jne 0x180018727
mov ecx, 2
call fcn.1800187c0
mov rcx, rax
call fcn.180018730
mov rdx, rbx
mov rcx, rax
add rsp, 0x20
pop rbx
jmp 0x1800188c0
add rsp, 0x20
pop rbx
ret
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, 0x20
movsxd rax, dword [rcx + 0x3c]
mov rbp, rdx
mov rsi, rcx
mov edi, dword [rax + rcx + 0x88]
add rdi, rcx
mov r12d, dword [rdi + 0x1c]
mov r13d, dword [rdi + 0x24]
add r12, rcx
add r13, rcx
cmp rdx, 0xffff
ja 0x18001891f
sub bp, word [rdi + 0x10]
movzx eax, bp
cmp eax, dword [rdi + 0x14]
jae 0x18001894a
movzx eax, bp
mov eax, dword [r12 + rax*4]
add rax, rcx
jmp 0x18001894c
mov r15d, dword [rdi + 0x20]
xor ebx, ebx
add r15, rsi
cmp dword [rdi + 0x18], ebx
jbe 0x18001894a
nop dword [rax]
mov edx, dword [r15 + rbx*4]
mov rcx, rbp
add rdx, rsi
call 0x180018dd0
test eax, eax
je 0x180018969
inc ebx
cmp ebx, dword [rdi + 0x18]
jb 0x180018930
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
movzx eax, word [r13 + rbx*2]
mov eax, dword [r12 + rax*4]
add rax, rsi
jmp 0x18001894c

Function at 0x180018860
Capabilities:
Access peb ldr_data

Disassembly:
cmp qword [rcx + 0x30], 0
jne 0x18001887e
mov rax, qword gs:[0x30]
mov rdx, qword [rax + 0x60]
mov rax, qword [rdx + 0x18]
mov rdx, qword [rax + 0x20]
jmp 0x180018882
mov rdx, qword [rcx + 0x10]
movups xmm0, xmmword [rdx - 0x10]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rdx]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rdx + 0x10]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rdx + 0x20]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rdx + 0x30]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rdx + 0x40]
movups xmmword [rcx + 0x50], xmm1
movsd xmm0, qword [rdx + 0x50]
movsd qword [rcx + 0x60], xmm0
mov rax, qword [rcx + 0x30]
ret
Function at 0x1800188c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
test edx, edx
je 0x1800186c1
mov ecx, edx
jmp 0x18001870a
mov ecx, 1
call fcn.1800187c0
mov rcx, rax
call fcn.180018730
mov rcx, rax
mov rdx, rbx
call 0x1800188c0
test rax, rax
jne 0x180018727
mov ecx, 3
call fcn.1800187c0
mov rcx, rax
call fcn.180018730
mov rcx, rax
mov rdx, rbx
call 0x1800188c0
test rax, rax
jne 0x180018727
mov ecx, 2
call fcn.1800187c0
mov rcx, rax
call fcn.180018730
mov rdx, rbx
mov rcx, rax
add rsp, 0x20
pop rbx
jmp 0x1800188c0
add rsp, 0x20
pop rbx
ret
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, 0x20
movsxd rax, dword [rcx + 0x3c]
mov rbp, rdx
mov rsi, rcx
mov edi, dword [rax + rcx + 0x88]
add rdi, rcx
mov r12d, dword [rdi + 0x1c]
mov r13d, dword [rdi + 0x24]
add r12, rcx
add r13, rcx
cmp rdx, 0xffff
ja 0x18001891f
sub bp, word [rdi + 0x10]
movzx eax, bp
cmp eax, dword [rdi + 0x14]
jae 0x18001894a
movzx eax, bp
mov eax, dword [r12 + rax*4]
add rax, rcx
jmp 0x18001894c
mov r15d, dword [rdi + 0x20]
xor ebx, ebx
add r15, rsi
cmp dword [rdi + 0x18], ebx
jbe 0x18001894a
nop dword [rax]
mov edx, dword [r15 + rbx*4]
mov rcx, rbp
add rdx, rsi
call 0x180018dd0
test eax, eax
je 0x180018969
inc ebx
cmp ebx, dword [rdi + 0x18]
jb 0x180018930
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
movzx eax, word [r13 + rbx*2]
mov eax, dword [r12 + rax*4]
add rax, rsi
jmp 0x18001894c

Function at 0x180018980
Capabilities:
Access peb ldr_data

Disassembly:
mov rax, qword gs:[0x30]
mov rdx, qword [rax + 0x60]
mov rax, qword [rdx + 0x18]
mov rax, qword [rax + 0x10]
test rax, rax
je 0x1800189c4
nop word [rax + rax]
cmp qword [rax + 0x30], rcx
je 0x1800189af
mov rax, qword [rax]
test rax, rax
jne 0x1800189a0
ret
mov rdx, qword [rax + 8]
mov rcx, qword [rax]
mov qword [rdx], rcx
mov rdx, qword [rax]
mov rcx, qword [rax + 8]
mov qword [rdx + 8], rcx
ret
Function at 0x180020350
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x1800203bf
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1800203bf
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1800203bf
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1800203bf
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1800203bf
cmp dword [rcx + 0x84], 0xe
jbe 0x1800203bf
cmp dword [rcx + 0xf8], 0
je 0x1800203bf
mov ecx, ebx
call fcn.180020464
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.180020258
nop
cmp dword [rbp + 0x20], 0
jne 0x180020420
call fcn.1800241b4
cmp eax, 1
jne 0x180020410
xor dl, dl
jmp 0x18002041a
call fcn.180024180
test al, al
sete dl
cmp dword [rbp + 0x20], 0
je 0x18002042b
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.180020434
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x180020350

Function at 0x18002178c
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x18004c050]
mov ebx, r9d
mov rdi, r8
mov esi, edx
mov rbp, rcx
cmp rax, 0xffffffffffffffff
je 0x1800217f1
test rax, rax
jne 0x1800217df
lea r9, str.GetLocaleInfoEx
lea r8, [0x1800347a8]
lea rdx, str.GetLocaleInfoEx
lea ecx, [rax + 0xa]
call fcn.180021460
test rax, rax
je 0x1800217f1
mov r9d, ebx
mov r8, rdi
mov edx, esi
mov rcx, rbp
call fcn.1800301b0
jmp 0x18002180b
xor edx, edx
mov rcx, rbp
call fcn.180021a7c
mov ecx, eax
mov r9d, ebx
mov r8, rdi
mov edx, esi
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x180025d04
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 0x180025d34
xor eax, eax
jmp 0x180025df7
mov rbp, rbx
cmp word [rax], si
je 0x180025d59
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x180025d40
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x180025d3c
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.180025c24
movsxd r14, eax
mov rcx, r14
test eax, eax
jne 0x180025d9a
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x180025d2d
call fcn.180024120
mov rdi, rax
test rax, rax
jne 0x180025db0
xor ecx, ecx
call fcn.180023c40
jmp 0x180025d8f
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.180025c24
test eax, eax
jne 0x180025de1
mov rcx, rdi
call fcn.180023c40
jmp 0x180025deb
xor ecx, ecx
call fcn.180023c40
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 0x18002a258
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
xor esi, esi
mov rdi, rdx
mov dword [rsp + 0x30], esi
mov rbx, rcx
test rcx, rcx
je 0x18002a2cb
cmp word [rcx], si
je 0x18002a2cb
lea rdx, [0x180039c30]
call fcn.18002cfd8
test eax, eax
je 0x18002a2cb
lea rdx, [0x180039c48]
mov rcx, rbx
call fcn.18002cfd8
test eax, eax
jne 0x18002a2c1
mov ecx, dword [rdi + 8]
lea r9d, [rsi + 2]
lea r8, [rsp + 0x30]
mov edx, 0x2000000b
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x18002a2e8
mov eax, dword [rsp + 0x30]
jmp 0x18002a2fa
mov rcx, rbx
call fcn.180021178
jmp 0x18002a2fa
mov ecx, dword [rdi + 8]
lea r8, [rsp + 0x30]
mov r9d, 2
mov edx, 0x20001004
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x18002a2ec
xor eax, eax
jmp 0x18002a2fa
mov eax, dword [rsp + 0x30]
test eax, eax
jne 0x18002a2fa
call qword [sym.imp.KERNEL32.dll_GetACP]
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x18002a30c
Capabilities:
Get geographical location

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x20
xor ebx, ebx
mov ebp, edx
mov dword [rax + 8], ebx
mov edi, ecx
call fcn.1800221d4
mov ecx, edi
lea r9d, [rbx + 2]
and ecx, 0x3ff
lea r8, [rsp + 0x30]
bts ecx, 0xa
mov edx, 0x20000001
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x18002a3af
cmp edi, dword [rsp + 0x30]
je 0x18002a3a8
test ebp, ebp
je 0x18002a3a8
mov r9, qword [rsi + 0x98]
mov r8d, ebx
movzx edx, word [r9]
lea rcx, [r9 + 2]
lea eax, [rdx - 0x41]
cmp ax, 0x19
jbe 0x18002a384
sub dx, 0x61
cmp dx, 0x19
ja 0x18002a390
movzx edx, word [rcx]
inc r8d
add rcx, 2
jmp 0x18002a371
or rax, 0xffffffffffffffff
inc rax
cmp word [r9 + rax*2], bx
jne 0x18002a394
cmp r8d, eax
setne bl
mov eax, ebx
jmp 0x18002a3b1
mov eax, 1
jmp 0x18002a3b1
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x18002f330
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x18002f358
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x18002f358
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret