joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180018c90
Capabilities:
Hook routines via microsoft detours

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
lea rdi, [rcx - 0x7ff80000]
mov rbx, rcx
cmp rcx, 0x7ff80000
ja 0x180018cb2
mov edi, 0x80000
mov qword [rsp + 0x38], rsi
lea rsi, [rcx + 0x7ff80000]
cmp rbx, 0xffffffff80000000
jb 0x180018cce
mov rsi, 0xfffffffffff80000
movzx eax, byte [rcx]
cmp al, 0xff
jne 0x180018ce5
cmp byte [rcx + 1], 0x25
jne 0x180018d29
movsxd rcx, dword [rcx + 2]
add rcx, 6
jmp 0x180018cf1
cmp al, 0xe9
jne 0x180018d29
movsxd rcx, dword [rcx + 1]
add rcx, 5
add rcx, rbx
cmp rcx, rbx
jae 0x180018d14
cmp rcx, 0xffffffff80000000
jae 0x180018d0b
lea rsi, [rcx + 0x7ff80000]
jmp 0x180018d29
mov rsi, 0xfffffffffff80000
jmp 0x180018d29
lea rdi, [rcx - 0x7ff80000]
cmp rcx, 0x7ff80000
ja 0x180018d29
mov edi, 0x80000
mov rdx, qword [0x180080788]
mov rax, qword [0x180080780]
mov qword [rsp + 0x30], rbp
test rdx, rdx
jne 0x180018d50
test rax, rax
je 0x180018d67
mov rdx, rax
mov qword [0x180080788], rax
mov rcx, qword [rdx + 0x10]
test rcx, rcx
je 0x180018d67
cmp rcx, rdi
jb 0x180018d67
cmp rcx, rsi
jbe 0x180018eba
mov qword [0x180080788], rax
mov rdx, rax
test rax, rax
je 0x180018db2
mov rcx, rax
nop dword [rax]
test rax, rax
je 0x180018d9c
mov rax, qword [rcx + 0x10]
test rax, rax
je 0x180018d9c
cmp rax, rdi
jb 0x180018d9c
cmp rax, rsi
jbe 0x180018eba
mov rdx, qword [rdx + 8]
mov qword [0x180080788], rdx
mov rcx, rdx
mov rax, rdx
test rdx, rdx
jne 0x180018d80
movzx eax, bx
sub rbx, rax
cmp rbx, 0x40000000
jbe 0x180018ddc
lea rdx, [rbx - 0x40000000]
mov rcx, rdi
call fcn.180018ab0
mov rdx, rax
test rax, rax
jne 0x180018e68
movabs rbp, 0xffffffff40000000
cmp rbx, rbp
jae 0x180018e02
lea rcx, [rbx + 0x40000000]
mov rdx, rsi
call fcn.180018ba0
mov rdx, rax
test rax, rax
jne 0x180018e68
cmp rbx, 0x40000000
jbe 0x180018e22
lea rcx, [rbx - 0x40000000]
mov rdx, rbx
call fcn.180018ba0
mov rdx, rax
test rax, rax
jne 0x180018e68
cmp rbx, rbp
jae 0x180018e3e
lea rdx, [rbx + 0x40000000]
mov rcx, rbx
call fcn.180018ab0
mov rdx, rax
test rax, rax
jne 0x180018e68
mov rdx, rbx
mov rcx, rdi
call fcn.180018ab0
mov rdx, rax
test rax, rax
jne 0x180018e68
mov rdx, rsi
mov rcx, rbx
call fcn.180018ba0
mov rdx, rax
test rax, rax
je 0x180018ef1
mov dword [rdx], 0x52727464
lea rcx, [rdx + 0xffa8]
xor r8d, r8d
mov qword [0x180080788], rdx
mov qword [rdx + 0x10], r8
mov r9d, 0x2a7
mov rax, qword [0x180080780]
mov qword [rdx + 8], rax
lea rax, [rdx + 0xff60]
mov qword [0x180080780], rdx
mov qword [rcx], r8
lea rcx, [rcx - 0x60]
mov r8, rax
sub rax, 0x60
sub r9, 1
jne 0x180018ea2
mov qword [rdx + 0x10], r8
mov rax, qword [rdx + 0x10]
cmp rax, rdi
jb 0x180018ef1
cmp rax, rsi
ja 0x180018ef1
mov rcx, qword [rax + 0x48]
movdqa xmm0, xmmword [0x18004c820]
mov qword [rdx + 0x10], rcx
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x40], xmm0
movups xmmword [rax + 0x50], xmm0
jmp 0x180018ef3
xor eax, eax
mov rsi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x180019150
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x50
mov rbx, rdx
mov r8d, 0x30
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
nop
mov eax, 0x5a4d
mov rcx, qword [rsp + 0x28]
cmp word [rcx], ax
je 0x18001917e
xor al, al
jmp 0x1800191c0
movsxd rdx, dword [rcx + 0x3c]
cmp dword [rdx + rcx], 0x4550
je 0x18001918f
xor al, al
jmp 0x1800191c0
mov r8d, dword [rdx + rcx + 0xe8]
lea rax, [r8 + rcx]
cmp rbx, rax
jb 0x1800191b6
mov eax, dword [rdx + rcx + 0xec]
add rax, r8
add rax, rcx
cmp rbx, rax
jae 0x1800191b6
mov al, 1
jmp 0x1800191c0
xor al, al
add rsp, 0x50
pop rbx
ret
add rsp, 0x50
pop rbx
ret
Function at 0x1800196a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rbp
push rsi
sub rsp, 0x28
mov rbp, rdx
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x180080798], eax
je 0x1800196c7
mov eax, 0x10dd
add rsp, 0x28
pop rsi
pop rbp
ret
mov eax, dword [0x18008079c]
test eax, eax
jne 0x180019803
test rbp, rbp
jne 0x1800196e4
lea eax, [rbp + 0x57]
add rsp, 0x28
pop rsi
pop rbp
ret
test rsi, rsi
je 0x180019700
cmp qword [rsi], 0
jne 0x18001970c
mov dword [0x18008079c], 6
mov qword [0x1800807a0], rsi
mov eax, 6
add rsp, 0x28
pop rsi
pop rbp
ret
mov qword [rsp + 0x40], rbx
mov ecx, 0x30
mov qword [rsp + 0x20], rdi
call fcn.1800487b0
mov rdi, rax
test rax, rax
jne 0x180019730
lea ebx, [rax + 8]
jmp 0x1800197d8
mov rcx, qword [rsi]
xor edx, edx
call fcn.1800195f0
xor edx, edx
mov rcx, rbp
mov rbx, rax
call fcn.1800195f0
movzx edx, byte [rbx + 0x3e]
mov rbp, qword [rbx + 0x48]
sub rbp, rdx
test dl, dl
je 0x1800197ca
cmp rdx, 0x1e
ja 0x1800197ca
cmp qword [rbx + 0x50], rax
jne 0x1800197ca
lea r9, [rsp + 0x50]
mov dword [rsp + 0x50], 0
mov r8d, 0x40
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x18001978c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x1800197d8
mov qword [rdi + 0x20], rbx
mov rbx, qword [rsp + 0x40]
mov dword [rdi + 8], 1
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rbp
mov eax, dword [rsp + 0x50]
mov dword [rdi + 0x28], eax
mov rax, qword [0x1800807b0]
mov qword [rdi], rax
xor eax, eax
mov qword [0x1800807b0], rdi
mov rdi, qword [rsp + 0x20]
add rsp, 0x28
pop rsi
pop rbp
ret
cmp dword [0x180080790], 0
mov ebx, 9
jne 0x1800197e3
mov dword [0x18008079c], ebx
test rdi, rdi
je 0x1800197f0
mov edx, 0x30
mov rcx, rdi
call fcn.180048b5c
mov rdi, qword [rsp + 0x20]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
mov qword [0x1800807a0], rsi
add rsp, 0x28
pop rsi
pop rbp
ret

