Function at 0x47c530
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x18], 8
push 0x56f05c
mov eax, dword [ebp + 8]
push eax
call fcn.00527b78
add esp, 8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x47c571
push str.Cant_open_GIF_for_writing
mov ecx, dword [ebp - 0x30]
add ecx, 0xc
call fcn.00409780
xor eax, eax
jmp 0x47c79d
mov edx, 1
mov ecx, dword [ebp - 0x18]
shl edx, cl
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0x2c], ecx
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp + 0x10]
mov dword [edx + 0x10], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp + 0x14]
mov dword [edx + 0x14], eax
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0
mov edx, dword [ebp - 4]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x30]
mov dword [eax + 0x24], 0
mov ecx, dword [ebp - 0x30]
mov dword [ecx + 0x28], 0
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x30]
mov edx, dword [eax + 0x10]
imul edx, dword [ecx + 0x14]
mov eax, dword [ebp - 0x30]
mov dword [eax + 0x20], edx
cmp dword [ebp - 0x18], 1
jg 0x47c5ee
mov dword [ebp - 0xc], 2
jmp 0x47c5f4
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x30]
mov dword [edx + 0x1c], 0
mov eax, dword [ebp - 0x30]
mov dword [eax + 0x18], 0
mov ecx, dword [ebp - 0x14]
push ecx
push 6
push 1
push str.GIF87a
call fcn.0052a2ef
add esp, 0x10
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x30]
call fcn.0047c7b0
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 8]
push edx
mov ecx, dword [ebp - 0x30]
call fcn.0047c7b0
mov dword [ebp - 0x20], 0x80
mov eax, dword [ebp - 0x2c]
sub eax, 1
shl eax, 5
or eax, dword [ebp - 0x20]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x18]
sub ecx, 1
or ecx, dword [ebp - 0x20]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x20]
push eax
call fcn.0052a081
add esp, 8
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp + 0x18]
push edx
call fcn.0052a081
add esp, 8
mov eax, dword [ebp - 0x14]
push eax
push 0
call fcn.0052a081
add esp, 8
mov dword [ebp - 0x10], 0
jmp 0x47c69f
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
cmp edx, dword [ebp - 0x1c]
jge 0x47c6eb
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 0x1c]
mov eax, dword [edx + ecx*4]
push eax
call fcn.0052a081
add esp, 8
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 0x20]
mov ecx, dword [eax + edx*4]
push ecx
call fcn.0052a081
add esp, 8
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 0x24]
mov edx, dword [ecx + eax*4]
push edx
call fcn.0052a081
add esp, 8
jmp 0x47c696
mov eax, dword [ebp - 0x14]
push eax
push 0x2c
call fcn.0052a081
add esp, 8
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x28]
push edx
mov ecx, dword [ebp - 0x30]
call fcn.0047c7b0
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov ecx, dword [ebp - 0x30]
call fcn.0047c7b0
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 0x10]
push ecx
mov ecx, dword [ebp - 0x30]
call fcn.0047c7b0
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 0x14]
push ecx
mov ecx, dword [ebp - 0x30]
call fcn.0047c7b0
mov edx, dword [ebp - 0x14]
push edx
push 0
call fcn.0052a081
add esp, 8
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.0052a081
add esp, 8
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0xc]
add eax, 1
push eax
mov ecx, dword [ebp - 0x30]
call fcn.0047c800
mov ecx, dword [ebp - 0x14]
push ecx
push 0
call fcn.0052a081
add esp, 8
mov edx, dword [ebp - 0x14]
push edx
push 0x3b
call fcn.0052a081
add esp, 8
mov eax, dword [ebp - 0x14]
push eax
call fcn.00527c06
add esp, 4
mov eax, 1
mov esp, ebp
pop ebp
ret 0x20