Function at 0x10096ed0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101996e0
mov eax, dword fs:[0]
push eax
sub esp, 0x170
mov eax, dword [0x101f6e00]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
push eax
mov dword [ebp - 0x138], eax
call fcn.10090d70
test al, al
je 0x10097864
cmp dword [edi + 0x124], 0
lea esi, [edi + 0x124]
je 0x10096f41
push 0xc5
push 0x101da008
push str.load
push str.ERROR____s_n_s:__d_n_n
call fcn.10089a80
add esp, 0x10
push 0
lea eax, [ebp - 0x178]
mov dword [ebp - 0x174], 0
push eax
push 4
lea eax, [ebp - 0x174]
push eax
push dword [ebp - 0x138]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push 0x103
lea eax, [ebp - 0x113]
mov byte [ebp - 0x114], 0
push 0
push eax
call fcn.1013f8f0
mov eax, dword [ebp - 0x174]
add esp, 0xc
test eax, eax
jle 0x10097166
push 0
lea ecx, [ebp - 0x178]
push ecx
push eax
lea eax, [ebp - 0x114]
push eax
push dword [ebp - 0x138]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 0x174]
cmp eax, 0x104
jae 0x10097881
xorps xmm0, xmm0
mov byte [ebp + eax - 0x114], 0
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x130], 0
movups xmmword [ebp - 0x12c], xmm0
mov dword [ebp - 0x11c], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x118], 0
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10097000
sub ecx, edx
lea eax, [ebp - 0x114]
push ecx
push eax
lea ecx, [ebp - 0x130]
call fcn.100484d0
lea ecx, [edi + 0x128]
mov dword [ebp - 4], 0
lea eax, [ebp - 0x130]
cmp ecx, eax
je 0x10097053
cmp dword [ebp - 0x118], 0xf
lea eax, [ebp - 0x12c]
push dword [ebp - 0x11c]
cmova eax, dword [ebp - 0x12c]
push eax
call fcn.10047890
push ecx
push esi
call fcn.10097c60
test dword [edi + 0xec], 0x10000
jne 0x10097077
sub esp, 8
lea eax, [ebp - 0x130]
push eax
call fcn.10098530
mov dword [esi], eax
push 3
lea ecx, [ebp - 0x13c]
mov dword [ebp - 4], 0xffffffff
call fcn.10139310
mov ecx, dword [ebp - 0x130]
test ecx, ecx
je 0x100970b0
mov eax, dword [ecx + 4]
mov dword [ecx + 4], 0
test eax, eax
je 0x100970b0
mov dword [eax], 0
mov eax, dword [eax + 4]
test eax, eax
jne 0x100970a3
lea ecx, [ebp - 0x13c]
call fcn.101393c0
mov eax, dword [ebp - 0x118]
cmp eax, 0xf
jbe 0x10097130
mov ecx, dword [ebp - 0x12c]
lea esi, [eax + 1]
mov dword [ebp - 0x13c], ecx
test ecx, ecx
jne 0x10097126
test esi, esi
je 0x10097126
push str.null_pointer_cannot_point_to_a_block_of_non_zero_size
push 0x101d467c
push ecx
push 0x3b4
push 0x101d4680
push 2
call fcn.10143d00
add esp, 0x18
cmp eax, 1
jne 0x10097102
int3
push 0
push 0x3b4
push str.C:Program_FilesMicrosoft_Visual_Studio2022CommunityVCToolsMSVC14.40.33807includexmemory
push 0x101d47ac
push str._null_pointer_cannot_point_to_a_block_of_non_zero_size_
call fcn.10152640
mov ecx, dword [ebp - 0x13c]
add esp, 0x14
push esi
push ecx
call fcn.10048760
add esp, 8
mov eax, dword [ebp - 0x130]
push 8
push eax
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0xf
mov byte [ebp - 0x12c], 0
mov dword [ebp - 0x130], 0
call fcn.1013c8d0
add esp, 8
mov esi, dword [ebp - 0x138]
lea eax, [ebp - 0x178]
push 0
push eax
push 0x10
lea eax, [edi + 0x144]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea eax, [ebp - 0x178]
push eax
push 4
lea eax, [edi + 0x158]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [edi + 0x15c], 0
lea ecx, [ebp - 0x138]
mov eax, dword [edi + 0xdc]
push 3
mov eax, dword [eax]
mov dword [ebp - 0x170], 0
mov dword [ebp - 0x16c], 0
mov dword [ebp - 0x168], eax
call fcn.10139310
mov ecx, dword [edi + 0xd8]
mov esi, dword [ebp - 0x170]
mov dword [ebp - 0x13c], ecx
cmp esi, ecx
je 0x10097291
test esi, esi
je 0x10097279
mov eax, dword [esi + 4]
add esi, 4
test eax, eax
je 0x1009721d
lea edx, [ebp - 0x170]
cmp eax, edx
je 0x10097218
mov esi, dword [esi]
add esi, 4
mov eax, dword [esi]
test eax, eax
jne 0x10097203
cmp dword [esi], 0
jne 0x10097267
push str.ITERATOR_LIST_CORRUPTED_
push 0x101d467c
push 0
push 0x536
push 0x101d4680
push 2
call fcn.10143d00
add esp, 0x18
cmp eax, 1
jne 0x10097243
int3
push 0
push 0x536
push str.C:Program_FilesMicrosoft_Visual_Studio2022CommunityVCToolsMSVC14.40.33807includexmemory
push 0x101d47ac
push str._ITERATOR_LIST_CORRUPTED__
call fcn.10152640
mov ecx, dword [ebp - 0x13c]
add esp, 0x14
mov eax, dword [ebp - 0x16c]
mov dword [esi], eax
mov dword [ebp - 0x170], 0
mov eax, dword [ecx + 4]
mov dword [ebp - 0x16c], eax
lea eax, [ebp - 0x170]
mov dword [ecx + 4], eax
mov dword [ebp - 0x170], ecx
lea ecx, [ebp - 0x138]
call fcn.101393c0
nop dword [eax]
mov eax, dword [edi + 0xdc]
lea ecx, [ebp - 0x138]
push 3
mov dword [ebp - 0x14c], 0
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x144], eax
call fcn.10139310
mov ecx, dword [edi + 0xd8]
mov esi, dword [ebp - 0x14c]
mov dword [ebp - 0x13c], ecx
cmp esi, ecx
je 0x1009738e
test esi, esi
je 0x10097376
mov eax, dword [esi + 4]
add esi, 4
test eax, eax
je 0x1009731a
nop dword [eax]
lea edx, [ebp - 0x14c]
cmp eax, edx
je 0x10097315
mov esi, dword [esi]
add esi, 4
mov eax, dword [esi]
test eax, eax
jne 0x10097300
cmp dword [esi], 0
jne 0x10097364
push str.ITERATOR_LIST_CORRUPTED_
push 0x101d467c
push 0
push 0x536
push 0x101d4680
push 2
call fcn.10143d00
add esp, 0x18
cmp eax, 1
jne 0x10097340
int3
push 0
push 0x536
push str.C:Program_FilesMicrosoft_Visual_Studio2022CommunityVCToolsMSVC14.40.33807includexmemory
push 0x101d47ac
push str._ITERATOR_LIST_CORRUPTED__
call fcn.10152640
mov ecx, dword [ebp - 0x13c]
add esp, 0x14
mov eax, dword [ebp - 0x148]
mov dword [esi], eax
mov dword [ebp - 0x14c], 0
mov eax, dword [ecx + 4]
mov dword [ebp - 0x148], eax
lea eax, [ebp - 0x14c]
mov dword [ecx + 4], eax
mov dword [ebp - 0x14c], ecx
lea ecx, [ebp - 0x138]
call fcn.101393c0
lea eax, [ebp - 0x170]
push eax
lea ecx, [ebp - 0x14c]
call fcn.1008f770
push 3
lea ecx, [ebp - 0x140]
mov byte [ebp - 0x131], al
call fcn.10139310
mov esi, dword [ebp - 0x14c]
test esi, esi
je 0x10097442
mov eax, dword [esi + 4]
add esi, 4
test eax, eax
je 0x100973ec
lea ecx, [ebp - 0x14c]
cmp eax, ecx
je 0x100973e7
mov esi, dword [esi]
add esi, 4
mov eax, dword [esi]
test eax, eax
jne 0x100973d2
cmp dword [esi], 0
jne 0x10097430
push str.ITERATOR_LIST_CORRUPTED_
push 0x101d467c
push 0
push 0x536
push 0x101d4680
push 2
call fcn.10143d00
add esp, 0x18
cmp eax, 1
jne 0x10097412
int3
push 0
push 0x536
push str.C:Program_FilesMicrosoft_Visual_Studio2022CommunityVCToolsMSVC14.40.33807includexmemory
push 0x101d47ac
push str._ITERATOR_LIST_CORRUPTED__
call fcn.10152640
add esp, 0x14
mov eax, dword [ebp - 0x148]
mov dword [esi], eax
mov dword [ebp - 0x14c], 0
lea ecx, [ebp - 0x140]
call fcn.101393c0
cmp byte [ebp - 0x131], 0
jne 0x10097482
lea ecx, [ebp - 0x170]
call fcn.10086f10
mov eax, dword [eax]
cmp dword [eax + 0xe4], 4
jne 0x10097472
inc dword [edi + 0x15c]
lea ecx, [ebp - 0x170]
call fcn.10086e50
jmp 0x100972a0
push 3
lea ecx, [ebp - 0x140]
call fcn.10139310
lea ecx, [ebp - 0x170]
call fcn.1004c220
lea ecx, [ebp - 0x140]
call fcn.101393c0
test dword [edi + 0xec], 0x10000
je 0x1009785b
mov eax, dword [edi + 0x15c]
test eax, eax
jle 0x1009785b
mov ecx, 4
mul ecx
mov ecx, 0xffffffff
cmovb eax, ecx
push eax
call fcn.1013d380
mov ecx, dword [edi + 0x15c]
shl ecx, 2
push ecx
push 0
push eax
mov dword [edi + 0x164], eax
call fcn.1013f8f0
mov eax, dword [edi + 0xdc]
lea ecx, [ebp - 0x13c]
add esp, 0x10
mov dword [ebp - 0x138], 0
mov eax, dword [eax]
push 3
mov dword [ebp - 0x164], 0
mov dword [ebp - 0x160], 0
mov dword [ebp - 0x15c], eax
call fcn.10139310
mov ecx, dword [edi + 0xd8]
mov esi, dword [ebp - 0x164]
mov dword [ebp - 0x140], ecx
cmp esi, ecx
je 0x100975ee
test esi, esi
je 0x100975d6
mov eax, dword [esi + 4]
add esi, 4
test eax, eax
je 0x1009757a
nop dword [eax + eax]
lea edx, [ebp - 0x164]
cmp eax, edx
je 0x10097575
mov esi, dword [esi]
add esi, 4
mov eax, dword [esi]
test eax, eax
jne 0x10097560
cmp dword [esi], 0
jne 0x100975c4
push str.ITERATOR_LIST_CORRUPTED_
push 0x101d467c
push 0
push 0x536
push 0x101d4680
push 2
call fcn.10143d00
add esp, 0x18
cmp eax, 1
jne 0x100975a0
int3
push 0
push 0x536
push str.C:Program_FilesMicrosoft_Visual_Studio2022CommunityVCToolsMSVC14.40.33807includexmemory
push 0x101d47ac
push str._ITERATOR_LIST_CORRUPTED__
call fcn.10152640
mov ecx, dword [ebp - 0x140]
add esp, 0x14
mov eax, dword [ebp - 0x160]
mov dword [esi], eax
mov dword [ebp - 0x164], 0
mov eax, dword [ecx + 4]
mov dword [ebp - 0x160], eax
lea eax, [ebp - 0x164]
mov dword [ecx + 4], eax
mov dword [ebp - 0x164], ecx
lea ecx, [ebp - 0x13c]
call fcn.101393c0
nop dword [eax]
mov eax, dword [edi + 0xdc]
lea ecx, [ebp - 0x13c]
push 3
mov dword [ebp - 0x158], 0
mov dword [ebp - 0x154], 0
mov dword [ebp - 0x150], eax
call fcn.10139310
mov ecx, dword [edi + 0xd8]
mov esi, dword [ebp - 0x158]
mov dword [ebp - 0x140], ecx
cmp esi, ecx
je 0x100976ee
test esi, esi
je 0x100976d6
mov eax, dword [esi + 4]
add esi, 4
test eax, eax
je 0x1009767a
nop dword [eax]
lea edx, [ebp - 0x158]
cmp eax, edx
je 0x10097675
mov esi, dword [esi]
add esi, 4
mov eax, dword [esi]
test eax, eax
jne 0x10097660
cmp dword [esi], 0
jne 0x100976c4
push str.ITERATOR_LIST_CORRUPTED_
push 0x101d467c
push 0
push 0x536
push 0x101d4680
push 2
call fcn.10143d00
add esp, 0x18
cmp eax, 1
jne 0x100976a0
int3
push 0
push 0x536
push str.C:Program_FilesMicrosoft_Visual_Studio2022CommunityVCToolsMSVC14.40.33807includexmemory
push 0x101d47ac
push str._ITERATOR_LIST_CORRUPTED__
call fcn.10152640
mov ecx, dword [ebp - 0x140]
add esp, 0x14
mov eax, dword [ebp - 0x154]
mov dword [esi], eax
mov dword [ebp - 0x158], 0
mov eax, dword [ecx + 4]
mov dword [ebp - 0x154], eax
lea eax, [ebp - 0x158]
mov dword [ecx + 4], eax
mov dword [ebp - 0x158], ecx
lea ecx, [ebp - 0x13c]
call fcn.101393c0
lea eax, [ebp - 0x164]
push eax
lea ecx, [ebp - 0x158]
call fcn.1008f770
push 3
lea ecx, [ebp - 0x17c]
mov byte [ebp - 0x131], al
call fcn.10139310
mov esi, dword [ebp - 0x158]
test esi, esi
je 0x100977a2
mov eax, dword [esi + 4]
add esi, 4
test eax, eax
je 0x1009774c
lea ecx, [ebp - 0x158]
cmp eax, ecx
je 0x10097747
mov esi, dword [esi]
add esi, 4
mov eax, dword [esi]
test eax, eax
jne 0x10097732
cmp dword [esi], 0
jne 0x10097790
push str.ITERATOR_LIST_CORRUPTED_
push 0x101d467c
push 0
push 0x536
push 0x101d4680
push 2
call fcn.10143d00
add esp, 0x18
cmp eax, 1
jne 0x10097772
int3
push 0
push 0x536
push str.C:Program_FilesMicrosoft_Visual_Studio2022CommunityVCToolsMSVC14.40.33807includexmemory
push 0x101d47ac
push str._ITERATOR_LIST_CORRUPTED__
call fcn.10152640
add esp, 0x14
mov eax, dword [ebp - 0x154]
mov dword [esi], eax
mov dword [ebp - 0x158], 0
lea ecx, [ebp - 0x17c]
call fcn.101393c0
cmp byte [ebp - 0x131], 0
jne 0x10097838
lea ecx, [ebp - 0x164]
call fcn.10086f10
mov eax, dword [eax]
cmp dword [eax + 0xe4], 4
jne 0x100977ee
lea ecx, [ebp - 0x164]
call fcn.10086f10
mov ecx, dword [edi + 0x164]
mov esi, dword [ebp - 0x138]
mov eax, dword [eax]
mov dword [ecx + esi*4], eax
jmp 0x100977f4
mov esi, dword [ebp - 0x138]
mov eax, dword [edi + 0x164]
mov eax, dword [eax + esi*4]
cmp dword [eax + 0xf0], esi
je 0x10097821
push 0xe2
push 0x101da008
push str.animate_Image_load_fail
push str.ERROR____s_n_s:__d_n_n
call fcn.10089a80
add esp, 0x10
inc esi
lea ecx, [ebp - 0x164]
mov dword [ebp - 0x138], esi
call fcn.10086e50
jmp 0x10097600
push 3
lea ecx, [ebp - 0x17c]
call fcn.10139310
lea ecx, [ebp - 0x164]
call fcn.1004c220
lea ecx, [ebp - 0x17c]
call fcn.101393c0
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x70]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1013c8c0
mov esp, ebp
pop ebp
ret 4
call fcn.1013d5a0
int3