Function at 0x1008c9d0
Capabilities:
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x124]
sub esp, 0x124
push 0xffffffffffffffff
push 0x1017d235
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x101dadb0]
xor eax, ebp
mov dword [ebp + 0x120], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 0x12c]
push edi
call fcn.10087ee0
test al, al
je 0x1008ce93
cmp dword [esi + 0x124], 0
lea ebx, [esi + 0x124]
je 0x1008ca4a
push 0xc5
push str.C:UsersByrockDesktopACS_GSRVR1_ACSHSACSGuardN3BASEN3UIImage.cpp
push str.load
push str.ERROR____s_n_s:__d_n_n
call fcn.10082390
add esp, 0x10
push 0
lea eax, [ebp - 0x34]
mov dword [ebp - 0x30], 0
push eax
push 4
lea eax, [ebp - 0x30]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push 0x104
lea eax, [ebp + 0x1c]
push 0
push eax
call fcn.10122870
mov eax, dword [ebp - 0x30]
add esp, 0xc
test eax, eax
jle 0x1008cbb5
push 0
lea ecx, [ebp - 0x34]
push ecx
push eax
lea eax, [ebp + 0x1c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 0x30]
cmp eax, 0x104
jae 0x1008ceb8
mov byte [ebp + eax + 0x1c], 0
lea eax, [ebp - 0x29]
push 8
mov dword [ebp], 0
mov dword [ebp + 4], 0
mov dword [ebp + 0x14], 0
mov dword [ebp + 0x18], 0
mov dword [ebp - 0x20], eax
call fcn.100484a0
lea ecx, [ebp]
mov dword [ebp - 0x24], eax
add esp, 4
mov dword [eax], ecx
mov dword [eax + 4], 0
mov dword [ebp], eax
mov dword [ebp - 4], 0
lea ecx, [ebp + 0x1c]
mov dword [ebp + 0x14], 0
lea edx, [ecx + 1]
mov dword [ebp + 0x18], 0xf
mov byte [ebp + 4], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1008cb04
sub ecx, edx
lea eax, [ebp + 0x1c]
push ecx
push eax
lea ecx, [ebp]
call fcn.10047890
mov dword [ebp - 0x24], 0
lea ecx, [esi + 0x128]
mov dword [ebp - 4], 1
lea eax, [ebp]
cmp ecx, eax
je 0x1008cb49
cmp dword [ebp + 0x18], 0x10
lea eax, [ebp + 4]
push dword [ebp + 0x14]
cmovae eax, dword [ebp + 4]
push eax
call fcn.10047890
push ecx
push ebx
call fcn.1008d130
test dword [esi + 0xec], 0x10000
jne 0x1008cb6a
sub esp, 8
lea eax, [ebp]
push eax
call fcn.1008d570
mov dword [ebx], eax
lea ecx, [ebp]
mov dword [ebp - 4], 0xffffffff
call fcn.10043e40
mov eax, dword [ebp + 0x18]
cmp eax, 0x10
jb 0x1008cb8e
inc eax
push eax
push dword [ebp + 4]
call fcn.10048530
add esp, 8
mov eax, dword [ebp]
push 8
push eax
mov dword [ebp + 0x14], 0
mov dword [ebp + 0x18], 0xf
mov byte [ebp + 4], 0
mov dword [ebp], 0
call fcn.10048530
add esp, 8
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [ebp - 0x34]
push 0
push eax
push 0x10
lea eax, [esi + 0x144]
push eax
push edi
call ebx
push 0
lea eax, [ebp - 0x34]
push eax
push 4
lea eax, [esi + 0x158]
push eax
push edi
call ebx
mov dword [esi + 0x15c], 0
lea ebx, [esi + 0xd8]
mov eax, dword [ebx + 4]
lea ecx, [ebp - 0x1c]
push ebx
mov eax, dword [eax]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], eax
call fcn.10049ca0
nop
mov eax, dword [ebx + 4]
lea ecx, [ebp - 0x28]
push ebx
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], eax
call fcn.10049ca0
mov edi, dword [ebp - 0x1c]
test edi, edi
je 0x1008cc38
mov edi, dword [edi]
jmp 0x1008cc3a
xor edi, edi
lea ecx, [ebp - 0x28]
call fcn.10049d00
cmp eax, edi
je 0x1008cc8a
push str.list_iterators_incompatible
push 0x101b8af8
push 0
push 0xc3
push 0x101bce28
push 2
call fcn.10126bf0
add esp, 0x18
cmp eax, 1
jne 0x1008cc6c
int3
push 0
push 0xc3
push str.C:Program_Files__x86_Microsoft_Visual_Studio2019CommunityVCToolsMSVC14.29.30133includelist
push 0x101b8c38
push str._list_iterators_incompatible_
call fcn.10135530
add esp, 0x14
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x10]
cmp eax, dword [ebp - 0x14]
push 3
setne bl
call fcn.1011c2a0
lea ecx, [ebp - 0x28]
call fcn.10049d10
lea ecx, [ebp - 0x10]
call fcn.1011c350
test bl, bl
je 0x1008ccdd
lea ecx, [ebp - 0x1c]
call fcn.100810a0
mov eax, dword [eax]
cmp dword [eax + 0xe4], 4
jne 0x1008ccca
inc dword [esi + 0x15c]
lea ecx, [ebp - 0x1c]
call fcn.10080fe0
lea ebx, [esi + 0xd8]
jmp 0x1008cc10
push 3
lea ecx, [ebp - 0x10]
call fcn.1011c2a0
lea ecx, [ebp - 0x1c]
call fcn.10049d10
lea ecx, [ebp - 0x10]
call fcn.1011c350
test dword [esi + 0xec], 0x10000
je 0x1008ce8a
mov eax, dword [esi + 0x15c]
test eax, eax
jle 0x1008ce8a
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.101204d0
mov ecx, dword [esi + 0x15c]
shl ecx, 2
push ecx
push 0
push eax
mov dword [esi + 0x164], eax
call fcn.10122870
mov eax, dword [esi + 0xdc]
lea ebx, [esi + 0xd8]
add esp, 0x10
lea ecx, [ebp - 0x1c]
xor edi, edi
mov eax, dword [eax]
push ebx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], eax
call fcn.10049ca0
mov eax, dword [ebx + 4]
lea ecx, [ebp - 0x28]
push ebx
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], eax
call fcn.10049ca0
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x1008cd90
mov ebx, dword [ebx]
jmp 0x1008cd92
xor ebx, ebx
lea ecx, [ebp - 0x28]
call fcn.10049d00
cmp eax, ebx
je 0x1008cde2
push str.list_iterators_incompatible
push 0x101b8af8
push 0
push 0xc3
push 0x101bce28
push 2
call fcn.10126bf0
add esp, 0x18
cmp eax, 1
jne 0x1008cdc4
int3
push 0
push 0xc3
push str.C:Program_Files__x86_Microsoft_Visual_Studio2019CommunityVCToolsMSVC14.29.30133includelist
push 0x101b8c38
push str._list_iterators_incompatible_
call fcn.10135530
add esp, 0x14
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x10]
cmp eax, dword [ebp - 0x14]
push 3
sete bl
call fcn.1011c2a0
lea ecx, [ebp - 0x28]
call fcn.10049d10
lea ecx, [ebp - 0x10]
call fcn.1011c350
test bl, bl
jne 0x1008ce70
lea ecx, [ebp - 0x1c]
call fcn.100810a0
mov eax, dword [eax]
cmp dword [eax + 0xe4], 4
jne 0x1008ce2f
lea ecx, [ebp - 0x1c]
call fcn.100810a0
mov ecx, dword [esi + 0x164]
mov eax, dword [eax]
mov dword [ecx + edi*4], eax
mov eax, dword [esi + 0x164]
mov eax, dword [eax + edi*4]
cmp dword [eax + 0xf0], edi
je 0x1008ce5c
push 0xe2
push str.C:UsersByrockDesktopACS_GSRVR1_ACSHSACSGuardN3BASEN3UIImage.cpp
push str.animate_Image_load_fail
push str.ERROR____s_n_s:__d_n_n
call fcn.10082390
add esp, 0x10
lea ecx, [ebp - 0x1c]
inc edi
call fcn.10080fe0
lea ebx, [esi + 0xd8]
jmp 0x1008cd68
push 3
lea ecx, [ebp - 0x10]
call fcn.1011c2a0
lea ecx, [ebp - 0x1c]
call fcn.10049d10
lea ecx, [ebp - 0x10]
call fcn.1011c350
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x70]
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 + 0x120]
xor ecx, ebp
call fcn.1011f880
lea esp, [ebp + 0x124]
pop ebp
ret 4
call fcn.101206f0
int3