joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140010a50
Capabilities:
Get system information on windows

Disassembly:
push rbp
push r12
push r13
push r14
push r15
sub rsp, 0xb0
lea rbp, [rsp + 0x30]
mov qword [rbp + 0xb0], rbx
mov qword [rbp + 0xb8], rsi
mov qword [rbp + 0xc0], rdi
mov rax, qword [0x14002a528]
xor rax, rbp
mov qword [rbp + 0x70], rax
mov eax, dword [rsp]
xor ebx, ebx
mov dword [rbp], ebx
sub rsp, 0x10
lea r13, [rsp + 0x30]
mov eax, dword [r13]
lea r8d, [rbx + 0x30]
lea rdx, [rbp + 0x10]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140010bbc
mov r14, qword [rbp + 0x18]
lea rcx, [rbp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edi, dword [rbp + 0x44]
lea rcx, [rbp]
call fcn.1400171f0
test eax, eax
je 0x140010aea
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call fcn.140011400
mov ecx, dword [rbp]
cmp ecx, 2
jne 0x140010b32
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x140010b2f
lea rdx, str.SetThreadStackGuarantee
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140010b2f
lea rcx, [rbp + 4]
mov dword [rbp + 4], ebx
call rax
cmp eax, 1
jne 0x140010b2f
mov eax, dword [rbp + 4]
test eax, eax
cmovne ebx, eax
mov ecx, dword [rbp]
mov r15d, 1
lea r8d, [rdi - 1]
lea edx, [rbx + rdi - 1]
cmp ecx, r15d
mov eax, r8d
mov esi, 0x104
not eax
cmove esi, r15d
and edx, eax
je 0x140010b57
add edx, edi
lea eax, [rdi + rdi]
mov ebx, r8d
cmp edx, eax
not rbx
cmovb edx, eax
and rbx, r13
mov eax, 0x11
mov r12d, edx
sub rbx, r12
cmp ecx, r15d
cmove edi, eax
mov eax, edi
add rax, r14
cmp rbx, rax
jb 0x140010bbc
mov r9d, 4
mov r8d, 0x1000
mov rdx, r12
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
je 0x140010bbc
lea r9, [rbp + 8]
mov r8d, esi
mov rdx, r12
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x140010bbc
mov eax, r15d
jmp 0x140010bbe
xor eax, eax
mov rcx, qword [rbp + 0x70]
xor rcx, rbp
call fcn.1400105b0
mov rbx, qword [rbp + 0xb0]
mov rsi, qword [rbp + 0xb8]
mov rdi, qword [rbp + 0xc0]
lea rsp, [rbp + 0x80]
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x1400114a0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x5b0
mov rbp, rcx
mov rcx, qword [0x14002bd48]
mov ebx, r9d
mov rdi, r8
mov rsi, rdx
call fcn.140014c00
test rax, rax
je 0x1400114f4
mov r10, qword [rsp + 0x5e0]
mov r9d, ebx
mov r8, rdi
mov rdx, rsi
mov rcx, rbp
mov qword [rsp + 0x20], r10
call rax
jmp 0x140011589
mov ecx, 2
call fcn.14001ac30
lea rcx, [rsp + 0xe0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
lea rcx, [rsp + 0x40]
xor edx, edx
mov r8d, 0x98
call fcn.140010da0
mov rax, qword [rsp + 0x5b8]
mov dword [rsp + 0x40], 0xc000000d
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x38], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
xor ecx, ecx
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
test eax, eax
jne 0x140011575
test ebx, ebx
jne 0x140011575
lea ecx, [rax + 2]
call fcn.14001ac30
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc000000d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
lea r11, [rsp + 0x5b0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x1400115b0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x5b8
mov rcx, qword [0x14002bd48]
call fcn.140014c00
test rax, rax
je 0x1400115e5
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], 0
call rax
add rsp, 0x5b8
ret
mov ecx, 2
mov qword [rsp + 0x5b0], rbx
call fcn.14001ac30
lea rcx, [rsp + 0xe0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
lea rcx, [rsp + 0x40]
xor edx, edx
mov r8d, 0x98
call fcn.140010da0
mov rax, qword [rsp + 0x5b8]
mov dword [rsp + 0x40], 0xc000000d
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x38], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
xor ecx, ecx
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
test eax, eax
jne 0x14001166e
test ebx, ebx
jne 0x14001166e
lea ecx, [rax + 2]
call fcn.14001ac30
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc000000d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rbx, qword [rsp + 0x5b0]
add rsp, 0x5b8
ret
Function at 0x140016b07
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x14002a528]
jne 0x1400105ca
rol rcx, 0x10
test cx, 0xffff
jne 0x1400105c6
repz ret
ror rcx, 0x10
jmp 0x140016a60
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x14002be30]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x14002bf28]
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 0x140016ae5
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, [0x14002be30]
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 0x140016b07
mov rax, qword [rsp + 0x88]
mov qword [0x14002bf28], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x14002bec8], rax
mov rax, qword [0x14002bf28]
mov qword [0x14002bda0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x14002beb0], rax
mov dword [0x14002bd90], 0xc0000409
mov dword [0x14002bd94], 1
mov rax, qword [0x14002a528]
mov qword [rsp + 0x68], rax
mov rax, qword [0x14002a530]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x14002be28], eax
mov ecx, 1
call fcn.14001ac30
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x140022598]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x14002be28], 0
jne 0x140016b8e
mov ecx, 1
call fcn.14001ac30
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 0x140017550
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r12
sub rsp, 0x30
lea r12, [0x14002a720]
xor esi, esi
mov edi, ecx
mov rax, r12
mov ebx, esi
nop
cmp ecx, dword [rax]
je 0x14001758e
add ebx, 1
add rax, 0x10
cmp ebx, 0x17
jb 0x140017570
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r12
pop rdi
pop rsi
ret
cmp ebx, 0x17
jae 0x140017775
mov ecx, 3
call fcn.14001e410
cmp eax, 1
je 0x14001772c
mov ecx, 3
call fcn.14001e410
test eax, eax
jne 0x1400175c5
cmp dword [0x14002a540], 1
je 0x14001772c
cmp edi, 0xfc
je 0x140017775
mov qword [rsp + 0x50], rbp
lea rbp, [0x14002c370]
lea r8, str.Runtime_Error__n_nProgram:
mov rcx, rbp
mov edx, 0x314
call fcn.140011d10
test eax, eax
je 0x140017609
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call fcn.140011400
lea rdx, [0x14002c389]
mov r8d, 0x104
xor ecx, ecx
mov byte [0x14002c48d], sil
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x140017659
lea r8, str._program_name_unknown_
lea rcx, [0x14002c389]
mov edx, 0x2fb
call fcn.140011d10
test eax, eax
je 0x140017659
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call fcn.140011400
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [0x14002c389]
repne scasb al, byte [rdi]
not rcx
cmp rcx, 0x3c
jbe 0x1400176a8
lea rcx, [rcx + rbp - 0x23]
lea rdx, [0x14002c684]
lea r9d, [rax + 3]
lea r8, [0x140022b74]
sub rdx, rcx
call fcn.14001db80
test eax, eax
je 0x1400176a8
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call fcn.140011400
lea r8, [0x140022b70]
mov edx, 0x314
mov rcx, rbp
call fcn.14001e350
test eax, eax
je 0x1400176d4
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call fcn.140011400
movsxd r8, ebx
mov edx, 0x314
mov rcx, rbp
add r8, r8
mov r8, qword [r12 + r8*8 + 8]
call fcn.14001e350
test eax, eax
je 0x140017704
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call fcn.140011400
lea rdx, str.Microsoft_Visual_C_Runtime_Library
mov r8d, 0x12010
mov rcx, rbp
call fcn.14001e0f0
mov rbp, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r12
pop rdi
pop rsi
ret
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
test rax, rax
mov r11, rax
je 0x140017775
cmp rax, 0xffffffffffffffff
je 0x140017775
xor eax, eax
movsxd rcx, ebx
lea r9, [rsp + 0x58]
add rcx, rcx
mov qword [rsp + 0x20], rsi
mov rdx, qword [r12 + rcx*8 + 8]
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
mov rcx, r11
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r12
pop rdi
pop rsi
ret
Function at 0x140017790
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x38
mov ecx, 3
call fcn.14001e410
cmp eax, 1
je 0x1400177c2
mov ecx, 3
call fcn.14001e410
test eax, eax
jne 0x140017876
cmp dword [0x14002a540], 1
jne 0x140017876
mov qword [rsp + 0x48], rbx
lea rbx, [0x14002a720]
mov qword [rsp + 0x30], rdi
mov rax, rbx
xor edi, edi
cmp dword [rax], 0xfc
je 0x1400177ee
add edi, 1
add rax, 0x10
cmp edi, 0x17
jb 0x1400177d8
jmp 0x140017862
cmp edi, 0x17
jae 0x140017862
mov ecx, 3
call fcn.14001e410
cmp eax, 1
je 0x140017819
mov ecx, 3
call fcn.14001e410
test eax, eax
jne 0x140017862
cmp dword [0x14002a540], 1
jne 0x140017862
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
test rax, rax
mov r11, rax
je 0x140017862
cmp rax, 0xffffffffffffffff
je 0x140017862
movsxd rcx, edi
xor eax, eax
lea r9, [rsp + 0x40]
add rcx, rcx
mov qword [rsp + 0x20], rax
mov rdx, qword [rbx + rcx*8 + 8]
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
mov rcx, r11
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, 0xff
call fcn.140017550
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x48]
add rsp, 0x38
ret
Function at 0x14001bc50
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov eax, dword [0x14002c7e8]
test eax, eax
jne 0x14001bca3
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
test rax, rax
mov rdi, rax
je 0x14001bc83
mov dword [0x14002c7e8], 1
jmp 0x14001bcbe
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x14001bc9d
mov dword [0x14002c7e8], 2
jmp 0x14001bd99
mov eax, dword [0x14002c7e8]
cmp eax, 1
jne 0x14001bd90
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
test rax, rax
mov rdi, rax
je 0x14001bde3
cmp word [rdi], 0
mov qword [rsp + 0x50], rbp
mov rbx, rdi
mov qword [rsp + 0x58], r12
je 0x14001bce5
add rbx, 2
cmp word [rbx], 0
jne 0x14001bcd1
add rbx, 2
cmp word [rbx], 0
jne 0x14001bcd1
xor r12d, r12d
sub rbx, rdi
mov r8, rdi
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
sar rbx, 1
lea r9d, [rbx + 1]
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
movsxd rbp, eax
je 0x14001bd83
mov rcx, rbp
call fcn.1400178d0
test rax, rax
mov rsi, rax
je 0x14001bd83
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
lea r9d, [rbx + 1]
mov r8, rdi
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jne 0x14001bd5d
mov rcx, rsi
call fcn.1400105d0
mov rsi, r12
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbp, qword [rsp + 0x50]
mov r12, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x14001bd69
cmp eax, 2
je 0x14001bd99
test eax, eax
jne 0x14001bde3
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
test rax, rax
mov rbx, rax
je 0x14001bde3
cmp byte [rax], 0
je 0x14001bdc2
nop
add rax, 1
cmp byte [rax], 0
jne 0x14001bdb0
add rax, 1
cmp byte [rax], 0
jne 0x14001bdb0
sub eax, ebx
add eax, 1
movsxd rsi, eax
mov rcx, rsi
call fcn.1400178d0
test rax, rax
mov rdi, rax
jne 0x14001bdf5
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
xor eax, eax
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.140011fb0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rax, rdi
add rsp, 0x40
pop rdi
ret
Function at 0x14001e0f0
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r13
push r14
sub rsp, 0x50
mov edi, r8d
mov r13, rdx
mov r14, rcx
call fcn.140014b10
xor ebx, ebx
cmp qword [0x14002cae0], rbx
mov rbp, rax
mov dword [rsp + 0x98], ebx
mov dword [rsp + 0x30], ebx
jne 0x14001e21c
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
mov rsi, rax
je 0x14001e32f
lea rdx, [0x1400235d8]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14001e32f
mov rcx, rax
call fcn.140014a40
lea rdx, [0x1400235c8]
mov rcx, rsi
mov qword [0x14002cae0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.140014a40
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x14002cae8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.140014a40
lea rcx, [rsp + 0x98]
mov qword [0x14002caf0], rax
call fcn.1400171f0
test eax, eax
je 0x14001e1cf
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call fcn.140011400
cmp dword [rsp + 0x98], 2
jne 0x14001e21c
lea rdx, str.GetUserObjectInformationA
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.140014a40
test rax, rax
mov qword [0x14002cb00], rax
je 0x14001e21c
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.140014a40
mov qword [0x14002caf8], rax
mov rcx, qword [0x14002caf8]
mov qword [rsp + 0x80], r12
cmp rcx, rbp
je 0x14001e2c8
cmp qword [0x14002cb00], rbp
je 0x14001e2c8
call fcn.140014c00
mov rcx, qword [0x14002cb00]
mov rsi, rax
call fcn.140014c00
test rsi, rsi
mov r12, rax
je 0x14001e2c8
test rax, rax
je 0x14001e2c8
call rsi
test rax, rax
je 0x14001e293
lea rcx, [rsp + 0x34]
mov r9d, 0xc
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x14001e293
test byte [rsp + 0x40], 1
jne 0x14001e2c8
lea rcx, [rsp + 0x30]
call fcn.140017240
test eax, eax
je 0x14001e2b5
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call fcn.140011400
cmp dword [rsp + 0x30], 4
jb 0x14001e2c2
bts edi, 0x15
jmp 0x14001e306
bts edi, 0x12
jmp 0x14001e306
mov rcx, qword [0x14002cae8]
cmp rcx, rbp
je 0x14001e306
call fcn.140014c00
test rax, rax
je 0x14001e306
call rax
test rax, rax
mov rbx, rax
je 0x14001e306
mov rcx, qword [0x14002caf0]
cmp rcx, rbp
je 0x14001e306
call fcn.140014c00
test rax, rax
je 0x14001e306
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x14002cae0]
call fcn.140014c00
mov r12, qword [rsp + 0x80]
test rax, rax
je 0x14001e32f
mov r9d, edi
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x14001e331
xor eax, eax
mov rbx, qword [rsp + 0x88]
add rsp, 0x50
pop r14
pop r13
pop rdi
pop rsi
pop rbp
ret
Function at 0x14001e820
Capabilities:
Get geographical location

