Function at 0x5c6370
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
lea ebp, [esp - 0x3f4]
sub esp, 0x3f4
push 0xffffffffffffffff
push 0x85e5b3
mov eax, dword fs:[0]
push eax
sub esp, 0xe4
mov eax, dword [0xa5e224]
xor eax, ebp
mov dword [ebp + 0x3f0], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x18], eax
xor ebx, ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x14], ebx
call fcn.005c5670
push 0x18
call fcn.008000f5
mov ecx, dword [ebp - 0x18]
add esp, 4
mov dword [ebp - 0x5c], eax
test eax, eax
je 0x5c7f3f
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov dword [ecx], eax
mov eax, ecx
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x40]
call eax
mov edi, eax
mov dword [ebp - 0x5c], edx
mov eax, dword [ebp - 0x18]
push 2
push ebx
push ebx
mov ecx, dword [eax + 4]
mov esi, dword [ecx]
mov esi, dword [esi + 0x3c]
call esi
and eax, edx
cmp eax, 0xffffffff
je 0x5c7f43
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x40]
call eax
mov esi, eax
mov eax, dword [ebp - 0x18]
push ebx
push dword [ebp - 0x5c]
mov ecx, dword [eax + 4]
push edi
mov edx, dword [ecx]
mov edx, dword [edx + 0x3c]
call edx
and eax, edx
cmp eax, 0xffffffff
je 0x5c7f43
push esi
call fcn.008008c1
mov ecx, dword [ebp - 0x18]
add esp, 4
mov dword [ecx + 8], eax
lea edi, [ecx + 8]
mov dword [ebp - 0x20], edi
test eax, eax
je 0x5c7f46
mov ecx, dword [ecx + 4]
push esi
push eax
mov edx, dword [ecx]
call dword [edx + 0x2c]
mov edi, dword [edi]
lea ecx, [edi + esi]
lea eax, [edi + 0xc]
mov dword [ebp - 0x50], ecx
cmp eax, ecx
ja 0x5c6df9
push 4
push str.FORM
push edi
call fcn.008162f0
add esp, 0xc
test eax, eax
jne 0x5c6df9
push 4
add edi, 8
push str.ILBM
push edi
call fcn.008162f0
add esp, 0xc
test eax, eax
jne 0x5c6df9
xor al, al
nop
test al, al
jne 0x5c6512
lea eax, [ebp + 0x240]
push 0x8a7570
push eax
call fcn.007373c0
add esp, 8
mov esi, eax
or ebx, 1
mov dword [ebp - 4], 0
cmp dword [0xea5818], 0
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x14], ebx
je 0x5c64f7
call sub.KERNEL32.dll_GetCurrentThreadId
cmp eax, dword [0xea5818]
je 0x5c64f7
call fcn.007423b0
jmp 0x5c64fc
mov al, byte [0xa5d794]
test al, al
je 0x5c6512
push esi
call fcn.00741e40
add esp, 4
mov byte [ebp - 0xf], 1
cmp eax, 7
jae 0x5c6516
mov byte [ebp - 0xf], 0
mov dword [ebp - 4], 0xffffffff
test bl, 1
je 0x5c6536
and ebx, 0xfffffffe
lea ecx, [ebp + 0x240]
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x14], ebx
call fcn.00436e00
cmp byte [ebp - 0xf], 0
je 0x5c66c4
call fcn.00737c40
mov dword [ebp - 0xc8], eax
mov dword [ebp - 4], 1
call fcn.00737c40
mov dword [ebp - 0xc4], eax
push 0xffffffffffffffff
lea eax, [ebp - 0xc0]
mov byte [ebp - 4], 2
push str.IFF_ILBM_file_recognized
push eax
call fcn.004d2bd0
add esp, 0xc
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xb8], 0
push 3
xor eax, eax
mov dword [ebp + 0x3b0], 0
push 0x8ae270
lea ecx, [ebp + 0x3b0]
mov dword [ebp - 4], 3
mov dword [ebp + 0x3c0], 0
mov dword [ebp + 0x3c4], 7
mov word [ebp + 0x3b0], ax
call fcn.00437780
mov dword [ebp + 0x3c8], 0
mov dword [ebp + 0x3cc], 0
push 0x8a7570
push str.wxIFFDecoder::ReadIFF
push 0x175
push str.C:_vcpkg_buildtreeswxwidgets_src_v3.2.3_90b1eb06ca.clean_srccommonimagiff.cpp
push 7
lea ecx, [ebp + 0x190]
mov byte [ebp - 4], 4
call fcn.004cb4d0
mov esi, eax
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 5
call fcn.00744ca0
push eax
lea eax, [ebp + 0x3b0]
push eax
push esi
call fcn.004ed7e0
add esp, 0xc
lea ecx, [ebp + 0x1c0]
call fcn.00436e00
lea ecx, [ebp + 0x198]
call fcn.004cb970
push dword [ebp + 0x3c8]
mov byte [ebp - 4], 3
call fcn.00805aaa
mov edx, dword [ebp + 0x3c4]
add esp, 4
cmp edx, 8
jb 0x5c668e
mov ecx, dword [ebp + 0x3b0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x5c6684
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5c7f73
push edx
push ecx
call fcn.00800125
add esp, 8
xor eax, eax
mov dword [ebp + 0x3c0], 0
lea ecx, [ebp - 0xc8]
mov dword [ebp + 0x3c4], 7
mov word [ebp + 0x3b0], ax
mov dword [ebp - 4], 0xffffffff
call fcn.00476650
mov al, 1
jmp 0x5c64b0
xor al, al
mov dword [ebp - 0x44], 0
add edi, 4
mov byte [ebp - 0xe], al
mov byte [ebp - 0xf], al
or ecx, 0xffffffff
mov byte [ebp - 0x38], al
xor eax, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], eax
lea eax, [edi + 8]
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x5c], ecx
cmp eax, dword [ebp - 0x50]
ja 0x5c6df9
movzx esi, byte [edi + 4]
movzx eax, byte [edi + 5]
shl esi, 8
add esi, eax
movzx eax, byte [edi + 6]
shl esi, 8
add esi, eax
movzx eax, byte [edi + 7]
shl esi, 8
inc esi
add esi, eax
and esi, 0xfffffffe
mov dword [ebp - 0x1c], esi
jl 0x5c6df9
push 4
lea eax, [esi + 8]
add eax, edi
push str.BMHD
push edi
mov dword [ebp - 0x60], eax
call fcn.008162f0
add esp, 0xc
test eax, eax
jne 0x5c67a7
cmp esi, 0xe
jl 0x5c6df9
mov eax, dword [ebp - 0x50]
cmp dword [ebp - 0x60], eax
ja 0x5c6df9
movzx eax, byte [edi + 8]
movzx ecx, byte [edi + 9]
shl eax, 8
add ecx, eax
mov byte [ebp - 0xe], 1
movzx eax, byte [edi + 0xb]
mov dword [ebp - 0x44], ecx
movzx ecx, byte [edi + 0xa]
shl ecx, 8
add ecx, eax
movzx eax, byte [edi + 0x10]
mov dword [ebp - 0x48], eax
mov al, byte [edi + 0x12]
mov byte [ebp - 0x38], al
movzx eax, byte [edi + 0x14]
mov dword [ebp - 0x34], ecx
movzx ecx, byte [edi + 0x15]
shl eax, 8
add ecx, eax
mov dword [ebp - 0x5c], ecx
jmp 0x5c6de5
push 4
push str.CMAP
push edi
call fcn.008162f0
add esp, 0xc
test eax, eax
jne 0x5c6adf
mov eax, dword [ebp - 0x50]
cmp dword [ebp - 0x60], eax
ja 0x5c6df9
mov eax, 0x55555556
lea esi, [edi + 8]
imul dword [ebp - 0x1c]
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov dword [ebp - 0x3c], eax
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x5c6807
push ecx
call fcn.008008bc
mov eax, dword [ebp - 0x3c]
add esp, 4
mov ecx, dword [ebp - 0x18]
mov dword [eax + 0x14], 0
mov eax, dword [ecx]
mov ecx, dword [ebp - 0x2c]
mov dword [eax + 0xc], ecx
test ecx, ecx
jle 0x5c6875
lea eax, [ecx + ecx*2]
push eax
call fcn.008008c1
mov ecx, dword [ebp - 0x18]
add esp, 4
mov ecx, dword [ecx]
mov dword [ecx + 0x14], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
cmp dword [eax + 0x14], 0
je 0x5c7f43
mov ebx, dword [ebp - 0x2c]
xor edx, edx
mov edi, dword [ebp - 0x18]
nop dword [eax]
mov eax, dword [edi]
lea esi, [esi + 3]
lea edx, [edx + 3]
mov ecx, dword [eax + 0x14]
mov al, byte [esi - 3]
mov byte [edx + ecx - 3], al
mov eax, dword [edi]
mov ecx, dword [eax + 0x14]
mov al, byte [esi - 2]
mov byte [ecx + edx - 2], al
mov eax, dword [edi]
mov ecx, dword [eax + 0x14]
mov al, byte [esi - 1]
mov byte [ecx + edx - 1], al
sub ebx, 1
jne 0x5c6840
mov ebx, dword [ebp - 0x24]
mov edi, dword [ebp - 0x40]
xor al, al
test al, al
jne 0x5c68d9
lea eax, [ebp + 0x1e0]
push 0x8a7570
push eax
call fcn.007373c0
add esp, 8
mov esi, eax
or ebx, 2
mov dword [ebp - 4], 6
cmp dword [0xea5818], 0
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x14], ebx
je 0x5c68be
call sub.KERNEL32.dll_GetCurrentThreadId
cmp eax, dword [0xea5818]
je 0x5c68be
call fcn.007423b0
jmp 0x5c68c3
mov al, byte [0xa5d794]
test al, al
je 0x5c68d9
push esi
call fcn.00741e40
add esp, 4
mov byte [ebp - 0xd], 1
cmp eax, 7
jae 0x5c68dd
mov byte [ebp - 0xd], 0
mov dword [ebp - 4], 0xffffffff
test bl, 2
je 0x5c68fd
and ebx, 0xfffffffd
lea ecx, [ebp + 0x1e0]
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x14], ebx
call fcn.00436e00
cmp byte [ebp - 0xd], 0
je 0x5c6de2
call fcn.00737c40
mov dword [ebp - 0xa0], eax
mov dword [ebp - 4], 7
call fcn.00737c40
mov dword [ebp - 0x9c], eax
push 0xffffffffffffffff
lea eax, [ebp - 0x98]
mov byte [ebp - 4], 8
push str.Read__d_colors_from_IFF_file.
push eax
call fcn.004d2bd0
add esp, 0xc
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0
push 3
xor eax, eax
mov dword [ebp + 0x3d0], 0
push 0x8ae270
lea ecx, [ebp + 0x3d0]
mov dword [ebp - 4], 9
mov dword [ebp + 0x3e0], 0
mov dword [ebp + 0x3e4], 7
mov word [ebp + 0x3d0], ax
call fcn.00437780
mov dword [ebp + 0x3e8], 0
mov dword [ebp + 0x3ec], 0
push 0x8a7570
push str.wxIFFDecoder::ReadIFF
push 0x1af
push str.C:_vcpkg_buildtreeswxwidgets_src_v3.2.3_90b1eb06ca.clean_srccommonimagiff.cpp
push 7
lea ecx, [ebp + 0x140]
mov byte [ebp - 4], 0xa
call fcn.004cb4d0
mov esi, eax
push 1
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0xb
call fcn.00745540
mov ecx, eax
and ecx, 9
cmp ecx, eax
je 0x5c6a22
cmp dword [0xa5d6f8], 0
je 0x5c6a22
push str.format_specifier_doesnt_match_argument_type
push str._argtype___wxFormatStringSpecifier_T_::value____argtype
push str.wxArgNormalizer_int_::wxArgNormalizer
push 0x1e4
push str.C:_vcpkg_buildtreeswxwidgets_src_v3.2.3_90b1eb06ca.cleanincludewx_strvararg.h
call fcn.0073ce40
add esp, 0x14
cmp byte [0xea569c], 0
je 0x5c6a22
mov byte [0xea569c], 0
int3
lea ecx, [ebp - 0xa0]
call fcn.00744ca0
push dword [ebp - 0x2c]
push eax
lea eax, [ebp + 0x3d0]
push eax
push esi
call fcn.004ed7e0
add esp, 0x10
lea ecx, [ebp + 0x170]
call fcn.00436e00
lea ecx, [ebp + 0x148]
call fcn.004cb970
push dword [ebp + 0x3e8]
mov byte [ebp - 4], 9
call fcn.00805aaa
mov edx, dword [ebp + 0x3e4]
add esp, 4
cmp edx, 8
jb 0x5c6aa9
mov ecx, dword [ebp + 0x3d0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x5c6a9f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5c7f73
push edx
push ecx
call fcn.00800125
add esp, 8
xor eax, eax
mov dword [ebp + 0x3e0], 0
lea ecx, [ebp - 0xa0]
mov dword [ebp + 0x3e4], 7
mov word [ebp + 0x3d0], ax
mov dword [ebp - 4], 0xffffffff
call fcn.00476650
mov al, 1
jmp 0x5c6877
push 4
push str.CAMG
push edi
call fcn.008162f0
add esp, 0xc
test eax, eax
jne 0x5c6b33
cmp esi, 4
jl 0x5c6df9
mov eax, dword [ebp - 0x50]
cmp dword [ebp - 0x60], eax
ja 0x5c6df9
movzx edx, byte [edi + 8]
movzx eax, byte [edi + 9]
shl edx, 8
add edx, eax
mov byte [ebp - 0xf], 1
movzx eax, byte [edi + 0xa]
shl edx, 8
add edx, eax
movzx eax, byte [edi + 0xb]
shl edx, 8
add edx, eax
mov dword [ebp - 0x28], edx
jmp 0x5c6de5
push 4
push str.BODY
push edi
call fcn.008162f0
add esp, 0xc
test eax, eax
je 0x5c6e0b
xor al, al
nop dword [eax]
test al, al
jne 0x5c6bb2
lea eax, [ebp + 0x200]
push 0x8a7570
push eax
call fcn.007373c0
add esp, 8
mov esi, eax
or ebx, 0x40
mov dword [ebp - 4], 0x2b
cmp dword [0xea5818], 0
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x14], ebx
je 0x5c6b97
call sub.KERNEL32.dll_GetCurrentThreadId
cmp eax, dword [0xea5818]
je 0x5c6b97
call fcn.007423b0
jmp 0x5c6b9c
mov al, byte [0xa5d794]
test al, al
je 0x5c6bb2
push esi
call fcn.00741e40
add esp, 4
mov byte [ebp - 0xd], 1
cmp eax, 7
jae 0x5c6bb6
mov byte [ebp - 0xd], 0
mov dword [ebp - 4], 0xffffffff
test bl, 0x40
je 0x5c6bd6
and ebx, 0xffffffbf
lea ecx, [ebp + 0x200]
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x14], ebx
call fcn.00436e00
cmp byte [ebp - 0xd], 0
je 0x5c6de2
call fcn.00737c40
mov dword [ebp - 0x8c], eax
mov dword [ebp - 4], 0x2c
call fcn.00737c40
mov dword [ebp - 0x88], eax
push 0xffffffffffffffff
lea eax, [ebp - 0x84]
mov byte [ebp - 4], 0x2d
push str.Skipping_unknown_chunk__c_c_c_c
push eax
call fcn.004d2bd0
add esp, 0xc
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
push 3
xor eax, eax
mov dword [ebp + 0x310], 0
push 0x8ae270
lea ecx, [ebp + 0x310]
mov dword [ebp - 4], 0x2e
mov dword [ebp + 0x320], 0
mov dword [ebp + 0x324], 7
mov word [ebp + 0x310], ax
call fcn.00437780
mov dword [ebp + 0x328], 0
mov dword [ebp + 0x32c], 0
push 0x8a7570
push str.wxIFFDecoder::ReadIFF
push 0x2bd
push str.C:_vcpkg_buildtreeswxwidgets_src_v3.2.3_90b1eb06ca.clean_srccommonimagiff.cpp
push 7
lea ecx, [ebp + 0xf0]
mov byte [ebp - 4], 0x2f
call fcn.004cb4d0
mov dword [ebp - 0x3c], eax
movzx ecx, byte [edi + 3]
lea eax, [ebp - 0x8c]
mov byte [ebp - 0x54], cl
movzx ecx, byte [edi + 2]
mov byte [ebp - 0x58], cl
movzx ecx, byte [edi + 1]
push 4
mov byte [ebp - 0x4c], cl
movzx ecx, byte [edi]
push eax
push dword [ebp - 0x54]
mov byte [ebp - 0x30], cl
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x30
call fcn.004cefe0
push 3
lea ecx, [ebp - 0x63]
movzx ebx, byte [eax]
lea eax, [ebp - 0x8c]
push eax
push dword [ebp - 0x58]
call fcn.004cefe0
push 2
lea ecx, [ebp - 0x62]
movzx edi, byte [eax]
lea eax, [ebp - 0x8c]
push eax
push dword [ebp - 0x4c]
call fcn.004cefe0
push 1
lea ecx, [ebp - 0x61]
movzx esi, byte [eax]
lea eax, [ebp - 0x8c]
push eax
push dword [ebp - 0x30]
call fcn.004cefe0
push ebx
push edi
push esi
movzx eax, byte [eax]
push eax
lea ecx, [ebp - 0x8c]
call fcn.00744ca0
push eax
lea eax, [ebp + 0x310]
push eax
push dword [ebp - 0x3c]
call fcn.004ed7e0
add esp, 0x1c
lea ecx, [ebp + 0x120]
call fcn.00436e00
lea ecx, [ebp + 0xf8]
call fcn.004cb970
push dword [ebp + 0x328]
mov byte [ebp - 4], 0x2e
call fcn.00805aaa
mov edx, dword [ebp + 0x324]
add esp, 4
cmp edx, 8
jb 0x5c6da6
mov ecx, dword [ebp + 0x310]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x5c6d9c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5c7f73
push edx
push ecx
call fcn.00800125
add esp, 8
xor eax, eax
mov dword [ebp + 0x320], 0
lea ecx, [ebp - 0x8c]
mov dword [ebp + 0x324], 7
mov word [ebp + 0x310], ax
mov dword [ebp - 4], 0xffffffff
call fcn.00476650
mov ebx, dword [ebp - 0x24]
mov al, 1
mov edi, dword [ebp - 0x40]
jmp 0x5c6b50
mov esi, dword [ebp - 0x1c]
add edi, 8
add edi, esi
mov dword [ebp - 0x40], edi
lea eax, [edi + 8]
cmp eax, dword [ebp - 0x50]
jbe 0x5c6704
mov ecx, dword [ebp - 0x18]
call fcn.005c5670
mov eax, 1
jmp 0x5c7f50
cmp byte [ebp - 0xe], 0
je 0x5c6df9
mov eax, dword [ebp - 0x50]
lea esi, [edi + 8]
mov dword [ebp - 0x30], esi
cmp dword [ebp - 0x60], eax
jbe 0x5c6e24
sub eax, edi
mov dword [ebp - 0x1c], eax
cmp byte [ebp - 0x38], 1
jne 0x5c6f0f
mov edi, dword [ebp - 0x44]
lea edi, [edi + 0xf]
sar edi, 3
and edi, 0xfffffffe
imul edi, dword [ebp - 0x48]
imul edi, dword [ebp - 0x34]
push edi
mov dword [ebp - 0x40], edi
call fcn.008008c1
mov ecx, dword [ebp - 0x18]
mov esi, eax
add esp, 4
mov dword [ecx + 0xc], esi
test esi, esi
je 0x5c7f46
cmp dword [ebp - 0x1c], 0
jle 0x5c6ef5
mov edx, dword [ebp - 0x30]
nop dword [eax + eax]
mov dword [ebp - 0x3c], edx
test edi, edi
jle 0x5c6ef5
mov cl, byte [edx]
inc edx
cmp cl, 0x80
jae 0x5c6ead
inc cl
movzx eax, cl
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x1c], eax
jbe 0x5c6ef5
cmp edi, eax
jl 0x5c6ef5
sub edi, dword [ebp - 0x4c]
or eax, 0xffffffff
sub eax, dword [ebp - 0x4c]
add dword [ebp - 0x1c], eax
test cl, cl
je 0x5c6eeb
mov al, byte [edx]
inc edx
mov byte [esi], al
inc esi
add cl, 0xff
jne 0x5c6ea0
jmp 0x5c6eeb
jbe 0x5c6eeb
and cl, 0x7f
mov ah, 0x81
sub ah, cl
movzx ecx, ah
mov dword [ebp - 0x58], ecx
cmp edi, ecx
jl 0x5c6ef5
mov al, byte [edx]
sub edi, ecx
mov edx, dword [ebp - 0x3c]
sub dword [ebp - 0x1c], 2
add edx, 2
mov byte [ebp - 0x54], al
mov dword [ebp - 0x30], edx
test ah, ah
je 0x5c6eeb
push ecx
push dword [ebp - 0x54]
push esi
call fcn.00802640
mov edx, dword [ebp - 0x30]
add esp, 0xc
add esi, dword [ebp - 0x58]
cmp dword [ebp - 0x1c], 0
jg 0x5c6e70
mov esi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x40]
push dword [ebp - 0x20]
mov dword [ebp - 0x1c], eax
mov esi, dword [esi + 0xc]
mov dword [ebp - 0x30], esi
call fcn.005c5420
add esp, 4
mov eax, dword [ebp - 0x48]
xor edi, edi
mov dword [ebp - 0x20], edi
cmp eax, 0x18
jne 0x5c6f21
lea edi, [eax - 0x14]
jmp 0x5c6f65
cmp eax, 8
jne 0x5c6f3e
mov al, byte [ebp - 0xf]
test al, al
je 0x5c6f68
mov eax, dword [ebp - 0x28]
test eax, 0x800
je 0x5c6f68
mov edi, 3
jmp 0x5c6f65
cmp eax, 5
jle 0x5c6f68
mov al, byte [ebp - 0xf]
test al, al
je 0x5c6f68
mov eax, dword [ebp - 0x28]
test al, al
jns 0x5c6f58
mov edi, 1
jmp 0x5c6f65
test eax, 0x800
mov eax, 2
cmovne edi, eax
mov dword [ebp - 0x20], edi
xor al, al
nop word [eax + eax]
test al, al
jne 0x5c6fd5
lea eax, [ebp + 0x220]
push 0x8a7570
push eax
call fcn.007373c0
add esp, 8
mov dword [ebp - 0x3c], eax
or ebx, 4
mov dword [ebp - 4], 0xc
cmp dword [0xea5818], 0
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x14], ebx
je 0x5c6fb8
call sub.KERNEL32.dll_GetCurrentThreadId
cmp eax, dword [0xea5818]
je 0x5c6fb8
call fcn.007423b0
jmp 0x5c6fbd
mov al, byte [0xa5d794]
test al, al
je 0x5c6fd5
push dword [ebp - 0x3c]
call fcn.00741e40
add esp, 4
mov byte [ebp - 0xe], 1
cmp eax, 7
jae 0x5c6fd9
mov byte [ebp - 0xe], 0
mov dword [ebp - 4], 0xffffffff
test bl, 4
je 0x5c6ff9
and ebx, 0xfffffffb
lea ecx, [ebp + 0x220]
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x14], ebx
call fcn.00436e00
cmp byte [ebp - 0xe], 0
je 0x5c71e0
test edi, edi
jne 0x5c7010
mov dword [ebp - 0x28], str.Normal_ILBM
jmp 0x5c704d
cmp edi, 2
jne 0x5c701e
mov dword [ebp - 0x28], str.HAM_ILBM
jmp 0x5c704d
cmp edi, 3
jne 0x5c702c
mov dword [ebp - 0x28], str.HAM8_ILBM
jmp 0x5c704d
cmp edi, 1
jne 0x5c703a
mov dword [ebp - 0x28], str.EHB_ILBM
jmp 0x5c704d
cmp edi, 4
mov eax, str.24BIT_ILBM
mov ecx, str.unknown_ILBM
cmovne eax, ecx
mov dword [ebp - 0x28], eax
call fcn.00737c40
mov dword [ebp - 0xdc], eax
mov dword [ebp - 4], 0xd
call fcn.00737c40
mov dword [ebp - 0xd8], eax
push 0xffffffffffffffff
lea eax, [ebp - 0xd4]
mov byte [ebp - 4], 0xe
push str.LoadIFF:__s__dx_d__planes_d___d_cols___comp_d
push eax
call fcn.004d2bd0
add esp, 0xc
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0xcc], 0
push 3
xor eax, eax
mov dword [ebp + 0x330], 0
push 0x8ae270
lea ecx, [ebp + 0x330]
mov dword [ebp - 4], 0xf
mov dword [ebp + 0x340], 0
mov dword [ebp + 0x344], 7
mov word [ebp + 0x330], ax
call fcn.00437780
mov dword [ebp + 0x348], 0
mov dword [ebp + 0x34c], 0
push 0x8a7570
push str.wxIFFDecoder::ReadIFF
push 0x1ed
push str.C:_vcpkg_buildtreeswxwidgets_src_v3.2.3_90b1eb06ca.clean_srccommonimagiff.cpp
push 7
lea ecx, [ebp + 0xa0]
mov byte [ebp - 4], 0x10
call fcn.004cb4d0
push dword [ebp - 0x38]
mov ecx, dword [ebp - 0x48]
mov edx, 1
shl edx, cl
push edx
push ecx
push dword [ebp - 0x34]
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 0x11
push dword [ebp - 0x44]
push dword [ebp - 0x28]
push ecx
lea ecx, [ebp + 0x330]
push ecx
mov ecx, eax
call fcn.005c5200
lea ecx, [ebp + 0xd0]
call fcn.00436e00
lea ecx, [ebp + 0xa8]
call fcn.004cb970
push dword [ebp + 0x348]
mov byte [ebp - 4], 0xf
call fcn.00805aaa
mov edx, dword [ebp + 0x344]
add esp, 4
cmp edx, 8
jb 0x5c71aa
mov ecx, dword [ebp + 0x330]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x5c71a0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5c7f73
push edx
push ecx
call fcn.00800125
add esp, 8
xor eax, eax
mov dword [ebp + 0x340], 0
lea ecx, [ebp - 0xdc]
mov dword [ebp + 0x344], 7
mov word [ebp + 0x330], ax
mov dword [ebp - 4], 0xffffffff
call fcn.00476650
mov al, 1
jmp 0x5c6f70
test edi, edi
je 0x5c71f2
cmp edi, 1
je 0x5c71f2
cmp edi, 2
jne 0x5c7553
xor al, al
test al, al
jne 0x5c7256
lea eax, [ebp + 0x260]
push 0x8a7570
push eax
call fcn.007373c0
add esp, 8
mov esi, eax
or ebx, 8
mov dword [ebp - 4], 0x12
cmp dword [0xea5818], 0
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x14], ebx
je 0x5c723b
call sub.KERNEL32.dll_GetCurrentThreadId
cmp eax, dword [0xea5818]
je 0x5c723b
call fcn.007423b0
jmp 0x5c7240
mov al, byte [0xa5d794]
test al, al
je 0x5c7256
push esi
call fcn.00741e40
add esp, 4
mov byte [ebp - 0xe], 1
cmp eax, 7
jae 0x5c725a
mov byte [ebp - 0xe], 0
mov dword [ebp - 4], 0xffffffff
test bl, 8
je 0x5c727a
and ebx, 0xfffffff7
lea ecx, [ebp + 0x260]
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x14], ebx
call fcn.00436e00
cmp byte [ebp - 0xe], 0
je 0x5c7402
call fcn.00737c40
mov dword [ebp - 0xf0], eax
mov dword [ebp - 4], 0x13
call fcn.00737c40
mov dword [ebp - 0xec], eax
push 0xffffffffffffffff
lea eax, [ebp - 0xe8]
mov byte [ebp - 4], 0x14
push str.Converting_CMAP_from_normal_ILBM_CMAP
push eax
call fcn.004d2bd0
add esp, 0xc
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0xe0], 0
push 3
xor eax, eax
mov dword [ebp + 0x350], 0
push 0x8ae270
lea ecx, [ebp + 0x350]
mov dword [ebp - 4], 0x15
mov dword [ebp + 0x360], 0
mov dword [ebp + 0x364], 7
mov word [ebp + 0x350], ax
call fcn.00437780
mov dword [ebp + 0x368], 0
mov dword [ebp + 0x36c], 0
push 0x8a7570
push str.wxIFFDecoder::ReadIFF
push 0x1f8
push str.C:_vcpkg_buildtreeswxwidgets_src_v3.2.3_90b1eb06ca.clean_srccommonimagiff.cpp
push 7
lea ecx, [ebp + 0x50]
mov byte [ebp - 4], 0x16
call fcn.004cb4d0
mov esi, eax
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 0x17
call fcn.00744ca0
push eax
lea eax, [ebp + 0x350]
push eax
push esi
call fcn.004ed7e0
add esp, 0xc
lea ecx, [ebp + 0x80]
call fcn.00436e00
lea ecx, [ebp + 0x58]
call fcn.004cb970
push dword [ebp + 0x368]
mov byte [ebp - 4], 0x15
call fcn.00805aaa
mov edx, dword [ebp + 0x364]
add esp, 4
cmp edx, 8
jb 0x5c73cc
mov ecx, dword [ebp + 0x350]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x5c73c2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5c7f73
push edx
push ecx
call fcn.00800125
add esp, 8
xor eax, eax
mov dword [ebp + 0x360], 0
lea ecx, [ebp - 0xf0]
mov dword [ebp + 0x364], 7
mov word [ebp + 0x350], ax
mov dword [ebp - 4], 0xffffffff
call fcn.00476650
mov al, 1
jmp 0x5c71f4
sub edi, 0
je 0x5c7425
sub edi, 1
je 0x5c741b
sub edi, 1
jne 0x5c7434
mov edx, 0x10
mov dword [ebp - 0x2c], edx
jmp 0x5c7437
mov edx, 0x40
mov dword [ebp - 0x2c], edx
jmp 0x5c7437
mov ecx, dword [ebp - 0x48]
mov edx, 1
shl edx, cl
mov dword [ebp - 0x2c], edx
jmp 0x5c7437
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
cmp edx, dword [eax + 0xc]
jle 0x5c74f2
lea eax, [edx + edx*2]
push eax
call fcn.008008c1
mov edi, eax
add esp, 4
test edi, edi
je 0x5c7f43
mov eax, dword [ebp - 0x18]
xor edx, edx
mov esi, dword [eax]
cmp dword [esi + 0xc], edx
jle 0x5c74a5
xor ecx, ecx
mov ebx, eax
nop dword [eax + eax]
mov eax, dword [ebx]
lea ecx, [ecx + 3]
inc edx
mov eax, dword [eax + 0x14]
mov al, byte [ecx + eax - 3]
mov byte [ecx + edi - 3], al
mov eax, dword [ebx]
mov eax, dword [eax + 0x14]
mov al, byte [eax + ecx - 2]
mov byte [ecx + edi - 2], al
mov eax, dword [ebx]
mov eax, dword [eax + 0x14]
mov al, byte [eax + ecx - 1]
mov byte [ecx + edi - 1], al
mov esi, dword [ebx]
cmp edx, dword [esi + 0xc]
jl 0x5c7470
mov ebx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x2c]
cmp edx, ecx
jge 0x5c74d7
lea eax, [edx + 1]
lea eax, [edi + eax*2]
add eax, edx
sub ecx, edx
nop word [eax + eax]
mov word [eax - 2], 0
lea eax, [eax + 3]
mov byte [eax - 3], 0
sub ecx, 1
jne 0x5c74c0
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
push dword [esi + 0x14]
call fcn.008008bc
mov ecx, dword [ebp - 0x18]
add esp, 4
mov edx, dword [ebp - 0x2c]
mov eax, dword [ecx]
mov dword [eax + 0x14], edi
mov eax, dword [ecx]
mov dword [eax + 0xc], edx
test edx, edx
jle 0x5c7550
mov ebx, dword [ebp - 0x18]
xor esi, esi
mov edi, edx
nop dword [eax]
mov eax, dword [ebx]
lea esi, [esi + 3]
mov edx, dword [eax + 0x14]
mov cl, byte [edx + esi - 3]
shr cl, 4
mov al, cl
shl al, 4
add al, cl
mov byte [edx + esi - 3], al
mov eax, dword [ebx]
mov edx, dword [eax + 0x14]
mov cl, byte [edx + esi - 2]
shr cl, 4
mov al, cl
shl al, 4
add al, cl
mov byte [edx + esi - 2], al
mov eax, dword [ebx]
mov edx, dword [eax + 0x14]
mov cl, byte [edx + esi - 1]
shr cl, 4
mov al, cl
shl al, 4
add al, cl
mov byte [edx + esi - 1], al
sub edi, 1
jne 0x5c7500
mov ebx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x30]
mov eax, dword [ebp - 0x34]
imul eax, dword [ebp - 0x44]
lea eax, [eax + eax*2]
push eax
call fcn.008008c1
mov edi, dword [ebp - 0x18]
add esp, 4
mov ecx, dword [edi]
mov dword [ecx + 0x10], eax
mov ecx, dword [edi]
mov edi, dword [ecx + 0x10]
mov dword [ebp - 0x40], edi
test edi, edi
je 0x5c7f43
mov eax, dword [ecx + 0x14]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x44]
add eax, 0xf
sar eax, 3
and eax, 0xfffffffe
mov ecx, eax
mov dword [ebp - 0x58], eax
imul ecx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x1c]
cdq
idiv ecx
mov edx, dword [ebp - 0x34]
cmp edx, eax
mov dword [ebp - 0x54], ecx
mov ecx, dword [ebp - 0x20]
cmovl eax, edx
mov dword [ebp - 0x4c], eax
cmp ecx, 2
je 0x5c78df
cmp ecx, 3
je 0x5c78df
cmp ecx, 4
je 0x5c78df
test ecx, ecx
je 0x5c7819
cmp ecx, 1
jne 0x5c6df9
xor al, al
nop
test al, al
jne 0x5c763f
lea eax, [ebp + 0x280]
push 0x8a7570
push eax
call fcn.007373c0
add esp, 8
mov esi, eax
or ebx, 0x10
mov dword [ebp - 4], 0x18
cmp dword [0xea5818], 0
mov dword [ebp - 0x14], ebx
je 0x5c7624
call sub.KERNEL32.dll_GetCurrentThreadId
cmp eax, dword [0xea5818]
je 0x5c7624
call fcn.007423b0
jmp 0x5c7629
mov al, byte [0xa5d794]
test al, al
je 0x5c763f
push esi
call fcn.00741e40
add esp, 4
mov byte [ebp - 0xe], 1
cmp eax, 7
jae 0x5c7643
mov byte [ebp - 0xe], 0
mov dword [ebp - 4], 0xffffffff
test bl, 0x10
je 0x5c7660
and ebx, 0xffffffef
lea ecx, [ebp + 0x280]
mov dword [ebp - 0x14], ebx
call fcn.00436e00
cmp byte [ebp - 0xe], 0
je 0x5c77e5
call fcn.00737c40
mov dword [ebp - 0xb4], eax
mov dword [ebp - 4], 0x19
call fcn.00737c40
mov dword [ebp - 0xb0], eax
push 0xffffffffffffffff
lea eax, [ebp - 0xac]
mov byte [ebp - 4], 0x1a
push str.Doubling_CMAP_for_EHB_mode
push eax
call fcn.004d2bd0
add esp, 0xc
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0
push 3
xor eax, eax
mov dword [ebp + 0x370], 0
push 0x8ae270
lea ecx, [ebp + 0x370]
mov dword [ebp - 4], 0x1b
mov dword [ebp + 0x380], 0
mov dword [ebp + 0x384], 7
mov word [ebp + 0x370], ax
call fcn.00437780
mov dword [ebp + 0x388], 0
mov dword [ebp + 0x38c], 0
push 0x8a7570
push str.wxIFFDecoder::ReadIFF
push 0x27f
push str.C:_vcpkg_buildtreeswxwidgets_src_v3.2.3_90b1eb06ca.clean_srccommonimagiff.cpp
push 7
lea ecx, [ebp]
mov byte [ebp - 4], 0x1c
call fcn.004cb4d0
mov esi, eax
lea ecx, [ebp - 0xb4]
mov byte [ebp - 4], 0x1d
call fcn.00744ca0
push eax
lea eax, [ebp + 0x370]
push eax
push esi
call fcn.004ed7e0
add esp, 0xc
lea ecx, [ebp + 0x30]
call fcn.00436e00
lea ecx, [ebp + 8]
call fcn.004cb970
push dword [ebp + 0x388]
mov byte [ebp - 4], 0x1b
call fcn.00805aaa
mov edx, dword [ebp + 0x384]
add esp, 4
cmp edx, 8
jb 0x5c77af
mov ecx, dword [ebp + 0x370]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x5c77a5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5c7f73
push edx
push ecx
call fcn.00800125
add esp, 8
xor eax, eax
mov dword [ebp + 0x380], 0
lea ecx, [ebp - 0xb4]
mov dword [ebp + 0x384], 7
mov word [ebp + 0x370], ax
mov dword [ebp - 4], 0xffffffff
call fcn.00476650
mov al, 1
jmp 0x5c75e0
mov ecx, dword [ebp - 0x28]
mov edx, 0x20
inc ecx
nop
mov al, byte [ecx - 1]
lea ecx, [ecx + 3]
shr al, 1
mov byte [ecx + 0x5c], al
mov al, byte [ecx - 3]
shr al, 1
mov byte [ecx + 0x5d], al
mov al, byte [ecx - 2]
shr al, 1
mov byte [ecx + 0x5e], al
sub edx, 1
jne 0x5c77f0
mov esi, dword [ebp - 0x30]
mov eax, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x34]
cmp edx, eax
cmovl eax, edx
mov dword [ebp - 0x4c], eax
test eax, eax
jle 0x5c79e5
mov edx, dword [ebp - 0x44]
mov ecx, eax
mov dword [ebp - 0x24], ecx
mov al, 0x80
mov ebx, esi
mov byte [ebp - 0xd], al
mov dword [ebp - 0x38], ebx
test edx, edx
jle 0x5c78c5
mov dword [ebp - 0x1c], edx
xor ecx, ecx
mov esi, ebx
mov ebx, dword [ebp - 0x48]
lea edx, [ecx + 1]
test ebx, ebx
jle 0x5c7874
mov edi, dword [ebp - 0x58]
test byte [esi], al
lea eax, [edx + ecx]
cmove eax, ecx
add esi, edi
add edx, edx
mov ecx, eax
mov al, byte [ebp - 0xd]
sub ebx, 1
jne 0x5c7857
mov edi, dword [ebp - 0x40]
test ecx, ecx
js 0x5c7890
cmp ecx, dword [ebp - 0x2c]
jge 0x5c7890
mov eax, dword [ebp - 0x28]
lea eax, [eax + ecx*2]
add ecx, eax
mov al, byte [ecx]
mov byte [edi], al
mov al, byte [ecx + 1]
mov byte [edi + 1], al
mov al, byte [ecx + 2]
jmp 0x5c7897
mov word [edi], 0
xor al, al
mov ebx, dword [ebp - 0x38]
mov byte [edi + 2], al
add edi, 3
mov al, byte [ebp - 0xd]
shr al, 1
mov dword [ebp - 0x40], edi
mov byte [ebp - 0xd], al
jne 0x5c78b6
mov al, 0x80
inc ebx
mov byte [ebp - 0xd], al
mov dword [ebp - 0x38], ebx
sub dword [ebp - 0x1c], 1
jne 0x5c7846
mov esi, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x44]
add esi, dword [ebp - 0x54]
sub ecx, 1
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x24], ecx
jne 0x5c7831
mov ebx, dword [ebp - 0x14]
jmp 0x5c79e5
test eax, eax
jle 0x5c79e5
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x3c], eax
nop dword [eax]
mov al, byte [edx]
mov bl, 0x80
mov byte [ebp - 0xd], al
mov al, byte [edx + 1]
mov dword [ebp - 0x14], eax
mov al, byte [edx + 2]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x44]
mov byte [ebp - 0xf], bl
mov dword [ebp - 0x38], esi
test eax, eax
jle 0x5c79d2
mov dword [ebp - 0x34], eax
mov esi, dword [ebp - 0x38]
xor eax, eax
lea edx, [eax + 1]
cmp dword [ebp - 0x48], eax
jle 0x5c794f
mov ebx, dword [ebp - 0x48]
mov edi, dword [ebp - 0x58]
nop word [eax + eax]
mov ecx, eax
mov al, byte [ebp - 0xf]
test byte [esi], al
lea eax, [ecx + edx]
cmove eax, ecx
add esi, edi
add edx, edx
sub ebx, 1
jne 0x5c7930
mov edi, dword [ebp - 0x40]
mov bl, byte [ebp - 0xf]
mov ecx, dword [ebp - 0x20]
cmp ecx, 2
jne case.default.0x5c7967
mov ecx, eax
and ecx, 0xf
and eax, 0x30
movzx eax, byte [eax + 0x5c7f8c]
jmp dword [eax*4 + 0x5c7f78]
cmp ecx, dword [ebp - 0x2c]
jge 0x5c7999
mov eax, dword [ebp - 0x28]
lea eax, [eax + ecx*2]
mov dl, byte [ecx + eax]
mov byte [ebp - 0xd], dl
mov dl, byte [ecx + eax + 1]
mov al, byte [ecx + eax + 2]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x1c], eax
jmp 0x5c799c
mov dl, cl
shl dl, 4
add dl, cl
mov dword [ebp - 0x1c], edx
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x20]
mov al, byte [ebp - 0xd]
mov byte [edi], al
mov byte [edi + 1], dl
mov edx, dword [ebp - 0x1c]
mov byte [edi + 2], dl
add edi, 3
shr bl, 1
mov dword [ebp - 0x40], edi
mov byte [ebp - 0xf], bl
jne 0x5c79c2
inc dword [ebp - 0x38]
mov bl, 0x80
mov byte [ebp - 0xf], bl
sub dword [ebp - 0x34], 1
jne 0x5c7917
mov esi, dword [ebp - 0x30]
mov edx, dword [ebp - 0x28]
add esi, dword [ebp - 0x54]
sub dword [ebp - 0x3c], 1
mov dword [ebp - 0x30], esi
jne 0x5c78f0
mov ebx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x44]
mov edi, dword [ebp - 0x60]
mov eax, dword [ecx]
mov dword [eax], edx
mov eax, dword [ecx]
mov edx, dword [ebp - 0x4c]
mov dword [eax + 4], edx
mov eax, dword [ecx]
mov ecx, dword [ebp - 0x5c]
mov dword [eax + 8], ecx
xor al, al
test al, al
jne 0x5c7b00
lea eax, [ebp + 0x2a0]
push 0x8a7570
push eax
call fcn.007373c0
add esp, 8
mov esi, eax
or ebx, 0x20
mov dword [ebp - 4], 0x1e
cmp dword [0xea5818], 0
mov dword [ebp - 0x14], ebx
je 0x5c7ae5
call sub.KERNEL32.dll_GetCurrentThreadId
cmp eax, dword [0xea5818]
je 0x5c7ae5
call fcn.007423b0
jmp 0x5c7aea
mov dl, cl
shl dl, 4
add dl, cl
mov byte [ebp - 0xd], dl
jmp 0x5c7999
cmp ecx, 3
jne case.default.0x5c7a8b
mov ecx, eax
and ecx, 0x3f
and eax, 0xc0
movzx eax, byte [eax + 0x5c7fd4]
jmp dword [eax*4 + 0x5c7fc0]
mov edx, dword [ebp - 0x1c]
shl cl, 2
and dl, 3
or dl, cl
jmp 0x5c7996
mov dl, byte [ebp - 0xd]
shl cl, 2
and dl, 3
or dl, cl
mov byte [ebp - 0xd], dl
jmp 0x5c7999
mov al, cl
shl al, 2
mov dword [ebp - 0x14], eax
mov al, byte [ebp - 0xd]
mov edx, dword [ebp - 0x14]
and al, 3
or dl, al
mov dword [ebp - 0x14], edx
jmp 0x5c799c
mov edx, eax
mov byte [ebp - 0xd], al
sar edx, 8
sar eax, 0x10
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x1c], eax
jmp 0x5c799f
mov al, byte [0xa5d794]
test al, al
je 0x5c7b00
push esi
call fcn.00741e40
add esp, 4
mov byte [ebp - 0xe], 1
cmp eax, 7
jae 0x5c7b04
mov byte [ebp - 0xe], 0
mov dword [ebp - 4], 0xffffffff
test bl, 0x20
je 0x5c7b61
push dword [ebp + 0x2b8]
and ebx, 0xffffffdf
call fcn.00805aaa
mov edx, dword [ebp + 0x2b4]
add esp, 4
cmp edx, 8
jb 0x5c7b61
mov ecx, dword [ebp + 0x2a0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x5c7b57
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5c7f73
push edx
push ecx
call fcn.00800125
add esp, 8
cmp byte [ebp - 0xe], 0
je 0x5c7f35
call fcn.00737c40
mov dword [ebp - 0x78], eax
mov dword [ebp - 4], 0x1f
call fcn.00737c40
mov dword [ebp - 0x74], eax
push 0xffffffffffffffff
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0x20
push str.Loaded_IFF_picture__s
push eax
call fcn.004d2bd0
add esp, 0xc
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
push 3
xor eax, eax
mov dword [ebp + 0x390], 0
push 0x8ae270
lea ecx, [ebp + 0x390]
mov dword [ebp - 4], 0x21
mov dword [ebp + 0x3a0], 0
mov dword [ebp + 0x3a4], 7
mov word [ebp + 0x390], ax
call fcn.00437780
mov dword [ebp + 0x3a8], 0
mov dword [ebp + 0x3ac], 0
xorps xmm0, xmm0
mov byte [ebp - 4], 0x22
mov dword [ebp + 0x2c0], 7
mov dword [ebp + 0x2c8], str.C:_vcpkg_buildtreeswxwidgets_src_v3.2.3_90b1eb06ca.clean_srccommonimagiff.cpp
mov dword [ebp + 0x2d0], str.wxIFFDecoder::ReadIFF
mov dword [ebp + 0x2cc], 0x2b8
mov dword [ebp + 0x2d4], 0x8a7570
movlpd qword [ebp + 0x2d8], xmm0
movlpd qword [ebp + 0x2e0], xmm0
call sub.KERNEL32.dll_GetCurrentThreadId
mov dword [ebp + 0x2e8], eax
xor eax, eax
mov dword [ebp + 0x2f0], 0
mov dword [ebp + 0x2ec], 0
mov dword [ebp + 0x300], 0
mov dword [ebp + 0x304], 7
mov word [ebp + 0x2f0], ax
mov dword [ebp + 0x308], eax
mov dword [ebp + 0x30c], eax
cmp edi, dword [ebp - 0x50]
lea eax, [ebp - 0x78]
push 1
push eax
mov ecx, str.completely
mov byte [ebp - 4], 0x23
mov eax, str.truncated
cmovbe eax, ecx
lea ecx, [ebp - 0x34]
push eax
call fcn.004764b0
mov eax, dword [eax]
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0x24
push dword [eax]
call fcn.00744ca0
push eax
lea eax, [ebp + 0x390]
push eax
lea eax, [ebp + 0x2c0]
push eax
call fcn.004ed7e0
add esp, 0x10
mov byte [ebp - 4], 0x25
call fcn.00737c40
mov ecx, dword [ebp - 0x34]
cmp ecx, eax
je 0x5c7d1b
mov eax, 0xffff
add word [ecx + 8], ax
jne 0x5c7d13
mov esi, dword [ebp - 0x34]
test esi, esi
je 0x5c7d13
cmp byte [esi + 0xa], 0
je 0x5c7d08
push dword [esi]
call fcn.00805aaa
add esp, 4
push 0xc
push esi
call fcn.00800125
add esp, 8
call fcn.00737c40
mov dword [ebp - 0x34], eax
push dword [ebp + 0x308]
mov byte [ebp - 4], 0x22
call fcn.00805aaa
mov edx, dword [ebp + 0x304]
add esp, 4
cmp edx, 8
jb 0x5c7d6d
mov ecx, dword [ebp + 0x2f0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x5c7d63
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5c7f73
push edx
push ecx
call fcn.00800125
add esp, 8
mov esi, dword [ebp + 0x2ec]
xor eax, eax
mov dword [ebp + 0x300], 0
mov dword [ebp + 0x304], 7
mov word [ebp + 0x2f0], ax
test esi, esi
je 0x5c7de3
push 0x4cc690
push dword [esi + 0x10]
mov byte [ebp - 4], 0x26
push dword [esi + 0x14]
call fcn.007610f0
push dword [esi + 0x10]
mov dword [esi + 0x18], 0
call fcn.00805aaa
push 0x4cc670
push dword [esi]
mov byte [ebp - 4], 0x27
push dword [esi + 4]
call fcn.007610f0
push dword [esi]
mov dword [esi + 8], 0
call fcn.00805aaa
push 0x20
push esi
call fcn.00800125
add esp, 0x28
push dword [ebp + 0x3a8]
mov byte [ebp - 4], 0x21
call fcn.00805aaa
mov edx, dword [ebp + 0x3a4]
add esp, 4
cmp edx, 8
jb 0x5c7e35
mov ecx, dword [ebp + 0x390]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x5c7e2b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5c7f73
push edx
push ecx
call fcn.00800125
add esp, 8
xor eax, eax
mov dword [ebp + 0x3a0], 0
mov dword [ebp + 0x3a4], 7
mov word [ebp + 0x390], ax
mov dword [ebp - 4], 0x28
call fcn.00737c40
mov ecx, dword [ebp - 0x70]
cmp ecx, eax
je 0x5c7e9a
mov eax, 0xffff
add word [ecx + 8], ax
jne 0x5c7e92
mov esi, dword [ebp - 0x70]
test esi, esi
je 0x5c7e92
cmp byte [esi + 0xa], 0
je 0x5c7e87
push dword [esi]
call fcn.00805aaa
add esp, 4
push 0xc
push esi
call fcn.00800125
add esp, 8
call fcn.00737c40
mov dword [ebp - 0x70], eax
mov dword [ebp - 4], 0x29
call fcn.00737c40
mov ecx, dword [ebp - 0x74]
cmp ecx, eax
je 0x5c7ee2
mov eax, 0xffff
add word [ecx + 8], ax
jne 0x5c7eda
mov esi, dword [ebp - 0x74]
test esi, esi
je 0x5c7eda
cmp byte [esi + 0xa], 0
je 0x5c7ecf
push dword [esi]
call fcn.00805aaa
add esp, 4
push 0xc
push esi
call fcn.00800125
add esp, 8
call fcn.00737c40
mov dword [ebp - 0x74], eax
mov dword [ebp - 4], 0x2a
call fcn.00737c40
mov ecx, dword [ebp - 0x78]
cmp ecx, eax
je 0x5c7f27
mov eax, 0xffff
add word [ecx + 8], ax
jne 0x5c7f22
mov esi, dword [ebp - 0x78]
test esi, esi
je 0x5c7f22
cmp byte [esi + 0xa], 0
je 0x5c7f17
push dword [esi]
call fcn.00805aaa
add esp, 4
push 0xc
push esi
call fcn.00800125
add esp, 8
call fcn.00737c40
mov dword [ebp - 4], 0xffffffff
mov al, 1
jmp 0x5c7a04
cmp dword [ebp - 0x50], edi
sbb eax, eax
and eax, 3
jmp 0x5c7f50
mov dword [ecx], ebx
jmp 0x5c7f46
mov ecx, dword [ebp - 0x18]
call fcn.005c5670
mov eax, 2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x3f0]
xor ecx, ebp
call fcn.00800392
lea esp, [ebp + 0x3f4]
pop ebp
ret
call fcn.00805a59
outsb dx, byte [esi]
jns 6062039
add byte [edi + 0x57005c79], cl
jp 0x5c7fdf
add byte [esi + 0x7a], ah
pop esp
add byte [ecx + 0x5c79], bl
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 1
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 2
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 3
nop dword [eax]
outsb dx, byte [esi]
jns 6062111
add byte [edx - 0x5dffa386], dl
jp 0x5c8027
add byte [ebp - 0x66ffa386], dh
jns 0x5c802f
add byte [eax], al
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 1
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 2
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 3
int3