Function at 0x41dfd7
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov ecx, dword [ebp + 0x2c]
push ebx
mov eax, ecx
push esi
cdq
sub eax, edx
mov ebx, ecx
mov esi, eax
push edi
sar esi, 1
lea eax, [esi + esi]
sub ebx, eax
jne 0x41dff9
push 2
dec esi
pop ebx
cmp dword [ebp + 0x1c], 0
je 0x41e128
push dword [ebp + 8]
call dword [0x4640c8]
push dword [ebp + 0x1c]
mov dword [ebp - 4], eax
push eax
call dword [0x4640e8]
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x10]
add ecx, eax
push ecx
mov ecx, dword [ebp + 0xc]
add edx, ecx
push edx
push eax
push ecx
call dword [0x4640e0]
push eax
mov dword [ebp - 8], eax
push dword [ebp + 8]
call dword [0x464070]
mov edi, 0xcc0020
mov eax, dword [ebp + 0x2c]
push edi
sub eax, esi
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp - 4]
push eax
push dword [ebp + 0x28]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [0x4640c0]
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x18]
mov ecx, eax
mov dword [ebp + 0x14], ebx
add ebx, esi
sub ecx, esi
add ebx, eax
add ecx, edx
cmp ebx, ecx
mov dword [ebp + 0x18], ecx
jge 0x41e0b5
add eax, esi
mov dword [ebp + 0x1c], eax
push edi
push dword [ebp + 0x1c]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp + 0x14]
push dword [ebp + 0x28]
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [0x4640c0]
mov eax, dword [ebp + 0x14]
add ebx, eax
add eax, eax
cmp ebx, dword [ebp + 0x18]
mov dword [ebp + 0x14], eax
jl 0x41e089
mov eax, dword [ebp + 0x24]
push edi
sub eax, esi
mov edi, dword [ebp - 4]
add eax, dword [ebp + 0x2c]
push eax
push dword [ebp + 0x20]
push edi
push esi
push dword [ebp + 0x28]
push dword [ebp + 0x18]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [0x4640c0]
xor ebx, ebx
push ebx
push dword [ebp + 8]
call dword [0x464070]
cmp dword [ebp - 8], ebx
je 0x41e0f3
push dword [ebp - 8]
call dword [0x4640ec]
push dword [ebp - 0xc]
push edi
call dword [0x4640e8]
cmp edi, ebx
je 0x41e1c4
mov esi, dword [0x4640bc]
push edi
call esi
test eax, eax
je 0x41e115
mov dword [ebp - 4], ebx
cmp dword [ebp - 4], ebx
je 0x41e1c4
push dword [ebp - 4]
call esi
jmp 0x41e1c4
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x18]
sub eax, esi
mov edi, 0xcc0020
add edx, eax
add eax, ecx
push edi
push eax
push dword [ebp + 0xc]
mov dword [ebp + 0x18], edx
push dword [ebp + 8]
push esi
push dword [ebp + 0x14]
push edx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [0x4640c0]
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
push dword [ebp + 0x18]
lea ecx, [esi + eax]
mov eax, dword [ebp + 0xc]
add edx, eax
mov dword [ebp + 0x1c], ecx
push edx
push ecx
push eax
call dword [0x4640e0]
push eax
mov dword [ebp + 0x2c], eax
push dword [ebp + 8]
call dword [0x464070]
add esi, ebx
add esi, dword [ebp + 0x10]
cmp esi, dword [ebp + 0x18]
jge 0x41e1aa
push edi
push dword [ebp + 0x1c]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
push dword [ebp + 0x28]
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [0x4640c0]
add esi, ebx
add ebx, ebx
jmp 0x41e184
push 0
push dword [ebp + 8]
call dword [0x464070]
cmp dword [ebp + 0x2c], 0
je 0x41e1c4
push dword [ebp + 0x2c]
call dword [0x4640ec]
pop edi
pop esi
pop ebx
leave
ret