Disassembly:
sub rsp, 0x38
mov rax, qword [0x14002a528]
xor rax, rsp
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x20]
mov r9d, 6
mov edx, 0x1004
mov byte [rsp + 0x26], 0
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x14001e867
or eax, 0xffffffff
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400105b0
add rsp, 0x38
ret
lea rcx, [rsp + 0x20]
call fcn.14001f3c0
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400105b0
add rsp, 0x38
ret
Function at 0x1800023b0
Capabilities:
Access peb ldr_data

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
cmp dword [0x180020a94], 0xa
jl 0x1800023e2
mov eax, dword [0x180020a98]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
je 0x1800023e2
nop word cs:[rax + rax]
jmp 0x1800023e0
mov rax, qword gs:[0x60]
mov r11, qword [rax + 0x18]
add r11, 0x10
mov eax, dword [0x180020a80]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x180020a7c], 0xa
setl r8b
or r8b, al
mov eax, dword [0x180020a9c]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x180020aa0], 0xa
setl r9b
or r9b, al
lea r10, [rcx - 1]
xor eax, eax
mov r14, r11
mov r14, qword [r14]
cmp r14, r11
je 0x1800024b8
mov rsi, r10
test r8b, r8b
je 0x1800024d0
cmp byte [rsi + 1], 0
lea rsi, [rsi + 1]
jne 0x180002450
test r9b, r9b
je 0x1800024e0
sub rsi, rcx
je 0x1800024b4
mov r15, qword [r14 + 0x60]
xor ebx, ebx
nop
movzx r13d, word [r15 + rbx*2]
lea edi, [r13 - 0x41]
lea ebp, [r13 + 0x20]
cmp di, 0x1a
cmovae ebp, r13d
movsx edi, byte [rcx + rbx]
lea r12d, [rdi - 0x41]
lea edx, [rdi + 0x20]
cmp r12b, 0x1a
cmovae edx, edi
sub ebp, edx
test r13d, r13d
je 0x1800024b0
test ebp, ebp
jne 0x1800024b0
add rbx, 1
cmp rsi, rbx
jne 0x180002470
jmp 0x1800024b4
test ebp, ebp
jne 0x18000243c
mov rax, qword [r14 + 0x30]
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
jmp 0x1800024d0
jmp 0x1800024e0
Function at 0x180002610
Capabilities:
Access peb ldr_data

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
cmp dword [0x180020a94], 0xa
jl 0x180002642
mov eax, dword [0x180020a98]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
je 0x180002642
nop word cs:[rax + rax]
jmp 0x180002640
mov rax, qword gs:[0x60]
mov r11, qword [rax + 0x18]
add r11, 0x10
mov eax, dword [0x180020a80]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x180020a7c], 0xa
setl r8b
or r8b, al
mov eax, dword [0x180020a9c]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x180020aa0], 0xa
setl r9b
or r9b, al
lea r10, [rcx - 1]
xor eax, eax
mov r14, r11
mov r14, qword [r14]
cmp r14, r11
je 0x180002718
mov rsi, r10
test r8b, r8b
je 0x180002730
cmp byte [rsi + 1], 0
lea rsi, [rsi + 1]
jne 0x1800026b0
test r9b, r9b
je 0x180002740
sub rsi, rcx
je 0x180002714
mov r15, qword [r14 + 0x60]
xor ebx, ebx
nop
movzx r13d, word [r15 + rbx*2]
lea edi, [r13 - 0x41]
lea ebp, [r13 + 0x20]
cmp di, 0x1a
cmovae ebp, r13d
movsx edi, byte [rcx + rbx]
lea r12d, [rdi - 0x41]
lea edx, [rdi + 0x20]
cmp r12b, 0x1a
cmovae edx, edi
sub ebp, edx
test r13d, r13d
je 0x180002710
test ebp, ebp
jne 0x180002710
add rbx, 1
cmp rsi, rbx
jne 0x1800026d0
jmp 0x180002714
test ebp, ebp
jne 0x18000269c
mov rax, qword [r14 + 0x30]
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
jmp 0x180002730
jmp 0x180002740
Function at 0x1800064e0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x18000653d
lea rbx, [0x180113620]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x180006524
cmp r10, 2
jb 0x180006524
cmp byte [r9], r8b
jne 0x180006524
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x180006500
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x18000657f
lea rbx, [0x180113620]
cmp r8b, 0x23
jne 0x180006563
cmp byte [r9], r8b
jne 0x180006563
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x180006550
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x1800066d0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x1800066ea
mov qword [r8], 0
lea rdx, [0x180112ee0]
call fcn.180006590
mov rbx, rax
test rax, rax
jne 0x18000670a
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call fcn.1800c9ad8
mov esi, eax
cmp eax, 0xffffffff
je 0x1800067f0
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call fcn.1800ca534
test eax, eax
jne 0x1800067f0
mov rcx, rbx
call fcn.1800c9ad8
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x1800067f0
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call fcn.1800ca534
test eax, eax
jne 0x1800067f0
cmp rdi, 0xffffffffffffffff
je 0x1800067f0
mov rax, qword [0x180166838]
test rax, rax
je 0x180006782
inc dword [rax + 0xf0]
mov rdx, qword [0x180166878]
mov rcx, rdi
call qword [0x180164ef8]
mov rsi, rax
test rax, rax
je 0x1800067f0
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call fcn.1800cb368
mov rcx, rbx
cmp rax, rdi
je 0x1800067de
call fcn.1800ca22c
mov rax, qword [0x180166838]
test rax, rax
je 0x1800067cc
dec dword [rax + 0xf0]
mov rdx, qword [0x180166878]
mov rcx, rsi
call qword [0x180164f00]
jmp 0x1800067f8
call fcn.1800ca22c
test r14, r14
je 0x1800067eb
mov qword [r14], rdi
mov rax, rsi
jmp 0x1800067fa
mov rcx, rbx
call fcn.1800ca22c
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x180009ee0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
mov rax, qword [rcx + 0xf8]
lea r9, [0x180113620]
movss xmm2, dword [rcx + 0x110]
movss xmm3, dword [rcx + 0x114]
movsxd rcx, dword [rcx + 0xf0]
movss xmm0, dword [rdx]
movss xmm1, dword [rdx + 4]
subss xmm0, xmm2
subss xmm1, xmm3
mov r8d, dword [rax + rcx*4 - 4]
not r8d
movzx ecx, r8b
shr r8d, 8
movss dword [rsp], xmm0
movzx eax, byte [rsp]
xor rcx, rax
movss xmm0, dword [rdx + 8]
movzx eax, byte [rsp + 1]
subss xmm0, xmm2
movss dword [rsp + 4], xmm1
movss xmm1, dword [rdx + 0xc]
xor r8d, dword [r9 + rcx*4]
subss xmm1, xmm3
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 2]
movss dword [rsp + 8], xmm0
movss dword [rsp + 0xc], xmm1
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 3]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 4]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 5]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 6]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 7]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 8]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 9]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xa]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xb]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xc]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xd]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xe]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
xor r8d, dword [r9 + rcx*4]
movzx ecx, byte [rsp + 0xf]
movzx edx, r8b
shr r8d, 8
xor rdx, rcx
xor r8d, dword [r9 + rdx*4]
not r8d
mov eax, r8d
add rsp, 0x18
ret