joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10046bd0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x30
mov eax, dword [0x101dadb0]
xor eax, esp
mov dword [esp + 0x2c], eax
push ebx
mov ebx, dword [esp + 0x38]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x10046c00
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.101204c0
add esp, 0x30
ret 4
mov eax, dword [esi + 0x20]
push edi
mov ecx, dword [eax]
test ecx, ecx
je 0x10046c3d
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x10046c3d
lea ecx, [edi - 1]
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.101204c0
add esp, 0x30
ret 4
cmp dword [esi + 0x4c], 0
je 0x10046d33
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x10046c65
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x10046c99
push dword [esi + 0x4c]
movsx eax, bl
push eax
call fcn.10127b90
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.101204c0
add esp, 0x30
ret 4
lea eax, [esp + 0x10]
mov byte [esp + 0xf], bl
mov edx, dword [ecx]
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x23]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x1c]
sub eax, 0
je 0x10046d02
sub eax, 1
je 0x10046d02
sub eax, 2
jne 0x10046d33
push dword [esi + 0x4c]
movsx eax, byte [esp + 0x13]
push eax
call fcn.10127b90
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.101204c0
add esp, 0x30
ret 4
mov edi, dword [esp + 0x10]
lea eax, [esp + 0x18]
sub edi, eax
je 0x10046d21
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.10137f30
add esp, 0x10
cmp edi, eax
jne 0x10046d33
lea eax, [esp + 0xf]
mov byte [esi + 0x3d], 1
cmp dword [esp + 0x14], eax
jne 0x10046c27
mov ecx, dword [esp + 0x38]
or eax, 0xffffffff
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.101204c0
add esp, 0x30
ret 4
Function at 0x100486a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017a360
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x101dadb0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
push 0x47
push str.C:Program_Files__x86_Microsoft_Visual_Studio2019CommunityVCToolsMSVC14.29.30133includexlocale
push 2
push 8
mov dword [eax], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.1013a130
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10048770
push 1
mov dword [ebp - 4], 0
call fcn.1011d840
mov dword [esi + 4], eax
add esp, 4
mov eax, dword [ebp - 0x10]
lea edi, [eax + 0x14]
lea ecx, [eax + 0x18]
lea edx, [eax + 0x24]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea esi, [eax + 8]
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], ecx
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.1011d290
int3
Function at 0x10057f40
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x10057fb4
test ecx, ecx
jne 0x10057f67
push 0x4f
push str.C:UsersByrockDesktopACS_GSRVR1_ACSHSACSGuarddiscord_rpc_master_srcconnection_win.cpp
push str.self
call fcn.1013d430
add esp, 0xc
xor al, al
pop esi
ret 8
mov ecx, dword [ecx + 4]
cmp ecx, 0xffffffff
je 0x10057f61
mov eax, dword [esp + 8]
test eax, eax
jne 0x10057f91
push 0x56
push str.C:UsersByrockDesktopACS_GSRVR1_ACSHSACSGuarddiscord_rpc_master_srcconnection_win.cpp
push 0x101ba910
call fcn.1013d430
add esp, 0xc
xor al, al
pop esi
ret 8
push 0
lea edx, [esp + 0x10]
mov dword [esp + 0x10], 0
push edx
push esi
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, 1
jne 0x10057f61
cmp dword [esp + 0xc], esi
jne 0x10057f61
mov al, 1
pop esi
ret 8

Function at 0x10057fc0
Capabilities:
Read file on windows
Read pipe

