joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180219350
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x58
mov r9d, 2
lea r8, [rsp + 0x40]
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jne 0x18021938d
mov dword [rsp + 0x40], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x40]
mov r8d, dword [rsp + 0x60]
xor edx, edx
mov ecx, 0x1300
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x48]
mov edx, eax
mov rax, qword [rsp + 0x68]
mov rcx, qword [rax]
call fcn.1802192f0
add rsp, 0x58
ret

Function at 0x1802201b0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rax, str.SYSTEMCurrentControlSetControlLeapSecondInformation
mov qword [rsp + 0x58], rax
lea rax, str.LeapSeconds
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x98]
mov qword [rax], 0
mov qword [rsp + 0x40], 0
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, qword [rsp + 0x58]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x180220228
xor eax, eax
jmp 0x180220356
mov dword [rsp + 0x38], 0
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0x30], eax
xor edx, edx
mov eax, dword [rsp + 0x38]
mov ecx, recv
div ecx
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x98]
mov qword [rcx], rax
mov qword [rsp + 0x48], 0
cmp dword [rsp + 0x30], 0
je 0x18022029b
cmp dword [rsp + 0x30], 0xea
jne 0x180220335
mov eax, dword [rsp + 0x34]
cmp rax, qword [rsp + 0x90]
jbe 0x180220335
mov eax, dword [rsp + 0x34]
mov qword [rsp + 0x60], rax
mov eax, recv
mov rcx, qword [rsp + 0x60]
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.18025ae70
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x180220333
mov rax, qword [rsp + 0x98]
mov qword [rax], 0
jmp 0x180220335
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rsp + 0x30], 0
je 0x180220351
mov ecx, dword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, qword [rsp + 0x48]
add rsp, 0x88
ret
Function at 0x1802586c0
Capabilities:
Get geographical location

Disassembly:
push rdi
sub rsp, 0x40
lea rax, [rsp + 0x20]
mov rdi, rax
xor eax, eax
mov ecx, 4
rep stosb byte [rdi], al
lea rcx, [rsp + 0x20]
call fcn.1802586b0
mov dword [rsp + 0x28], eax
call fcn.1802dde50
mov ecx, 8
imul rcx, rcx, 5
mov rax, qword [rax + rcx]
mov qword [rsp + 0x30], rax
mov r9d, dword [rsp + 0x28]
lea r8, [rsp + 0x20]
mov edx, 0x22
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov eax, 2
imul rax, rax, 0
movzx eax, word [rsp + rax + 0x20]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0x30
je 0x18025873f
cmp dword [rsp + 0x24], 0x31
je 0x180258746
cmp dword [rsp + 0x24], 0x32
je 0x18025874d
jmp 0x180258754
mov eax, 2
jmp 0x180258756
mov eax, 1
jmp 0x180258756
mov eax, 3
jmp 0x180258756
xor eax, eax
add rsp, 0x40
pop rdi
ret

Function at 0x180277aa0
Capabilities:
Get thread local storage value

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.180277580
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x180277adf
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov ecx, dword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x1803fa8b0]
jmp 0x180277ae9
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
add rsp, 0x48
ret
Function at 0x1802f4db0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add rsp, 0x28
ret

