joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140004400
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov rsi, r8
mov rbx, rcx
test rcx, rcx
jne 0x140004435
mov r8d, 0x81f
lea rdx, str.D:Source_Code_mgui_loader_menu_main_mgui_loader_menu_mainimgui.cpp
lea rcx, str.filename__mode
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
xor r14d, r14d
test rsi, rsi
je 0x140004440
mov qword [rsi], r14
lea rdx, [0x1400c4718]
mov rcx, rbx
call fcn.140004310
mov rbx, rax
test rax, rax
jne 0x140004468
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rbp
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x140004594
xor edx, edx
mov r8d, 2
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140004594
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140004594
xor r8d, r8d
mov edx, ebp
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140004594
cmp rdi, 0xffffffffffffffff
je 0x140004594
mov rcx, rdi
call fcn.140008ba0
mov rbp, rax
test rax, rax
je 0x140004594
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x140004581
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov r8, qword [0x140140e90]
test r8, r8
je 0x140004576
movsx rdx, word [r8 + 0x6078]
lea rcx, [r8 + 0x607c]
mov r9d, dword [r8 + 0x3f90]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x14000456b
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x6078], cx
movsx rax, cx
lea rcx, [r8 + 0x607c]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r14d
inc word [rcx + 6]
inc dword [r8 + 0x6074]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14000459d
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x14000458f
mov qword [rsi], rdi
mov rax, rbp
jmp 0x14000459f
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbp, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x140008120
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov dword [rsp + 0x10], edx
push rdi
sub rsp, 0x20
cmp dword [rcx + 0x100], 0
mov rsi, rcx
movsxd rdi, edx
jg 0x14000815c
mov r8d, 0x76f
lea rdx, str.D:Source_Code_mgui_loader_menu_main_mgui_loader_menu_mainimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rsi + 0x108]
lea rdx, [0x1400c4f30]
movsxd r8, dword [rsi + 0x100]
mov ebx, dword [rax + r8*4 - 4]
not ebx
movzx eax, dil
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x39]
xor ebx, dword [rdx + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3a]
xor ebx, dword [rdx + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3b]
xor ebx, dword [rdx + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [rdx + rcx*4]
mov rcx, qword [rsi]
not ebx
cmp dword [rcx + 0x4084], ebx
jne 0x1400081d7
mov r8, rdi
mov edx, 4
mov ecx, ebx
call fcn.14001fdf0
mov rsi, qword [rsp + 0x40]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400081f0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
cmp dword [rcx + 0x100], 0
mov rdi, rdx
mov rbx, rcx
jg 0x140008223
mov r8d, 0x76f
lea rdx, str.D:Source_Code_mgui_loader_menu_main_mgui_loader_menu_mainimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movss xmm0, dword [rbx + 0x120]
lea r10, [0x1400c4f30]
movsxd rcx, dword [rbx + 0x100]
mov rax, qword [rbx + 0x108]
movss xmm2, dword [rdi]
movss xmm1, dword [rbx + 0x124]
subss xmm2, xmm0
movss xmm3, dword [rdi + 4]
mov r9d, dword [rax + rcx*4 - 4]
subss xmm3, xmm1
movss xmm4, dword [rdi + 8]
not r9d
movzx ecx, r9b
subss xmm4, xmm0
movss xmm0, dword [rdi + 0xc]
shr r9d, 8
subss xmm0, xmm1
movd r8d, xmm2
movss dword [rsp + 0x20], xmm2
movzx eax, byte [rsp + 0x20]
xor rcx, rax
movss dword [rsp + 0x24], xmm3
mov eax, r8d
movss dword [rsp + 0x28], xmm4
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
movss dword [rsp + 0x2c], xmm0
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 0x24]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm3
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 0x28]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm4
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
shr eax, 8
movzx edx, al
movzx ecx, r9b
mov rbx, qword [rsp + 0x40]
xor rdx, rcx
shr r9d, 8
mov eax, r8d
shr eax, 0x10
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 0x2c]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm0
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
shr r8, 0x18
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx edx, r9b
shr r9d, 8
xor r8, rdx
xor r9d, dword [r10 + r8*4]
not r9d
mov eax, r9d
add rsp, 0x30
pop rdi
ret
Function at 0x14000c2d0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x40
mov r9, qword [0x140140e90]
mov r14, r8
movaps xmmword [rsp + 0x30], xmm6
mov ebp, edx
mov rsi, rcx
mov rdi, r9
mov rbx, qword [r9 + 0x4038]
test edx, edx
jne 0x14000c325
mov r8d, 0x1550
lea rdx, str.D:Source_Code_mgui_loader_menu_main_mgui_loader_menu_mainimgui.cpp
lea rcx, str.id___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov r9, qword [0x140140e90]
or dword [rdi + 0x49e8], 0x100
mov dword [rdi + 0x4a20], 1
mov rdx, qword [r9 + 0x4038]
cmp qword [rdx + 0x1b8], 0
jne 0x14000c359
cmp qword [r9 + 0x4dd8], 0
mov eax, 0x260
je 0x14000c35e
mov eax, 0x230
movss xmm2, dword [rdx + rax]
lea rcx, [rsp + 0x60]
movss xmm3, dword [rdx + rax + 4]
subss xmm3, dword [rdx + 0x114]
subss xmm2, dword [rdx + 0x110]
mov rdx, qword [r14]
call fcn.1400172a0
or dword [r9 + 0x49e8], 2
lea rcx, [rsp + 0x60]
movsd xmm0, qword [rsp + 0x60]
xor edx, edx
movsd qword [r9 + 0x4a08], xmm0
mov dword [r9 + 0x49f0], 1
mov r9, qword [rbx + 8]
test rsi, rsi
je 0x14000c3cf
mov dword [rsp + 0x28], ebp
lea r8, str._s__s__08X
mov qword [rsp + 0x20], rsi
call fcn.1400040f0
jmp 0x14000c3df
lea r8, str._s__08X
mov dword [rsp + 0x20], ebp
call fcn.1400040f0
mov rcx, qword [rsp + 0x60]
xor edx, edx
movss xmm6, dword [rdi + 0x3920]
mov r8d, 0x1000107
call fcn.14000f9d0
mov rsi, qword [rdi + 0x4038]
movzx r14d, al
movss dword [rdi + 0x3920], xmm6
cmp word [rsi + 0xcc], 1
mov dword [rsi + 0x88], ebp
jne 0x14000c429
movsd xmm0, qword [rsi + 0x28]
movsd qword [rbx + 0x110], xmm0
mov r9d, ebp
lea rdx, [0x1400c09f9]
not r9d
lea r10, [0x1400c4f30]
mov ebx, r9d
mov r8b, reloc.WLDAP32.dll_Ordinal_35
cmp r8b, 0x23
jne 0x14000c456
cmp byte [rdx], r8b
jne 0x14000c456
cmp byte [rdx + 1], r8b
cmove ebx, r9d
movzx ecx, bl
movzx eax, r8b
movzx r8d, byte [rdx]
xor rcx, rax
shr ebx, 8
inc rdx
xor ebx, dword [r10 + rcx*4]
test r8b, r8b
jne 0x14000c443
not ebx
cmp dword [rdi + 0x409c], ebx
jne 0x14000c486
xor edx, edx
xor ecx, ecx
call fcn.140008520
cmp dword [rdi + 0x4b18], ebp
jne 0x14000c4cb
cmp word [rsi + 0x16c], 0
jne 0x14000c4a1
cmp byte [rsi + 0x172], 0
je 0x14000c4cb
xor edx, edx
mov rcx, rsi
call fcn.140012ce0
xor edx, edx
mov rcx, rsi
call fcn.14001aa30
mov rdx, rsi
mov ecx, ebx
call fcn.140008520
mov eax, dword [rdi + 0x4b3c]
mov dword [rdi + 0x40c0], eax
mov rbx, qword [rsp + 0x68]
movzx eax, r14b
mov rbp, qword [rsp + 0x70]
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
Function at 0x140018410
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, qword [0x140140e90]
mov edi, ecx
cmp byte [rbx + 0x4d21], 0
jne 0x140018462
cmp byte [rbx + 0x4d22], 0
jne 0x140018462
movsx r9d, word [rbx + 0x5e68]
lea r8, str.Tooltip__02d
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x20]
call fcn.140004070
test dil, 2
je 0x14001858f
jmp 0x1400184ed
movss xmm1, dword [rbx + 0x39c4]
lea r8, str.Tooltip__02d
movaps xmm0, xmm1
lea rcx, [rsp + 0x20]
mulss xmm0, dword [0x1400cd1ac]
xor eax, eax
mov edx, reloc.WS2_32.dll_recv
mulss xmm1, dword [0x1400cd1a0]
addss xmm0, dword [rbx + 0xe48]
addss xmm1, dword [rbx + 0xe4c]
mov qword [rbx + 0x4a00], rax
mov dword [rbx + 0x49ec], 1
movss dword [rbx + 0x49f8], xmm0
movss dword [rbx + 0x49fc], xmm1
movss xmm0, dword [rbx + 0x3a2c]
mulss xmm0, dword [0x1400cd128]
or dword [rbx + 0x49e8], 0x41
movss dword [rbx + 0x4a48], xmm0
movsx r9d, word [rbx + 0x5e68]
call fcn.140004070
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140018540
lea r11, [0x1400c4f30]
nop dword [rax]
cmp r9b, 0x23
jne 0x140018523
cmp byte [r8], r9b
jne 0x140018523
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 0x140018510
not ecx
call fcn.14000c810
test rax, rax
je 0x14001858f
cmp byte [rax + 0xbe], 0
je 0x14001858f
mov byte [rax + 0xc3], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xc5], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xe4], 1
mov edx, reloc.WS2_32.dll_recv
inc word [rbx + 0x5e68]
movsx r9d, word [rbx + 0x5e68]
call fcn.140004070
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x2030347
call fcn.14000f9d0
mov rbx, qword [rsp + 0x40]
mov al, 1
add rsp, 0x30
pop rdi
ret
Function at 0x14001e6e0
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 + 0x5fc0], 0
lea rbx, [rcx + 0x5fc8]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x14001e787
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14001e73a
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.140021120
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.1400049f0
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5fc0]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5fd0]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x140140e88]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14001e78f
mov rcx, rbx
call fcn.1400049f0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x14001e9f0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rdi
sub rsp, 0x20
mov rbx, qword [0x140140e90]
xor ebp, ebp
cmp byte [rbx + 0x5f18], bpl
jne 0x14001eaec
cmp dword [rbx + 0x5f40], ebp
je 0x14001ea37
mov r8d, 0x339a
lea rdx, str.D:Source_Code_mgui_loader_menu_main_mgui_loader_menu_mainimgui.cpp
lea rcx, str.g.SettingsWindows.empty__
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x14001eae5
lea r8, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
call fcn.140004400
mov rdi, rax
test rax, rax
je 0x14001eae5
mov rdx, qword [rsp + 0x30]
test rdx, rdx
je 0x14001ea71
mov rcx, rax
call fcn.14001ec40
mov r8, qword [0x140140e90]
test r8, r8
je 0x14001eadc
movsx rdx, word [r8 + 0x6078]
lea rcx, [r8 + 0x607c]
mov r9d, dword [r8 + 0x3f90]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x14001ead1
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x6078], cx
movsx rax, cx
lea rcx, [r8 + 0x607c]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], ebp
inc word [rcx + 6]
inc dword [r8 + 0x6074]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov byte [rbx + 0x5f18], 1
movss xmm0, dword [rbx + 0x5f1c]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x14001eb89
subss xmm0, dword [rbx + 0x18]
comiss xmm1, xmm0
movss dword [rbx + 0x5f1c], xmm0
jb 0x14001eb89
mov rdi, qword [rbx + 0x20]
mov qword [rsp + 0x38], rsi
test rdi, rdi
je 0x14001eb77
mov rax, qword [0x140140e90]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
mov dword [rax + 0x5f1c], ebp
call fcn.14001eec0
lea rdx, [0x1400c471c]
mov rcx, rdi
mov rsi, rax
call fcn.140004310
mov rdi, rax
test rax, rax
je 0x14001eb7e
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x14001eb7e
mov byte [rbx + 0xce], 1
mov rsi, qword [rsp + 0x38]
mov dword [rbx + 0x5f1c], ebp
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x14001eba0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x140140e90]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x14001ec03
mov qword [rsp], rbx
lea rbx, [0x1400c4f30]
nop dword [rax]
cmp r9b, 0x23
jne 0x14001ebe3
cmp byte [r8], r9b
jne 0x14001ebe3
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 0x14001ebd0
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5f30]
not eax
mov r8, qword [r10 + 0x5f38]
lea rdx, [rcx + rcx*8]
lea rcx, [r8 + rdx*8]
cmp r8, rcx
je 0x14001ec2f
cmp dword [r8 + 8], eax
je 0x14001ec36
add r8, 0x48
cmp r8, rcx
jne 0x14001ec20
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret
Function at 0x14002dad0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], r9
push rdi
push r14
push r15
sub rsp, 0x40
mov r9, qword [0x140140e90]
mov r14, r8
movaps xmmword [rsp + 0x30], xmm6
mov ebp, edx
mov rsi, rcx
mov rdi, r9
mov r15, qword [r9 + 0x4038]
test edx, edx
jne 0x14002db30
mov r8d, Ordinal_41
lea rdx, str.D:Source_Code_mgui_loader_menu_main_mgui_loader_menu_mainimgui_edited.cpp
lea rcx, str.id___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov r9, qword [0x140140e90]
mov ebx, dword [r15 + 0x14]
or dword [rdi + 0x49e8], 0x100
and ebx, 4
mov dword [rdi + 0x4a20], 2
or ebx, 0x41000103
mov rdx, qword [r9 + 0x4038]
cmp qword [rdx + 0x1b8], 0
jne 0x14002db71
cmp qword [r9 + 0x4dd8], 0
mov eax, 0x260
je 0x14002db76
mov eax, 0x230
movss xmm2, dword [rdx + rax]
lea rcx, [rsp + 0x78]
movss xmm3, dword [rdx + rax + 4]
subss xmm3, dword [rdx + 0x114]
subss xmm2, dword [rdx + 0x110]
mov rdx, qword [r14]
call fcn.1400172a0
or dword [r9 + 0x49e8], 2
lea rcx, [rsp + 0x78]
movsd xmm0, qword [rsp + 0x78]
xor edx, edx
movsd qword [r9 + 0x4a08], xmm0
mov dword [r9 + 0x49f0], 1
mov r9, qword [r15 + 8]
test rsi, rsi
je 0x14002dbe7
mov dword [rsp + 0x28], ebp
lea r8, str._s__s__08X
mov qword [rsp + 0x20], rsi
call fcn.1400040f0
jmp 0x14002dbf7
lea r8, str._s__08X
mov dword [rsp + 0x20], ebp
call fcn.1400040f0
movss xmm6, dword [rdi + 0x3920]
mov r8d, ebx
mov rcx, qword [rsp + 0x78]
xor edx, edx
mov dword [rdi + 0x3920], 0
call fcn.14000f9d0
mov rsi, qword [rdi + 0x4038]
movzx r14d, al
movss dword [rdi + 0x3920], xmm6
cmp word [rsi + 0xcc], 1
mov dword [rsi + 0x88], ebp
jne 0x14002dc49
movsd xmm0, qword [rsi + 0x28]
movsd qword [r15 + 0x110], xmm0
mov r9d, ebp
lea rdx, [0x1400c09f9]
not r9d
lea r10, [0x1400c4f30]
mov ebx, r9d
mov r8b, reloc.WLDAP32.dll_Ordinal_35
cmp r8b, 0x23
jne 0x14002dc76
cmp byte [rdx], r8b
jne 0x14002dc76
cmp byte [rdx + 1], r8b
cmove ebx, r9d
movzx ecx, bl
movzx eax, r8b
movzx r8d, byte [rdx]
xor rcx, rax
shr ebx, 8
inc rdx
xor ebx, dword [r10 + rcx*4]
test r8b, r8b
jne 0x14002dc63
not ebx
cmp dword [rdi + 0x409c], ebx
jne 0x14002dca6
xor edx, edx
xor ecx, ecx
call fcn.140008520
cmp dword [rdi + 0x4b18], ebp
jne 0x14002dceb
cmp word [rsi + 0x16c], 0
jne 0x14002dcc1
cmp byte [rsi + 0x172], 0
je 0x14002dceb
xor edx, edx
mov rcx, rsi
call fcn.140012ce0
xor edx, edx
mov rcx, rsi
call fcn.14001aa30
mov rdx, rsi
mov ecx, ebx
call fcn.140008520
mov eax, dword [rdi + 0x4b3c]
mov dword [rdi + 0x40c0], eax
mov rbx, qword [rsp + 0x60]
movzx eax, r14b
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
Function at 0x140043090
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push rbx
mov eax, 0x13b0
call fcn.1400aca10
sub rsp, rax
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [rsp + 0x13a4], 0xffffffff
mov edx, 1
mov dword [rsp + 0x24], eax
nop dword [rax]
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [rsp + rdx*4 + 0x24], eax
inc rdx
cmp rdx, 0x270
jb 0x1400430c0
mov dword [rsp + 0x20], 0x270
mov ebx, __WSAFDIsSet
nop dword [rax]
lea rcx, [rsp + 0x20]
call fcn.14004a3e0
mov ecx, eax
imul rax, rcx, 0x439
cmp eax, 0x319
ja 0x14004312a
nop word [rax + rax]
lea rcx, [rsp + 0x20]
call fcn.14004a3e0
mov ecx, eax
imul rax, rcx, 0x439
cmp eax, 0x31a
jb 0x140043110
shr rax, 0x20
lea rcx, [rsp + 0x20]
add eax, 0x80000000
xor eax, 0x80000000
movd xmm1, eax
cvtdq2ps xmm1, xmm1
call fcn.14004a3e0
mov ecx, eax
imul rax, rcx, 0x7bd
cmp eax, 0x32f
ja 0x14004317a
nop dword [rax]
lea rcx, [rsp + 0x20]
call fcn.14004a3e0
mov ecx, eax
imul rax, rcx, 0x7bd
cmp eax, 0x330
jb 0x140043160
mov rdx, qword [0x140140f18]
shr rax, 0x20
add eax, 0x80000000
movss dword [rsp + 0x13cc], xmm1
xor eax, 0x80000000
cmp rdx, qword [0x140140f20]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsp + 0x13c8], xmm0
je 0x1400431cb
unpcklps xmm0, xmm1
movsd qword [rdx], xmm0
add qword [0x140140f18], 8
movsd qword [rsp + 0x13c8], xmm0
jmp 0x1400431df
lea r8, [rsp + 0x13c8]
lea rcx, [0x140140f10]
call fcn.140049ea0
lea rcx, [rsp + 0x20]
call fcn.14004a3e0
sar eax, 0x1f
lea rcx, [rsp + 0x20]
and eax, 2
dec eax
movd xmm1, eax
cvtdq2ps xmm1, xmm1
call fcn.14004a3e0
mov rdx, qword [0x140140f30]
sar eax, 0x1f
and eax, 2
dec eax
movss dword [rsp + 0x13d4], xmm1
cmp rdx, qword [0x140140f38]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsp + 0x13d0], xmm0
je 0x14004324d
unpcklps xmm0, xmm1
movsd qword [rdx], xmm0
add qword [0x140140f30], 8
movsd qword [rsp + 0x13d0], xmm0
jmp 0x140043261
lea r8, [rsp + 0x13d0]
lea rcx, [0x140140f28]
call fcn.140049ea0
mov rdx, qword [0x140140fa8]
cmp rdx, qword [0x140140fb0]
mov dword [rsp + 0x13c0], 3
je 0x14004328c
mov dword [rdx], 3
add qword [0x140140fa8], 4
jmp 0x140043299
lea r8, [rsp + 0x13c0]
call fcn.140049cf0
sub rbx, 1
jne 0x1400430f0
add rsp, 0x13b0
pop rbx
ret
Function at 0x140043cc0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x280
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x40], 0x238
mov rcx, rax
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140043e15
lea rsi, str.GTAProcess
nop word [rax + rax]
lea rdx, [rsp + 0x6c]
lea rcx, [rsp + 0x20]
call fcn.140048820
mov r9, rax
cmp qword [rax + 0x18], 7
mov rcx, qword [rax + 0x10]
jbe 0x140043d30
mov r9, qword [rax]
cmp rcx, 0xa
jb 0x140043db4
lea r10, [rcx - 9]
mov rbx, r9
lea r10, [r9 + r10*2]
nop dword [rax]
nop word [rax + rax]
mov rax, r10
mov ecx, 0
sub rax, rbx
sar rax, 1
je 0x140043d7c
cmp word [rbx], 0x47
je 0x140043d79
cmp rax, 1
je 0x140043d7c
add rbx, 2
dec rax
cmp word [rbx], 0x47
jne 0x140043d66
mov rcx, rbx
mov rbx, rcx
test rcx, rcx
je 0x140043db4
mov r8, rbx
mov edx, 0xa
sub r8, rsi
mov rcx, rsi
movzx eax, word [r8 + rcx]
cmp ax, word [rcx]
jne 0x140043dae
add rcx, 2
sub rdx, 1
jne 0x140043d92
sub rbx, r9
sar rbx, 1
jmp 0x140043dbb
add rbx, 2
jmp 0x140043d50
mov rbx, 0xffffffffffffffff
mov rdx, qword [rsp + 0x38]
cmp rdx, 7
jbe 0x140043df9
mov rcx, qword [rsp + 0x20]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140043df4
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140043e35
call fcn.1400ac5a0
mov rcx, rdi
cmp rbx, 0xffffffffffffffff
jne 0x140043e3c
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140043d10
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x48]
jmp 0x140043e20

Function at 0x140043e50
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x460
mov rbx, rdx
mov edx, ecx
mov ecx, 8
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x438
mov rcx, rax
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_Module32FirstW]
test eax, eax
je 0x140043f1b
nop
lea rcx, [rsp + 0x50]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140043ea0
cmp qword [rbx + 0x18], 7
mov r8, rbx
mov rdx, qword [rbx + 0x10]
jbe 0x140043ebb
mov r8, qword [rbx]
cmp rdx, rax
jne 0x140043f05
lea rax, [rsp + 0x50]
test rdx, rdx
je 0x140043ee6
lea rcx, [rsp + 0x50]
sub r8, rcx
movzx ecx, word [r8 + rax]
cmp cx, word [rax]
jne 0x140043f05
add rax, 2
sub rdx, 1
jne 0x140043ed2
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x470]
add rsp, 0x460
pop rdi
ret
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x140043e90
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x470]
xor eax, eax
add rsp, 0x460
pop rdi
ret