Disassembly:
push ecx
cmp dword [esp + 8], 0
push esi
mov esi, ecx
jne 0x10057fe6
push 0x62
push str.C:UsersByrockDesktopACS_GSRVR1_ACSHSACSGuarddiscord_rpc_master_srcconnection_win.cpp
push 0x101ba910
call fcn.1013d430
add esp, 0xc
xor al, al
pop esi
pop ecx
ret 8
test esi, esi
jne 0x10058005
push 0x67
push str.C:UsersByrockDesktopACS_GSRVR1_ACSHSACSGuarddiscord_rpc_master_srcconnection_win.cpp
push str.self
call fcn.1013d430
add esp, 0xc
xor al, al
pop esi
pop ecx
ret 8
mov eax, dword [esi + 4]
push edi
cmp eax, 0xffffffff
je 0x10058093
push 0
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0
push ecx
push 0
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_PeekNamedPipe]
test eax, eax
je 0x10058080
mov edi, dword [esp + 0x14]
cmp dword [esp + 8], edi
jb 0x10058093
push 0
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0
push eax
push edi
push dword [esp + 0x1c]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, 1
jne 0x10058080
cmp edi, dword [esp + 0x14]
je 0x10058078
push 0x74
push str.C:UsersByrockDesktopACS_GSRVR1_ACSHSACSGuarddiscord_rpc_master_srcconnection_win.cpp
push str.bytesToRead__bytesRead
call fcn.1013d430
add esp, 0xc
pop edi
mov al, 1
pop esi
pop ecx
ret 8
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [esi], 0
mov dword [esi + 4], 0xffffffff
pop edi
xor al, al
pop esi
pop ecx
ret 8
Function at 0x10063db0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
mov eax, dword [0x101dadb0]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
mov ebx, ecx
mov dword [esp + 8], 0
push esi
push edi
mov eax, 0x66666667
mov edi, dword [ebx + 8]
mov ecx, edi
mov esi, dword [ebx + 4]
sub ecx, esi
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x10063f3f
xor eax, eax
xor ecx, ecx
mov dword [esp + 0xc], eax
nop word [eax + eax]
sub edi, esi
mov eax, 0x66666667
imul edi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ecx, eax
jb 0x10063e5e
push str.vector_subscript_out_of_range
push 0x101b8af8
push 0
push 0x611
push 0x101b9560
push 2
call fcn.10127830
add esp, 0x18
cmp eax, 1
jne 0x10063e3d
int3
push 0
push 0x611
push str.C:Program_Files__x86_Microsoft_Visual_Studio2019CommunityVCToolsMSVC14.29.30133include_vector
push 0x101b8c38
push str._vector_subscript_out_of_range_
call fcn.10136180
mov esi, dword [ebx + 4]
add esp, 0x14
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx + esi]
mov dword [esp + 0x14], eax
mov eax, dword [ecx + esi + 4]
mov dword [esp + 0x18], eax
mov eax, dword [ecx + esi + 8]
mov dword [esp + 0x1c], eax
lea eax, [ecx + 0xc]
add eax, esi
lea ecx, [esp + 0x20]
push eax
call fcn.10047950
mov edi, dword [esp + 0x18]
or eax, 0xffffffff
xor edx, edx
test edi, edi
je 0x10063eb9
mov esi, dword [esp + 0x14]
nop dword [eax]
movzx ecx, byte [esi + edx - 0x20]
inc edx
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x101ba240]
cmp edx, edi
jb 0x10063ea0
lea ecx, [esp + 0x20]
cmp eax, dword [esp + 0x1c]
jne 0x10063f53
call fcn.100448c0
mov eax, dword [esp + 0x38]
cmp eax, 0x10
jb 0x10063ee3
inc eax
push eax
push dword [esp + 0x28]
call fcn.10049010
add esp, 8
mov eax, dword [esp + 0x20]
push 8
push eax
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0xf
mov byte [esp + 0x2c], 0
mov dword [esp + 0x28], 0
call fcn.10049010
mov edi, dword [ebx + 8]
mov eax, 0x66666667
mov esi, dword [ebx + 4]
mov ecx, edi
inc dword [esp + 0x18]
sub ecx, esi
add dword [esp + 0x14], 0x28
add esp, 8
imul ecx
mov ecx, dword [esp + 0x10]
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ecx, eax
jb 0x10063e00
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.101204c0
mov esp, ebp
pop ebp
ret
call fcn.100448c0
mov eax, dword [esp + 0x38]
cmp eax, 0x10
jb 0x10063f6f
inc eax
push eax
push dword [esp + 0x28]
call fcn.10049010
add esp, 8
mov eax, dword [esp + 0x20]
push 8
push eax
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0xf
mov byte [esp + 0x2c], 0
mov dword [esp + 0x28], 0
call fcn.10049010
mov ecx, dword [esp + 0x44]
add esp, 8
xor al, al
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.101204c0
mov esp, ebp
pop ebp
ret
Function at 0x1006ecc0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017ac70
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x101dadb0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebp + 8]
lea esi, [ebx + 8]
movzx eax, byte [edi]
mov byte [ebx], al
mov ax, word [edi + 2]
mov word [ebx + 2], ax
mov eax, dword [edi + 4]
mov dword [ebx + 4], eax
mov dword [ebp - 4], 0
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
call fcn.10048f80
add esp, 4
mov ecx, esi
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [eax], esi
lea eax, [edi + 8]
push eax
call fcn.10048560
mov eax, dword [edi + 0x24]
mov dword [ebx + 0x24], eax
mov eax, dword [edi + 0x28]
mov dword [ebx + 0x28], eax
mov eax, dword [edi + 0x2c]
mov dword [ebx + 0x2c], eax
movzx eax, byte [edi + 0x30]
mov byte [ebx + 0x30], al
mov eax, dword [edi + 0x34]
mov dword [ebx + 0x34], eax
mov eax, dword [edi + 0x38]
mov dword [ebx + 0x38], eax
mov eax, dword [edi + 0x3c]
mov dword [ebx + 0x3c], eax
mov eax, dword [edi + 0x40]
mov dword [ebx + 0x40], eax
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1007e970
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017d3ed
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x101dadb0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 8]
push eax
call fcn.100889a0
test al, al
je 0x1007eac7
mov cl, 0x30
mov dword [ebp - 0x20], 0x5e445230
mov dword [ebp - 0x1c], 0x5e51536f
xor eax, eax
mov dword [ebp - 0x18], 0x5c5553
xor byte [ebp + eax - 0x1f], cl
inc eax
cmp eax, 0xa
jae 0x1007e9d6
mov cl, byte [ebp - 0x20]
jmp 0x1007e9c7
lea eax, [ebp - 0x1f]
mov byte [ebp - 0x15], 0
push eax
lea ecx, [ebp - 0x40]
call fcn.10047780
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 0
push eax
mov ecx, ebx
call fcn.10089950
movaps xmm0, xmmword [0x101c2e50]
xor ecx, ecx
mov dword [ebx + 0x128], eax
movups xmmword [ebp - 0x24], xmm0
mov byte [ebp - 0x14], 0
nop
mov al, byte [ebp - 0x24]
xor byte [ebp + ecx - 0x23], al
inc ecx
cmp ecx, 0xf
jb 0x1007ea10
lea ecx, [ebp - 0x23]
mov byte [ebp - 0x14], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1007ea27
sub ecx, edx
lea eax, [ebp - 0x23]
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.10048350
lea eax, [ebp - 0x40]
mov ecx, ebx
push eax
call fcn.10089950
mov edi, dword [ebx]
mov dword [ebx + 0x12c], eax
lea eax, [ebp - 0x48]
push ebx
push eax
call fcn.10105df0
push ebx
mov esi, dword [eax + 4]
lea eax, [ebp - 0x1c]
push eax
call fcn.10105df0
push esi
mov ecx, ebx
push dword [eax]
call dword [edi + 0x1c]
push 0
push 0x101b8c74
lea ecx, [ebx + 0x14c]
call fcn.10048350
lea ecx, [ebp - 0x40]
call fcn.100448c0
mov eax, dword [ebp - 0x28]
cmp eax, 0x10
jb 0x1007ea9e
inc eax
push eax
push dword [ebp - 0x3c]
call fcn.10049010
add esp, 8
mov eax, dword [ebp - 0x40]
push 8
push eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], 0
mov dword [ebp - 0x40], 0
call fcn.10049010
add esp, 8
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101204c0
mov esp, ebp
pop ebp
ret 4
Function at 0x10085900
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp dword [0x102ad6d8], 0
je 0x10085a3c
cmp dword [esp + 8], 0
je 0x10085a3c
push ebx
push esi
push 0x102b2f38
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [0x102b2f44]
push eax
movzx eax, word [0x102b2f42]
push eax
movzx eax, word [0x102b2f40]
push eax
push str.______.2d:_.2d:_.2d_
push 0x102b3348
mov byte [0x102b3348], 0
mov dword [esp + 0x1c], 0
call fcn.10052fe0
lea eax, [esp + 0x28]
mov byte [0x102b2f48], 0
push eax
push 0
push dword [esp + 0x2c]
push 0xffffffffffffffff
push 0x102b2f48
call fcn.10049520
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
add esp, 0x28
push 0x102b2f48
push 0x102b3348
call esi
push 0x101bd3dc
push 0x102b3348
call esi
push 0x102b3348
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp dword [0x102ad6dc], 0x10
mov ecx, 0x102ad6c8
push 0
cmovae ecx, dword [0x102ad6c8]
mov ebx, eax
push 0x80
push 3
push 0
push 0
push 0x40000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x10085a0e
cmp dword [0x102ad6dc], 0x10
mov eax, 0x102ad6c8
push 0
cmovae eax, dword [0x102ad6c8]
push 0x80
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x10085a3a
test esi, esi
je 0x10085a3a
push 2
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [esp + 0xc]
push eax
push ebx
push 0x102b3348
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebx
pop ecx
ret

