Function at 0x4264e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
push eax
mov eax, 0x88c8
call fcn.00453de8
sub esp, eax
mov eax, dword [esp + eax]
mov ebx, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], ecx
mov ecx, 0x2216
xor eax, eax
lea edi, [esp + 0x68]
rep stosd dword es:[edi], eax
mov eax, ebx
call fcn.0040fbd0
cmp al, 0x47
je 0x426570
mov dword [0x46f094], str.not_GIF
mov ebp, dword [esp + 0x70]
test ebp, ebp
je 0x426534
mov dword [esp], ebp
call sub.msvcrt.dll_free
xor ebp, ebp
lea esi, [esi]
lea esi, [esi]
mov eax, dword [esp + 0x78]
test eax, eax
je 0x426550
mov dword [esp], eax
call sub.msvcrt.dll_free
mov eax, dword [esp + 0x74]
test eax, eax
je 0x426560
mov dword [esp], eax
call sub.msvcrt.dll_free
mov eax, ebp
add esp, 0x88cc
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x1c]
call fcn.0040fbd0
cmp al, 0x49
jne 0x42651a
mov eax, dword [esp + 0x1c]
call fcn.0040fbd0
cmp al, 0x46
jne 0x42651a
mov eax, dword [esp + 0x1c]
call fcn.0040fbd0
cmp al, 0x38
jne 0x42651a
mov eax, dword [esp + 0x1c]
call fcn.0040fbd0
cmp al, 0x37
je 0x4265ac
cmp al, 0x39
jne 0x42651a
mov eax, dword [esp + 0x1c]
call fcn.0040fbd0
cmp al, 0x61
jne 0x42651a
mov dword [0x46f094], 0x46a332
mov ebx, dword [esp + 0x1c]
mov eax, ebx
call fcn.00410950
mov dword [esp + 0x68], eax
mov eax, ebx
call fcn.00410950
mov dword [esp + 0x6c], eax
mov eax, ebx
call fcn.0040fbd0
and eax, 0xff
mov dword [esp + 0x7c], eax
mov eax, ebx
call fcn.0040fbd0
and eax, 0xff
mov dword [esp + 0x80], eax
mov eax, ebx
call fcn.0040fbd0
and eax, 0xff
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], 0xffffffff
mov eax, dword [esp + 0x88e0]
mov dword [eax], 4
mov eax, dword [esp + 0x7c]
test al, 0x80
jne 0x426ef2
mov esi, dword [esp + 0x6c]
mov ebx, dword [esp + 0x68]
mov dword [esp], 0
mov ecx, esi
mov edx, ebx
mov eax, 4
call fcn.0040fb40
test eax, eax
je 0x426d6a
imul esi, ebx
lea ebx, [esi*4]
mov edi, ebx
test ebx, ebx
jne 0x426675
mov edi, 1
mov dword [esp + 4], edi
mov dword [esp], 1
call sub.msvcrt.dll_calloc
test eax, eax
je 0x426f45
mov dword [esp + 0x70], eax
mov dword [esp + 4], edi
mov dword [esp], 1
call sub.msvcrt.dll_calloc
mov edi, eax
test eax, eax
je 0x426f1c
mov dword [esp + 0x74], edi
mov eax, esi
test esi, esi
jne 0x4266ba
mov eax, 1
mov dword [esp + 4], eax
mov dword [esp], 1
call sub.msvcrt.dll_calloc
test eax, eax
je 0x426e3f
mov dword [esp + 0x78], eax
mov ebp, dword [esp + 0x70]
test ebp, ebp
je 0x426eb8
test edi, edi
je 0x426ec7
cmp ebx, 4
jae 0x426b50
test ebx, ebx
je 0x4266fb
mov byte [ebp], 0
mov eax, dword [esp + 0x74]
cmp ebx, 4
jae 0x426af0
test ebx, ebx
je 0x42670f
mov byte [eax], 0
mov eax, dword [esp + 0x78]
cmp esi, 4
jae 0x426b1d
test esi, esi
je 0x426733
mov byte [eax], 0
test esi, 2
jne 0x426d90
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x68]
imul ecx, dword [esp + 0x6c]
cmp ecx, 4
jae 0x426790
test ecx, ecx
je 0x426751
mov byte [eax], 0
test cl, 2
jne 0x426da0
mov eax, dword [esp + 0x1c]
call fcn.0040fbd0
cmp al, 0x2c
je 0x4267bc
cmp al, 0x3b
je 0x426c50
cmp al, 0x21
je 0x426be0
mov dword [0x46f094], str.unknown_code
mov ebp, dword [esp + 0x70]
jmp 0x426528
mov dword [eax], 0
mov dword [eax + ecx - 4], 0
lea edi, [eax + 4]
and edi, 0xfffffffc
sub eax, edi
add ecx, eax
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x1c]
call fcn.0040fbd0
cmp al, 0x2c
jne 0x42675e
mov ebp, dword [esp + 0x1c]
mov eax, ebp
call fcn.0040fbd0
mov bl, al
mov eax, ebp
call fcn.0040fbd0
mov esi, eax
and esi, 0xff
shl esi, 8
and ebx, 0xff
add esi, ebx
mov eax, ebp
call fcn.0040fbd0
mov edi, eax
mov eax, ebp
call fcn.0040fbd0
xor ebx, ebx
mov bl, al
shl ebx, 8
and edi, 0xff
add ebx, edi
mov eax, ebp
call fcn.0040fbd0
mov edi, eax
mov dword [esp + 0x1c], ebp
mov eax, ebp
call fcn.0040fbd0
mov cl, al
and ecx, 0xff
mov ebp, ecx
shl ebp, 8
and edi, 0xff
add ebp, edi
mov eax, dword [esp + 0x1c]
call fcn.0040fbd0
mov edi, eax
mov eax, dword [esp + 0x1c]
call fcn.0040fbd0
and eax, 0xff
shl eax, 8
and edi, 0xff
add edi, eax
mov eax, dword [esp + 0x68]
lea edx, [ebp + esi]
cmp edx, eax
jg 0x426c90
lea edx, [edi + ebx]
cmp edx, dword [esp + 0x6c]
jg 0x426c90
shl eax, 2
mov dword [esp + 0x88b8], eax
shl esi, 2
mov dword [esp + 0x88a0], esi
imul ebx, eax
mov dword [esp + 0x88a4], ebx
lea edx, [esi + ebp*4]
mov dword [esp + 0x88a8], edx
imul eax, edi
add eax, ebx
mov dword [esp + 0x88ac], eax
mov dword [esp + 0x88b0], esi
test ebp, ebp
jne 0x4268ad
mov ebx, eax
mov dword [esp + 0x88b4], ebx
mov eax, dword [esp + 0x1c]
call fcn.0040fbd0
mov cl, al
xor eax, eax
mov al, cl
mov dword [esp + 0x889c], eax
mov eax, dword [esp + 0x88b8]
test cl, 0x40
je 0x426c80
shl eax, 3
mov edx, 3
mov dword [esp + 0x8894], edx
mov dword [esp + 0x8898], eax
test cl, cl
jns 0x426c60
test byte [esp + 0x8c], 1
je 0x426d60
mov eax, dword [esp + 0x88]
and ecx, 7
mov edx, 2
shl edx, cl
mov ecx, edx
mov dword [esp], eax
lea edx, [esp + 0x490]
mov eax, dword [esp + 0x1c]
call fcn.00411120
lea eax, [esp + 0x490]
mov dword [esp + 0x8890], eax
mov eax, dword [esp + 0x1c]
call fcn.0040fbd0
cmp al, 0xc
ja 0x426c50
xor ebx, ebx
mov bl, al
mov edx, 1
mov esi, edx
mov cl, al
shl esi, cl
mov dword [esp + 0x30], esi
lea eax, [ebx + 1]
mov dword [esp + 0x48], eax
mov cl, al
shl edx, cl
lea eax, [edx - 1]
mov dword [esp + 0x44], eax
xor eax, eax
mov word [esp + eax*4 + 0x890], 0xffff
mov byte [esp + eax*4 + 0x892], al
mov byte [esp + eax*4 + 0x893], al
inc eax
cmp dword [esp + 0x30], eax
jne 0x426972
mov esi, dword [esp + 0x30]
lea eax, [esi + 2]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x20], eax
xor ebx, ebx
xor ebp, ebp
mov edx, 0xffffffff
mov dword [esp + 0x34], 1
xor edi, edi
lea eax, [esi + 1]
mov dword [esp + 0x38], eax
lea esi, [esi]
cmp dword [esp + 0x20], ebx
jle 0x426a1f
test edi, edi
jne 0x4269f9
mov dword [esp + 0x2c], edx
mov eax, dword [esp + 0x1c]
call fcn.0040fbd0
mov edi, eax
and edi, 0xff
mov edx, dword [esp + 0x2c]
je 0x426cca
mov dword [esp + 0x2c], edx
dec edi
mov eax, dword [esp + 0x1c]
call fcn.0040fbd0
and eax, 0xff
mov cl, bl
shl eax, cl
or ebp, eax
add ebx, 8
mov edx, dword [esp + 0x2c]
cmp dword [esp + 0x20], ebx
jg 0x4269d6
mov esi, dword [esp + 0x28]
and esi, ebp
mov eax, dword [esp + 0x20]
mov cl, al
sar ebp, cl
sub ebx, eax
cmp dword [esp + 0x30], esi
je 0x426b90
mov eax, dword [esp + 0x38]
cmp esi, eax
je 0x426ca3
mov eax, dword [esp + 0x24]
cmp esi, eax
jg 0x426bc8
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x426d7d
mov eax, dword [esp + 0x24]
test edx, edx
js 0x426bc0
lea ecx, [eax + 1]
cmp ecx, 0x2000
jg 0x426e19
mov eax, dword [esp + 0x24]
add eax, 0x208
mov word [esp + eax*4 + 0x70], dx
mov dl, byte [esp + edx*4 + 0x892]
mov byte [esp + eax*4 + 0x72], dl
mov dl, byte [esp + esi*4 + 0x892]
mov byte [esp + eax*4 + 0x73], dl
mov dword [esp + 0x24], ecx
mov edx, esi
and edx, 0xffff
lea eax, [esp + 0x68]
call fcn.00411300
mov eax, dword [esp + 0x24]
test dword [esp + 0x28], eax
jne 0x426b80
cmp eax, 0xfff
jg 0x426b80
inc dword [esp + 0x20]
mov eax, dword [esp + 0x20]
mov edx, 1
mov cl, al
shl edx, cl
mov eax, edx
dec eax
mov dword [esp + 0x28], eax
mov edx, esi
jmp 0x4269d0
mov dword [eax], 0
mov dword [eax + ebx - 4], 0
lea edi, [eax + 4]
and edi, 0xfffffffc
sub eax, edi
lea ecx, [ebx + eax]
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x78]
cmp esi, 4
jb 0x42671c
mov dword [eax], 0
mov dword [eax + esi - 4], 0
lea edi, [eax + 4]
and edi, 0xfffffffc
sub eax, edi
lea ecx, [eax + esi]
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
jmp 0x42672f
mov dword [ebp], 0
mov dword [ebp + ebx - 4], 0
lea edi, [ebp + 4]
and edi, 0xfffffffc
sub ebp, edi
lea ecx, [ebx + ebp]
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
jmp 0x4266fb
mov edx, esi
jmp 0x4269d0
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x20], eax
mov edx, 0xffffffff
mov dword [esp + 0x34], 0
jmp 0x4269d0
cmp esi, eax
jne 0x426aa0
mov dword [0x46f094], str.illegal_code_in_raster
mov ebp, dword [esp + 0x70]
jmp 0x426528
mov esi, dword [esp + 0x1c]
mov eax, esi
call fcn.0040fbd0
cmp al, 0xf9
jne 0x426c09
jmp 0x426c20
mov eax, dword [esp + 0x1c]
call fcn.00410170
mov eax, dword [esp + 0x1c]
call fcn.0040fbd0
xor edx, edx
mov dl, al
test edx, edx
jne 0x426c00
jmp 0x426751
mov eax, esi
call fcn.0040fbd0
xor edx, edx
mov dl, al
cmp al, 4
je 0x426dac
mov eax, dword [esp + 0x1c]
call fcn.00410170
jmp 0x426751
mov ebp, dword [esp + 0x70]
jmp 0x426528
test byte [esp + 0x7c], 0x80
je 0x426e2c
lea eax, [esp + 0x90]
jmp 0x426933
xor edx, edx
jmp 0x4268e2
mov dword [0x46f094], str.bad_Image_Descriptor
mov ebp, dword [esp + 0x70]
jmp 0x426528
mov edx, edi
mov eax, dword [esp + 0x1c]
call fcn.00410170
jmp 0x426cb9
mov eax, dword [esp + 0x1c]
call fcn.00410170
mov eax, dword [esp + 0x1c]
call fcn.0040fbd0
xor edx, edx
mov dl, al
test edx, edx
jne 0x426cb0
mov ebx, dword [esp + 0x70]
mov ebp, ebx
test ebx, ebx
je 0x426d56
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
mov esi, dword [esp + 0x80]
test esi, esi
jle 0x426d50
mov edx, eax
imul edx, ecx
test edx, edx
jle 0x426d50
xor eax, eax
lea esi, [esi]
lea esi, [esi]
mov ecx, dword [esp + 0x78]
cmp byte [ecx + eax], 0
jne 0x426d27
mov ecx, dword [esp + 0x80]
mov byte [esp + ecx*4 + 0x93], 0xff
mov esi, dword [esp + ecx*4 + 0x90]
mov ecx, dword [esp + 0x70]
mov dword [ecx + eax*4], esi
inc eax
cmp edx, eax
jne 0x426d00
cmp dword [esp + 0x1c], ebx
je 0x426c50
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x3c]
mov dword [ebx], eax
mov eax, dword [esp + 0x40]
mov dword [eax], ecx
jmp 0x426540
cmp dword [esp + 0x1c], ebx
jne 0x426d3e
mov ebp, ebx
jmp 0x426528
mov eax, 0xffffffff
jmp 0x42690d
mov dword [0x46f094], str.too_large
mov ebp, dword [esp + 0x70]
jmp 0x426528
mov dword [0x46f094], str.no_clear_code
mov ebp, dword [esp + 0x70]
jmp 0x426528
mov word [eax + esi - 2], 0
mov eax, dword [esp + 0x78]
jmp 0x426733
mov word [eax + ecx - 2], 0
jmp 0x426751
mov ebx, dword [esp + 0x1c]
mov eax, ebx
call fcn.0040fbd0
and eax, 0xff
mov dword [esp + 0x8c], eax
mov eax, ebx
call fcn.00410950
lea eax, [eax + eax*4]
add eax, eax
mov dword [esp + 0x88bc], eax
mov eax, dword [esp + 0x88]
test eax, eax
js 0x426de9
mov byte [esp + eax*4 + 0x93], 0xff
test byte [esp + 0x8c], 1
je 0x426e7e
mov eax, dword [esp + 0x1c]
call fcn.0040fbd0
and eax, 0xff
mov dword [esp + 0x88], eax
mov byte [esp + eax*4 + 0x93], 0
jmp 0x426c09
mov dword [0x46f094], str.too_many_codes
mov ebp, dword [esp + 0x70]
jmp 0x426528
mov dword [0x46f094], str.missing_color_table
mov ebp, dword [esp + 0x70]
jmp 0x426528
mov dword [esp + 0x5c], 1
mov dword [esp + 0x60], str.allocate_memory_failed
mov dword [esp + 0x64], str.at_ika_alloc_memory__
lea eax, [esp + 0x5c]
mov dword [esp], eax
call fcn.00411650
mov dword [esp + 0x78], 0
mov ebp, dword [esp + 0x70]
mov dword [0x46f094], 0x46a321
jmp 0x426528
mov ebx, dword [esp + 0x1c]
mov eax, dword [ebx + 0xa8]
mov edx, dword [ebx + 0x10]
test edx, edx
je 0x426e9d
mov ecx, dword [ebx + 0xac]
mov edx, ecx
sub edx, eax
test edx, edx
jle 0x426ed6
inc eax
mov ebx, dword [esp + 0x1c]
mov dword [ebx + 0xa8], eax
mov dword [esp + 0x88], 0xffffffff
jmp 0x426c09
mov dword [0x46f094], str.outofmem
jmp 0x426548
mov dword [0x46f094], str.outofmem
jmp 0x42652c
mov dword [ebx + 0xa8], ecx
mov eax, 1
sub eax, edx
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x1c]
mov dword [esp], eax
call dword [ebx + 0x14]
jmp 0x426ea8
and eax, 7
mov edx, 2
mov cl, al
shl edx, cl
mov ecx, edx
mov dword [esp], 0xffffffff
lea edx, [esp + 0x90]
mov eax, dword [esp + 0x1c]
call fcn.00411120
jmp 0x42663b
mov dword [esp + 0x5c], 1
mov dword [esp + 0x60], str.allocate_memory_failed
mov dword [esp + 0x64], str.at_ika_alloc_memory__
lea eax, [esp + 0x5c]
mov dword [esp], eax
call fcn.00411650
jmp 0x4266ab
mov dword [esp + 0x20], eax
mov dword [esp + 0x5c], 1
mov dword [esp + 0x60], str.allocate_memory_failed
mov dword [esp + 0x64], str.at_ika_alloc_memory__
lea edx, [esp + 0x5c]
mov dword [esp], edx
call fcn.00411650
mov eax, dword [esp + 0x20]
jmp 0x42668d