Function at 0x180019810
Capabilities:
Allocate or change rwx memory

Disassembly:
sub rsp, 0x28
cmp dword [0x180080798], 0
jne 0x1800198b7
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, eax
xor eax, eax
lock cmpxchg dword [0x180080798], ecx
jne 0x1800198b7
mov qword [rsp + 0x38], rbx
mov rbx, qword [0x180080780]
mov qword [rsp + 0x20], rdi
xor edi, edi
mov qword [0x1800807b0], rdi
mov qword [0x1800807a8], rdi
mov qword [0x1800807a0], rdi
test rbx, rbx
je 0x1800198a0
nop word [rax + rax]
lea r9, [rsp + 0x30]
mov edx, 0x10000
mov r8d, 0x40
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x180019898
mov rbx, qword [rbx + 8]
test rbx, rbx
jne 0x180019870
jmp 0x1800198a0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rbx, qword [rsp + 0x38]
mov eax, edi
mov dword [0x18008079c], edi
mov rdi, qword [rsp + 0x20]
add rsp, 0x28
ret
mov eax, 0x10dd
add rsp, 0x28
ret
Function at 0x180019ed0
Capabilities:
Suspend thread

Disassembly:
push rdi
sub rsp, 0x20
mov eax, dword [0x18008079c]
mov rdi, rcx
test eax, eax
jne 0x180019f73
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp rdi, rax
jne 0x180019efa
xor eax, eax
add rsp, 0x20
pop rdi
ret
mov ecx, 0x10
mov qword [rsp + 0x30], rbx
call fcn.1800487b0
mov rbx, rax
test rax, rax
jne 0x180019f16
lea edi, [rax + 8]
jmp 0x180019f39
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x180019f57
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov edx, 0x10
mov rcx, rbx
call fcn.180048b5c
mov rbx, qword [rsp + 0x30]
mov eax, edi
mov dword [0x18008079c], edi
mov qword [0x1800807a0], 0
add rsp, 0x20
pop rdi
ret
mov rax, qword [0x1800807a8]
mov qword [rbx], rax
xor eax, eax
mov qword [rbx + 8], rdi
mov qword [0x1800807a8], rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x18001a050
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov r10, rcx
test rcx, rcx
jne 0x18001a06b
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov r10, rax
mov eax, 0x5a4d
cmp word [r10], ax
je 0x18001a088
mov ecx, 0xc1
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x18001a160
movsxd rbx, dword [r10 + 0x3c]
add rbx, r10
cmp dword [rbx], 0x4550
je 0x18001a0a9
mov ecx, 0xbf
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x18001a160
movzx eax, word [rbx + 0x14]
test ax, ax
jne 0x18001a0c4
mov ecx, 0xc0
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x18001a160
lea r11, [rbx + rax]
xor edx, edx
lea rdi, str..detour
mov dword [rsp + 0x20], edx
movzx eax, word [rbx + 6]
cmp edx, eax
jae 0x18001a144
lea rcx, [rdx + rdx*4]
lea r8, [rcx*8]
lea r9, [r8 + r11]
xor ecx, ecx
nop
movzx eax, byte [r9 + rcx + 0x18]
inc rcx
cmp al, byte [rdi + rcx - 1]
jne 0x18001a140
cmp rcx, 8
jne 0x18001a0f0
mov eax, dword [r11 + r8 + 0x24]
test eax, eax
je 0x18001a144
cmp dword [r11 + r8 + 0x28], 0
je 0x18001a144
lea rbx, [r10 + rax]
mov eax, dword [rbx]
cmp eax, 0x40
jb 0x18001a144
cmp dword [rbx + 4], 0x727444
jne 0x18001a144
cmp dword [rbx + 8], 0
jne 0x18001a133
mov dword [rbx + 8], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rbx
jmp 0x18001a160
inc edx
jmp 0x18001a0d1
mov ecx, 0xc0
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x18001a160
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x18001a170
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
lea rbx, [rcx + 0x10000]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
mov edi, 0x5a4d
nop dword [rax + rax]
mov r8d, 0x30
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x18001a1c4
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
cmp dword [rsp + 0x40], 0x1000
jne 0x18001a207
mov eax, dword [rsp + 0x44]
cmp al, 1
je 0x18001a207
bt eax, 8
jb 0x18001a207
cmp word [rbx], di
jne 0x18001a200
mov eax, dword [rbx + 0x3c]
cmp rax, qword [rsp + 0x38]
ja 0x18001a200
cmp eax, 0x40
jb 0x18001a200
cdqe
cmp dword [rax + rbx], 0x4550
jne 0x18001a207
mov rax, rbx
jmp 0x18001a1b9
jmp 0x18001a207
mov rbx, qword [rsp + 0x38]
add rbx, qword [rsp + 0x20]
jmp 0x18001a1a0
Function at 0x180031dc0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x1800800c0]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1800807f0]
mov edi, edx
mov esi, ecx
cmp byte [rbx + 0x424d], 0
jne 0x180031e28
cmp byte [rbx + 0x424e], 0
jne 0x180031e28
movsx r9d, word [rbx + 0x5332]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.180035d30
test sil, 1
je 0x180031f59
jmp 0x180031ec1
movss xmm1, dword [rbx + 0x38b0]
lea r8, str.Tooltip__02d
movaps xmm0, xmm1
lea rcx, [rsp + 0x20]
mulss xmm0, dword [0x1800524e0]
xor eax, eax
mov edx, 0x10
mulss xmm1, dword [0x1800524d8]
addss xmm0, dword [rbx + 0xd94]
addss xmm1, dword [rbx + 0xd98]
or dword [rbx + 0x3fb0], 1
mov qword [rbx + 0x3fc8], rax
movss dword [rbx + 0x3fc0], xmm0
mov dword [rbx + 0x3fb4], 1
movss dword [rbx + 0x3fc4], xmm1
movss xmm0, dword [rbx + 0x390c]
mov rax, qword [0x1800807f0]
mulss xmm0, dword [0x180050c1c]
or dword [rax + 0x3fb0], 0x40
movss dword [rax + 0x4010], xmm0
movsx r9d, word [rbx + 0x5332]
call fcn.180035d30
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x180031f11
lea r11, [0x180051550]
cmp r9b, 0x23
jne 0x180031ef4
cmp byte [r8], r9b
jne 0x180031ef4
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x180031ee1
not ecx
call fcn.180034ca0
test rax, rax
je 0x180031f59
cmp byte [rax + 0x96], 0
je 0x180031f59
mov byte [rax + 0x9d], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xb8], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x5332]
mov edx, 0x10
movsx r9d, word [rbx + 0x5332]
call fcn.180035d30
or edi, 0x20c0347
lea rcx, [rsp + 0x20]
mov r8d, edi
xor edx, edx
call fcn.18002f900
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.180048790
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