Function at 0x10085bf0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
sub esp, 8
cmp byte [0x102b2f19], 0
jne 0x10085c35
push 0x102b3750
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
cmp eax, 1
jne 0x10085c25
push 0x102b3748
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov al, 1
mov byte [0x102b2f18], al
mov byte [0x102b2f19], al
jmp 0x10085c3a
xor al, al
mov byte [0x102b2f19], 1
mov byte [0x102b2f18], al
jmp 0x10085c3a
mov al, byte [0x102b2f18]
test al, al
je 0x10085c81
push 0x102b3750
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edx, dword [0x102b3754]
mov ecx, dword [0x102b3750]
call fcn.10179d00
mov edx, dword [0x102b374c]
mov ecx, dword [0x102b3748]
movsd qword [esp], xmm0
call fcn.10179d00
movsd xmm1, qword [esp]
divsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
add esp, 8
ret
call dword [sym.imp.WINMM.dll_timeGetTime]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x101c2790]
cvtpd2ps xmm0, xmm0
add esp, 8
ret
Function at 0x10086420
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017d8cd
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
mov eax, dword [0x101dadb0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x40], 0
jne 0x10086463
push 0
push str.Unknown_version_type
push 0x102628f8
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
lea ebx, [esi + 8]
push 0x101b8c74
mov ecx, ebx
call fcn.10048350
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x18]
push 0
push eax
push 4
lea eax, [ebp - 0x14]
mov dword [ebp - 0x18], 0
push eax
push esi
mov dword [ebp - 0x14], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 0x14]
test eax, eax
jle 0x100865cd
push ecx
lea ecx, [ebp + 0xb]
mov byte [ebp + 0xb], 0
push ecx
inc eax
lea ecx, [ebp - 0x28]
push eax
call fcn.10056e50
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
sub eax, ecx
jne 0x1008650d
push str.vector_subscript_out_of_range
push 0x101b8af8
push eax
push 0x611
push 0x101b9560
push 2
call fcn.10127830
add esp, 0x18
cmp eax, 1
jne 0x100864ec
int3
push 0
push 0x611
push str.C:Program_Files__x86_Microsoft_Visual_Studio2019CommunityVCToolsMSVC14.29.30133include_vector
push 0x101b8c38
push str._vector_subscript_out_of_range_
call fcn.10136180
mov ecx, dword [ebp - 0x24]
add esp, 0x14
push 0
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x14]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
sub eax, ecx
jne 0x1008656e
push str.vector_subscript_out_of_range
push 0x101b8af8
push eax
push 0x611
push 0x101b9560
push 2
call fcn.10127830
add esp, 0x18
cmp eax, 1
jne 0x1008654d
int3
push 0
push 0x611
push str.C:Program_Files__x86_Microsoft_Visual_Studio2019CommunityVCToolsMSVC14.29.30133include_vector
push 0x101b8c38
push str._vector_subscript_out_of_range_
call fcn.10136180
mov ecx, dword [ebp - 0x24]
add esp, 0x14
mov edx, ecx
lea esi, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x10086573
sub edx, esi
push edx
push ecx
mov ecx, ebx
call fcn.10048350
lea ecx, [ebp - 0x28]
call fcn.100448c0
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x100865b8
mov eax, dword [ebp - 0x1c]
sub eax, ecx
push eax
push ecx
call fcn.10049010
add esp, 8
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x28]
push 8
push eax
mov dword [ebp - 0x28], 0
call fcn.10049010
add esp, 8
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10086c40
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
push esi
mov esi, ecx
mov dword [esp + 8], 0
push 0
mov eax, dword [esi + 0x1c]
mov dword [esp + 8], eax
lea eax, [esp + 0xc]
push eax
push 4
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [esp + 4]
test ecx, ecx
jle 0x10086c93
cmp dword [esi + 0x20], 0x10
lea eax, [esi + 0xc]
jb 0x10086c80
mov eax, dword [eax]
push 0
lea edx, [esp + 0xc]
push edx
push ecx
push eax
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov al, 1
pop esi
add esp, 8
ret 4
Function at 0x10087fa0
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
push esi
push dword [esp + 0x10]
mov esi, ecx
call fcn.100889a0
test al, al
jne 0x10087fba
pop esi
add esp, 8
ret 4
push 0
lea eax, [esp + 0xc]
push eax
push 4
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esp + 4]
mov dword [esi + 0x120], eax
mov al, 1
pop esi
add esp, 8
ret 4

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