Function at 0x1802fa700
Capabilities:
Get geographical location

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x58
call fcn.1802f99e0
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x1802fa767
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x40], rax
movabs r10, 0xe375262d7cd44270
mov r9d, dword [rsp + 0x78]
mov r8, qword [rsp + 0x70]
mov edx, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
mov rax, qword [rsp + 0x40]
call qword [0x1803fa8b8]
jmp 0x1802fa789
xor edx, edx
mov rcx, qword [rsp + 0x60]
call fcn.1802fac20
mov r9d, dword [rsp + 0x78]
mov r8, qword [rsp + 0x70]
mov edx, dword [rsp + 0x68]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
add rsp, 0x58
ret
Function at 0x1803076f0
Capabilities:
Write file on windows

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
mov eax, 0x1498
call fcn.18025ae00
sub rsp, rax
mov rax, qword [0x180563540]
xor rax, rsp
mov qword [rsp + 0x1480], rax
mov eax, dword [rsp + 0x14b8]
sar eax, 6
cdqe
lea rcx, [0x180586500]
mov edx, dword [rsp + 0x14b8]
and edx, 0x3f
movsxd rdx, edx
imul rdx, rdx, 0x48
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + rdx + 0x28]
mov qword [rsp + 0x60], rax
mov eax, dword [rsp + 0x14c8]
mov rcx, qword [rsp + 0x14c0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x68]
mov rdi, rax
xor eax, eax
mov ecx, recv
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x14c0]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x48], rax
jae 0x1803078e2
lea rax, [rsp + 0x147f]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x38], rax
jae 0x180307836
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x48], rax
jae 0x180307836
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax]
mov byte [rsp + 0x31], al
mov rax, qword [rsp + 0x48]
inc rax
mov qword [rsp + 0x48], rax
movzx eax, byte [rsp + 0x31]
mov byte [rsp + 0x30], al
movsx eax, byte [rsp + 0x30]
cmp eax, 0xa
jne 0x18030781b
mov eax, dword [rsp + 0x70]
inc eax
mov dword [rsp + 0x70], eax
mov rax, qword [rsp + 0x38]
mov byte [rax], 0xd
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
movzx ecx, byte [rsp + 0x30]
mov byte [rax], cl
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
jmp 0x1803077b8
lea rax, [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
sub rcx, rax
mov rax, rcx
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x44]
mov r8d, dword [rsp + 0x40]
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1803078a2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x68], eax
lea rax, [rsp + 0x68]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, recv
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x180307901
mov eax, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x6c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x44], eax
jae 0x1803078dd
lea rax, [rsp + 0x68]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, recv
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x180307901
jmp 0x18030778e
lea rax, [rsp + 0x68]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, recv
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
mov rcx, qword [rsp + 0x1480]
xor rcx, rsp
call fcn.18025a470
add rsp, 0x1498
pop rdi
pop rsi
ret
Function at 0x180307920
Capabilities:
Write file on windows

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
mov eax, 0x1498
call fcn.18025ae00
sub rsp, rax
mov rax, qword [0x180563540]
xor rax, rsp
mov qword [rsp + 0x1480], rax
mov eax, dword [rsp + 0x14b8]
sar eax, 6
cdqe
lea rcx, [0x180586500]
mov edx, dword [rsp + 0x14b8]
and edx, 0x3f
movsxd rdx, edx
imul rdx, rdx, 0x48
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + rdx + 0x28]
mov qword [rsp + 0x68], rax
mov eax, dword [rsp + 0x14c8]
mov rcx, qword [rsp + 0x14c0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x70]
mov rdi, rax
xor eax, eax
mov ecx, recv
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x14c0]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x50], rax
jae 0x180307b2d
lea rax, [rsp + 0x147e]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x60]
cmp qword [rsp + 0x38], rax
jae 0x180307a79
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x50], rax
jae 0x180307a79
mov rax, qword [rsp + 0x50]
movzx eax, word [rax]
mov word [rsp + 0x40], ax
mov rax, qword [rsp + 0x50]
add rax, 2
mov qword [rsp + 0x50], rax
movzx eax, word [rsp + 0x40]
mov word [rsp + 0x30], ax
movzx eax, word [rsp + 0x30]
cmp eax, 0xa
jne 0x180307a59
mov eax, dword [rsp + 0x78]
add eax, 2
mov dword [rsp + 0x78], eax
mov eax, recv
mov rcx, qword [rsp + 0x38]
mov word [rcx], ax
mov rax, qword [rsp + 0x38]
add rax, 2
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
movzx ecx, word [rsp + 0x30]
mov word [rax], cx
mov rax, qword [rsp + 0x38]
add rax, 2
mov qword [rsp + 0x38], rax
jmp 0x1803079e8
lea rax, [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
sub rcx, rax
mov rax, rcx
sar rax, 1
mov eax, eax
shl rax, 1
mov dword [rsp + 0x44], eax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x48]
mov r8d, dword [rsp + 0x44]
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x180307aed
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x70], eax
lea rax, [rsp + 0x70]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, recv
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x180307b4c
mov eax, dword [rsp + 0x48]
mov ecx, dword [rsp + 0x74]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x74], eax
mov eax, dword [rsp + 0x44]
cmp dword [rsp + 0x48], eax
jae 0x180307b28
lea rax, [rsp + 0x70]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, recv
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x180307b4c
jmp 0x1803079be
lea rax, [rsp + 0x70]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, recv
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
mov rcx, qword [rsp + 0x1480]
xor rcx, rsp
call fcn.18025a470
add rsp, 0x1498
pop rdi
pop rsi
ret
Function at 0x180315d60
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0xb8
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.180315bf0
lea rcx, [rsp + 0x40]
call fcn.180315d20
movzx eax, al
test eax, eax
jne 0x180315da8
mov qword [rsp + 0x70], 0
lea rcx, [rsp + 0x40]
call fcn.180315c10
mov rax, qword [rsp + 0x70]
jmp 0x180315f79
lea rcx, [rsp + 0x40]
call fcn.180315d00
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x60]
call fcn.180315cb0
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x78]
sub rcx, rax
mov rax, rcx
sar rax, 1
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x40]
call fcn.180315d00
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, dword [rsp + 0x68]
mov r8, rax
xor edx, edx
xor ecx, ecx
call fcn.1802f9350
cdqe
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x180315e4e
mov qword [rsp + 0x80], 0
lea rcx, [rsp + 0x40]
call fcn.180315c10
mov rax, qword [rsp + 0x80]
jmp 0x180315f79
mov r9d, 0x66
lea r8, str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
mov edx, 2
mov rcx, qword [rsp + 0x58]
call fcn.18027f2b0
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.18025fff0
lea rcx, [rsp + 0x48]
call fcn.180260070
movzx eax, al
test eax, eax
jne 0x180315eb5
mov qword [rsp + 0x88], 0
lea rcx, [rsp + 0x48]
call fcn.180260030
lea rcx, [rsp + 0x40]
call fcn.180315c10
mov rax, qword [rsp + 0x88]
jmp 0x180315f79
lea rcx, [rsp + 0x48]
call fcn.180260140
mov qword [rsp + 0x90], rax
lea rcx, [rsp + 0x40]
call fcn.180315d00
mov qword [rsp + 0x98], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x68]
mov r8, qword [rsp + 0x98]
xor edx, edx
xor ecx, ecx
call fcn.1802f9350
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jne 0x180315f4b
mov qword [rsp + 0xa0], 0
lea rcx, [rsp + 0x48]
call fcn.180260030
lea rcx, [rsp + 0x40]
call fcn.180315c10
mov rax, qword [rsp + 0xa0]
jmp 0x180315f79
lea rcx, [rsp + 0x48]
call fcn.180281a10
mov qword [rsp + 0xa8], rax
lea rcx, [rsp + 0x48]
call fcn.180260030
lea rcx, [rsp + 0x40]
call fcn.180315c10
mov rax, qword [rsp + 0xa8]
add rsp, 0xb8
ret
Function at 0x180315f90
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0x78
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.180315bf0
lea rcx, [rsp + 0x20]
call fcn.180315c30
movzx eax, al
test eax, eax
jne 0x180315fd5
mov qword [rsp + 0x40], 0
lea rcx, [rsp + 0x20]
call fcn.180315c10
mov rax, qword [rsp + 0x40]
jmp 0x1803160cf
lea rcx, [rsp + 0x20]
call fcn.180315d00
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x30]
call fcn.180315cb0
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x48]
sub rcx, rax
mov rax, rcx
sar rax, 1
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
shl rax, 1
mov r9d, 0x40
lea r8, str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
mov edx, 2
mov rcx, rax
call fcn.18027f2b0
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.180214920
lea rcx, [rsp + 0x28]
call fcn.1802149c0
movzx eax, al
test eax, eax
jne 0x18031606f
mov qword [rsp + 0x50], 0
lea rcx, [rsp + 0x28]
call fcn.180214960
lea rcx, [rsp + 0x20]
call fcn.180315c10
mov rax, qword [rsp + 0x50]
jmp 0x1803160cf
lea rcx, [rsp + 0x20]
call fcn.180315d00
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x28]
call fcn.180214e10
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x38]
shl rax, 1
mov r8, rax
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
call fcn.1803ccbf0
lea rcx, [rsp + 0x28]
call fcn.1802dfbf0
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x28]
call fcn.180214960
lea rcx, [rsp + 0x20]
call fcn.180315c10
mov rax, qword [rsp + 0x68]
add rsp, 0x78
ret

