Function at 0x41dc99
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
cmp dword [ebp + 0x1c], 0
push ebx
push esi
push edi
je 0x41dde0
push dword [ebp + 8]
call dword [0x4640c8]
push dword [ebp + 0x1c]
mov dword [ebp - 4], eax
push eax
call dword [0x4640e8]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x2c]
push 3
mov edi, dword [ebp + 0x10]
cdq
pop ecx
idiv ecx
mov ecx, dword [ebp + 0x14]
mov ebx, eax
mov eax, dword [ebp + 0x18]
add eax, edi
mov dword [ebp + 0x1c], ebx
push eax
mov eax, dword [ebp + 0xc]
add ecx, eax
push ecx
push edi
push eax
call dword [0x4640e0]
push eax
mov dword [ebp + 0x14], eax
push dword [ebp + 8]
call dword [0x464070]
mov esi, 0xcc0020
mov eax, dword [ebp + 0x2c]
push esi
sub eax, ebx
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp - 4]
push eax
push dword [ebp + 0x28]
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [0x4640c0]
mov edi, dword [ebp + 0x2c]
lea eax, [ebx + ebx]
mov edx, dword [ebp + 0x18]
sub edi, eax
mov eax, dword [ebp + 0x10]
add ebx, edi
mov ecx, eax
add ebx, eax
sub ecx, dword [ebp + 0x1c]
add ecx, edx
cmp ebx, ecx
mov dword [ebp + 0x10], ecx
jge 0x41dd6a
mov ecx, dword [ebp + 0x1c]
add ecx, eax
mov dword [ebp + 0x18], ecx
push esi
push dword [ebp + 0x18]
push dword [ebp + 0xc]
push dword [ebp + 8]
push edi
push dword [ebp + 0x28]
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [0x4640c0]
add ebx, edi
add edi, edi
cmp ebx, dword [ebp + 0x10]
jl 0x41dd46
mov eax, dword [ebp + 0x24]
push esi
sub eax, dword [ebp + 0x1c]
mov esi, dword [ebp - 4]
add eax, dword [ebp + 0x2c]
push eax
push dword [ebp + 0x20]
push esi
push dword [ebp + 0x1c]
push dword [ebp + 0x28]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [0x4640c0]
xor edi, edi
push edi
push dword [ebp + 8]
call dword [0x464070]
cmp dword [ebp + 0x14], edi
je 0x41ddab
push dword [ebp + 0x14]
call dword [0x4640ec]
push dword [ebp - 8]
push esi
call dword [0x4640e8]
cmp esi, edi
je 0x41de8e
push esi
mov esi, dword [0x4640bc]
call esi
test eax, eax
je 0x41ddcd
mov dword [ebp - 4], edi
cmp dword [ebp - 4], edi
je 0x41de8e
push dword [ebp - 4]
call esi
jmp 0x41de8e
mov ebx, dword [ebp + 0x2c]
push 3
mov eax, ebx
pop ecx
cdq
idiv ecx
mov ecx, dword [ebp + 0x18]
mov esi, 0xcc0020
push esi
mov edi, eax
mov eax, dword [ebp + 0x10]
sub eax, edi
add ecx, eax
add eax, ebx
push eax
mov dword [ebp + 0x2c], ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
push edi
push dword [ebp + 0x28]
push ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [0x4640c0]
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
push dword [ebp + 0x2c]
lea ecx, [edi + 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 + 0x18], eax
push dword [ebp + 8]
call dword [0x464070]
lea eax, [edi + edi]
sub ebx, eax
add edi, ebx
add edi, dword [ebp + 0x10]
cmp edi, dword [ebp + 0x2c]
jge 0x41de74
push esi
push dword [ebp + 0x1c]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
push dword [ebp + 0x28]
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [0x4640c0]
add edi, ebx
add ebx, ebx
jmp 0x41de4e
push 0
push dword [ebp + 8]
call dword [0x464070]
cmp dword [ebp + 0x18], 0
je 0x41de8e
push dword [ebp + 0x18]
call dword [0x4640ec]
pop edi
pop esi
pop ebx
leave
ret