Disassembly:
push esi
mov esi, ecx
push edi
mov ecx, dword [esi + 0xd4]
mov dword [esi], vtable.CN3UIBase.0
test ecx, ecx
je 0x100882da
push esi
call fcn.10088460
mov eax, dword [esi + 0xe0]
test eax, eax
je 0x10088304
mov eax, dword [esi + 0xdc]
mov eax, dword [eax]
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x100882fa
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov eax, dword [esi + 0xe0]
test eax, eax
jne 0x100882e4
lea ecx, [esi + 0xd8]
call fcn.1007c420
lea ecx, [esi + 0x64]
call fcn.100448c0
mov eax, dword [esi + 0x7c]
cmp eax, 0x10
jb 0x1008832c
inc eax
push eax
push dword [esi + 0x68]
call fcn.10049010
add esp, 8
mov eax, dword [esi + 0x64]
push 8
push eax
mov dword [esi + 0x78], 0
mov dword [esi + 0x7c], 0xf
mov byte [esi + 0x68], 0
mov dword [esi + 0x64], 0
call fcn.10049010
add esp, 8
lea ecx, [esi + 0x48]
call fcn.100448c0
mov eax, dword [esi + 0x60]
cmp eax, 0x10
jb 0x10088370
inc eax
push eax
push dword [esi + 0x4c]
call fcn.10049010
add esp, 8
mov eax, dword [esi + 0x48]
push 8
push eax
mov dword [esi + 0x5c], 0
mov dword [esi + 0x60], 0xf
mov byte [esi + 0x4c], 0
mov dword [esi + 0x48], 0
call fcn.10049010
add esp, 8
mov ecx, esi
pop edi
pop esi
jmp fcn.100861a0
Function at 0x1008ca90
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
push esi
mov esi, dword [ebp + 8]
push edi
push esi
mov edi, ecx
call fcn.10090bb0
test al, al
jne 0x1008cab2
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
push 0
lea eax, [esp + 0x18]
mov dword [esp + 0x14], 0
push eax
push 4
lea eax, [esp + 0x1c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esp + 0x10]
test eax, eax
jle 0x1008cbcc
push ecx
lea ecx, [esp + 0x13]
mov byte [esp + 0x13], 0
push ecx
inc eax
lea ecx, [esp + 0x20]
push eax
call fcn.10056e50
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
sub eax, ecx
jne 0x1008cb44
push str.vector_subscript_out_of_range
push 0x101b8af8
push eax
push 0x611
push 0x101b9560
push 2
call fcn.10127830
add esp, 0x18
cmp eax, 1
jne 0x1008cb22
int3
push 0
push 0x611
push str.C:Program_Files__x86_Microsoft_Visual_Studio2019CommunityVCToolsMSVC14.29.30133include_vector
push 0x101b8c38
push str._vector_subscript_out_of_range_
call fcn.10136180
mov ecx, dword [esp + 0x30]
add esp, 0x14
push 0
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x18]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [edi + 0x158], 0
je 0x1008cb7c
push 0x1a9
push str.C:UsersByrockDesktopACS_GSRVR1_ACSHSACSGuardN3BASEN3UIEdit.cpp
push str.memory_leak
push str.ERROR____s_n_s:__d_n_n
call fcn.10082e50
add esp, 0x10
lea ecx, [esp + 0x18]
call fcn.100448c0
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x1008cbb5
mov eax, dword [esp + 0x24]
sub eax, ecx
push eax
push ecx
call fcn.10049010
add esp, 8
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov eax, dword [esp + 0x18]
push 8
push eax
mov dword [esp + 0x20], 0
call fcn.10049010
add esp, 8
pop edi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 4