Function at 0x180317820
Capabilities:
Set environment variable

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x38]
mov rdx, qword [rax]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
add rsp, 0x28
ret
Function at 0x180343930
Capabilities:
Get system information on windows

Disassembly:
push rdi
sub rsp, 0x70
lea rdi, [rsp + 0x20]
mov ecx, reloc.WS2_32.dll_sendto
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
lea rcx, [0x1805d7235]
call fcn.18025a230
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x48]
mov edi, eax
mov rcx, rsp
lea rdx, [0x1804cd1a0]
call fcn.18025a000
mov eax, edi
add rsp, 0x70
pop rdi
ret
Function at 0x180346890
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x70
lea rdi, [rsp + 0x20]
mov ecx, reloc.WS2_32.dll_sendto
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x80]
lea rcx, [0x1805d739e]
call fcn.18025a230
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [rsp + 0x2c]
call fcn.180346910
mov rcx, qword [rsp + 0x80]
mov dword [rcx], eax
mov rax, qword [rsp + 0x80]
mov ecx, dword [rsp + 0x50]
mov dword [rax + 4], ecx
mov rcx, rsp
lea rdx, [0x1804cd680]
call fcn.18025a000
add rsp, 0x70
pop rdi
ret

Function at 0x180359dd0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x50
lea rcx, [0x1805d7989]
call fcn.18025a230
mov eax, dword [rsp + 0x70]
mov ecx, 1
mov dword [rsp + 0x3c], ecx
movzx ecx, al
mov eax, dword [rsp + 0x3c]
shl eax, cl
dec eax
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x24], 0
mov dword [rsp + 0x28], 0
jmp 0x180359e4d
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x70]
movzx ecx, al
mov eax, dword [rsp + 0x68]
shr eax, cl
mov dword [rsp + 0x68], eax
mov eax, dword [rsp + 0x78]
mov ecx, dword [rsp + 0x24]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x88]
cmp dword [rsp + 0x28], eax
jae 0x180359eec
mov eax, dword [rsp + 0x20]
mov ecx, dword [rsp + 0x68]
and ecx, eax
mov eax, ecx
add eax, dword [rsp + 0x24]
mov dword [rsp + 0x2c], eax
cmp dword [rsp + 0x28], 0
jne 0x180359e80
mov byte [rsp + 0x40], 0x7b
jmp 0x180359e85
mov byte [rsp + 0x40], 0x7c
movzx edx, byte [rsp + 0x40]
mov rcx, qword [rsp + 0x60]
call fcn.180330080
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x180359ea5
mov eax, dword [rsp + 0x30]
jmp 0x180359f18
xor eax, eax
test eax, eax
jne 0x180359e72
mov edx, dword [rsp + 0x2c]
mov rcx, qword [rsp + 0x80]
call fcn.180357b40
mov r8, 0xffffffffffffffff
mov rdx, rax
mov rcx, qword [rsp + 0x60]
call fcn.1803300c0
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
je 0x180359ee1
mov eax, dword [rsp + 0x34]
jmp 0x180359f18
xor eax, eax
test eax, eax
jne 0x180359eab
jmp 0x180359e22
xor eax, eax
cmp eax, 0x7d
je 0x180359f16
mov dl, 0x7d
mov rcx, qword [rsp + 0x60]
call fcn.180330080
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
je 0x180359f10
mov eax, dword [rsp + 0x38]
jmp 0x180359f18
xor eax, eax
test eax, eax
jne 0x180359ef3
xor eax, eax
add rsp, 0x50
pop rdi
ret
Function at 0x18036adf0
Capabilities:
Hash data using sha512

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x20
lea rcx, [0x1805d7dc8]
call fcn.18025a230
cmp qword [rsp + 0x30], 0
jne 0x18036ae27
mov r8d, 0xa9
lea rdx, [0x180564810]
lea rcx, [0x180564868]
call fcn.180385550
xor eax, eax
test eax, eax
jne 0x18036ae06
mov rax, qword [rsp + 0x30]
mov dword [rax + 0x48], 0
mov rax, qword [rsp + 0x30]
mov qword [rax], 0
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x30]
movabs rdx, 0x6a09e667f3bcc908
mov qword [rcx + rax + 8], rdx
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0x30]
movabs rdx, 0xbb67ae8584caa73b
mov qword [rcx + rax + 8], rdx
mov eax, 8
imul rax, rax, 2
mov rcx, qword [rsp + 0x30]
movabs rdx, 0x3c6ef372fe94f82b
mov qword [rcx + rax + 8], rdx
mov eax, 8
imul rax, rax, 3
mov rcx, qword [rsp + 0x30]
movabs rdx, 0xa54ff53a5f1d36f1
mov qword [rcx + rax + 8], rdx
mov eax, 8
imul rax, rax, 4
mov rcx, qword [rsp + 0x30]
movabs rdx, 0x510e527fade682d1
mov qword [rcx + rax + 8], rdx
mov eax, 8
imul rax, rax, 5
mov rcx, qword [rsp + 0x30]
movabs rdx, 0x9b05688c2b3e6c1f
mov qword [rcx + rax + 8], rdx
mov eax, 8
imul rax, rax, 6
mov rcx, qword [rsp + 0x30]
movabs rdx, 0x1f83d9abfb41bd6b
mov qword [rcx + rax + 8], rdx
mov eax, 8
imul rax, rax, 7
mov rcx, qword [rsp + 0x30]
movabs rdx, 0x5be0cd19137e2179
mov qword [rcx + rax + 8], rdx
xor eax, eax
add rsp, 0x20
pop rdi
ret

