Function at 0x1008d350
Capabilities:
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x124]
sub esp, 0x124
push 0xffffffffffffffff
push 0x1017dc25
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.10088830
test al, al
je 0x1008d813
cmp dword [esi + 0x124], 0
lea ebx, [esi + 0x124]
je 0x1008d3ca
push 0xc5
push str.C:UsersByrockDesktopACS_GSRVR1_ACSHSACSGuardN3BASEN3UIImage.cpp
push str.load
push str.ERROR____s_n_s:__d_n_n
call fcn.10082cd0
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.10123240
mov eax, dword [ebp - 0x30]
add esp, 0xc
test eax, eax
jle 0x1008d535
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 0x1008d838
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.10048e10
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 0x1008d484
sub ecx, edx
lea eax, [ebp + 0x1c]
push ecx
push eax
lea ecx, [ebp]
call fcn.10048200
mov dword [ebp - 0x24], 0
lea ecx, [esi + 0x128]
mov dword [ebp - 4], 1
lea eax, [ebp]
cmp ecx, eax
je 0x1008d4c9
cmp dword [ebp + 0x18], 0x10
lea eax, [ebp + 4]
push dword [ebp + 0x14]
cmovae eax, dword [ebp + 4]
push eax
call fcn.10048200
push ecx
push ebx
call fcn.1008dab0
test dword [esi + 0xec], 0x10000
jne 0x1008d4ea
sub esp, 8
lea eax, [ebp]
push eax
call fcn.1008def0
mov dword [ebx], eax
lea ecx, [ebp]
mov dword [ebp - 4], 0xffffffff
call fcn.100447b0
mov eax, dword [ebp + 0x18]
cmp eax, 0x10
jb 0x1008d50e
inc eax
push eax
push dword [ebp + 4]
call fcn.10048ea0
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.10048ea0
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.1004a610
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.1004a610
mov edi, dword [ebp - 0x1c]
test edi, edi
je 0x1008d5b8
mov edi, dword [edi]
jmp 0x1008d5ba
xor edi, edi
lea ecx, [ebp - 0x28]
call fcn.1004a670
cmp eax, edi
je 0x1008d60a
push str.list_iterators_incompatible
push 0x101b8af8
push 0
push 0xc3
push 0x101bce28
push 2
call fcn.101275c0
add esp, 0x18
cmp eax, 1
jne 0x1008d5ec
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.10135f00
add esp, 0x14
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x10]
cmp eax, dword [ebp - 0x14]
push 3
setne bl
call fcn.1011cc50
lea ecx, [ebp - 0x28]
call fcn.1004a680
lea ecx, [ebp - 0x10]
call fcn.1011cd00
test bl, bl
je 0x1008d65d
lea ecx, [ebp - 0x1c]
call fcn.100819e0
mov eax, dword [eax]
cmp dword [eax + 0xe4], 4
jne 0x1008d64a
inc dword [esi + 0x15c]
lea ecx, [ebp - 0x1c]
call fcn.10081920
lea ebx, [esi + 0xd8]
jmp 0x1008d590
push 3
lea ecx, [ebp - 0x10]
call fcn.1011cc50
lea ecx, [ebp - 0x1c]
call fcn.1004a680
lea ecx, [ebp - 0x10]
call fcn.1011cd00
test dword [esi + 0xec], 0x10000
je 0x1008d80a
mov eax, dword [esi + 0x15c]
test eax, eax
jle 0x1008d80a
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10120ea0
mov ecx, dword [esi + 0x15c]
shl ecx, 2
push ecx
push 0
push eax
mov dword [esi + 0x164], eax
call fcn.10123240
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.1004a610
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.1004a610
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x1008d710
mov ebx, dword [ebx]
jmp 0x1008d712
xor ebx, ebx
lea ecx, [ebp - 0x28]
call fcn.1004a670
cmp eax, ebx
je 0x1008d762
push str.list_iterators_incompatible
push 0x101b8af8
push 0
push 0xc3
push 0x101bce28
push 2
call fcn.101275c0
add esp, 0x18
cmp eax, 1
jne 0x1008d744
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.10135f00
add esp, 0x14
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x10]
cmp eax, dword [ebp - 0x14]
push 3
sete bl
call fcn.1011cc50
lea ecx, [ebp - 0x28]
call fcn.1004a680
lea ecx, [ebp - 0x10]
call fcn.1011cd00
test bl, bl
jne 0x1008d7f0
lea ecx, [ebp - 0x1c]
call fcn.100819e0
mov eax, dword [eax]
cmp dword [eax + 0xe4], 4
jne 0x1008d7af
lea ecx, [ebp - 0x1c]
call fcn.100819e0
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 0x1008d7dc
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.10082cd0
add esp, 0x10
lea ecx, [ebp - 0x1c]
inc edi
call fcn.10081920
lea ebx, [esi + 0xd8]
jmp 0x1008d6e8
push 3
lea ecx, [ebp - 0x10]
call fcn.1011cc50
lea ecx, [ebp - 0x1c]
call fcn.1004a680
lea ecx, [ebp - 0x10]
call fcn.1011cd00
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.10120250
lea esp, [ebp + 0x124]
pop ebp
ret 4
call fcn.101210c0
int3