Function at 0x180034bf0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x1800807f0]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x180034c53
mov qword [rsp], rbx
lea rbx, [0x180051550]
nop dword [rax]
cmp r9b, 0x23
jne 0x180034c33
cmp byte [r8], r9b
jne 0x180034c33
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x180034c20
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5390]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x180034c87
mov r10, qword [r10 + 0x5398]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x180034c8e
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x180034c74
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret
Function at 0x180035250
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x10], edx
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xd0]
mov rax, qword [rcx + 0xd8]
mov ebx, dword [rax + r8*4 - 4]
lea r8, [0x180051550]
not ebx
movzx eax, dl
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x39]
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3a]
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3b]
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [r8 + rcx*4]
mov rcx, qword [0x1800807f0]
not ebx
cmp dword [rcx + 0x3edc], ebx
jne 0x1800352dd
xor r9d, r9d
movsxd r8, edx
mov ecx, ebx
lea edx, [r9 + 4]
call fcn.180033900
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x180035a80
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push r14
sub rsp, 0x20
movsxd rbp, r9d
mov r14, r8
test r8, r8
je 0x180035a9b
mov qword [r8], 0
call fcn.180035be0
mov rbx, rax
test rax, rax
jne 0x180035ab1
add rsp, 0x20
pop r14
pop rbp
pop rbx
ret
mov qword [rsp + 0x40], rsi
mov rcx, rbx
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], r15
call sub.api_ms_win_crt_stdio_l1_1_0.dll_ftell
mov esi, eax
cmp eax, 0xffffffff
je 0x180035bb2
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fseek
test eax, eax
jne 0x180035bb2
mov rcx, rbx
call sub.api_ms_win_crt_stdio_l1_1_0.dll_ftell
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x180035bb2
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fseek
test eax, eax
jne 0x180035bb2
cmp rdi, 0xffffffffffffffff
je 0x180035bb2
mov rax, qword [0x1800807f0]
test rax, rax
je 0x180035b2e
inc dword [rax + 0xec]
mov rdx, qword [0x180080800]
lea rcx, [rdi + rbp]
call qword [0x180080088]
mov rsi, rax
test rax, rax
je 0x180035bb2
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fread
cmp rax, rdi
je 0x180035b8b
mov rcx, rbx
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fclose
mov rax, qword [0x1800807f0]
test rax, rax
je 0x180035b79
dec dword [rax + 0xec]
mov rdx, qword [0x180080800]
mov rcx, rsi
call qword [0x180080090]
jmp 0x180035bba
test ebp, ebp
jle 0x180035b9d
lea rcx, [rsi + rdi]
mov r8, rbp
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov rcx, rbx
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fclose
test r14, r14
je 0x180035bad
mov qword [r14], rdi
mov rax, rsi
jmp 0x180035bbc
mov rcx, rbx
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fclose
xor eax, eax
mov rdi, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
mov r15, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rbp
pop rbx
ret
Function at 0x180035ec0
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 0x180035f1d
lea rbx, [0x180051550]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x180035f04
cmp r10, 2
jb 0x180035f04
cmp byte [r9], r8b
jne 0x180035f04
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 0x180035ee0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x180035f5f
lea rbx, [0x180051550]
cmp r8b, 0x23
jne 0x180035f43
cmp byte [r9], r8b
jne 0x180035f43
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 0x180035f30
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x180037370
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x53e0], 0
lea rbx, [rcx + 0x53e8]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x180037412
mov ecx, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test ecx, ecx
jns 0x1800373c6
mov eax, ecx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, ecx
mov rcx, rbx
test eax, eax
cmovg edx, eax
call fcn.180044590
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.1800440c0
mov eax, dword [rbx]
lea rcx, [0x1800807f8]
mov r9, qword [rdi + 0x53e0]
test eax, eax
lea edx, [rax - 1]
mov rax, qword [rdi + 0x53f0]
cmove edx, r14d
test rax, rax
movsxd r8, edx
mov edx, 1
cmovne rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov r14, qword [rsp + 0x30]
jmp 0x18003741a
mov rcx, rbx
call fcn.1800440c0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x18003f800
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [0x1800807f0]
mov rbx, rcx
xor ecx, ecx
mov dword [rax + 0x537c], ecx
test rbx, rbx
je 0x18003f86d
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x38], rdi
call fcn.18003f880
lea rdx, [0x180052394]
mov rcx, rbx
mov rdi, rax
call fcn.180035be0
mov rbx, rax
test rax, rax
je 0x18003f868
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rdi
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rcx, rbx
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fclose
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret
Function at 0x180042ca0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push r14
sub rsp, 0x20
mov rbx, qword [0x1800807f0]
cmp byte [rbx + 0x5379], 0
jne 0x180042df2
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x180042deb
lea rdx, [0x180050bd8]
mov qword [rsp + 0x40], rdi
call fcn.180035be0
mov rdi, rax
test rax, rax
je 0x180042de6
mov qword [rsp + 0x30], rbp
mov rcx, rax
mov qword [rsp + 0x38], rsi
call sub.api_ms_win_crt_stdio_l1_1_0.dll_ftell
mov ebp, eax
cmp eax, 0xffffffff
je 0x180042dd4
xor edx, edx
mov rcx, rdi
lea r8d, [rdx + 2]
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fseek
test eax, eax
jne 0x180042dd4
mov rcx, rdi
call sub.api_ms_win_crt_stdio_l1_1_0.dll_ftell
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x180042dd4
xor r8d, r8d
mov edx, ebp
mov rcx, rdi
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fseek
test eax, eax
jne 0x180042dd4
cmp rsi, 0xffffffffffffffff
je 0x180042dd4
mov rax, qword [0x1800807f0]
test rax, rax
je 0x180042d61
inc dword [rax + 0xec]
mov rdx, qword [0x180080800]
mov rcx, rsi
call qword [0x180080088]
mov rbp, rax
test rax, rax
je 0x180042dd4
mov r9, rdi
mov r8, rsi
mov edx, 1
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fread
mov rcx, rdi
cmp rax, rsi
je 0x180042d9b
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fclose
jmp 0x180042db0
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fclose
test rsi, rsi
je 0x180042db0
mov rdx, rsi
mov rcx, rbp
call fcn.180036ec0
mov rax, qword [0x1800807f0]
test rax, rax
je 0x180042dc2
dec dword [rax + 0xec]
mov rdx, qword [0x180080800]
mov rcx, rbp
call qword [0x180080090]
jmp 0x180042ddc
mov rcx, rdi
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fclose
mov rsi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x40]
mov byte [rbx + 0x5379], 1
movss xmm0, dword [rbx + 0x537c]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x180042e35
subss xmm0, dword [rbx + 0x18]
comiss xmm1, xmm0
movss dword [rbx + 0x537c], xmm0
jb 0x180042e35
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x180042e24
call fcn.18003f800
jmp 0x180042e2b
mov byte [rbx + 0xd4], 1
mov dword [rbx + 0x537c], 0
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

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