Function at 0x18036c910
Capabilities:
Hash data using sha256

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x20
lea rcx, [0x1805d7df9]
call fcn.18025a230
cmp qword [rsp + 0x30], 0
jne 0x18036c947
mov r8d, 0xc6
lea rdx, [0x180564a90]
lea rcx, [0x180564ae8]
call fcn.180385550
xor eax, eax
test eax, eax
jne 0x18036c926
mov rax, qword [rsp + 0x30]
mov dword [rax + 0x28], 0
mov rax, qword [rsp + 0x30]
mov qword [rax], 0
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x30]
mov dword [rcx + rax + 8], 0x6a09e667
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x30]
mov dword [rcx + rax + 8], 0xbb67ae85
mov eax, 4
imul rax, rax, 2
mov rcx, qword [rsp + 0x30]
mov dword [rcx + rax + 8], 0x3c6ef372
mov eax, 4
imul rax, rax, 3
mov rcx, qword [rsp + 0x30]
mov dword [rcx + rax + 8], 0xa54ff53a
mov eax, 4
imul rax, rax, 4
mov rcx, qword [rsp + 0x30]
mov dword [rcx + rax + 8], 0x510e527f
mov eax, 4
imul rax, rax, 5
mov rcx, qword [rsp + 0x30]
mov dword [rcx + rax + 8], 0x9b05688c
mov eax, 4
imul rax, rax, 6
mov rcx, qword [rsp + 0x30]
mov dword [rcx + rax + 8], 0x1f83d9ab
mov eax, 4
imul rax, rax, 7
mov rcx, qword [rsp + 0x30]
mov dword [rcx + rax + 8], 0x5be0cd19
xor eax, eax
add rsp, 0x20
pop rdi
ret
Function at 0x180372ec0
Capabilities:
Hash data using sha1

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x20
lea rcx, [0x1805d7e2a]
call fcn.18025a230
cmp qword [rsp + 0x30], 0
jne 0x180372ef7
mov r8d, 0x9f
lea rdx, [0x180564d10]
lea rcx, [0x180564d60]
call fcn.180385550
xor eax, eax
test eax, eax
jne 0x180372ed6
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x30]
mov dword [rcx + rax + 8], 0x67452301
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x30]
mov dword [rcx + rax + 8], 0xefcdab89
mov eax, 4
imul rax, rax, 2
mov rcx, qword [rsp + 0x30]
mov dword [rcx + rax + 8], 0x98badcfe
mov eax, 4
imul rax, rax, 3
mov rcx, qword [rsp + 0x30]
mov dword [rcx + rax + 8], 0x10325476
mov eax, 4
imul rax, rax, 4
mov rcx, qword [rsp + 0x30]
mov dword [rcx + rax + 8], 0xc3d2e1f0
mov rax, qword [rsp + 0x30]
mov dword [rax + 0x1c], 0
mov rax, qword [rsp + 0x30]
mov qword [rax], 0
xor eax, eax
add rsp, 0x20
pop rdi
ret

Function at 0x1803741f0
Capabilities:
Hash data with md5

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x20
lea rcx, [0x1805d7e5b]
call fcn.18025a230
cmp qword [rsp + 0x30], 0
jne 0x180374227
mov r8d, 0xe3
lea rdx, [0x180564fe0]
lea rcx, [0x180565030]
call fcn.180385550
xor eax, eax
test eax, eax
jne 0x180374206
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x30]
mov dword [rcx + rax + 8], 0x67452301
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x30]
mov dword [rcx + rax + 8], 0xefcdab89
mov eax, 4
imul rax, rax, 2
mov rcx, qword [rsp + 0x30]
mov dword [rcx + rax + 8], 0x98badcfe
mov eax, 4
imul rax, rax, 3
mov rcx, qword [rsp + 0x30]
mov dword [rcx + rax + 8], 0x10325476
mov rax, qword [rsp + 0x30]
mov dword [rax + 0x18], 0
mov rax, qword [rsp + 0x30]
mov qword [rax], 0
xor eax, eax
add rsp, 0x20
pop rdi
ret