Function at 0x1008d4a0
Capabilities:
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x124]
sub esp, 0x124
push 0xffffffffffffffff
push 0x1017dec5
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.100889a0
test al, al
je 0x1008d963
cmp dword [esi + 0x124], 0
lea ebx, [esi + 0x124]
je 0x1008d51a
push 0xc5
push str.C:UsersByrockDesktopACS_GSRVR1_ACSHSACSGuardN3BASEN3UIImage.cpp
push str.load
push str.ERROR____s_n_s:__d_n_n
call fcn.10082e50
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.101234b0
mov eax, dword [ebp - 0x30]
add esp, 0xc
test eax, eax
jle 0x1008d685
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 0x1008d988
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.10048f80
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 0x1008d5d4
sub ecx, edx
lea eax, [ebp + 0x1c]
push ecx
push eax
lea ecx, [ebp]
call fcn.10048350
mov dword [ebp - 0x24], 0
lea ecx, [esi + 0x128]
mov dword [ebp - 4], 1
lea eax, [ebp]
cmp ecx, eax
je 0x1008d619
cmp dword [ebp + 0x18], 0x10
lea eax, [ebp + 4]
push dword [ebp + 0x14]
cmovae eax, dword [ebp + 4]
push eax
call fcn.10048350
push ecx
push ebx
call fcn.1008dc00
test dword [esi + 0xec], 0x10000
jne 0x1008d63a
sub esp, 8
lea eax, [ebp]
push eax
call fcn.1008e040
mov dword [ebx], eax
lea ecx, [ebp]
mov dword [ebp - 4], 0xffffffff
call fcn.100448c0
mov eax, dword [ebp + 0x18]
cmp eax, 0x10
jb 0x1008d65e
inc eax
push eax
push dword [ebp + 4]
call fcn.10049010
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.10049010
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.1004a780
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.1004a780
mov edi, dword [ebp - 0x1c]
test edi, edi
je 0x1008d708
mov edi, dword [edi]
jmp 0x1008d70a
xor edi, edi
lea ecx, [ebp - 0x28]
call fcn.1004a7e0
cmp eax, edi
je 0x1008d75a
push str.list_iterators_incompatible
push 0x101b8af8
push 0
push 0xc3
push 0x101bce28
push 2
call fcn.10127830
add esp, 0x18
cmp eax, 1
jne 0x1008d73c
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.10136180
add esp, 0x14
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x10]
cmp eax, dword [ebp - 0x14]
push 3
setne bl
call fcn.1011cee0
lea ecx, [ebp - 0x28]
call fcn.1004a7f0
lea ecx, [ebp - 0x10]
call fcn.1011cf90
test bl, bl
je 0x1008d7ad
lea ecx, [ebp - 0x1c]
call fcn.10081b60
mov eax, dword [eax]
cmp dword [eax + 0xe4], 4
jne 0x1008d79a
inc dword [esi + 0x15c]
lea ecx, [ebp - 0x1c]
call fcn.10081aa0
lea ebx, [esi + 0xd8]
jmp 0x1008d6e0
push 3
lea ecx, [ebp - 0x10]
call fcn.1011cee0
lea ecx, [ebp - 0x1c]
call fcn.1004a7f0
lea ecx, [ebp - 0x10]
call fcn.1011cf90
test dword [esi + 0xec], 0x10000
je 0x1008d95a
mov eax, dword [esi + 0x15c]
test eax, eax
jle 0x1008d95a
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10121110
mov ecx, dword [esi + 0x15c]
shl ecx, 2
push ecx
push 0
push eax
mov dword [esi + 0x164], eax
call fcn.101234b0
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.1004a780
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.1004a780
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x1008d860
mov ebx, dword [ebx]
jmp 0x1008d862
xor ebx, ebx
lea ecx, [ebp - 0x28]
call fcn.1004a7e0
cmp eax, ebx
je 0x1008d8b2
push str.list_iterators_incompatible
push 0x101b8af8
push 0
push 0xc3
push 0x101bce28
push 2
call fcn.10127830
add esp, 0x18
cmp eax, 1
jne 0x1008d894
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.10136180
add esp, 0x14
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x10]
cmp eax, dword [ebp - 0x14]
push 3
sete bl
call fcn.1011cee0
lea ecx, [ebp - 0x28]
call fcn.1004a7f0
lea ecx, [ebp - 0x10]
call fcn.1011cf90
test bl, bl
jne 0x1008d940
lea ecx, [ebp - 0x1c]
call fcn.10081b60
mov eax, dword [eax]
cmp dword [eax + 0xe4], 4
jne 0x1008d8ff
lea ecx, [ebp - 0x1c]
call fcn.10081b60
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 0x1008d92c
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.10082e50
add esp, 0x10
lea ecx, [ebp - 0x1c]
inc edi
call fcn.10081aa0
lea ebx, [esi + 0xd8]
jmp 0x1008d838
push 3
lea ecx, [ebp - 0x10]
call fcn.1011cee0
lea ecx, [ebp - 0x1c]
call fcn.1004a7f0
lea ecx, [ebp - 0x10]
call fcn.1011cf90
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.101204c0
lea esp, [ebp + 0x124]
pop ebp
ret 4
call fcn.10121330
int3