Function at 0x5c6200
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
lea ebp, [esp - 0x3f4]
sub esp, 0x3f4
push 0xffffffffffffffff
push 0x85e3a3
mov eax, dword fs:[0]
push eax
sub esp, 0xe4
mov eax, dword [0xa5d1d4]
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.005c54e0
push 0x18
call fcn.007fff35
mov ecx, dword [ebp - 0x18]
add esp, 4
mov dword [ebp - 0x5c], eax
test eax, eax
je 0x5c7dcf
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 0x5c7dd3
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 0x5c7dd3
push esi
call fcn.00800701
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 0x5c7dd6
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 0x5c6c89
push 4
push str.FORM
push edi
call fcn.00816130
add esp, 0xc
test eax, eax
jne 0x5c6c89
push 4
add edi, 8
push str.ILBM
push edi
call fcn.00816130
add esp, 0xc
test eax, eax
jne 0x5c6c89
xor al, al
nop
test al, al
jne 0x5c63a2
lea eax, [ebp + 0x240]
push 0x8a64f0
push eax
call fcn.00737280
add esp, 8
mov esi, eax
or ebx, 1
mov dword [ebp - 4], 0
cmp dword [0xea47c8], 0
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x14], ebx
je 0x5c6387
call sub.KERNEL32.dll_GetCurrentThreadId
cmp eax, dword [0xea47c8]
je 0x5c6387
call fcn.00742270
jmp 0x5c638c
mov al, byte [0xa5c73c]
test al, al
je 0x5c63a2
push esi
call fcn.00741d00
add esp, 4
mov byte [ebp - 0xf], 1
cmp eax, 7
jae 0x5c63a6
mov byte [ebp - 0xf], 0
mov dword [ebp - 4], 0xffffffff
test bl, 1
je 0x5c63c6
and ebx, 0xfffffffe
lea ecx, [ebp + 0x240]
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x14], ebx
call fcn.00436d10
cmp byte [ebp - 0xf], 0
je 0x5c6554
call fcn.00737b00
mov dword [ebp - 0xc8], eax
mov dword [ebp - 4], 1
call fcn.00737b00
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.004d2a90
add esp, 0xc
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xb8], 0
push 3
xor eax, eax
mov dword [ebp + 0x3b0], 0
push 0x8ad1f0
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.00437690
mov dword [ebp + 0x3c8], 0
mov dword [ebp + 0x3cc], 0
push 0x8a64f0
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.004cb390
mov esi, eax
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 5
call fcn.00744b60
push eax
lea eax, [ebp + 0x3b0]
push eax
push esi
call fcn.004ed680
add esp, 0xc
lea ecx, [ebp + 0x1c0]
call fcn.00436d10
lea ecx, [ebp + 0x198]
call fcn.004cb830
push dword [ebp + 0x3c8]
mov byte [ebp - 4], 3
call fcn.008058ea
mov edx, dword [ebp + 0x3c4]
add esp, 4
cmp edx, 8
jb 0x5c651e
mov ecx, dword [ebp + 0x3b0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x5c6514
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5c7e03
push edx
push ecx
call fcn.007fff65
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.00476530
mov al, 1
jmp 0x5c6340
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 0x5c6c89
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 0x5c6c89
push 4
lea eax, [esi + 8]
add eax, edi
push str.BMHD
push edi
mov dword [ebp - 0x60], eax
call fcn.00816130
add esp, 0xc
test eax, eax
jne 0x5c6637
cmp esi, 0xe
jl 0x5c6c89
mov eax, dword [ebp - 0x50]
cmp dword [ebp - 0x60], eax
ja 0x5c6c89
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 0x5c6c75
push 4
push str.CMAP
push edi
call fcn.00816130
add esp, 0xc
test eax, eax
jne 0x5c696f
mov eax, dword [ebp - 0x50]
cmp dword [ebp - 0x60], eax
ja 0x5c6c89
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 0x5c6697
push ecx
call fcn.008006fc
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 0x5c6705
lea eax, [ecx + ecx*2]
push eax
call fcn.00800701
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 0x5c7dd3
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 0x5c66d0
mov ebx, dword [ebp - 0x24]
mov edi, dword [ebp - 0x40]
xor al, al
test al, al
jne 0x5c6769
lea eax, [ebp + 0x1e0]
push 0x8a64f0
push eax
call fcn.00737280
add esp, 8
mov esi, eax
or ebx, 2
mov dword [ebp - 4], 6
cmp dword [0xea47c8], 0
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x14], ebx
je 0x5c674e
call sub.KERNEL32.dll_GetCurrentThreadId
cmp eax, dword [0xea47c8]
je 0x5c674e
call fcn.00742270
jmp 0x5c6753
mov al, byte [0xa5c73c]
test al, al
je 0x5c6769
push esi
call fcn.00741d00
add esp, 4
mov byte [ebp - 0xd], 1
cmp eax, 7
jae 0x5c676d
mov byte [ebp - 0xd], 0
mov dword [ebp - 4], 0xffffffff
test bl, 2
je 0x5c678d
and ebx, 0xfffffffd
lea ecx, [ebp + 0x1e0]
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x14], ebx
call fcn.00436d10
cmp byte [ebp - 0xd], 0
je 0x5c6c72
call fcn.00737b00
mov dword [ebp - 0xa0], eax
mov dword [ebp - 4], 7
call fcn.00737b00
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.004d2a90
add esp, 0xc
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0
push 3
xor eax, eax
mov dword [ebp + 0x3d0], 0
push 0x8ad1f0
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.00437690
mov dword [ebp + 0x3e8], 0
mov dword [ebp + 0x3ec], 0
push 0x8a64f0
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.004cb390
mov esi, eax
push 1
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0xb
call fcn.00745400
mov ecx, eax
and ecx, 9
cmp ecx, eax
je 0x5c68b2
cmp dword [0xa5c6a0], 0
je 0x5c68b2
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.0073cd00
add esp, 0x14
cmp byte [0xea464c], 0
je 0x5c68b2
mov byte [0xea464c], 0
int3
lea ecx, [ebp - 0xa0]
call fcn.00744b60
push dword [ebp - 0x2c]
push eax
lea eax, [ebp + 0x3d0]
push eax
push esi
call fcn.004ed680
add esp, 0x10
lea ecx, [ebp + 0x170]
call fcn.00436d10
lea ecx, [ebp + 0x148]
call fcn.004cb830
push dword [ebp + 0x3e8]
mov byte [ebp - 4], 9
call fcn.008058ea
mov edx, dword [ebp + 0x3e4]
add esp, 4
cmp edx, 8
jb 0x5c6939
mov ecx, dword [ebp + 0x3d0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x5c692f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5c7e03
push edx
push ecx
call fcn.007fff65
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.00476530
mov al, 1
jmp 0x5c6707
push 4
push str.CAMG
push edi
call fcn.00816130
add esp, 0xc
test eax, eax
jne 0x5c69c3
cmp esi, 4
jl 0x5c6c89
mov eax, dword [ebp - 0x50]
cmp dword [ebp - 0x60], eax
ja 0x5c6c89
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 0x5c6c75
push 4
push str.BODY
push edi
call fcn.00816130
add esp, 0xc
test eax, eax
je 0x5c6c9b
xor al, al
nop dword [eax]
test al, al
jne 0x5c6a42
lea eax, [ebp + 0x200]
push 0x8a64f0
push eax
call fcn.00737280
add esp, 8
mov esi, eax
or ebx, 0x40
mov dword [ebp - 4], 0x2b
cmp dword [0xea47c8], 0
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x14], ebx
je 0x5c6a27
call sub.KERNEL32.dll_GetCurrentThreadId
cmp eax, dword [0xea47c8]
je 0x5c6a27
call fcn.00742270
jmp 0x5c6a2c
mov al, byte [0xa5c73c]
test al, al
je 0x5c6a42
push esi
call fcn.00741d00
add esp, 4
mov byte [ebp - 0xd], 1
cmp eax, 7
jae 0x5c6a46
mov byte [ebp - 0xd], 0
mov dword [ebp - 4], 0xffffffff
test bl, 0x40
je 0x5c6a66
and ebx, 0xffffffbf
lea ecx, [ebp + 0x200]
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x14], ebx
call fcn.00436d10
cmp byte [ebp - 0xd], 0
je 0x5c6c72
call fcn.00737b00
mov dword [ebp - 0x8c], eax
mov dword [ebp - 4], 0x2c
call fcn.00737b00
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.004d2a90
add esp, 0xc
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
push 3
xor eax, eax
mov dword [ebp + 0x310], 0
push 0x8ad1f0
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.00437690
mov dword [ebp + 0x328], 0
mov dword [ebp + 0x32c], 0
push 0x8a64f0
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.004cb390
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.004ceea0
push 3
lea ecx, [ebp - 0x63]
movzx ebx, byte [eax]
lea eax, [ebp - 0x8c]
push eax
push dword [ebp - 0x58]
call fcn.004ceea0
push 2
lea ecx, [ebp - 0x62]
movzx edi, byte [eax]
lea eax, [ebp - 0x8c]
push eax
push dword [ebp - 0x4c]
call fcn.004ceea0
push 1
lea ecx, [ebp - 0x61]
movzx esi, byte [eax]
lea eax, [ebp - 0x8c]
push eax
push dword [ebp - 0x30]
call fcn.004ceea0
push ebx
push edi
push esi
movzx eax, byte [eax]
push eax
lea ecx, [ebp - 0x8c]
call fcn.00744b60
push eax
lea eax, [ebp + 0x310]
push eax
push dword [ebp - 0x3c]
call fcn.004ed680
add esp, 0x1c
lea ecx, [ebp + 0x120]
call fcn.00436d10
lea ecx, [ebp + 0xf8]
call fcn.004cb830
push dword [ebp + 0x328]
mov byte [ebp - 4], 0x2e
call fcn.008058ea
mov edx, dword [ebp + 0x324]
add esp, 4
cmp edx, 8
jb 0x5c6c36
mov ecx, dword [ebp + 0x310]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x5c6c2c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5c7e03
push edx
push ecx
call fcn.007fff65
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.00476530
mov ebx, dword [ebp - 0x24]
mov al, 1
mov edi, dword [ebp - 0x40]
jmp 0x5c69e0
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 0x5c6594
mov ecx, dword [ebp - 0x18]
call fcn.005c54e0
mov eax, 1
jmp 0x5c7de0
cmp byte [ebp - 0xe], 0
je 0x5c6c89
mov eax, dword [ebp - 0x50]
lea esi, [edi + 8]
mov dword [ebp - 0x30], esi
cmp dword [ebp - 0x60], eax
jbe 0x5c6cb4
sub eax, edi
mov dword [ebp - 0x1c], eax
cmp byte [ebp - 0x38], 1
jne 0x5c6d9f
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.00800701
mov ecx, dword [ebp - 0x18]
mov esi, eax
add esp, 4
mov dword [ecx + 0xc], esi
test esi, esi
je 0x5c7dd6
cmp dword [ebp - 0x1c], 0
jle 0x5c6d85
mov edx, dword [ebp - 0x30]
nop dword [eax + eax]
mov dword [ebp - 0x3c], edx
test edi, edi
jle 0x5c6d85
mov cl, byte [edx]
inc edx
cmp cl, 0x80
jae 0x5c6d3d
inc cl
movzx eax, cl
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x1c], eax
jbe 0x5c6d85
cmp edi, eax
jl 0x5c6d85
sub edi, dword [ebp - 0x4c]
or eax, 0xffffffff
sub eax, dword [ebp - 0x4c]
add dword [ebp - 0x1c], eax
test cl, cl
je 0x5c6d7b
mov al, byte [edx]
inc edx
mov byte [esi], al
inc esi
add cl, 0xff
jne 0x5c6d30
jmp 0x5c6d7b
jbe 0x5c6d7b
and cl, 0x7f
mov ah, 0x81
sub ah, cl
movzx ecx, ah
mov dword [ebp - 0x58], ecx
cmp edi, ecx
jl 0x5c6d85
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 0x5c6d7b
push ecx
push dword [ebp - 0x54]
push esi
call fcn.00802480
mov edx, dword [ebp - 0x30]
add esp, 0xc
add esi, dword [ebp - 0x58]
cmp dword [ebp - 0x1c], 0
jg 0x5c6d00
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.005c5290
add esp, 4
mov eax, dword [ebp - 0x48]
xor edi, edi
mov dword [ebp - 0x20], edi
cmp eax, 0x18
jne 0x5c6db1
lea edi, [eax - 0x14]
jmp 0x5c6df5
cmp eax, 8
jne 0x5c6dce
mov al, byte [ebp - 0xf]
test al, al
je 0x5c6df8
mov eax, dword [ebp - 0x28]
test eax, 0x800
je 0x5c6df8
mov edi, 3
jmp 0x5c6df5
cmp eax, 5
jle 0x5c6df8
mov al, byte [ebp - 0xf]
test al, al
je 0x5c6df8
mov eax, dword [ebp - 0x28]
test al, al
jns 0x5c6de8
mov edi, 1
jmp 0x5c6df5
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 0x5c6e65
lea eax, [ebp + 0x220]
push 0x8a64f0
push eax
call fcn.00737280
add esp, 8
mov dword [ebp - 0x3c], eax
or ebx, 4
mov dword [ebp - 4], 0xc
cmp dword [0xea47c8], 0
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x14], ebx
je 0x5c6e48
call sub.KERNEL32.dll_GetCurrentThreadId
cmp eax, dword [0xea47c8]
je 0x5c6e48
call fcn.00742270
jmp 0x5c6e4d
mov al, byte [0xa5c73c]
test al, al
je 0x5c6e65
push dword [ebp - 0x3c]
call fcn.00741d00
add esp, 4
mov byte [ebp - 0xe], 1
cmp eax, 7
jae 0x5c6e69
mov byte [ebp - 0xe], 0
mov dword [ebp - 4], 0xffffffff
test bl, 4
je 0x5c6e89
and ebx, 0xfffffffb
lea ecx, [ebp + 0x220]
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x14], ebx
call fcn.00436d10
cmp byte [ebp - 0xe], 0
je 0x5c7070
test edi, edi
jne 0x5c6ea0
mov dword [ebp - 0x28], str.Normal_ILBM
jmp 0x5c6edd
cmp edi, 2
jne 0x5c6eae
mov dword [ebp - 0x28], str.HAM_ILBM
jmp 0x5c6edd
cmp edi, 3
jne 0x5c6ebc
mov dword [ebp - 0x28], str.HAM8_ILBM
jmp 0x5c6edd
cmp edi, 1
jne 0x5c6eca
mov dword [ebp - 0x28], str.EHB_ILBM
jmp 0x5c6edd
cmp edi, 4
mov eax, str.24BIT_ILBM
mov ecx, str.unknown_ILBM
cmovne eax, ecx
mov dword [ebp - 0x28], eax
call fcn.00737b00
mov dword [ebp - 0xdc], eax
mov dword [ebp - 4], 0xd
call fcn.00737b00
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.004d2a90
add esp, 0xc
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0xcc], 0
push 3
xor eax, eax
mov dword [ebp + 0x330], 0
push 0x8ad1f0
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.00437690
mov dword [ebp + 0x348], 0
mov dword [ebp + 0x34c], 0
push 0x8a64f0
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.004cb390
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.005c5070
lea ecx, [ebp + 0xd0]
call fcn.00436d10
lea ecx, [ebp + 0xa8]
call fcn.004cb830
push dword [ebp + 0x348]
mov byte [ebp - 4], 0xf
call fcn.008058ea
mov edx, dword [ebp + 0x344]
add esp, 4
cmp edx, 8
jb 0x5c703a
mov ecx, dword [ebp + 0x330]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x5c7030
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5c7e03
push edx
push ecx
call fcn.007fff65
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.00476530
mov al, 1
jmp 0x5c6e00
test edi, edi
je 0x5c7082
cmp edi, 1
je 0x5c7082
cmp edi, 2
jne 0x5c73e3
xor al, al
test al, al
jne 0x5c70e6
lea eax, [ebp + 0x260]
push 0x8a64f0
push eax
call fcn.00737280
add esp, 8
mov esi, eax
or ebx, 8
mov dword [ebp - 4], 0x12
cmp dword [0xea47c8], 0
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x14], ebx
je 0x5c70cb
call sub.KERNEL32.dll_GetCurrentThreadId
cmp eax, dword [0xea47c8]
je 0x5c70cb
call fcn.00742270
jmp 0x5c70d0
mov al, byte [0xa5c73c]
test al, al
je 0x5c70e6
push esi
call fcn.00741d00
add esp, 4
mov byte [ebp - 0xe], 1
cmp eax, 7
jae 0x5c70ea
mov byte [ebp - 0xe], 0
mov dword [ebp - 4], 0xffffffff
test bl, 8
je 0x5c710a
and ebx, 0xfffffff7
lea ecx, [ebp + 0x260]
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x14], ebx
call fcn.00436d10
cmp byte [ebp - 0xe], 0
je 0x5c7292
call fcn.00737b00
mov dword [ebp - 0xf0], eax
mov dword [ebp - 4], 0x13
call fcn.00737b00
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.004d2a90
add esp, 0xc
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0xe0], 0
push 3
xor eax, eax
mov dword [ebp + 0x350], 0
push 0x8ad1f0
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.00437690
mov dword [ebp + 0x368], 0
mov dword [ebp + 0x36c], 0
push 0x8a64f0
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.004cb390
mov esi, eax
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 0x17
call fcn.00744b60
push eax
lea eax, [ebp + 0x350]
push eax
push esi
call fcn.004ed680
add esp, 0xc
lea ecx, [ebp + 0x80]
call fcn.00436d10
lea ecx, [ebp + 0x58]
call fcn.004cb830
push dword [ebp + 0x368]
mov byte [ebp - 4], 0x15
call fcn.008058ea
mov edx, dword [ebp + 0x364]
add esp, 4
cmp edx, 8
jb 0x5c725c
mov ecx, dword [ebp + 0x350]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x5c7252
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5c7e03
push edx
push ecx
call fcn.007fff65
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.00476530
mov al, 1
jmp 0x5c7084
sub edi, 0
je 0x5c72b5
sub edi, 1
je 0x5c72ab
sub edi, 1
jne 0x5c72c4
mov edx, 0x10
mov dword [ebp - 0x2c], edx
jmp 0x5c72c7
mov edx, 0x40
mov dword [ebp - 0x2c], edx
jmp 0x5c72c7
mov ecx, dword [ebp - 0x48]
mov edx, 1
shl edx, cl
mov dword [ebp - 0x2c], edx
jmp 0x5c72c7
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
cmp edx, dword [eax + 0xc]
jle 0x5c7382
lea eax, [edx + edx*2]
push eax
call fcn.00800701
mov edi, eax
add esp, 4
test edi, edi
je 0x5c7dd3
mov eax, dword [ebp - 0x18]
xor edx, edx
mov esi, dword [eax]
cmp dword [esi + 0xc], edx
jle 0x5c7335
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 0x5c7300
mov ebx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x2c]
cmp edx, ecx
jge 0x5c7367
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 0x5c7350
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
push dword [esi + 0x14]
call fcn.008006fc
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 0x5c73e0
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 0x5c7390
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.00800701
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 0x5c7dd3
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 0x5c776f
cmp ecx, 3
je 0x5c776f
cmp ecx, 4
je 0x5c776f
test ecx, ecx
je 0x5c76a9
cmp ecx, 1
jne 0x5c6c89
xor al, al
nop
test al, al
jne 0x5c74cf
lea eax, [ebp + 0x280]
push 0x8a64f0
push eax
call fcn.00737280
add esp, 8
mov esi, eax
or ebx, 0x10
mov dword [ebp - 4], 0x18
cmp dword [0xea47c8], 0
mov dword [ebp - 0x14], ebx
je 0x5c74b4
call sub.KERNEL32.dll_GetCurrentThreadId
cmp eax, dword [0xea47c8]
je 0x5c74b4
call fcn.00742270
jmp 0x5c74b9
mov al, byte [0xa5c73c]
test al, al
je 0x5c74cf
push esi
call fcn.00741d00
add esp, 4
mov byte [ebp - 0xe], 1
cmp eax, 7
jae 0x5c74d3
mov byte [ebp - 0xe], 0
mov dword [ebp - 4], 0xffffffff
test bl, 0x10
je 0x5c74f0
and ebx, 0xffffffef
lea ecx, [ebp + 0x280]
mov dword [ebp - 0x14], ebx
call fcn.00436d10
cmp byte [ebp - 0xe], 0
je 0x5c7675
call fcn.00737b00
mov dword [ebp - 0xb4], eax
mov dword [ebp - 4], 0x19
call fcn.00737b00
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.004d2a90
add esp, 0xc
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0
push 3
xor eax, eax
mov dword [ebp + 0x370], 0
push 0x8ad1f0
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.00437690
mov dword [ebp + 0x388], 0
mov dword [ebp + 0x38c], 0
push 0x8a64f0
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.004cb390
mov esi, eax
lea ecx, [ebp - 0xb4]
mov byte [ebp - 4], 0x1d
call fcn.00744b60
push eax
lea eax, [ebp + 0x370]
push eax
push esi
call fcn.004ed680
add esp, 0xc
lea ecx, [ebp + 0x30]
call fcn.00436d10
lea ecx, [ebp + 8]
call fcn.004cb830
push dword [ebp + 0x388]
mov byte [ebp - 4], 0x1b
call fcn.008058ea
mov edx, dword [ebp + 0x384]
add esp, 4
cmp edx, 8
jb 0x5c763f
mov ecx, dword [ebp + 0x370]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x5c7635
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5c7e03
push edx
push ecx
call fcn.007fff65
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.00476530
mov al, 1
jmp 0x5c7470
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 0x5c7680
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 0x5c7875
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 0x5c7755
mov dword [ebp - 0x1c], edx
xor ecx, ecx
mov esi, ebx
mov ebx, dword [ebp - 0x48]
lea edx, [ecx + 1]
test ebx, ebx
jle 0x5c7704
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 0x5c76e7
mov edi, dword [ebp - 0x40]
test ecx, ecx
js 0x5c7720
cmp ecx, dword [ebp - 0x2c]
jge 0x5c7720
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 0x5c7727
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 0x5c7746
mov al, 0x80
inc ebx
mov byte [ebp - 0xd], al
mov dword [ebp - 0x38], ebx
sub dword [ebp - 0x1c], 1
jne 0x5c76d6
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 0x5c76c1
mov ebx, dword [ebp - 0x14]
jmp 0x5c7875
test eax, eax
jle 0x5c7875
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 0x5c7862
mov dword [ebp - 0x34], eax
mov esi, dword [ebp - 0x38]
xor eax, eax
lea edx, [eax + 1]
cmp dword [ebp - 0x48], eax
jle 0x5c77df
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 0x5c77c0
mov edi, dword [ebp - 0x40]
mov bl, byte [ebp - 0xf]
mov ecx, dword [ebp - 0x20]
cmp ecx, 2
jne case.default.0x5c77f7
mov ecx, eax
and ecx, 0xf
and eax, 0x30
movzx eax, byte [eax + 0x5c7e1c]
jmp dword [eax*4 + 0x5c7e08]
cmp ecx, dword [ebp - 0x2c]
jge 0x5c7829
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 0x5c782c
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 0x5c7852
inc dword [ebp - 0x38]
mov bl, 0x80
mov byte [ebp - 0xf], bl
sub dword [ebp - 0x34], 1
jne 0x5c77a7
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 0x5c7780
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 0x5c7990
lea eax, [ebp + 0x2a0]
push 0x8a64f0
push eax
call fcn.00737280
add esp, 8
mov esi, eax
or ebx, 0x20
mov dword [ebp - 4], 0x1e
cmp dword [0xea47c8], 0
mov dword [ebp - 0x14], ebx
je 0x5c7975
call sub.KERNEL32.dll_GetCurrentThreadId
cmp eax, dword [0xea47c8]
je 0x5c7975
call fcn.00742270
jmp 0x5c797a
mov dl, cl
shl dl, 4
add dl, cl
mov byte [ebp - 0xd], dl
jmp 0x5c7829
cmp ecx, 3
jne case.default.0x5c791b
mov ecx, eax
and ecx, 0x3f
and eax, 0xc0
movzx eax, byte [eax + 0x5c7e64]
jmp dword [eax*4 + 0x5c7e50]
mov edx, dword [ebp - 0x1c]
shl cl, 2
and dl, 3
or dl, cl
jmp 0x5c7826
mov dl, byte [ebp - 0xd]
shl cl, 2
and dl, 3
or dl, cl
mov byte [ebp - 0xd], dl
jmp 0x5c7829
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 0x5c782c
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 0x5c782f
mov al, byte [0xa5c73c]
test al, al
je 0x5c7990
push esi
call fcn.00741d00
add esp, 4
mov byte [ebp - 0xe], 1
cmp eax, 7
jae 0x5c7994
mov byte [ebp - 0xe], 0
mov dword [ebp - 4], 0xffffffff
test bl, 0x20
je 0x5c79f1
push dword [ebp + 0x2b8]
and ebx, 0xffffffdf
call fcn.008058ea
mov edx, dword [ebp + 0x2b4]
add esp, 4
cmp edx, 8
jb 0x5c79f1
mov ecx, dword [ebp + 0x2a0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x5c79e7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5c7e03
push edx
push ecx
call fcn.007fff65
add esp, 8
cmp byte [ebp - 0xe], 0
je 0x5c7dc5
call fcn.00737b00
mov dword [ebp - 0x78], eax
mov dword [ebp - 4], 0x1f
call fcn.00737b00
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.004d2a90
add esp, 0xc
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
push 3
xor eax, eax
mov dword [ebp + 0x390], 0
push 0x8ad1f0
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.00437690
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], 0x8a64f0
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.00476390
mov eax, dword [eax]
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0x24
push dword [eax]
call fcn.00744b60
push eax
lea eax, [ebp + 0x390]
push eax
lea eax, [ebp + 0x2c0]
push eax
call fcn.004ed680
add esp, 0x10
mov byte [ebp - 4], 0x25
call fcn.00737b00
mov ecx, dword [ebp - 0x34]
cmp ecx, eax
je 0x5c7bab
mov eax, 0xffff
add word [ecx + 8], ax
jne 0x5c7ba3
mov esi, dword [ebp - 0x34]
test esi, esi
je 0x5c7ba3
cmp byte [esi + 0xa], 0
je 0x5c7b98
push dword [esi]
call fcn.008058ea
add esp, 4
push 0xc
push esi
call fcn.007fff65
add esp, 8
call fcn.00737b00
mov dword [ebp - 0x34], eax
push dword [ebp + 0x308]
mov byte [ebp - 4], 0x22
call fcn.008058ea
mov edx, dword [ebp + 0x304]
add esp, 4
cmp edx, 8
jb 0x5c7bfd
mov ecx, dword [ebp + 0x2f0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x5c7bf3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5c7e03
push edx
push ecx
call fcn.007fff65
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 0x5c7c73
push 0x4cc550
push dword [esi + 0x10]
mov byte [ebp - 4], 0x26
push dword [esi + 0x14]
call fcn.00760fc0
push dword [esi + 0x10]
mov dword [esi + 0x18], 0
call fcn.008058ea
push 0x4cc530
push dword [esi]
mov byte [ebp - 4], 0x27
push dword [esi + 4]
call fcn.00760fc0
push dword [esi]
mov dword [esi + 8], 0
call fcn.008058ea
push 0x20
push esi
call fcn.007fff65
add esp, 0x28
push dword [ebp + 0x3a8]
mov byte [ebp - 4], 0x21
call fcn.008058ea
mov edx, dword [ebp + 0x3a4]
add esp, 4
cmp edx, 8
jb 0x5c7cc5
mov ecx, dword [ebp + 0x390]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x5c7cbb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5c7e03
push edx
push ecx
call fcn.007fff65
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.00737b00
mov ecx, dword [ebp - 0x70]
cmp ecx, eax
je 0x5c7d2a
mov eax, 0xffff
add word [ecx + 8], ax
jne 0x5c7d22
mov esi, dword [ebp - 0x70]
test esi, esi
je 0x5c7d22
cmp byte [esi + 0xa], 0
je 0x5c7d17
push dword [esi]
call fcn.008058ea
add esp, 4
push 0xc
push esi
call fcn.007fff65
add esp, 8
call fcn.00737b00
mov dword [ebp - 0x70], eax
mov dword [ebp - 4], 0x29
call fcn.00737b00
mov ecx, dword [ebp - 0x74]
cmp ecx, eax
je 0x5c7d72
mov eax, 0xffff
add word [ecx + 8], ax
jne 0x5c7d6a
mov esi, dword [ebp - 0x74]
test esi, esi
je 0x5c7d6a
cmp byte [esi + 0xa], 0
je 0x5c7d5f
push dword [esi]
call fcn.008058ea
add esp, 4
push 0xc
push esi
call fcn.007fff65
add esp, 8
call fcn.00737b00
mov dword [ebp - 0x74], eax
mov dword [ebp - 4], 0x2a
call fcn.00737b00
mov ecx, dword [ebp - 0x78]
cmp ecx, eax
je 0x5c7db7
mov eax, 0xffff
add word [ecx + 8], ax
jne 0x5c7db2
mov esi, dword [ebp - 0x78]
test esi, esi
je 0x5c7db2
cmp byte [esi + 0xa], 0
je 0x5c7da7
push dword [esi]
call fcn.008058ea
add esp, 4
push 0xc
push esi
call fcn.007fff65
add esp, 8
call fcn.00737b00
mov dword [ebp - 4], 0xffffffff
mov al, 1
jmp 0x5c7894
cmp dword [ebp - 0x50], edi
sbb eax, eax
and eax, 3
jmp 0x5c7de0
mov dword [ecx], ebx
jmp 0x5c7dd6
mov ecx, dword [ebp - 0x18]
call fcn.005c54e0
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.008001d2
lea esp, [ebp + 0x3f4]
pop ebp
ret
call fcn.00805899
invalid