Disassembly:
sub rsp, 0x38
mov rax, qword [0x1800807f0]
mov rcx, qword [rax + 0x4308]
mov r10, qword [rax + 0x3ea8]
movsxd rax, dword [rcx + 0x7c]
movups xmm0, xmmword [rcx + 0x170]
movss xmm4, dword [rcx + 0x170]
movss xmm3, dword [rcx + 0x174]
movss xmm2, dword [rcx + 0x178]
movss xmm1, dword [rcx + 0x17c]
movss dword [rsp + 0x20], xmm4
movss dword [rsp + 0x24], xmm3
movss dword [rsp + 0x28], xmm2
movss dword [rsp + 0x2c], xmm1
imul r9, rax, 0x68
mov rax, qword [r10 + 0x280]
add r9, qword [rcx + 0x18]
movups xmmword [r10 + 0x220], xmm0
movss dword [rax + 0x88], xmm4
movss dword [rax + 0x8c], xmm3
movss dword [rax + 0x90], xmm2
movss dword [rax + 0x94], xmm1
mov rax, qword [r10 + 0x280]
movups xmm0, xmmword [rsp + 0x20]
movsxd r8, dword [rax + 0x58]
mov rdx, qword [rax + 0x60]
add r8, r8
movups xmmword [rdx + r8*8 - 0x10], xmm0
movzx r8d, byte [r9 + 0x57]
mov rdx, qword [r10 + 0x280]
mov rcx, qword [rcx + 0x1a0]
add rsp, 0x38
jmp 0x180024cd0
Function at 0x1800474d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x38
mov rax, qword [0x1800807f0]
mov rcx, qword [rax + 0x4308]
mov r9, qword [rax + 0x3ea8]
movups xmm0, xmmword [r9 + 0x220]
movups xmmword [rcx + 0x170], xmm0
mov rax, qword [r9 + 0x280]
movups xmm0, xmmword [rcx + 0x150]
movss xmm4, dword [rcx + 0x150]
movss xmm3, dword [rcx + 0x154]
movss xmm2, dword [rcx + 0x158]
movss xmm1, dword [rcx + 0x15c]
movups xmmword [r9 + 0x220], xmm0
movss dword [rsp + 0x20], xmm4
movss dword [rsp + 0x24], xmm3
movss dword [rsp + 0x28], xmm2
movss dword [rsp + 0x2c], xmm1
movss dword [rax + 0x88], xmm4
movss dword [rax + 0x8c], xmm3
movss dword [rax + 0x90], xmm2
movss dword [rax + 0x94], xmm1
mov rax, qword [r9 + 0x280]
movups xmm0, xmmword [rsp + 0x20]
movsxd r8, dword [rax + 0x58]
mov rdx, qword [rax + 0x60]
add r8, r8
movups xmmword [rdx + r8*8 - 0x10], xmm0
movzx r8d, byte [rcx + 0x207]
mov rcx, qword [rcx + 0x1a0]
mov rdx, qword [r9 + 0x280]
add rsp, 0x38
jmp 0x180024cd0

Function at 0x18004801c
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x180048056
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x18004805b
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x1800480a4
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x180052830]
cmp byte [rcx + rax], 0
je 0x1800480a4
dec r8
sub rdx, 1
jne 0x18004808a
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret